update to 1.10.4
[profile/ivi/clutter.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for clutter 1.10.4.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=clutter
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='clutter'
573 PACKAGE_TARNAME='clutter'
574 PACKAGE_VERSION='1.10.4'
575 PACKAGE_STRING='clutter 1.10.4'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=clutter'
577 PACKAGE_URL='http://www.clutter-project.org'
578
579 ac_unique_file="clutter/clutter.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 gt_needs=
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 ALL_LINGUAS
622 GETTEXT_PACKAGE
623 POSUB
624 LTLIBINTL
625 LIBINTL
626 INTLLIBS
627 LTLIBICONV
628 LIBICONV
629 INTL_MACOSX_LIBS
630 XGETTEXT_EXTRA_OPTIONS
631 MSGMERGE
632 XGETTEXT_015
633 XGETTEXT
634 GMSGFMT_015
635 MSGFMT_015
636 GMSGFMT
637 MSGFMT
638 GETTEXT_MACRO_VERSION
639 USE_NLS
640 ENABLE_PDFS_FALSE
641 ENABLE_PDFS_TRUE
642 ENABLE_DOCS_FALSE
643 ENABLE_DOCS_TRUE
644 XSLTPROC
645 JW
646 ATK_PREFIX
647 COGL_PREFIX
648 PANGO_PREFIX
649 GLIB_PREFIX
650 CAIRO_PREFIX
651 BUILD_GTK_DOC_FALSE
652 BUILD_GTK_DOC_TRUE
653 GTK_DOC_USE_REBASE_FALSE
654 GTK_DOC_USE_REBASE_TRUE
655 GTK_DOC_USE_LIBTOOL_FALSE
656 GTK_DOC_USE_LIBTOOL_TRUE
657 GTK_DOC_BUILD_PDF_FALSE
658 GTK_DOC_BUILD_PDF_TRUE
659 GTK_DOC_BUILD_HTML_FALSE
660 GTK_DOC_BUILD_HTML_TRUE
661 ENABLE_GTK_DOC_FALSE
662 ENABLE_GTK_DOC_TRUE
663 GTKDOC_DEPS_LIBS
664 GTKDOC_DEPS_CFLAGS
665 HTML_DIR
666 GTKDOC_MKPDF
667 GTKDOC_REBASE
668 GTKDOC_CHECK
669 HAVE_INTROSPECTION_FALSE
670 HAVE_INTROSPECTION_TRUE
671 INTROSPECTION_MAKEFILE
672 INTROSPECTION_LIBS
673 INTROSPECTION_CFLAGS
674 INTROSPECTION_TYPELIBDIR
675 INTROSPECTION_GIRDIR
676 INTROSPECTION_GENERATE
677 INTROSPECTION_COMPILER
678 INTROSPECTION_SCANNER
679 CLUTTER_LIBS
680 CLUTTER_CFLAGS
681 CLUTTER_REQUIRES_PRIVATE
682 CLUTTER_REQUIRES
683 CLUTTER_DEPS_PRIVATE_LIBS
684 CLUTTER_DEPS_PRIVATE_CFLAGS
685 CLUTTER_DEPS_LIBS
686 CLUTTER_DEPS_CFLAGS
687 MAINTAINER_CFLAGS
688 GCOV_LDFLAGS
689 GCOV_CFLAGS
690 GCOV_ENABLED_FALSE
691 GCOV_ENABLED_TRUE
692 GCOV
693 CLUTTER_PROFILE_LDFLAGS
694 CLUTTER_PROFILE_CFLAGS
695 PROFILE_FALSE
696 PROFILE_TRUE
697 PROFILE_DEP_LIBS
698 PROFILE_DEP_CFLAGS
699 BUILD_TESTS_FALSE
700 BUILD_TESTS_TRUE
701 CLUTTER_DEPRECATED_CFLAGS
702 CLUTTER_DEBUG_CFLAGS
703 PIXBUF_TESTS_FALSE
704 PIXBUF_TESTS_TRUE
705 GDK_PIXBUF_LIBS
706 GDK_PIXBUF_CFLAGS
707 X11_TESTS_FALSE
708 X11_TESTS_TRUE
709 BUILD_XI2_FALSE
710 BUILD_XI2_TRUE
711 XMKMF
712 COGL_DRIVER
713 CLUTTER_COGL
714 CLUTTER_FLAVOUR
715 CLUTTER_SONAME_INFIX
716 CLUTTER_STAGE_TYPE
717 CLUTTER_WINSYS_BASE
718 CLUTTER_WINSYS
719 CLUTTER_CONFIG_DEFINES
720 CLUTTER_INPUT_BACKENDS
721 CLUTTER_BACKENDS
722 NEED_XKB_UTILS_FALSE
723 NEED_XKB_UTILS_TRUE
724 USE_GLD_FALSE
725 USE_GLD_TRUE
726 USE_EVDEV_FALSE
727 USE_EVDEV_TRUE
728 USE_TSLIB_FALSE
729 USE_TSLIB_TRUE
730 USE_COGL_FALSE
731 USE_COGL_TRUE
732 SUPPORT_WAYLAND_FALSE
733 SUPPORT_WAYLAND_TRUE
734 SUPPORT_CEX100_FALSE
735 SUPPORT_CEX100_TRUE
736 SUPPORT_WIN32_FALSE
737 SUPPORT_WIN32_TRUE
738 SUPPORT_OSX_FALSE
739 SUPPORT_OSX_TRUE
740 SUPPORT_EGL_FALSE
741 SUPPORT_EGL_TRUE
742 SUPPORT_GDK_FALSE
743 SUPPORT_GDK_TRUE
744 SUPPORT_X11_FALSE
745 SUPPORT_X11_TRUE
746 SUPPORT_GLX_FALSE
747 SUPPORT_GLX_TRUE
748 EVDEV_LIBS
749 EVDEV_CFLAGS
750 TSLIB_LIBS
751 TSLIB_CFLAGS
752 WINDRES
753 CLUTTER_CEX100_LIBGDL_PREFIX
754 SUPPORT_WAYLAND_COMPOSITOR_FALSE
755 SUPPORT_WAYLAND_COMPOSITOR_TRUE
756 CLUTTER_LINK_FLAGS
757 GLIB_COMPILE_RESOURCES
758 GLIB_MKENUMS
759 GOBJECT_QUERY
760 GLIB_GENMARSHAL
761 GLIB_LIBS
762 GLIB_CFLAGS
763 PKG_CONFIG_LIBDIR
764 PKG_CONFIG_PATH
765 PKG_CONFIG
766 GDK_REQ_VERSION
767 XCOMPOSITE_REQ_VERSION
768 XFIXES_REQ_VERSION
769 GTK_DOC_REQ_VERSION
770 UPROF_REQ_VERSION
771 GI_REQ_VERSION
772 PANGO_REQ_VERSION
773 CAIRO_REQ_VERSION
774 ATK_REQ_VERSION
775 JSON_GLIB_REQ_VERSION
776 COGL_REQ_VERSION
777 GLIB_REQ_VERSION
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 MANIFEST_TOOL
784 RANLIB
785 ac_ct_AR
786 AR
787 DLLTOOL
788 OBJDUMP
789 LN_S
790 NM
791 ac_ct_DUMPBIN
792 DUMPBIN
793 LD
794 FGREP
795 LIBTOOL
796 CLUTTER_LT_LDFLAGS
797 OS_LINUX_FALSE
798 OS_LINUX_TRUE
799 OS_GLX_FALSE
800 OS_GLX_TRUE
801 OS_QUARTZ_FALSE
802 OS_QUARTZ_TRUE
803 EGREP
804 GREP
805 CPP
806 am__fastdepCC_FALSE
807 am__fastdepCC_TRUE
808 CCDEPMODE
809 am__nodep
810 AMDEPBACKSLASH
811 AMDEP_FALSE
812 AMDEP_TRUE
813 am__quote
814 am__include
815 DEPDIR
816 OBJEXT
817 EXEEXT
818 ac_ct_CC
819 CPPFLAGS
820 LDFLAGS
821 CFLAGS
822 CC
823 OS_WIN32_FALSE
824 OS_WIN32_TRUE
825 host_os
826 host_vendor
827 host_cpu
828 host
829 build_os
830 build_vendor
831 build_cpu
832 build
833 SED
834 CLUTTER_LT_VERSION
835 CLUTTER_LT_REVISION
836 CLUTTER_LT_CURRENT
837 CLUTTER_RELEASE_STATUS
838 CLUTTER_API_VERSION_AM
839 CLUTTER_API_VERSION
840 CLUTTER_VERSION
841 CLUTTER_MICRO_VERSION
842 CLUTTER_MINOR_VERSION
843 CLUTTER_MAJOR_VERSION
844 AM_BACKSLASH
845 AM_DEFAULT_VERBOSITY
846 AM_DEFAULT_V
847 AM_V
848 am__untar
849 am__tar
850 AMTAR
851 am__leading_dot
852 SET_MAKE
853 AWK
854 mkdir_p
855 MKDIR_P
856 INSTALL_STRIP_PROGRAM
857 STRIP
858 install_sh
859 MAKEINFO
860 AUTOHEADER
861 AUTOMAKE
862 AUTOCONF
863 ACLOCAL
864 VERSION
865 PACKAGE
866 CYGPATH_W
867 am__isrc
868 INSTALL_DATA
869 INSTALL_SCRIPT
870 INSTALL_PROGRAM
871 target_alias
872 host_alias
873 build_alias
874 LIBS
875 ECHO_T
876 ECHO_N
877 ECHO_C
878 DEFS
879 mandir
880 localedir
881 libdir
882 psdir
883 pdfdir
884 dvidir
885 htmldir
886 infodir
887 docdir
888 oldincludedir
889 includedir
890 localstatedir
891 sharedstatedir
892 sysconfdir
893 datadir
894 datarootdir
895 libexecdir
896 sbindir
897 bindir
898 program_transform_name
899 prefix
900 exec_prefix
901 PACKAGE_URL
902 PACKAGE_BUGREPORT
903 PACKAGE_STRING
904 PACKAGE_VERSION
905 PACKAGE_TARNAME
906 PACKAGE_NAME
907 PATH_SEPARATOR
908 SHELL'
909 ac_subst_files=''
910 ac_user_opts='
911 enable_option_checking
912 enable_silent_rules
913 enable_dependency_tracking
914 enable_static
915 enable_shared
916 with_pic
917 enable_fast_install
918 with_gnu_ld
919 with_sysroot
920 enable_libtool_lock
921 enable_glibtest
922 enable_Bsymbolic
923 enable_x11_backend
924 enable_win32_backend
925 enable_quartz_backend
926 enable_gdk_backend
927 enable_wayland_backend
928 enable_egl_backend
929 enable_cex100_backend
930 enable_wayland_compositor
931 enable_tslib_input
932 enable_evdev_input
933 with_x
934 enable_xinput
935 enable_gdk_pixbuf
936 enable_debug
937 enable_deprecated
938 enable_conformance
939 enable_profile
940 enable_gcov
941 enable_maintainer_flags
942 enable_introspection
943 with_html_dir
944 enable_gtk_doc
945 enable_gtk_doc_html
946 enable_gtk_doc_pdf
947 enable_docs
948 enable_nls
949 enable_rpath
950 with_libiconv_prefix
951 with_libintl_prefix
952 '
953       ac_precious_vars='build_alias
954 host_alias
955 target_alias
956 CC
957 CFLAGS
958 LDFLAGS
959 LIBS
960 CPPFLAGS
961 CPP
962 PKG_CONFIG
963 PKG_CONFIG_PATH
964 PKG_CONFIG_LIBDIR
965 TSLIB_CFLAGS
966 TSLIB_LIBS
967 EVDEV_CFLAGS
968 EVDEV_LIBS
969 XMKMF
970 GDK_PIXBUF_CFLAGS
971 GDK_PIXBUF_LIBS
972 PROFILE_DEP_CFLAGS
973 PROFILE_DEP_LIBS
974 CLUTTER_DEPS_CFLAGS
975 CLUTTER_DEPS_LIBS
976 CLUTTER_DEPS_PRIVATE_CFLAGS
977 CLUTTER_DEPS_PRIVATE_LIBS
978 GTKDOC_DEPS_CFLAGS
979 GTKDOC_DEPS_LIBS'
980
981
982 # Initialize some variables set by options.
983 ac_init_help=
984 ac_init_version=false
985 ac_unrecognized_opts=
986 ac_unrecognized_sep=
987 # The variables have the same names as the options, with
988 # dashes changed to underlines.
989 cache_file=/dev/null
990 exec_prefix=NONE
991 no_create=
992 no_recursion=
993 prefix=NONE
994 program_prefix=NONE
995 program_suffix=NONE
996 program_transform_name=s,x,x,
997 silent=
998 site=
999 srcdir=
1000 verbose=
1001 x_includes=NONE
1002 x_libraries=NONE
1003
1004 # Installation directory options.
1005 # These are left unexpanded so users can "make install exec_prefix=/foo"
1006 # and all the variables that are supposed to be based on exec_prefix
1007 # by default will actually change.
1008 # Use braces instead of parens because sh, perl, etc. also accept them.
1009 # (The list follows the same order as the GNU Coding Standards.)
1010 bindir='${exec_prefix}/bin'
1011 sbindir='${exec_prefix}/sbin'
1012 libexecdir='${exec_prefix}/libexec'
1013 datarootdir='${prefix}/share'
1014 datadir='${datarootdir}'
1015 sysconfdir='${prefix}/etc'
1016 sharedstatedir='${prefix}/com'
1017 localstatedir='${prefix}/var'
1018 includedir='${prefix}/include'
1019 oldincludedir='/usr/include'
1020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1021 infodir='${datarootdir}/info'
1022 htmldir='${docdir}'
1023 dvidir='${docdir}'
1024 pdfdir='${docdir}'
1025 psdir='${docdir}'
1026 libdir='${exec_prefix}/lib'
1027 localedir='${datarootdir}/locale'
1028 mandir='${datarootdir}/man'
1029
1030 ac_prev=
1031 ac_dashdash=
1032 for ac_option
1033 do
1034   # If the previous option needs an argument, assign it.
1035   if test -n "$ac_prev"; then
1036     eval $ac_prev=\$ac_option
1037     ac_prev=
1038     continue
1039   fi
1040
1041   case $ac_option in
1042   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043   *=)   ac_optarg= ;;
1044   *)    ac_optarg=yes ;;
1045   esac
1046
1047   # Accept the important Cygnus configure options, so we can diagnose typos.
1048
1049   case $ac_dashdash$ac_option in
1050   --)
1051     ac_dashdash=yes ;;
1052
1053   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1054     ac_prev=bindir ;;
1055   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1056     bindir=$ac_optarg ;;
1057
1058   -build | --build | --buil | --bui | --bu)
1059     ac_prev=build_alias ;;
1060   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1061     build_alias=$ac_optarg ;;
1062
1063   -cache-file | --cache-file | --cache-fil | --cache-fi \
1064   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1065     ac_prev=cache_file ;;
1066   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1067   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1068     cache_file=$ac_optarg ;;
1069
1070   --config-cache | -C)
1071     cache_file=config.cache ;;
1072
1073   -datadir | --datadir | --datadi | --datad)
1074     ac_prev=datadir ;;
1075   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1076     datadir=$ac_optarg ;;
1077
1078   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1079   | --dataroo | --dataro | --datar)
1080     ac_prev=datarootdir ;;
1081   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1082   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1083     datarootdir=$ac_optarg ;;
1084
1085   -disable-* | --disable-*)
1086     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1087     # Reject names that are not valid shell variable names.
1088     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089       as_fn_error $? "invalid feature name: $ac_useropt"
1090     ac_useropt_orig=$ac_useropt
1091     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092     case $ac_user_opts in
1093       *"
1094 "enable_$ac_useropt"
1095 "*) ;;
1096       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1097          ac_unrecognized_sep=', ';;
1098     esac
1099     eval enable_$ac_useropt=no ;;
1100
1101   -docdir | --docdir | --docdi | --doc | --do)
1102     ac_prev=docdir ;;
1103   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1104     docdir=$ac_optarg ;;
1105
1106   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107     ac_prev=dvidir ;;
1108   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1109     dvidir=$ac_optarg ;;
1110
1111   -enable-* | --enable-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error $? "invalid feature name: $ac_useropt"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "enable_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval enable_$ac_useropt=\$ac_optarg ;;
1126
1127   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1128   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1129   | --exec | --exe | --ex)
1130     ac_prev=exec_prefix ;;
1131   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1132   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1133   | --exec=* | --exe=* | --ex=*)
1134     exec_prefix=$ac_optarg ;;
1135
1136   -gas | --gas | --ga | --g)
1137     # Obsolete; use --with-gas.
1138     with_gas=yes ;;
1139
1140   -help | --help | --hel | --he | -h)
1141     ac_init_help=long ;;
1142   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1143     ac_init_help=recursive ;;
1144   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1145     ac_init_help=short ;;
1146
1147   -host | --host | --hos | --ho)
1148     ac_prev=host_alias ;;
1149   -host=* | --host=* | --hos=* | --ho=*)
1150     host_alias=$ac_optarg ;;
1151
1152   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153     ac_prev=htmldir ;;
1154   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155   | --ht=*)
1156     htmldir=$ac_optarg ;;
1157
1158   -includedir | --includedir | --includedi | --included | --include \
1159   | --includ | --inclu | --incl | --inc)
1160     ac_prev=includedir ;;
1161   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1162   | --includ=* | --inclu=* | --incl=* | --inc=*)
1163     includedir=$ac_optarg ;;
1164
1165   -infodir | --infodir | --infodi | --infod | --info | --inf)
1166     ac_prev=infodir ;;
1167   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168     infodir=$ac_optarg ;;
1169
1170   -libdir | --libdir | --libdi | --libd)
1171     ac_prev=libdir ;;
1172   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1173     libdir=$ac_optarg ;;
1174
1175   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1176   | --libexe | --libex | --libe)
1177     ac_prev=libexecdir ;;
1178   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1179   | --libexe=* | --libex=* | --libe=*)
1180     libexecdir=$ac_optarg ;;
1181
1182   -localedir | --localedir | --localedi | --localed | --locale)
1183     ac_prev=localedir ;;
1184   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1185     localedir=$ac_optarg ;;
1186
1187   -localstatedir | --localstatedir | --localstatedi | --localstated \
1188   | --localstate | --localstat | --localsta | --localst | --locals)
1189     ac_prev=localstatedir ;;
1190   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1191   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1192     localstatedir=$ac_optarg ;;
1193
1194   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195     ac_prev=mandir ;;
1196   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1197     mandir=$ac_optarg ;;
1198
1199   -nfp | --nfp | --nf)
1200     # Obsolete; use --without-fp.
1201     with_fp=no ;;
1202
1203   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1204   | --no-cr | --no-c | -n)
1205     no_create=yes ;;
1206
1207   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1208   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209     no_recursion=yes ;;
1210
1211   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1212   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1213   | --oldin | --oldi | --old | --ol | --o)
1214     ac_prev=oldincludedir ;;
1215   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1216   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1217   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1218     oldincludedir=$ac_optarg ;;
1219
1220   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221     ac_prev=prefix ;;
1222   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1223     prefix=$ac_optarg ;;
1224
1225   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1226   | --program-pre | --program-pr | --program-p)
1227     ac_prev=program_prefix ;;
1228   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1229   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1230     program_prefix=$ac_optarg ;;
1231
1232   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1233   | --program-suf | --program-su | --program-s)
1234     ac_prev=program_suffix ;;
1235   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1236   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1237     program_suffix=$ac_optarg ;;
1238
1239   -program-transform-name | --program-transform-name \
1240   | --program-transform-nam | --program-transform-na \
1241   | --program-transform-n | --program-transform- \
1242   | --program-transform | --program-transfor \
1243   | --program-transfo | --program-transf \
1244   | --program-trans | --program-tran \
1245   | --progr-tra | --program-tr | --program-t)
1246     ac_prev=program_transform_name ;;
1247   -program-transform-name=* | --program-transform-name=* \
1248   | --program-transform-nam=* | --program-transform-na=* \
1249   | --program-transform-n=* | --program-transform-=* \
1250   | --program-transform=* | --program-transfor=* \
1251   | --program-transfo=* | --program-transf=* \
1252   | --program-trans=* | --program-tran=* \
1253   | --progr-tra=* | --program-tr=* | --program-t=*)
1254     program_transform_name=$ac_optarg ;;
1255
1256   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257     ac_prev=pdfdir ;;
1258   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259     pdfdir=$ac_optarg ;;
1260
1261   -psdir | --psdir | --psdi | --psd | --ps)
1262     ac_prev=psdir ;;
1263   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264     psdir=$ac_optarg ;;
1265
1266   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267   | -silent | --silent | --silen | --sile | --sil)
1268     silent=yes ;;
1269
1270   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271     ac_prev=sbindir ;;
1272   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1273   | --sbi=* | --sb=*)
1274     sbindir=$ac_optarg ;;
1275
1276   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1277   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1278   | --sharedst | --shareds | --shared | --share | --shar \
1279   | --sha | --sh)
1280     ac_prev=sharedstatedir ;;
1281   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1282   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1283   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1284   | --sha=* | --sh=*)
1285     sharedstatedir=$ac_optarg ;;
1286
1287   -site | --site | --sit)
1288     ac_prev=site ;;
1289   -site=* | --site=* | --sit=*)
1290     site=$ac_optarg ;;
1291
1292   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293     ac_prev=srcdir ;;
1294   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1295     srcdir=$ac_optarg ;;
1296
1297   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1298   | --syscon | --sysco | --sysc | --sys | --sy)
1299     ac_prev=sysconfdir ;;
1300   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1301   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1302     sysconfdir=$ac_optarg ;;
1303
1304   -target | --target | --targe | --targ | --tar | --ta | --t)
1305     ac_prev=target_alias ;;
1306   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1307     target_alias=$ac_optarg ;;
1308
1309   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310     verbose=yes ;;
1311
1312   -version | --version | --versio | --versi | --vers | -V)
1313     ac_init_version=: ;;
1314
1315   -with-* | --with-*)
1316     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317     # Reject names that are not valid shell variable names.
1318     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319       as_fn_error $? "invalid package name: $ac_useropt"
1320     ac_useropt_orig=$ac_useropt
1321     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322     case $ac_user_opts in
1323       *"
1324 "with_$ac_useropt"
1325 "*) ;;
1326       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1327          ac_unrecognized_sep=', ';;
1328     esac
1329     eval with_$ac_useropt=\$ac_optarg ;;
1330
1331   -without-* | --without-*)
1332     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333     # Reject names that are not valid shell variable names.
1334     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335       as_fn_error $? "invalid package name: $ac_useropt"
1336     ac_useropt_orig=$ac_useropt
1337     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338     case $ac_user_opts in
1339       *"
1340 "with_$ac_useropt"
1341 "*) ;;
1342       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343          ac_unrecognized_sep=', ';;
1344     esac
1345     eval with_$ac_useropt=no ;;
1346
1347   --x)
1348     # Obsolete; use --with-x.
1349     with_x=yes ;;
1350
1351   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1352   | --x-incl | --x-inc | --x-in | --x-i)
1353     ac_prev=x_includes ;;
1354   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1355   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1356     x_includes=$ac_optarg ;;
1357
1358   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1359   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360     ac_prev=x_libraries ;;
1361   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1362   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1363     x_libraries=$ac_optarg ;;
1364
1365   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1366 Try \`$0 --help' for more information"
1367     ;;
1368
1369   *=*)
1370     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371     # Reject names that are not valid shell variable names.
1372     case $ac_envvar in #(
1373       '' | [0-9]* | *[!_$as_cr_alnum]* )
1374       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1375     esac
1376     eval $ac_envvar=\$ac_optarg
1377     export $ac_envvar ;;
1378
1379   *)
1380     # FIXME: should be removed in autoconf 3.0.
1381     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1385     ;;
1386
1387   esac
1388 done
1389
1390 if test -n "$ac_prev"; then
1391   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1392   as_fn_error $? "missing argument to $ac_option"
1393 fi
1394
1395 if test -n "$ac_unrecognized_opts"; then
1396   case $enable_option_checking in
1397     no) ;;
1398     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1399     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400   esac
1401 fi
1402
1403 # Check all directory arguments for consistency.
1404 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405                 datadir sysconfdir sharedstatedir localstatedir includedir \
1406                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407                 libdir localedir mandir
1408 do
1409   eval ac_val=\$$ac_var
1410   # Remove trailing slashes.
1411   case $ac_val in
1412     */ )
1413       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414       eval $ac_var=\$ac_val;;
1415   esac
1416   # Be sure to have absolute directory names.
1417   case $ac_val in
1418     [\\/$]* | ?:[\\/]* )  continue;;
1419     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420   esac
1421   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1422 done
1423
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1427 build=$build_alias
1428 host=$host_alias
1429 target=$target_alias
1430
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433   if test "x$build_alias" = x; then
1434     cross_compiling=maybe
1435     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1436     If a cross compiler is detected then cross compile mode will be used" >&2
1437   elif test "x$build_alias" != "x$host_alias"; then
1438     cross_compiling=yes
1439   fi
1440 fi
1441
1442 ac_tool_prefix=
1443 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1444
1445 test "$silent" = yes && exec 6>/dev/null
1446
1447
1448 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1449 ac_ls_di=`ls -di .` &&
1450 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1451   as_fn_error $? "working directory cannot be determined"
1452 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1453   as_fn_error $? "pwd does not report name of working directory"
1454
1455
1456 # Find the source files, if location was not specified.
1457 if test -z "$srcdir"; then
1458   ac_srcdir_defaulted=yes
1459   # Try the directory containing this script, then the parent directory.
1460   ac_confdir=`$as_dirname -- "$as_myself" ||
1461 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1462          X"$as_myself" : 'X\(//\)[^/]' \| \
1463          X"$as_myself" : 'X\(//\)$' \| \
1464          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1465 $as_echo X"$as_myself" |
1466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1467             s//\1/
1468             q
1469           }
1470           /^X\(\/\/\)[^/].*/{
1471             s//\1/
1472             q
1473           }
1474           /^X\(\/\/\)$/{
1475             s//\1/
1476             q
1477           }
1478           /^X\(\/\).*/{
1479             s//\1/
1480             q
1481           }
1482           s/.*/./; q'`
1483   srcdir=$ac_confdir
1484   if test ! -r "$srcdir/$ac_unique_file"; then
1485     srcdir=..
1486   fi
1487 else
1488   ac_srcdir_defaulted=no
1489 fi
1490 if test ! -r "$srcdir/$ac_unique_file"; then
1491   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1492   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1493 fi
1494 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1495 ac_abs_confdir=`(
1496         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1497         pwd)`
1498 # When building in place, set srcdir=.
1499 if test "$ac_abs_confdir" = "$ac_pwd"; then
1500   srcdir=.
1501 fi
1502 # Remove unnecessary trailing slashes from srcdir.
1503 # Double slashes in file names in object file debugging info
1504 # mess up M-x gdb in Emacs.
1505 case $srcdir in
1506 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1507 esac
1508 for ac_var in $ac_precious_vars; do
1509   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1510   eval ac_env_${ac_var}_value=\$${ac_var}
1511   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1512   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1513 done
1514
1515 #
1516 # Report the --help message.
1517 #
1518 if test "$ac_init_help" = "long"; then
1519   # Omit some internal or obsolete options to make the list less imposing.
1520   # This message is too long to be a string in the A/UX 3.1 sh.
1521   cat <<_ACEOF
1522 \`configure' configures clutter 1.10.4 to adapt to many kinds of systems.
1523
1524 Usage: $0 [OPTION]... [VAR=VALUE]...
1525
1526 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1527 VAR=VALUE.  See below for descriptions of some of the useful variables.
1528
1529 Defaults for the options are specified in brackets.
1530
1531 Configuration:
1532   -h, --help              display this help and exit
1533       --help=short        display options specific to this package
1534       --help=recursive    display the short help of all the included packages
1535   -V, --version           display version information and exit
1536   -q, --quiet, --silent   do not print \`checking ...' messages
1537       --cache-file=FILE   cache test results in FILE [disabled]
1538   -C, --config-cache      alias for \`--cache-file=config.cache'
1539   -n, --no-create         do not create output files
1540       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1541
1542 Installation directories:
1543   --prefix=PREFIX         install architecture-independent files in PREFIX
1544                           [$ac_default_prefix]
1545   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1546                           [PREFIX]
1547
1548 By default, \`make install' will install all the files in
1549 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1550 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1551 for instance \`--prefix=\$HOME'.
1552
1553 For better control, use the options below.
1554
1555 Fine tuning of the installation directories:
1556   --bindir=DIR            user executables [EPREFIX/bin]
1557   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1558   --libexecdir=DIR        program executables [EPREFIX/libexec]
1559   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1560   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1561   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1562   --libdir=DIR            object code libraries [EPREFIX/lib]
1563   --includedir=DIR        C header files [PREFIX/include]
1564   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1565   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1566   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1567   --infodir=DIR           info documentation [DATAROOTDIR/info]
1568   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1569   --mandir=DIR            man documentation [DATAROOTDIR/man]
1570   --docdir=DIR            documentation root [DATAROOTDIR/doc/clutter]
1571   --htmldir=DIR           html documentation [DOCDIR]
1572   --dvidir=DIR            dvi documentation [DOCDIR]
1573   --pdfdir=DIR            pdf documentation [DOCDIR]
1574   --psdir=DIR             ps documentation [DOCDIR]
1575 _ACEOF
1576
1577   cat <<\_ACEOF
1578
1579 Program names:
1580   --program-prefix=PREFIX            prepend PREFIX to installed program names
1581   --program-suffix=SUFFIX            append SUFFIX to installed program names
1582   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1583
1584 X features:
1585   --x-includes=DIR    X include files are in DIR
1586   --x-libraries=DIR   X library files are in DIR
1587
1588 System types:
1589   --build=BUILD     configure for building on BUILD [guessed]
1590   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1591 _ACEOF
1592 fi
1593
1594 if test -n "$ac_init_help"; then
1595   case $ac_init_help in
1596      short | recursive ) echo "Configuration of clutter 1.10.4:";;
1597    esac
1598   cat <<\_ACEOF
1599
1600 Optional Features:
1601   --disable-option-checking  ignore unrecognized --enable/--with options
1602   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1603   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1604   --enable-silent-rules          less verbose build output (undo: `make V=1')
1605   --disable-silent-rules         verbose build output (undo: `make V=0')
1606   --disable-dependency-tracking  speeds up one-time build
1607   --enable-dependency-tracking   do not reject slow dependency extractors
1608   --enable-static[=PKGS]  build static libraries [default=no]
1609   --enable-shared[=PKGS]  build shared libraries [default=yes]
1610   --enable-fast-install[=PKGS]
1611                           optimize for fast installation [default=yes]
1612   --disable-libtool-lock  avoid locking (might break parallel builds)
1613   --disable-glibtest      do not try to compile and run a test GLIB program
1614   --disable-Bsymbolic     Avoid linking with -Bsymbolic
1615   --enable-x11-backend=[yes/no]
1616                           Enable the X11 backend (default=check)
1617   --enable-win32-backend=[yes/no]
1618                           Enable the Windows backend (default=check)
1619   --enable-quartz-backend=[yes/no]
1620                           Enable the OS X backend (default=check)
1621   --enable-gdk-backend=[yes/no]
1622                           Enable the GDK backend (default=check)
1623   --enable-wayland-backend=[yes/no]
1624                           Enable the Wayland client backend (default=no)
1625   --enable-egl-backend=[yes/no]
1626                           Enable the EGL framebuffer backend (default=no)
1627   --enable-cex100-backend=[yes/no]
1628                           Enable the CEx100 backend (default=no)
1629   --enable-wayland-compositor=[yes/no]
1630                           Enable Wayland compositor features (default=no)
1631   --enable-tslib-input=[yes/no]
1632                           Enable TSLib for input events (default=no)
1633   --enable-evdev-input=[yes/no]
1634                           Enable evdev for input events (default=no)
1635   --enable-xinput         Use the XI X extension
1636   --enable-gdk-pixbuf=[no/yes]
1637                           Enable tests using GDK-Pixbuf [default=yes]
1638   --enable-debug=[no/minimum/yes]
1639                           Control Clutter debugging level [default=minimum]
1640   --enable-deprecated=[no/yes]
1641                           Whether deprecated symbols should be disabled when
1642                           compiling Clutter [default=yes]
1643   --enable-conformance=[no/yes]
1644                           Build conformance test suite [default=yes]
1645   --enable-profile=[no/yes]
1646                           Turn on profiling support. yes; All profiling probe
1647                           points are compiled in and may be runtime enabled.
1648                           no; No profiling support will built into clutter.
1649                           [default=no]
1650   --enable-gcov           Whether to enable coverage testing (requires gcc and
1651                           gcov)
1652   --enable-maintainer-flags=[no/yes/error]
1653                           Use strict compiler flags [default=no]
1654   --enable-introspection=[no/auto/yes]
1655                           Enable introspection for this build
1656   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1657   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1658   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1659   --enable-docs=[no/yes]  Build optional documentation; requires xsltproc and
1660                           jw.
1661   --disable-nls           do not use Native Language Support
1662   --disable-rpath         do not hardcode runtime library paths
1663
1664 Optional Packages:
1665   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1666   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1667   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1668                           both]
1669   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1670   --with-sysroot=DIR Search for dependent libraries within DIR
1671                         (or the compiler's sysroot if not specified).
1672   --with-x                use the X Window System
1673   --with-html-dir=PATH    path to installed docs
1674   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1675   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1676   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1677   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1678   --without-libintl-prefix     don't search for libintl in includedir and libdir
1679
1680 Some influential environment variables:
1681   CC          C compiler command
1682   CFLAGS      C compiler flags
1683   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1684               nonstandard directory <lib dir>
1685   LIBS        libraries to pass to the linker, e.g. -l<library>
1686   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1687               you have headers in a nonstandard directory <include dir>
1688   CPP         C preprocessor
1689   PKG_CONFIG  path to pkg-config utility
1690   PKG_CONFIG_PATH
1691               directories to add to pkg-config's search path
1692   PKG_CONFIG_LIBDIR
1693               path overriding pkg-config's built-in search path
1694   TSLIB_CFLAGS
1695               C compiler flags for TSLIB, overriding pkg-config
1696   TSLIB_LIBS  linker flags for TSLIB, overriding pkg-config
1697   EVDEV_CFLAGS
1698               C compiler flags for EVDEV, overriding pkg-config
1699   EVDEV_LIBS  linker flags for EVDEV, overriding pkg-config
1700   XMKMF       Path to xmkmf, Makefile generator for X Window System
1701   GDK_PIXBUF_CFLAGS
1702               C compiler flags for GDK_PIXBUF, overriding pkg-config
1703   GDK_PIXBUF_LIBS
1704               linker flags for GDK_PIXBUF, overriding pkg-config
1705   PROFILE_DEP_CFLAGS
1706               C compiler flags for PROFILE_DEP, overriding pkg-config
1707   PROFILE_DEP_LIBS
1708               linker flags for PROFILE_DEP, overriding pkg-config
1709   CLUTTER_DEPS_CFLAGS
1710               C compiler flags for CLUTTER_DEPS, overriding pkg-config
1711   CLUTTER_DEPS_LIBS
1712               linker flags for CLUTTER_DEPS, overriding pkg-config
1713   CLUTTER_DEPS_PRIVATE_CFLAGS
1714               C compiler flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1715   CLUTTER_DEPS_PRIVATE_LIBS
1716               linker flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1717   GTKDOC_DEPS_CFLAGS
1718               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1719   GTKDOC_DEPS_LIBS
1720               linker flags for GTKDOC_DEPS, overriding pkg-config
1721
1722 Use these variables to override the choices made by `configure' or to help
1723 it to find libraries and programs with nonstandard names/locations.
1724
1725 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
1726 clutter home page: <http://www.clutter-project.org>.
1727 _ACEOF
1728 ac_status=$?
1729 fi
1730
1731 if test "$ac_init_help" = "recursive"; then
1732   # If there are subdirs, report their specific --help.
1733   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1734     test -d "$ac_dir" ||
1735       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1736       continue
1737     ac_builddir=.
1738
1739 case "$ac_dir" in
1740 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1741 *)
1742   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1743   # A ".." for each directory in $ac_dir_suffix.
1744   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1745   case $ac_top_builddir_sub in
1746   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1747   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1748   esac ;;
1749 esac
1750 ac_abs_top_builddir=$ac_pwd
1751 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1752 # for backward compatibility:
1753 ac_top_builddir=$ac_top_build_prefix
1754
1755 case $srcdir in
1756   .)  # We are building in place.
1757     ac_srcdir=.
1758     ac_top_srcdir=$ac_top_builddir_sub
1759     ac_abs_top_srcdir=$ac_pwd ;;
1760   [\\/]* | ?:[\\/]* )  # Absolute name.
1761     ac_srcdir=$srcdir$ac_dir_suffix;
1762     ac_top_srcdir=$srcdir
1763     ac_abs_top_srcdir=$srcdir ;;
1764   *) # Relative name.
1765     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1766     ac_top_srcdir=$ac_top_build_prefix$srcdir
1767     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1768 esac
1769 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1770
1771     cd "$ac_dir" || { ac_status=$?; continue; }
1772     # Check for guested configure.
1773     if test -f "$ac_srcdir/configure.gnu"; then
1774       echo &&
1775       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1776     elif test -f "$ac_srcdir/configure"; then
1777       echo &&
1778       $SHELL "$ac_srcdir/configure" --help=recursive
1779     else
1780       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1781     fi || ac_status=$?
1782     cd "$ac_pwd" || { ac_status=$?; break; }
1783   done
1784 fi
1785
1786 test -n "$ac_init_help" && exit $ac_status
1787 if $ac_init_version; then
1788   cat <<\_ACEOF
1789 clutter configure 1.10.4
1790 generated by GNU Autoconf 2.68
1791
1792 Copyright (C) 2010 Free Software Foundation, Inc.
1793 This configure script is free software; the Free Software Foundation
1794 gives unlimited permission to copy, distribute and modify it.
1795 _ACEOF
1796   exit
1797 fi
1798
1799 ## ------------------------ ##
1800 ## Autoconf initialization. ##
1801 ## ------------------------ ##
1802
1803 # ac_fn_c_try_compile LINENO
1804 # --------------------------
1805 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_c_try_compile ()
1807 {
1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809   rm -f conftest.$ac_objext
1810   if { { ac_try="$ac_compile"
1811 case "(($ac_try" in
1812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813   *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817   (eval "$ac_compile") 2>conftest.err
1818   ac_status=$?
1819   if test -s conftest.err; then
1820     grep -v '^ *+' conftest.err >conftest.er1
1821     cat conftest.er1 >&5
1822     mv -f conftest.er1 conftest.err
1823   fi
1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825   test $ac_status = 0; } && {
1826          test -z "$ac_c_werror_flag" ||
1827          test ! -s conftest.err
1828        } && test -s conftest.$ac_objext; then :
1829   ac_retval=0
1830 else
1831   $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1833
1834         ac_retval=1
1835 fi
1836   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837   as_fn_set_status $ac_retval
1838
1839 } # ac_fn_c_try_compile
1840
1841 # ac_fn_c_try_cpp LINENO
1842 # ----------------------
1843 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1844 ac_fn_c_try_cpp ()
1845 {
1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847   if { { ac_try="$ac_cpp conftest.$ac_ext"
1848 case "(($ac_try" in
1849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850   *) ac_try_echo=$ac_try;;
1851 esac
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1855   ac_status=$?
1856   if test -s conftest.err; then
1857     grep -v '^ *+' conftest.err >conftest.er1
1858     cat conftest.er1 >&5
1859     mv -f conftest.er1 conftest.err
1860   fi
1861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862   test $ac_status = 0; } > conftest.i && {
1863          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1864          test ! -s conftest.err
1865        }; then :
1866   ac_retval=0
1867 else
1868   $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1870
1871     ac_retval=1
1872 fi
1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874   as_fn_set_status $ac_retval
1875
1876 } # ac_fn_c_try_cpp
1877
1878 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1881 # the include files in INCLUDES and setting the cache variable VAR
1882 # accordingly.
1883 ac_fn_c_check_header_mongrel ()
1884 {
1885   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886   if eval \${$3+:} false; then :
1887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \${$3+:} false; then :
1890   $as_echo_n "(cached) " >&6
1891 fi
1892 eval ac_res=\$$3
1893                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 else
1896   # Is the header compilable?
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1898 $as_echo_n "checking $2 usability... " >&6; }
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h.  */
1901 $4
1902 #include <$2>
1903 _ACEOF
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905   ac_header_compiler=yes
1906 else
1907   ac_header_compiler=no
1908 fi
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1911 $as_echo "$ac_header_compiler" >&6; }
1912
1913 # Is the header present?
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1915 $as_echo_n "checking $2 presence... " >&6; }
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h.  */
1918 #include <$2>
1919 _ACEOF
1920 if ac_fn_c_try_cpp "$LINENO"; then :
1921   ac_header_preproc=yes
1922 else
1923   ac_header_preproc=no
1924 fi
1925 rm -f conftest.err conftest.i conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1927 $as_echo "$ac_header_preproc" >&6; }
1928
1929 # So?  What about this header?
1930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1931   yes:no: )
1932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1933 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1936     ;;
1937   no:yes:* )
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1939 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1941 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1943 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1945 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948 ( $as_echo "## ---------------------------------------------------------------------- ##
1949 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=clutter ##
1950 ## ---------------------------------------------------------------------- ##"
1951      ) | sed "s/^/$as_me: WARNING:     /" >&2
1952     ;;
1953 esac
1954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957   $as_echo_n "(cached) " >&6
1958 else
1959   eval "$3=\$ac_header_compiler"
1960 fi
1961 eval ac_res=\$$3
1962                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1964 fi
1965   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1966
1967 } # ac_fn_c_check_header_mongrel
1968
1969 # ac_fn_c_try_run LINENO
1970 # ----------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1972 # that executables *can* be run.
1973 ac_fn_c_try_run ()
1974 {
1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976   if { { ac_try="$ac_link"
1977 case "(($ac_try" in
1978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979   *) ac_try_echo=$ac_try;;
1980 esac
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983   (eval "$ac_link") 2>&5
1984   ac_status=$?
1985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1987   { { case "(($ac_try" in
1988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989   *) ac_try_echo=$ac_try;;
1990 esac
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993   (eval "$ac_try") 2>&5
1994   ac_status=$?
1995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996   test $ac_status = 0; }; }; then :
1997   ac_retval=0
1998 else
1999   $as_echo "$as_me: program exited with status $ac_status" >&5
2000        $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2002
2003        ac_retval=$ac_status
2004 fi
2005   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007   as_fn_set_status $ac_retval
2008
2009 } # ac_fn_c_try_run
2010
2011 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2012 # -------------------------------------------------------
2013 # Tests whether HEADER exists and can be compiled using the include files in
2014 # INCLUDES, setting the cache variable VAR accordingly.
2015 ac_fn_c_check_header_compile ()
2016 {
2017   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \${$3+:} false; then :
2021   $as_echo_n "(cached) " >&6
2022 else
2023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h.  */
2025 $4
2026 #include <$2>
2027 _ACEOF
2028 if ac_fn_c_try_compile "$LINENO"; then :
2029   eval "$3=yes"
2030 else
2031   eval "$3=no"
2032 fi
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2034 fi
2035 eval ac_res=\$$3
2036                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2038   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039
2040 } # ac_fn_c_check_header_compile
2041
2042 # ac_fn_c_try_link LINENO
2043 # -----------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded.
2045 ac_fn_c_try_link ()
2046 {
2047   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048   rm -f conftest.$ac_objext conftest$ac_exeext
2049   if { { ac_try="$ac_link"
2050 case "(($ac_try" in
2051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2052   *) ac_try_echo=$ac_try;;
2053 esac
2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056   (eval "$ac_link") 2>conftest.err
2057   ac_status=$?
2058   if test -s conftest.err; then
2059     grep -v '^ *+' conftest.err >conftest.er1
2060     cat conftest.er1 >&5
2061     mv -f conftest.er1 conftest.err
2062   fi
2063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2064   test $ac_status = 0; } && {
2065          test -z "$ac_c_werror_flag" ||
2066          test ! -s conftest.err
2067        } && test -s conftest$ac_exeext && {
2068          test "$cross_compiling" = yes ||
2069          $as_test_x conftest$ac_exeext
2070        }; then :
2071   ac_retval=0
2072 else
2073   $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2075
2076         ac_retval=1
2077 fi
2078   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2079   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2080   # interfere with the next link command; also delete a directory that is
2081   # left behind by Apple's compiler.  We do this before executing the actions.
2082   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2083   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084   as_fn_set_status $ac_retval
2085
2086 } # ac_fn_c_try_link
2087
2088 # ac_fn_c_check_func LINENO FUNC VAR
2089 # ----------------------------------
2090 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2091 ac_fn_c_check_func ()
2092 {
2093   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if eval \${$3+:} false; then :
2097   $as_echo_n "(cached) " >&6
2098 else
2099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h.  */
2101 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2103 #define $2 innocuous_$2
2104
2105 /* System header to define __stub macros and hopefully few prototypes,
2106     which can conflict with char $2 (); below.
2107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2108     <limits.h> exists even on freestanding compilers.  */
2109
2110 #ifdef __STDC__
2111 # include <limits.h>
2112 #else
2113 # include <assert.h>
2114 #endif
2115
2116 #undef $2
2117
2118 /* Override any GCC internal prototype to avoid an error.
2119    Use char because int might match the return type of a GCC
2120    builtin and then its argument prototype would still apply.  */
2121 #ifdef __cplusplus
2122 extern "C"
2123 #endif
2124 char $2 ();
2125 /* The GNU C library defines this for functions which it implements
2126     to always fail with ENOSYS.  Some functions are actually named
2127     something starting with __ and the normal name is an alias.  */
2128 #if defined __stub_$2 || defined __stub___$2
2129 choke me
2130 #endif
2131
2132 int
2133 main ()
2134 {
2135 return $2 ();
2136   ;
2137   return 0;
2138 }
2139 _ACEOF
2140 if ac_fn_c_try_link "$LINENO"; then :
2141   eval "$3=yes"
2142 else
2143   eval "$3=no"
2144 fi
2145 rm -f core conftest.err conftest.$ac_objext \
2146     conftest$ac_exeext conftest.$ac_ext
2147 fi
2148 eval ac_res=\$$3
2149                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2152
2153 } # ac_fn_c_check_func
2154
2155 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2156 # ----------------------------------------------------
2157 # Tries to find if the field MEMBER exists in type AGGR, after including
2158 # INCLUDES, setting cache variable VAR accordingly.
2159 ac_fn_c_check_member ()
2160 {
2161   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2163 $as_echo_n "checking for $2.$3... " >&6; }
2164 if eval \${$4+:} false; then :
2165   $as_echo_n "(cached) " >&6
2166 else
2167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h.  */
2169 $5
2170 int
2171 main ()
2172 {
2173 static $2 ac_aggr;
2174 if (ac_aggr.$3)
2175 return 0;
2176   ;
2177   return 0;
2178 }
2179 _ACEOF
2180 if ac_fn_c_try_compile "$LINENO"; then :
2181   eval "$4=yes"
2182 else
2183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h.  */
2185 $5
2186 int
2187 main ()
2188 {
2189 static $2 ac_aggr;
2190 if (sizeof ac_aggr.$3)
2191 return 0;
2192   ;
2193   return 0;
2194 }
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197   eval "$4=yes"
2198 else
2199   eval "$4=no"
2200 fi
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 fi
2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 fi
2205 eval ac_res=\$$4
2206                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2207 $as_echo "$ac_res" >&6; }
2208   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2209
2210 } # ac_fn_c_check_member
2211 cat >config.log <<_ACEOF
2212 This file contains any messages produced by compilers while
2213 running configure, to aid debugging if configure makes a mistake.
2214
2215 It was created by clutter $as_me 1.10.4, which was
2216 generated by GNU Autoconf 2.68.  Invocation command line was
2217
2218   $ $0 $@
2219
2220 _ACEOF
2221 exec 5>>config.log
2222 {
2223 cat <<_ASUNAME
2224 ## --------- ##
2225 ## Platform. ##
2226 ## --------- ##
2227
2228 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2229 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2230 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2231 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2232 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2233
2234 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2235 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2236
2237 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2238 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2239 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2240 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2241 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2242 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2243 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2244
2245 _ASUNAME
2246
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 for as_dir in $PATH
2249 do
2250   IFS=$as_save_IFS
2251   test -z "$as_dir" && as_dir=.
2252     $as_echo "PATH: $as_dir"
2253   done
2254 IFS=$as_save_IFS
2255
2256 } >&5
2257
2258 cat >&5 <<_ACEOF
2259
2260
2261 ## ----------- ##
2262 ## Core tests. ##
2263 ## ----------- ##
2264
2265 _ACEOF
2266
2267
2268 # Keep a trace of the command line.
2269 # Strip out --no-create and --no-recursion so they do not pile up.
2270 # Strip out --silent because we don't want to record it for future runs.
2271 # Also quote any args containing shell meta-characters.
2272 # Make two passes to allow for proper duplicate-argument suppression.
2273 ac_configure_args=
2274 ac_configure_args0=
2275 ac_configure_args1=
2276 ac_must_keep_next=false
2277 for ac_pass in 1 2
2278 do
2279   for ac_arg
2280   do
2281     case $ac_arg in
2282     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2283     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2284     | -silent | --silent | --silen | --sile | --sil)
2285       continue ;;
2286     *\'*)
2287       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2288     esac
2289     case $ac_pass in
2290     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2291     2)
2292       as_fn_append ac_configure_args1 " '$ac_arg'"
2293       if test $ac_must_keep_next = true; then
2294         ac_must_keep_next=false # Got value, back to normal.
2295       else
2296         case $ac_arg in
2297           *=* | --config-cache | -C | -disable-* | --disable-* \
2298           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2299           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2300           | -with-* | --with-* | -without-* | --without-* | --x)
2301             case "$ac_configure_args0 " in
2302               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2303             esac
2304             ;;
2305           -* ) ac_must_keep_next=true ;;
2306         esac
2307       fi
2308       as_fn_append ac_configure_args " '$ac_arg'"
2309       ;;
2310     esac
2311   done
2312 done
2313 { ac_configure_args0=; unset ac_configure_args0;}
2314 { ac_configure_args1=; unset ac_configure_args1;}
2315
2316 # When interrupted or exit'd, cleanup temporary files, and complete
2317 # config.log.  We remove comments because anyway the quotes in there
2318 # would cause problems or look ugly.
2319 # WARNING: Use '\'' to represent an apostrophe within the trap.
2320 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2321 trap 'exit_status=$?
2322   # Save into config.log some information that might help in debugging.
2323   {
2324     echo
2325
2326     $as_echo "## ---------------- ##
2327 ## Cache variables. ##
2328 ## ---------------- ##"
2329     echo
2330     # The following way of writing the cache mishandles newlines in values,
2331 (
2332   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2333     eval ac_val=\$$ac_var
2334     case $ac_val in #(
2335     *${as_nl}*)
2336       case $ac_var in #(
2337       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2339       esac
2340       case $ac_var in #(
2341       _ | IFS | as_nl) ;; #(
2342       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2343       *) { eval $ac_var=; unset $ac_var;} ;;
2344       esac ;;
2345     esac
2346   done
2347   (set) 2>&1 |
2348     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2349     *${as_nl}ac_space=\ *)
2350       sed -n \
2351         "s/'\''/'\''\\\\'\'''\''/g;
2352           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2353       ;; #(
2354     *)
2355       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2356       ;;
2357     esac |
2358     sort
2359 )
2360     echo
2361
2362     $as_echo "## ----------------- ##
2363 ## Output variables. ##
2364 ## ----------------- ##"
2365     echo
2366     for ac_var in $ac_subst_vars
2367     do
2368       eval ac_val=\$$ac_var
2369       case $ac_val in
2370       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2371       esac
2372       $as_echo "$ac_var='\''$ac_val'\''"
2373     done | sort
2374     echo
2375
2376     if test -n "$ac_subst_files"; then
2377       $as_echo "## ------------------- ##
2378 ## File substitutions. ##
2379 ## ------------------- ##"
2380       echo
2381       for ac_var in $ac_subst_files
2382       do
2383         eval ac_val=\$$ac_var
2384         case $ac_val in
2385         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2386         esac
2387         $as_echo "$ac_var='\''$ac_val'\''"
2388       done | sort
2389       echo
2390     fi
2391
2392     if test -s confdefs.h; then
2393       $as_echo "## ----------- ##
2394 ## confdefs.h. ##
2395 ## ----------- ##"
2396       echo
2397       cat confdefs.h
2398       echo
2399     fi
2400     test "$ac_signal" != 0 &&
2401       $as_echo "$as_me: caught signal $ac_signal"
2402     $as_echo "$as_me: exit $exit_status"
2403   } >&5
2404   rm -f core *.core core.conftest.* &&
2405     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2406     exit $exit_status
2407 ' 0
2408 for ac_signal in 1 2 13 15; do
2409   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2410 done
2411 ac_signal=0
2412
2413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2414 rm -f -r conftest* confdefs.h
2415
2416 $as_echo "/* confdefs.h */" > confdefs.h
2417
2418 # Predefined preprocessor variables.
2419
2420 cat >>confdefs.h <<_ACEOF
2421 #define PACKAGE_NAME "$PACKAGE_NAME"
2422 _ACEOF
2423
2424 cat >>confdefs.h <<_ACEOF
2425 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2426 _ACEOF
2427
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2430 _ACEOF
2431
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_STRING "$PACKAGE_STRING"
2434 _ACEOF
2435
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2438 _ACEOF
2439
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_URL "$PACKAGE_URL"
2442 _ACEOF
2443
2444
2445 # Let the site file select an alternate cache file if it wants to.
2446 # Prefer an explicitly selected file to automatically selected ones.
2447 ac_site_file1=NONE
2448 ac_site_file2=NONE
2449 if test -n "$CONFIG_SITE"; then
2450   # We do not want a PATH search for config.site.
2451   case $CONFIG_SITE in #((
2452     -*)  ac_site_file1=./$CONFIG_SITE;;
2453     */*) ac_site_file1=$CONFIG_SITE;;
2454     *)   ac_site_file1=./$CONFIG_SITE;;
2455   esac
2456 elif test "x$prefix" != xNONE; then
2457   ac_site_file1=$prefix/share/config.site
2458   ac_site_file2=$prefix/etc/config.site
2459 else
2460   ac_site_file1=$ac_default_prefix/share/config.site
2461   ac_site_file2=$ac_default_prefix/etc/config.site
2462 fi
2463 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2464 do
2465   test "x$ac_site_file" = xNONE && continue
2466   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2467     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2468 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2469     sed 's/^/| /' "$ac_site_file" >&5
2470     . "$ac_site_file" \
2471       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 as_fn_error $? "failed to load site script $ac_site_file
2474 See \`config.log' for more details" "$LINENO" 5; }
2475   fi
2476 done
2477
2478 if test -r "$cache_file"; then
2479   # Some versions of bash will fail to source /dev/null (special files
2480   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2481   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2482     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2483 $as_echo "$as_me: loading cache $cache_file" >&6;}
2484     case $cache_file in
2485       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2486       *)                      . "./$cache_file";;
2487     esac
2488   fi
2489 else
2490   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2491 $as_echo "$as_me: creating cache $cache_file" >&6;}
2492   >$cache_file
2493 fi
2494
2495 gt_needs="$gt_needs "
2496 # Check that the precious variables saved in the cache have kept the same
2497 # value.
2498 ac_cache_corrupted=false
2499 for ac_var in $ac_precious_vars; do
2500   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2501   eval ac_new_set=\$ac_env_${ac_var}_set
2502   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2503   eval ac_new_val=\$ac_env_${ac_var}_value
2504   case $ac_old_set,$ac_new_set in
2505     set,)
2506       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2507 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2508       ac_cache_corrupted=: ;;
2509     ,set)
2510       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2511 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2512       ac_cache_corrupted=: ;;
2513     ,);;
2514     *)
2515       if test "x$ac_old_val" != "x$ac_new_val"; then
2516         # differences in whitespace do not lead to failure.
2517         ac_old_val_w=`echo x $ac_old_val`
2518         ac_new_val_w=`echo x $ac_new_val`
2519         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2520           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2521 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2522           ac_cache_corrupted=:
2523         else
2524           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2525 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2526           eval $ac_var=\$ac_old_val
2527         fi
2528         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2529 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2530         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2531 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2532       fi;;
2533   esac
2534   # Pass precious variables to config.status.
2535   if test "$ac_new_set" = set; then
2536     case $ac_new_val in
2537     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2538     *) ac_arg=$ac_var=$ac_new_val ;;
2539     esac
2540     case " $ac_configure_args " in
2541       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2542       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2543     esac
2544   fi
2545 done
2546 if $ac_cache_corrupted; then
2547   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2550 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2551   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2552 fi
2553 ## -------------------- ##
2554 ## Main body of script. ##
2555 ## -------------------- ##
2556
2557 ac_ext=c
2558 ac_cpp='$CPP $CPPFLAGS'
2559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2562
2563
2564
2565
2566 ac_config_headers="$ac_config_headers config.h"
2567
2568 ac_aux_dir=
2569 for ac_dir in build "$srcdir"/build; do
2570   if test -f "$ac_dir/install-sh"; then
2571     ac_aux_dir=$ac_dir
2572     ac_install_sh="$ac_aux_dir/install-sh -c"
2573     break
2574   elif test -f "$ac_dir/install.sh"; then
2575     ac_aux_dir=$ac_dir
2576     ac_install_sh="$ac_aux_dir/install.sh -c"
2577     break
2578   elif test -f "$ac_dir/shtool"; then
2579     ac_aux_dir=$ac_dir
2580     ac_install_sh="$ac_aux_dir/shtool install -c"
2581     break
2582   fi
2583 done
2584 if test -z "$ac_aux_dir"; then
2585   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2586 fi
2587
2588 # These three variables are undocumented and unsupported,
2589 # and are intended to be withdrawn in a future Autoconf release.
2590 # They can cause serious problems if a builder's source tree is in a directory
2591 # whose full name contains unusual characters.
2592 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2593 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2594 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2595
2596
2597
2598
2599 am__api_version='1.11'
2600
2601 # Find a good install program.  We prefer a C program (faster),
2602 # so one script is as good as another.  But avoid the broken or
2603 # incompatible versions:
2604 # SysV /etc/install, /usr/sbin/install
2605 # SunOS /usr/etc/install
2606 # IRIX /sbin/install
2607 # AIX /bin/install
2608 # AmigaOS /C/install, which installs bootblocks on floppy discs
2609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2612 # OS/2's system install, which has a completely different semantic
2613 # ./install, which can be erroneously created by make from ./install.sh.
2614 # Reject install programs that cannot install multiple files.
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2616 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2617 if test -z "$INSTALL"; then
2618 if ${ac_cv_path_install+:} false; then :
2619   $as_echo_n "(cached) " >&6
2620 else
2621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2623 do
2624   IFS=$as_save_IFS
2625   test -z "$as_dir" && as_dir=.
2626     # Account for people who put trailing slashes in PATH elements.
2627 case $as_dir/ in #((
2628   ./ | .// | /[cC]/* | \
2629   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2630   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2631   /usr/ucb/* ) ;;
2632   *)
2633     # OSF1 and SCO ODT 3.0 have their own names for install.
2634     # Don't use installbsd from OSF since it installs stuff as root
2635     # by default.
2636     for ac_prog in ginstall scoinst install; do
2637       for ac_exec_ext in '' $ac_executable_extensions; do
2638         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2639           if test $ac_prog = install &&
2640             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2641             # AIX install.  It has an incompatible calling convention.
2642             :
2643           elif test $ac_prog = install &&
2644             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2645             # program-specific install script used by HP pwplus--don't use.
2646             :
2647           else
2648             rm -rf conftest.one conftest.two conftest.dir
2649             echo one > conftest.one
2650             echo two > conftest.two
2651             mkdir conftest.dir
2652             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2653               test -s conftest.one && test -s conftest.two &&
2654               test -s conftest.dir/conftest.one &&
2655               test -s conftest.dir/conftest.two
2656             then
2657               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2658               break 3
2659             fi
2660           fi
2661         fi
2662       done
2663     done
2664     ;;
2665 esac
2666
2667   done
2668 IFS=$as_save_IFS
2669
2670 rm -rf conftest.one conftest.two conftest.dir
2671
2672 fi
2673   if test "${ac_cv_path_install+set}" = set; then
2674     INSTALL=$ac_cv_path_install
2675   else
2676     # As a last resort, use the slow shell script.  Don't cache a
2677     # value for INSTALL within a source directory, because that will
2678     # break other packages using the cache if that directory is
2679     # removed, or if the value is a relative name.
2680     INSTALL=$ac_install_sh
2681   fi
2682 fi
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2684 $as_echo "$INSTALL" >&6; }
2685
2686 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2687 # It thinks the first close brace ends the variable substitution.
2688 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2689
2690 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2691
2692 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2693
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2695 $as_echo_n "checking whether build environment is sane... " >&6; }
2696 # Just in case
2697 sleep 1
2698 echo timestamp > conftest.file
2699 # Reject unsafe characters in $srcdir or the absolute working directory
2700 # name.  Accept space and tab only in the latter.
2701 am_lf='
2702 '
2703 case `pwd` in
2704   *[\\\"\#\$\&\'\`$am_lf]*)
2705     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2706 esac
2707 case $srcdir in
2708   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2709     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2710 esac
2711
2712 # Do `set' in a subshell so we don't clobber the current shell's
2713 # arguments.  Must try -L first in case configure is actually a
2714 # symlink; some systems play weird games with the mod time of symlinks
2715 # (eg FreeBSD returns the mod time of the symlink's containing
2716 # directory).
2717 if (
2718    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2719    if test "$*" = "X"; then
2720       # -L didn't work.
2721       set X `ls -t "$srcdir/configure" conftest.file`
2722    fi
2723    rm -f conftest.file
2724    if test "$*" != "X $srcdir/configure conftest.file" \
2725       && test "$*" != "X conftest.file $srcdir/configure"; then
2726
2727       # If neither matched, then we have a broken ls.  This can happen
2728       # if, for instance, CONFIG_SHELL is bash and it inherits a
2729       # broken ls alias from the environment.  This has actually
2730       # happened.  Such a system could not be considered "sane".
2731       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2732 alias in your environment" "$LINENO" 5
2733    fi
2734
2735    test "$2" = conftest.file
2736    )
2737 then
2738    # Ok.
2739    :
2740 else
2741    as_fn_error $? "newly created file is older than distributed files!
2742 Check your system clock" "$LINENO" 5
2743 fi
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2745 $as_echo "yes" >&6; }
2746 test "$program_prefix" != NONE &&
2747   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2748 # Use a double $ so make ignores it.
2749 test "$program_suffix" != NONE &&
2750   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2751 # Double any \ or $.
2752 # By default was `s,x,x', remove it if useless.
2753 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2754 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2755
2756 # expand $ac_aux_dir to an absolute path
2757 am_aux_dir=`cd $ac_aux_dir && pwd`
2758
2759 if test x"${MISSING+set}" != xset; then
2760   case $am_aux_dir in
2761   *\ * | *\     *)
2762     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2763   *)
2764     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2765   esac
2766 fi
2767 # Use eval to expand $SHELL
2768 if eval "$MISSING --run true"; then
2769   am_missing_run="$MISSING --run "
2770 else
2771   am_missing_run=
2772   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2773 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2774 fi
2775
2776 if test x"${install_sh}" != xset; then
2777   case $am_aux_dir in
2778   *\ * | *\     *)
2779     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2780   *)
2781     install_sh="\${SHELL} $am_aux_dir/install-sh"
2782   esac
2783 fi
2784
2785 # Installed binaries are usually stripped using `strip' when the user
2786 # run `make install-strip'.  However `strip' might not be the right
2787 # tool to use in cross-compilation environments, therefore Automake
2788 # will honor the `STRIP' environment variable to overrule this program.
2789 if test "$cross_compiling" != no; then
2790   if test -n "$ac_tool_prefix"; then
2791   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2792 set dummy ${ac_tool_prefix}strip; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_STRIP+:} false; then :
2796   $as_echo_n "(cached) " >&6
2797 else
2798   if test -n "$STRIP"; then
2799   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804   IFS=$as_save_IFS
2805   test -z "$as_dir" && as_dir=.
2806     for ac_exec_ext in '' $ac_executable_extensions; do
2807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810     break 2
2811   fi
2812 done
2813   done
2814 IFS=$as_save_IFS
2815
2816 fi
2817 fi
2818 STRIP=$ac_cv_prog_STRIP
2819 if test -n "$STRIP"; then
2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2821 $as_echo "$STRIP" >&6; }
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 fi
2826
2827
2828 fi
2829 if test -z "$ac_cv_prog_STRIP"; then
2830   ac_ct_STRIP=$STRIP
2831   # Extract the first word of "strip", so it can be a program name with args.
2832 set dummy strip; ac_word=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2836   $as_echo_n "(cached) " >&6
2837 else
2838   if test -n "$ac_ct_STRIP"; then
2839   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2840 else
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 for as_dir in $PATH
2843 do
2844   IFS=$as_save_IFS
2845   test -z "$as_dir" && as_dir=.
2846     for ac_exec_ext in '' $ac_executable_extensions; do
2847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848     ac_cv_prog_ac_ct_STRIP="strip"
2849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850     break 2
2851   fi
2852 done
2853   done
2854 IFS=$as_save_IFS
2855
2856 fi
2857 fi
2858 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2859 if test -n "$ac_ct_STRIP"; then
2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2861 $as_echo "$ac_ct_STRIP" >&6; }
2862 else
2863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865 fi
2866
2867   if test "x$ac_ct_STRIP" = x; then
2868     STRIP=":"
2869   else
2870     case $cross_compiling:$ac_tool_warned in
2871 yes:)
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2874 ac_tool_warned=yes ;;
2875 esac
2876     STRIP=$ac_ct_STRIP
2877   fi
2878 else
2879   STRIP="$ac_cv_prog_STRIP"
2880 fi
2881
2882 fi
2883 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2884
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2886 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2887 if test -z "$MKDIR_P"; then
2888   if ${ac_cv_path_mkdir+:} false; then :
2889   $as_echo_n "(cached) " >&6
2890 else
2891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2893 do
2894   IFS=$as_save_IFS
2895   test -z "$as_dir" && as_dir=.
2896     for ac_prog in mkdir gmkdir; do
2897          for ac_exec_ext in '' $ac_executable_extensions; do
2898            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2899            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2900              'mkdir (GNU coreutils) '* | \
2901              'mkdir (coreutils) '* | \
2902              'mkdir (fileutils) '4.1*)
2903                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2904                break 3;;
2905            esac
2906          done
2907        done
2908   done
2909 IFS=$as_save_IFS
2910
2911 fi
2912
2913   test -d ./--version && rmdir ./--version
2914   if test "${ac_cv_path_mkdir+set}" = set; then
2915     MKDIR_P="$ac_cv_path_mkdir -p"
2916   else
2917     # As a last resort, use the slow shell script.  Don't cache a
2918     # value for MKDIR_P within a source directory, because that will
2919     # break other packages using the cache if that directory is
2920     # removed, or if the value is a relative name.
2921     MKDIR_P="$ac_install_sh -d"
2922   fi
2923 fi
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2925 $as_echo "$MKDIR_P" >&6; }
2926
2927 mkdir_p="$MKDIR_P"
2928 case $mkdir_p in
2929   [\\/$]* | ?:[\\/]*) ;;
2930   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2931 esac
2932
2933 for ac_prog in gawk mawk nawk awk
2934 do
2935   # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy $ac_prog; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_AWK+:} false; then :
2940   $as_echo_n "(cached) " >&6
2941 else
2942   if test -n "$AWK"; then
2943   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2944 else
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 for as_dir in $PATH
2947 do
2948   IFS=$as_save_IFS
2949   test -z "$as_dir" && as_dir=.
2950     for ac_exec_ext in '' $ac_executable_extensions; do
2951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952     ac_cv_prog_AWK="$ac_prog"
2953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954     break 2
2955   fi
2956 done
2957   done
2958 IFS=$as_save_IFS
2959
2960 fi
2961 fi
2962 AWK=$ac_cv_prog_AWK
2963 if test -n "$AWK"; then
2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2965 $as_echo "$AWK" >&6; }
2966 else
2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2969 fi
2970
2971
2972   test -n "$AWK" && break
2973 done
2974
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2977 set x ${MAKE-make}
2978 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2979 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2980   $as_echo_n "(cached) " >&6
2981 else
2982   cat >conftest.make <<\_ACEOF
2983 SHELL = /bin/sh
2984 all:
2985         @echo '@@@%%%=$(MAKE)=@@@%%%'
2986 _ACEOF
2987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2989   *@@@%%%=?*=@@@%%%*)
2990     eval ac_cv_prog_make_${ac_make}_set=yes;;
2991   *)
2992     eval ac_cv_prog_make_${ac_make}_set=no;;
2993 esac
2994 rm -f conftest.make
2995 fi
2996 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
2999   SET_MAKE=
3000 else
3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003   SET_MAKE="MAKE=${MAKE-make}"
3004 fi
3005
3006 rm -rf .tst 2>/dev/null
3007 mkdir .tst 2>/dev/null
3008 if test -d .tst; then
3009   am__leading_dot=.
3010 else
3011   am__leading_dot=_
3012 fi
3013 rmdir .tst 2>/dev/null
3014
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017   # is not polluted with repeated "-I."
3018   am__isrc=' -I$(srcdir)'
3019   # test to see if srcdir already configured
3020   if test -f $srcdir/config.status; then
3021     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3022   fi
3023 fi
3024
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027   if (cygpath --version) >/dev/null 2>/dev/null; then
3028     CYGPATH_W='cygpath -w'
3029   else
3030     CYGPATH_W=echo
3031   fi
3032 fi
3033
3034
3035 # Define the identity of the package.
3036  PACKAGE='clutter'
3037  VERSION='1.10.4'
3038
3039
3040 # Some tools Automake needs.
3041
3042 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3043
3044
3045 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3046
3047
3048 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3049
3050
3051 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3052
3053
3054 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3055
3056 # We need awk for the "check" target.  The system "awk" is bad on
3057 # some platforms.
3058 # Always define AMTAR for backward compatibility.  Yes, it's still used
3059 # in the wild :-(  We should find a proper way to deprecate it ...
3060 AMTAR='$${TAR-tar}'
3061
3062
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3064 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3065 # Loop over all known methods to create a tar archive until one works.
3066 _am_tools='gnutar plaintar pax cpio none'
3067 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3068 # Do not fold the above two line into one, because Tru64 sh and
3069 # Solaris sh will not grok spaces in the rhs of `-'.
3070 for _am_tool in $_am_tools
3071 do
3072   case $_am_tool in
3073   gnutar)
3074     for _am_tar in tar gnutar gtar;
3075     do
3076       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3077    ($_am_tar --version) >&5 2>&5
3078    ac_status=$?
3079    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080    (exit $ac_status); } && break
3081     done
3082     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3083     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3084     am__untar="$_am_tar -xf -"
3085     ;;
3086   plaintar)
3087     # Must skip GNU tar: if it does not support --format= it doesn't create
3088     # ustar tarball either.
3089     (tar --version) >/dev/null 2>&1 && continue
3090     am__tar='tar chf - "$$tardir"'
3091     am__tar_='tar chf - "$tardir"'
3092     am__untar='tar xf -'
3093     ;;
3094   pax)
3095     am__tar='pax -L -x ustar -w "$$tardir"'
3096     am__tar_='pax -L -x ustar -w "$tardir"'
3097     am__untar='pax -r'
3098     ;;
3099   cpio)
3100     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3101     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3102     am__untar='cpio -i -H ustar -d'
3103     ;;
3104   none)
3105     am__tar=false
3106     am__tar_=false
3107     am__untar=false
3108     ;;
3109   esac
3110
3111   # If the value was cached, stop now.  We just wanted to have am__tar
3112   # and am__untar set.
3113   test -n "${am_cv_prog_tar_ustar}" && break
3114
3115   # tar/untar a dummy directory, and stop if the command works
3116   rm -rf conftest.dir
3117   mkdir conftest.dir
3118   echo GrepMe > conftest.dir/file
3119   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3120    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3121    ac_status=$?
3122    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123    (exit $ac_status); }
3124   rm -rf conftest.dir
3125   if test -s conftest.tar; then
3126     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3127    ($am__untar <conftest.tar) >&5 2>&5
3128    ac_status=$?
3129    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130    (exit $ac_status); }
3131     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3132   fi
3133 done
3134 rm -rf conftest.dir
3135
3136 if ${am_cv_prog_tar_ustar+:} false; then :
3137   $as_echo_n "(cached) " >&6
3138 else
3139   am_cv_prog_tar_ustar=$_am_tool
3140 fi
3141
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3143 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3144
3145
3146
3147
3148
3149 # Check whether --enable-silent-rules was given.
3150 if test "${enable_silent_rules+set}" = set; then :
3151   enableval=$enable_silent_rules;
3152 fi
3153
3154 case $enable_silent_rules in
3155 yes) AM_DEFAULT_VERBOSITY=0;;
3156 no)  AM_DEFAULT_VERBOSITY=1;;
3157 *)   AM_DEFAULT_VERBOSITY=0;;
3158 esac
3159 am_make=${MAKE-make}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3161 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3162 if ${am_cv_make_support_nested_variables+:} false; then :
3163   $as_echo_n "(cached) " >&6
3164 else
3165   if $as_echo 'TRUE=$(BAR$(V))
3166 BAR0=false
3167 BAR1=true
3168 V=1
3169 am__doit:
3170         @$(TRUE)
3171 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3172   am_cv_make_support_nested_variables=yes
3173 else
3174   am_cv_make_support_nested_variables=no
3175 fi
3176 fi
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3178 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3179 if test $am_cv_make_support_nested_variables = yes; then
3180     AM_V='$(V)'
3181   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3182 else
3183   AM_V=$AM_DEFAULT_VERBOSITY
3184   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3185 fi
3186 AM_BACKSLASH='\'
3187
3188
3189 CLUTTER_MAJOR_VERSION=1
3190
3191 CLUTTER_MINOR_VERSION=10
3192
3193 CLUTTER_MICRO_VERSION=4
3194
3195 CLUTTER_VERSION=1.10.4
3196
3197 CLUTTER_API_VERSION=1.0
3198
3199 CLUTTER_API_VERSION_AM=$CLUTTER_MAJOR_VERSION\_0
3200
3201 CLUTTER_RELEASE_STATUS=release
3202
3203
3204
3205
3206
3207 CLUTTER_LT_CURRENT=1000
3208 CLUTTER_LT_REV=4
3209 CLUTTER_LT_AGE=1000
3210 CLUTTER_LT_VERSION="$CLUTTER_LT_CURRENT:$CLUTTER_LT_REV:$CLUTTER_LT_AGE"
3211 CLUTTER_LT_LDFLAGS="-version-info $CLUTTER_LT_VERSION"
3212 CLUTTER_LT_CURRENT=1000
3213
3214 CLUTTER_LT_REVISION=4
3215
3216 CLUTTER_LT_VERSION=$CLUTTER_LT_VERSION
3217
3218
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3220 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3221 if ${ac_cv_path_SED+:} false; then :
3222   $as_echo_n "(cached) " >&6
3223 else
3224             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3225      for ac_i in 1 2 3 4 5 6 7; do
3226        ac_script="$ac_script$as_nl$ac_script"
3227      done
3228      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3229      { ac_script=; unset ac_script;}
3230      if test -z "$SED"; then
3231   ac_path_SED_found=false
3232   # Loop through the user's path and test for each of PROGNAME-LIST
3233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 for as_dir in $PATH
3235 do
3236   IFS=$as_save_IFS
3237   test -z "$as_dir" && as_dir=.
3238     for ac_prog in sed gsed; do
3239     for ac_exec_ext in '' $ac_executable_extensions; do
3240       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3241       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3242 # Check for GNU ac_path_SED and select it if it is found.
3243   # Check for GNU $ac_path_SED
3244 case `"$ac_path_SED" --version 2>&1` in
3245 *GNU*)
3246   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3247 *)
3248   ac_count=0
3249   $as_echo_n 0123456789 >"conftest.in"
3250   while :
3251   do
3252     cat "conftest.in" "conftest.in" >"conftest.tmp"
3253     mv "conftest.tmp" "conftest.in"
3254     cp "conftest.in" "conftest.nl"
3255     $as_echo '' >> "conftest.nl"
3256     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3257     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3258     as_fn_arith $ac_count + 1 && ac_count=$as_val
3259     if test $ac_count -gt ${ac_path_SED_max-0}; then
3260       # Best one so far, save it but keep looking for a better one
3261       ac_cv_path_SED="$ac_path_SED"
3262       ac_path_SED_max=$ac_count
3263     fi
3264     # 10*(2^10) chars as input seems more than enough
3265     test $ac_count -gt 10 && break
3266   done
3267   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3268 esac
3269
3270       $ac_path_SED_found && break 3
3271     done
3272   done
3273   done
3274 IFS=$as_save_IFS
3275   if test -z "$ac_cv_path_SED"; then
3276     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3277   fi
3278 else
3279   ac_cv_path_SED=$SED
3280 fi
3281
3282 fi
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3284 $as_echo "$ac_cv_path_SED" >&6; }
3285  SED="$ac_cv_path_SED"
3286   rm -f conftest.sed
3287
3288
3289
3290 # Make sure we can run config.sub.
3291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3292   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3293
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3295 $as_echo_n "checking build system type... " >&6; }
3296 if ${ac_cv_build+:} false; then :
3297   $as_echo_n "(cached) " >&6
3298 else
3299   ac_build_alias=$build_alias
3300 test "x$ac_build_alias" = x &&
3301   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3302 test "x$ac_build_alias" = x &&
3303   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3305   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3306
3307 fi
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3309 $as_echo "$ac_cv_build" >&6; }
3310 case $ac_cv_build in
3311 *-*-*) ;;
3312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3313 esac
3314 build=$ac_cv_build
3315 ac_save_IFS=$IFS; IFS='-'
3316 set x $ac_cv_build
3317 shift
3318 build_cpu=$1
3319 build_vendor=$2
3320 shift; shift
3321 # Remember, the first character of IFS is used to create $*,
3322 # except with old shells:
3323 build_os=$*
3324 IFS=$ac_save_IFS
3325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3326
3327
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3329 $as_echo_n "checking host system type... " >&6; }
3330 if ${ac_cv_host+:} false; then :
3331   $as_echo_n "(cached) " >&6
3332 else
3333   if test "x$host_alias" = x; then
3334   ac_cv_host=$ac_cv_build
3335 else
3336   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3337     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3338 fi
3339
3340 fi
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3342 $as_echo "$ac_cv_host" >&6; }
3343 case $ac_cv_host in
3344 *-*-*) ;;
3345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3346 esac
3347 host=$ac_cv_host
3348 ac_save_IFS=$IFS; IFS='-'
3349 set x $ac_cv_host
3350 shift
3351 host_cpu=$1
3352 host_vendor=$2
3353 shift; shift
3354 # Remember, the first character of IFS is used to create $*,
3355 # except with old shells:
3356 host_os=$*
3357 IFS=$ac_save_IFS
3358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3359
3360
3361
3362 platform_win32=no
3363 platform_quartz=no
3364 platform_linux=no
3365
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for some Win32 platform" >&5
3367 $as_echo_n "checking if building for some Win32 platform... " >&6; }
3368 case $host in #(
3369   *-*-mingw*|*-*-cygwin*) :
3370
3371           CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined"
3372           platform_win32=yes
3373          ;; #(
3374   *-*-linux*) :
3375
3376           platform_linux=yes
3377          ;; #(
3378   *) :
3379
3380  ;;
3381 esac
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
3383 $as_echo "$platform_win32" >&6; }
3384
3385  if test "$platform_win32" = "yes"; then
3386   OS_WIN32_TRUE=
3387   OS_WIN32_FALSE='#'
3388 else
3389   OS_WIN32_TRUE='#'
3390   OS_WIN32_FALSE=
3391 fi
3392
3393
3394 DEPDIR="${am__leading_dot}deps"
3395
3396 ac_config_commands="$ac_config_commands depfiles"
3397
3398
3399 am_make=${MAKE-make}
3400 cat > confinc << 'END'
3401 am__doit:
3402         @echo this is the am__doit target
3403 .PHONY: am__doit
3404 END
3405 # If we don't find an include directive, just comment out the code.
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3407 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3408 am__include="#"
3409 am__quote=
3410 _am_result=none
3411 # First try GNU make style include.
3412 echo "include confinc" > confmf
3413 # Ignore all kinds of additional output from `make'.
3414 case `$am_make -s -f confmf 2> /dev/null` in #(
3415 *the\ am__doit\ target*)
3416   am__include=include
3417   am__quote=
3418   _am_result=GNU
3419   ;;
3420 esac
3421 # Now try BSD make style include.
3422 if test "$am__include" = "#"; then
3423    echo '.include "confinc"' > confmf
3424    case `$am_make -s -f confmf 2> /dev/null` in #(
3425    *the\ am__doit\ target*)
3426      am__include=.include
3427      am__quote="\""
3428      _am_result=BSD
3429      ;;
3430    esac
3431 fi
3432
3433
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3435 $as_echo "$_am_result" >&6; }
3436 rm -f confinc confmf
3437
3438 # Check whether --enable-dependency-tracking was given.
3439 if test "${enable_dependency_tracking+set}" = set; then :
3440   enableval=$enable_dependency_tracking;
3441 fi
3442
3443 if test "x$enable_dependency_tracking" != xno; then
3444   am_depcomp="$ac_aux_dir/depcomp"
3445   AMDEPBACKSLASH='\'
3446   am__nodep='_no'
3447 fi
3448  if test "x$enable_dependency_tracking" != xno; then
3449   AMDEP_TRUE=
3450   AMDEP_FALSE='#'
3451 else
3452   AMDEP_TRUE='#'
3453   AMDEP_FALSE=
3454 fi
3455
3456
3457 ac_ext=c
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3462 if test -n "$ac_tool_prefix"; then
3463   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3464 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if ${ac_cv_prog_CC+:} false; then :
3468   $as_echo_n "(cached) " >&6
3469 else
3470   if test -n "$CC"; then
3471   ac_cv_prog_CC="$CC" # Let the user override the test.
3472 else
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 for as_dir in $PATH
3475 do
3476   IFS=$as_save_IFS
3477   test -z "$as_dir" && as_dir=.
3478     for ac_exec_ext in '' $ac_executable_extensions; do
3479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482     break 2
3483   fi
3484 done
3485   done
3486 IFS=$as_save_IFS
3487
3488 fi
3489 fi
3490 CC=$ac_cv_prog_CC
3491 if test -n "$CC"; then
3492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3493 $as_echo "$CC" >&6; }
3494 else
3495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3497 fi
3498
3499
3500 fi
3501 if test -z "$ac_cv_prog_CC"; then
3502   ac_ct_CC=$CC
3503   # Extract the first word of "gcc", so it can be a program name with args.
3504 set dummy gcc; ac_word=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3508   $as_echo_n "(cached) " >&6
3509 else
3510   if test -n "$ac_ct_CC"; then
3511   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3512 else
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 for as_dir in $PATH
3515 do
3516   IFS=$as_save_IFS
3517   test -z "$as_dir" && as_dir=.
3518     for ac_exec_ext in '' $ac_executable_extensions; do
3519   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3520     ac_cv_prog_ac_ct_CC="gcc"
3521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522     break 2
3523   fi
3524 done
3525   done
3526 IFS=$as_save_IFS
3527
3528 fi
3529 fi
3530 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3531 if test -n "$ac_ct_CC"; then
3532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3533 $as_echo "$ac_ct_CC" >&6; }
3534 else
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3537 fi
3538
3539   if test "x$ac_ct_CC" = x; then
3540     CC=""
3541   else
3542     case $cross_compiling:$ac_tool_warned in
3543 yes:)
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3546 ac_tool_warned=yes ;;
3547 esac
3548     CC=$ac_ct_CC
3549   fi
3550 else
3551   CC="$ac_cv_prog_CC"
3552 fi
3553
3554 if test -z "$CC"; then
3555           if test -n "$ac_tool_prefix"; then
3556     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}cc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if ${ac_cv_prog_CC+:} false; then :
3561   $as_echo_n "(cached) " >&6
3562 else
3563   if test -n "$CC"; then
3564   ac_cv_prog_CC="$CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3568 do
3569   IFS=$as_save_IFS
3570   test -z "$as_dir" && as_dir=.
3571     for ac_exec_ext in '' $ac_executable_extensions; do
3572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573     ac_cv_prog_CC="${ac_tool_prefix}cc"
3574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575     break 2
3576   fi
3577 done
3578   done
3579 IFS=$as_save_IFS
3580
3581 fi
3582 fi
3583 CC=$ac_cv_prog_CC
3584 if test -n "$CC"; then
3585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3587 else
3588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 fi
3591
3592
3593   fi
3594 fi
3595 if test -z "$CC"; then
3596   # Extract the first word of "cc", so it can be a program name with args.
3597 set dummy cc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false; then :
3601   $as_echo_n "(cached) " >&6
3602 else
3603   if test -n "$CC"; then
3604   ac_cv_prog_CC="$CC" # Let the user override the test.
3605 else
3606   ac_prog_rejected=no
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610   IFS=$as_save_IFS
3611   test -z "$as_dir" && as_dir=.
3612     for ac_exec_ext in '' $ac_executable_extensions; do
3613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3615        ac_prog_rejected=yes
3616        continue
3617      fi
3618     ac_cv_prog_CC="cc"
3619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620     break 2
3621   fi
3622 done
3623   done
3624 IFS=$as_save_IFS
3625
3626 if test $ac_prog_rejected = yes; then
3627   # We found a bogon in the path, so make sure we never use it.
3628   set dummy $ac_cv_prog_CC
3629   shift
3630   if test $# != 0; then
3631     # We chose a different compiler from the bogus one.
3632     # However, it has the same basename, so the bogon will be chosen
3633     # first if we set CC to just the basename; use the full file name.
3634     shift
3635     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3636   fi
3637 fi
3638 fi
3639 fi
3640 CC=$ac_cv_prog_CC
3641 if test -n "$CC"; then
3642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3644 else
3645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3647 fi
3648
3649
3650 fi
3651 if test -z "$CC"; then
3652   if test -n "$ac_tool_prefix"; then
3653   for ac_prog in cl.exe
3654   do
3655     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_CC+:} false; then :
3660   $as_echo_n "(cached) " >&6
3661 else
3662   if test -n "$CC"; then
3663   ac_cv_prog_CC="$CC" # Let the user override the test.
3664 else
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 for as_dir in $PATH
3667 do
3668   IFS=$as_save_IFS
3669   test -z "$as_dir" && as_dir=.
3670     for ac_exec_ext in '' $ac_executable_extensions; do
3671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3672     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674     break 2
3675   fi
3676 done
3677   done
3678 IFS=$as_save_IFS
3679
3680 fi
3681 fi
3682 CC=$ac_cv_prog_CC
3683 if test -n "$CC"; then
3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 $as_echo "$CC" >&6; }
3686 else
3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3689 fi
3690
3691
3692     test -n "$CC" && break
3693   done
3694 fi
3695 if test -z "$CC"; then
3696   ac_ct_CC=$CC
3697   for ac_prog in cl.exe
3698 do
3699   # Extract the first word of "$ac_prog", so it can be a program name with args.
3700 set dummy $ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3704   $as_echo_n "(cached) " >&6
3705 else
3706   if test -n "$ac_ct_CC"; then
3707   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3708 else
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710 for as_dir in $PATH
3711 do
3712   IFS=$as_save_IFS
3713   test -z "$as_dir" && as_dir=.
3714     for ac_exec_ext in '' $ac_executable_extensions; do
3715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716     ac_cv_prog_ac_ct_CC="$ac_prog"
3717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718     break 2
3719   fi
3720 done
3721   done
3722 IFS=$as_save_IFS
3723
3724 fi
3725 fi
3726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3727 if test -n "$ac_ct_CC"; then
3728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3729 $as_echo "$ac_ct_CC" >&6; }
3730 else
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3733 fi
3734
3735
3736   test -n "$ac_ct_CC" && break
3737 done
3738
3739   if test "x$ac_ct_CC" = x; then
3740     CC=""
3741   else
3742     case $cross_compiling:$ac_tool_warned in
3743 yes:)
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3746 ac_tool_warned=yes ;;
3747 esac
3748     CC=$ac_ct_CC
3749   fi
3750 fi
3751
3752 fi
3753
3754
3755 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3757 as_fn_error $? "no acceptable C compiler found in \$PATH
3758 See \`config.log' for more details" "$LINENO" 5; }
3759
3760 # Provide some information about the compiler.
3761 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3762 set X $ac_compile
3763 ac_compiler=$2
3764 for ac_option in --version -v -V -qversion; do
3765   { { ac_try="$ac_compiler $ac_option >&5"
3766 case "(($ac_try" in
3767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768   *) ac_try_echo=$ac_try;;
3769 esac
3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 $as_echo "$ac_try_echo"; } >&5
3772   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3773   ac_status=$?
3774   if test -s conftest.err; then
3775     sed '10a\
3776 ... rest of stderr output deleted ...
3777          10q' conftest.err >conftest.er1
3778     cat conftest.er1 >&5
3779   fi
3780   rm -f conftest.er1 conftest.err
3781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3782   test $ac_status = 0; }
3783 done
3784
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h.  */
3787
3788 int
3789 main ()
3790 {
3791
3792   ;
3793   return 0;
3794 }
3795 _ACEOF
3796 ac_clean_files_save=$ac_clean_files
3797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3798 # Try to create an executable without -o first, disregard a.out.
3799 # It will help us diagnose broken compilers, and finding out an intuition
3800 # of exeext.
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3802 $as_echo_n "checking whether the C compiler works... " >&6; }
3803 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3804
3805 # The possible output files:
3806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3807
3808 ac_rmfiles=
3809 for ac_file in $ac_files
3810 do
3811   case $ac_file in
3812     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3814   esac
3815 done
3816 rm -f $ac_rmfiles
3817
3818 if { { ac_try="$ac_link_default"
3819 case "(($ac_try" in
3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821   *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825   (eval "$ac_link_default") 2>&5
3826   ac_status=$?
3827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828   test $ac_status = 0; }; then :
3829   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3830 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3831 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3832 # so that the user can short-circuit this test for compilers unknown to
3833 # Autoconf.
3834 for ac_file in $ac_files ''
3835 do
3836   test -f "$ac_file" || continue
3837   case $ac_file in
3838     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3839         ;;
3840     [ab].out )
3841         # We found the default executable, but exeext='' is most
3842         # certainly right.
3843         break;;
3844     *.* )
3845         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3846         then :; else
3847            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3848         fi
3849         # We set ac_cv_exeext here because the later test for it is not
3850         # safe: cross compilers may not add the suffix if given an `-o'
3851         # argument, so we may need to know it at that point already.
3852         # Even if this section looks crufty: it has the advantage of
3853         # actually working.
3854         break;;
3855     * )
3856         break;;
3857   esac
3858 done
3859 test "$ac_cv_exeext" = no && ac_cv_exeext=
3860
3861 else
3862   ac_file=''
3863 fi
3864 if test -z "$ac_file"; then :
3865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3867 $as_echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3869
3870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 as_fn_error 77 "C compiler cannot create executables
3873 See \`config.log' for more details" "$LINENO" 5; }
3874 else
3875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3876 $as_echo "yes" >&6; }
3877 fi
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3879 $as_echo_n "checking for C compiler default output file name... " >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3881 $as_echo "$ac_file" >&6; }
3882 ac_exeext=$ac_cv_exeext
3883
3884 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3885 ac_clean_files=$ac_clean_files_save
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3887 $as_echo_n "checking for suffix of executables... " >&6; }
3888 if { { ac_try="$ac_link"
3889 case "(($ac_try" in
3890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891   *) ac_try_echo=$ac_try;;
3892 esac
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895   (eval "$ac_link") 2>&5
3896   ac_status=$?
3897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898   test $ac_status = 0; }; then :
3899   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3900 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3901 # work properly (i.e., refer to `conftest.exe'), while it won't with
3902 # `rm'.
3903 for ac_file in conftest.exe conftest conftest.*; do
3904   test -f "$ac_file" || continue
3905   case $ac_file in
3906     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3907     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3908           break;;
3909     * ) break;;
3910   esac
3911 done
3912 else
3913   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3915 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3916 See \`config.log' for more details" "$LINENO" 5; }
3917 fi
3918 rm -f conftest conftest$ac_cv_exeext
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3920 $as_echo "$ac_cv_exeext" >&6; }
3921
3922 rm -f conftest.$ac_ext
3923 EXEEXT=$ac_cv_exeext
3924 ac_exeext=$EXEEXT
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h.  */
3927 #include <stdio.h>
3928 int
3929 main ()
3930 {
3931 FILE *f = fopen ("conftest.out", "w");
3932  return ferror (f) || fclose (f) != 0;
3933
3934   ;
3935   return 0;
3936 }
3937 _ACEOF
3938 ac_clean_files="$ac_clean_files conftest.out"
3939 # Check that the compiler produces executables we can run.  If not, either
3940 # the compiler is broken, or we cross compile.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3942 $as_echo_n "checking whether we are cross compiling... " >&6; }
3943 if test "$cross_compiling" != yes; then
3944   { { ac_try="$ac_link"
3945 case "(($ac_try" in
3946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947   *) ac_try_echo=$ac_try;;
3948 esac
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951   (eval "$ac_link") 2>&5
3952   ac_status=$?
3953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954   test $ac_status = 0; }
3955   if { ac_try='./conftest$ac_cv_exeext'
3956   { { case "(($ac_try" in
3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958   *) ac_try_echo=$ac_try;;
3959 esac
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962   (eval "$ac_try") 2>&5
3963   ac_status=$?
3964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965   test $ac_status = 0; }; }; then
3966     cross_compiling=no
3967   else
3968     if test "$cross_compiling" = maybe; then
3969         cross_compiling=yes
3970     else
3971         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $? "cannot run C compiled programs.
3974 If you meant to cross compile, use \`--host'.
3975 See \`config.log' for more details" "$LINENO" 5; }
3976     fi
3977   fi
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3980 $as_echo "$cross_compiling" >&6; }
3981
3982 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3983 ac_clean_files=$ac_clean_files_save
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3985 $as_echo_n "checking for suffix of object files... " >&6; }
3986 if ${ac_cv_objext+:} false; then :
3987   $as_echo_n "(cached) " >&6
3988 else
3989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h.  */
3991
3992 int
3993 main ()
3994 {
3995
3996   ;
3997   return 0;
3998 }
3999 _ACEOF
4000 rm -f conftest.o conftest.obj
4001 if { { ac_try="$ac_compile"
4002 case "(($ac_try" in
4003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004   *) ac_try_echo=$ac_try;;
4005 esac
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008   (eval "$ac_compile") 2>&5
4009   ac_status=$?
4010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011   test $ac_status = 0; }; then :
4012   for ac_file in conftest.o conftest.obj conftest.*; do
4013   test -f "$ac_file" || continue;
4014   case $ac_file in
4015     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4016     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4017        break;;
4018   esac
4019 done
4020 else
4021   $as_echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4023
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error $? "cannot compute suffix of object files: cannot compile
4027 See \`config.log' for more details" "$LINENO" 5; }
4028 fi
4029 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4030 fi
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4032 $as_echo "$ac_cv_objext" >&6; }
4033 OBJEXT=$ac_cv_objext
4034 ac_objext=$OBJEXT
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4036 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4037 if ${ac_cv_c_compiler_gnu+:} false; then :
4038   $as_echo_n "(cached) " >&6
4039 else
4040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h.  */
4042
4043 int
4044 main ()
4045 {
4046 #ifndef __GNUC__
4047        choke me
4048 #endif
4049
4050   ;
4051   return 0;
4052 }
4053 _ACEOF
4054 if ac_fn_c_try_compile "$LINENO"; then :
4055   ac_compiler_gnu=yes
4056 else
4057   ac_compiler_gnu=no
4058 fi
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4061
4062 fi
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4064 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4065 if test $ac_compiler_gnu = yes; then
4066   GCC=yes
4067 else
4068   GCC=
4069 fi
4070 ac_test_CFLAGS=${CFLAGS+set}
4071 ac_save_CFLAGS=$CFLAGS
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4073 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4074 if ${ac_cv_prog_cc_g+:} false; then :
4075   $as_echo_n "(cached) " >&6
4076 else
4077   ac_save_c_werror_flag=$ac_c_werror_flag
4078    ac_c_werror_flag=yes
4079    ac_cv_prog_cc_g=no
4080    CFLAGS="-g"
4081    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h.  */
4083
4084 int
4085 main ()
4086 {
4087
4088   ;
4089   return 0;
4090 }
4091 _ACEOF
4092 if ac_fn_c_try_compile "$LINENO"; then :
4093   ac_cv_prog_cc_g=yes
4094 else
4095   CFLAGS=""
4096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h.  */
4098
4099 int
4100 main ()
4101 {
4102
4103   ;
4104   return 0;
4105 }
4106 _ACEOF
4107 if ac_fn_c_try_compile "$LINENO"; then :
4108
4109 else
4110   ac_c_werror_flag=$ac_save_c_werror_flag
4111          CFLAGS="-g"
4112          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h.  */
4114
4115 int
4116 main ()
4117 {
4118
4119   ;
4120   return 0;
4121 }
4122 _ACEOF
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124   ac_cv_prog_cc_g=yes
4125 fi
4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4127 fi
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 fi
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131    ac_c_werror_flag=$ac_save_c_werror_flag
4132 fi
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4134 $as_echo "$ac_cv_prog_cc_g" >&6; }
4135 if test "$ac_test_CFLAGS" = set; then
4136   CFLAGS=$ac_save_CFLAGS
4137 elif test $ac_cv_prog_cc_g = yes; then
4138   if test "$GCC" = yes; then
4139     CFLAGS="-g -O2"
4140   else
4141     CFLAGS="-g"
4142   fi
4143 else
4144   if test "$GCC" = yes; then
4145     CFLAGS="-O2"
4146   else
4147     CFLAGS=
4148   fi
4149 fi
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4151 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4152 if ${ac_cv_prog_cc_c89+:} false; then :
4153   $as_echo_n "(cached) " >&6
4154 else
4155   ac_cv_prog_cc_c89=no
4156 ac_save_CC=$CC
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h.  */
4159 #include <stdarg.h>
4160 #include <stdio.h>
4161 #include <sys/types.h>
4162 #include <sys/stat.h>
4163 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4164 struct buf { int x; };
4165 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4166 static char *e (p, i)
4167      char **p;
4168      int i;
4169 {
4170   return p[i];
4171 }
4172 static char *f (char * (*g) (char **, int), char **p, ...)
4173 {
4174   char *s;
4175   va_list v;
4176   va_start (v,p);
4177   s = g (p, va_arg (v,int));
4178   va_end (v);
4179   return s;
4180 }
4181
4182 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4183    function prototypes and stuff, but not '\xHH' hex character constants.
4184    These don't provoke an error unfortunately, instead are silently treated
4185    as 'x'.  The following induces an error, until -std is added to get
4186    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4187    array size at least.  It's necessary to write '\x00'==0 to get something
4188    that's true only with -std.  */
4189 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4190
4191 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4192    inside strings and character constants.  */
4193 #define FOO(x) 'x'
4194 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4195
4196 int test (int i, double x);
4197 struct s1 {int (*f) (int a);};
4198 struct s2 {int (*f) (double a);};
4199 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4200 int argc;
4201 char **argv;
4202 int
4203 main ()
4204 {
4205 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4206   ;
4207   return 0;
4208 }
4209 _ACEOF
4210 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4211         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4212 do
4213   CC="$ac_save_CC $ac_arg"
4214   if ac_fn_c_try_compile "$LINENO"; then :
4215   ac_cv_prog_cc_c89=$ac_arg
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext
4218   test "x$ac_cv_prog_cc_c89" != "xno" && break
4219 done
4220 rm -f conftest.$ac_ext
4221 CC=$ac_save_CC
4222
4223 fi
4224 # AC_CACHE_VAL
4225 case "x$ac_cv_prog_cc_c89" in
4226   x)
4227     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4228 $as_echo "none needed" >&6; } ;;
4229   xno)
4230     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4231 $as_echo "unsupported" >&6; } ;;
4232   *)
4233     CC="$CC $ac_cv_prog_cc_c89"
4234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4235 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4236 esac
4237 if test "x$ac_cv_prog_cc_c89" != xno; then :
4238
4239 fi
4240
4241 ac_ext=c
4242 ac_cpp='$CPP $CPPFLAGS'
4243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4246
4247 depcc="$CC"   am_compiler_list=
4248
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4250 $as_echo_n "checking dependency style of $depcc... " >&6; }
4251 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4252   $as_echo_n "(cached) " >&6
4253 else
4254   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4255   # We make a subdir and do the tests there.  Otherwise we can end up
4256   # making bogus files that we don't know about and never remove.  For
4257   # instance it was reported that on HP-UX the gcc test will end up
4258   # making a dummy file named `D' -- because `-MD' means `put the output
4259   # in D'.
4260   rm -rf conftest.dir
4261   mkdir conftest.dir
4262   # Copy depcomp to subdir because otherwise we won't find it if we're
4263   # using a relative directory.
4264   cp "$am_depcomp" conftest.dir
4265   cd conftest.dir
4266   # We will build objects and dependencies in a subdirectory because
4267   # it helps to detect inapplicable dependency modes.  For instance
4268   # both Tru64's cc and ICC support -MD to output dependencies as a
4269   # side effect of compilation, but ICC will put the dependencies in
4270   # the current directory while Tru64 will put them in the object
4271   # directory.
4272   mkdir sub
4273
4274   am_cv_CC_dependencies_compiler_type=none
4275   if test "$am_compiler_list" = ""; then
4276      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4277   fi
4278   am__universal=false
4279   case " $depcc " in #(
4280      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4281      esac
4282
4283   for depmode in $am_compiler_list; do
4284     # Setup a source with many dependencies, because some compilers
4285     # like to wrap large dependency lists on column 80 (with \), and
4286     # we should not choose a depcomp mode which is confused by this.
4287     #
4288     # We need to recreate these files for each test, as the compiler may
4289     # overwrite some of them when testing with obscure command lines.
4290     # This happens at least with the AIX C compiler.
4291     : > sub/conftest.c
4292     for i in 1 2 3 4 5 6; do
4293       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4294       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4295       # Solaris 8's {/usr,}/bin/sh.
4296       touch sub/conftst$i.h
4297     done
4298     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4299
4300     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4301     # mode.  It turns out that the SunPro C++ compiler does not properly
4302     # handle `-M -o', and we need to detect this.  Also, some Intel
4303     # versions had trouble with output in subdirs
4304     am__obj=sub/conftest.${OBJEXT-o}
4305     am__minus_obj="-o $am__obj"
4306     case $depmode in
4307     gcc)
4308       # This depmode causes a compiler race in universal mode.
4309       test "$am__universal" = false || continue
4310       ;;
4311     nosideeffect)
4312       # after this tag, mechanisms are not by side-effect, so they'll
4313       # only be used when explicitly requested
4314       if test "x$enable_dependency_tracking" = xyes; then
4315         continue
4316       else
4317         break
4318       fi
4319       ;;
4320     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4321       # This compiler won't grok `-c -o', but also, the minuso test has
4322       # not run yet.  These depmodes are late enough in the game, and
4323       # so weak that their functioning should not be impacted.
4324       am__obj=conftest.${OBJEXT-o}
4325       am__minus_obj=
4326       ;;
4327     none) break ;;
4328     esac
4329     if depmode=$depmode \
4330        source=sub/conftest.c object=$am__obj \
4331        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4332        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4333          >/dev/null 2>conftest.err &&
4334        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4335        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4336        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4337        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4338       # icc doesn't choke on unknown options, it will just issue warnings
4339       # or remarks (even with -Werror).  So we grep stderr for any message
4340       # that says an option was ignored or not supported.
4341       # When given -MP, icc 7.0 and 7.1 complain thusly:
4342       #   icc: Command line warning: ignoring option '-M'; no argument required
4343       # The diagnosis changed in icc 8.0:
4344       #   icc: Command line remark: option '-MP' not supported
4345       if (grep 'ignoring option' conftest.err ||
4346           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4347         am_cv_CC_dependencies_compiler_type=$depmode
4348         break
4349       fi
4350     fi
4351   done
4352
4353   cd ..
4354   rm -rf conftest.dir
4355 else
4356   am_cv_CC_dependencies_compiler_type=none
4357 fi
4358
4359 fi
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4361 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4362 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4363
4364  if
4365   test "x$enable_dependency_tracking" != xno \
4366   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4367   am__fastdepCC_TRUE=
4368   am__fastdepCC_FALSE='#'
4369 else
4370   am__fastdepCC_TRUE='#'
4371   am__fastdepCC_FALSE=
4372 fi
4373
4374
4375
4376 ac_ext=c
4377 ac_cpp='$CPP $CPPFLAGS'
4378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4382 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4383 # On Suns, sometimes $CPP names a directory.
4384 if test -n "$CPP" && test -d "$CPP"; then
4385   CPP=
4386 fi
4387 if test -z "$CPP"; then
4388   if ${ac_cv_prog_CPP+:} false; then :
4389   $as_echo_n "(cached) " >&6
4390 else
4391       # Double quotes because CPP needs to be expanded
4392     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4393     do
4394       ac_preproc_ok=false
4395 for ac_c_preproc_warn_flag in '' yes
4396 do
4397   # Use a header file that comes with gcc, so configuring glibc
4398   # with a fresh cross-compiler works.
4399   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4400   # <limits.h> exists even on freestanding compilers.
4401   # On the NeXT, cc -E runs the code through the compiler's parser,
4402   # not just through cpp. "Syntax error" is here to catch this case.
4403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h.  */
4405 #ifdef __STDC__
4406 # include <limits.h>
4407 #else
4408 # include <assert.h>
4409 #endif
4410                      Syntax error
4411 _ACEOF
4412 if ac_fn_c_try_cpp "$LINENO"; then :
4413
4414 else
4415   # Broken: fails on valid input.
4416 continue
4417 fi
4418 rm -f conftest.err conftest.i conftest.$ac_ext
4419
4420   # OK, works on sane cases.  Now check whether nonexistent headers
4421   # can be detected and how.
4422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h.  */
4424 #include <ac_nonexistent.h>
4425 _ACEOF
4426 if ac_fn_c_try_cpp "$LINENO"; then :
4427   # Broken: success on invalid input.
4428 continue
4429 else
4430   # Passes both tests.
4431 ac_preproc_ok=:
4432 break
4433 fi
4434 rm -f conftest.err conftest.i conftest.$ac_ext
4435
4436 done
4437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4438 rm -f conftest.i conftest.err conftest.$ac_ext
4439 if $ac_preproc_ok; then :
4440   break
4441 fi
4442
4443     done
4444     ac_cv_prog_CPP=$CPP
4445
4446 fi
4447   CPP=$ac_cv_prog_CPP
4448 else
4449   ac_cv_prog_CPP=$CPP
4450 fi
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4452 $as_echo "$CPP" >&6; }
4453 ac_preproc_ok=false
4454 for ac_c_preproc_warn_flag in '' yes
4455 do
4456   # Use a header file that comes with gcc, so configuring glibc
4457   # with a fresh cross-compiler works.
4458   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4459   # <limits.h> exists even on freestanding compilers.
4460   # On the NeXT, cc -E runs the code through the compiler's parser,
4461   # not just through cpp. "Syntax error" is here to catch this case.
4462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h.  */
4464 #ifdef __STDC__
4465 # include <limits.h>
4466 #else
4467 # include <assert.h>
4468 #endif
4469                      Syntax error
4470 _ACEOF
4471 if ac_fn_c_try_cpp "$LINENO"; then :
4472
4473 else
4474   # Broken: fails on valid input.
4475 continue
4476 fi
4477 rm -f conftest.err conftest.i conftest.$ac_ext
4478
4479   # OK, works on sane cases.  Now check whether nonexistent headers
4480   # can be detected and how.
4481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h.  */
4483 #include <ac_nonexistent.h>
4484 _ACEOF
4485 if ac_fn_c_try_cpp "$LINENO"; then :
4486   # Broken: success on invalid input.
4487 continue
4488 else
4489   # Passes both tests.
4490 ac_preproc_ok=:
4491 break
4492 fi
4493 rm -f conftest.err conftest.i conftest.$ac_ext
4494
4495 done
4496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4497 rm -f conftest.i conftest.err conftest.$ac_ext
4498 if $ac_preproc_ok; then :
4499
4500 else
4501   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4503 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4504 See \`config.log' for more details" "$LINENO" 5; }
4505 fi
4506
4507 ac_ext=c
4508 ac_cpp='$CPP $CPPFLAGS'
4509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4512
4513
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4515 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4516 if ${ac_cv_path_GREP+:} false; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519   if test -z "$GREP"; then
4520   ac_path_GREP_found=false
4521   # Loop through the user's path and test for each of PROGNAME-LIST
4522   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4524 do
4525   IFS=$as_save_IFS
4526   test -z "$as_dir" && as_dir=.
4527     for ac_prog in grep ggrep; do
4528     for ac_exec_ext in '' $ac_executable_extensions; do
4529       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4530       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4531 # Check for GNU ac_path_GREP and select it if it is found.
4532   # Check for GNU $ac_path_GREP
4533 case `"$ac_path_GREP" --version 2>&1` in
4534 *GNU*)
4535   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4536 *)
4537   ac_count=0
4538   $as_echo_n 0123456789 >"conftest.in"
4539   while :
4540   do
4541     cat "conftest.in" "conftest.in" >"conftest.tmp"
4542     mv "conftest.tmp" "conftest.in"
4543     cp "conftest.in" "conftest.nl"
4544     $as_echo 'GREP' >> "conftest.nl"
4545     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4546     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4547     as_fn_arith $ac_count + 1 && ac_count=$as_val
4548     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4549       # Best one so far, save it but keep looking for a better one
4550       ac_cv_path_GREP="$ac_path_GREP"
4551       ac_path_GREP_max=$ac_count
4552     fi
4553     # 10*(2^10) chars as input seems more than enough
4554     test $ac_count -gt 10 && break
4555   done
4556   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4557 esac
4558
4559       $ac_path_GREP_found && break 3
4560     done
4561   done
4562   done
4563 IFS=$as_save_IFS
4564   if test -z "$ac_cv_path_GREP"; then
4565     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4566   fi
4567 else
4568   ac_cv_path_GREP=$GREP
4569 fi
4570
4571 fi
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4573 $as_echo "$ac_cv_path_GREP" >&6; }
4574  GREP="$ac_cv_path_GREP"
4575
4576
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4578 $as_echo_n "checking for egrep... " >&6; }
4579 if ${ac_cv_path_EGREP+:} false; then :
4580   $as_echo_n "(cached) " >&6
4581 else
4582   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4583    then ac_cv_path_EGREP="$GREP -E"
4584    else
4585      if test -z "$EGREP"; then
4586   ac_path_EGREP_found=false
4587   # Loop through the user's path and test for each of PROGNAME-LIST
4588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4590 do
4591   IFS=$as_save_IFS
4592   test -z "$as_dir" && as_dir=.
4593     for ac_prog in egrep; do
4594     for ac_exec_ext in '' $ac_executable_extensions; do
4595       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4596       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4597 # Check for GNU ac_path_EGREP and select it if it is found.
4598   # Check for GNU $ac_path_EGREP
4599 case `"$ac_path_EGREP" --version 2>&1` in
4600 *GNU*)
4601   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4602 *)
4603   ac_count=0
4604   $as_echo_n 0123456789 >"conftest.in"
4605   while :
4606   do
4607     cat "conftest.in" "conftest.in" >"conftest.tmp"
4608     mv "conftest.tmp" "conftest.in"
4609     cp "conftest.in" "conftest.nl"
4610     $as_echo 'EGREP' >> "conftest.nl"
4611     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4612     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4613     as_fn_arith $ac_count + 1 && ac_count=$as_val
4614     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4615       # Best one so far, save it but keep looking for a better one
4616       ac_cv_path_EGREP="$ac_path_EGREP"
4617       ac_path_EGREP_max=$ac_count
4618     fi
4619     # 10*(2^10) chars as input seems more than enough
4620     test $ac_count -gt 10 && break
4621   done
4622   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4623 esac
4624
4625       $ac_path_EGREP_found && break 3
4626     done
4627   done
4628   done
4629 IFS=$as_save_IFS
4630   if test -z "$ac_cv_path_EGREP"; then
4631     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4632   fi
4633 else
4634   ac_cv_path_EGREP=$EGREP
4635 fi
4636
4637    fi
4638 fi
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4640 $as_echo "$ac_cv_path_EGREP" >&6; }
4641  EGREP="$ac_cv_path_EGREP"
4642
4643
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4645 $as_echo_n "checking for ANSI C header files... " >&6; }
4646 if ${ac_cv_header_stdc+:} false; then :
4647   $as_echo_n "(cached) " >&6
4648 else
4649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h.  */
4651 #include <stdlib.h>
4652 #include <stdarg.h>
4653 #include <string.h>
4654 #include <float.h>
4655
4656 int
4657 main ()
4658 {
4659
4660   ;
4661   return 0;
4662 }
4663 _ACEOF
4664 if ac_fn_c_try_compile "$LINENO"; then :
4665   ac_cv_header_stdc=yes
4666 else
4667   ac_cv_header_stdc=no
4668 fi
4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4670
4671 if test $ac_cv_header_stdc = yes; then
4672   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h.  */
4675 #include <string.h>
4676
4677 _ACEOF
4678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4679   $EGREP "memchr" >/dev/null 2>&1; then :
4680
4681 else
4682   ac_cv_header_stdc=no
4683 fi
4684 rm -f conftest*
4685
4686 fi
4687
4688 if test $ac_cv_header_stdc = yes; then
4689   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h.  */
4692 #include <stdlib.h>
4693
4694 _ACEOF
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696   $EGREP "free" >/dev/null 2>&1; then :
4697
4698 else
4699   ac_cv_header_stdc=no
4700 fi
4701 rm -f conftest*
4702
4703 fi
4704
4705 if test $ac_cv_header_stdc = yes; then
4706   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4707   if test "$cross_compiling" = yes; then :
4708   :
4709 else
4710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h.  */
4712 #include <ctype.h>
4713 #include <stdlib.h>
4714 #if ((' ' & 0x0FF) == 0x020)
4715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4717 #else
4718 # define ISLOWER(c) \
4719                    (('a' <= (c) && (c) <= 'i') \
4720                      || ('j' <= (c) && (c) <= 'r') \
4721                      || ('s' <= (c) && (c) <= 'z'))
4722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4723 #endif
4724
4725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4726 int
4727 main ()
4728 {
4729   int i;
4730   for (i = 0; i < 256; i++)
4731     if (XOR (islower (i), ISLOWER (i))
4732         || toupper (i) != TOUPPER (i))
4733       return 2;
4734   return 0;
4735 }
4736 _ACEOF
4737 if ac_fn_c_try_run "$LINENO"; then :
4738
4739 else
4740   ac_cv_header_stdc=no
4741 fi
4742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4743   conftest.$ac_objext conftest.beam conftest.$ac_ext
4744 fi
4745
4746 fi
4747 fi
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4749 $as_echo "$ac_cv_header_stdc" >&6; }
4750 if test $ac_cv_header_stdc = yes; then
4751
4752 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4753
4754 fi
4755
4756 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4757 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4758                   inttypes.h stdint.h unistd.h
4759 do :
4760   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4761 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4762 "
4763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4764   cat >>confdefs.h <<_ACEOF
4765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4766 _ACEOF
4767
4768 fi
4769
4770 done
4771
4772
4773 ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
4774 if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
4775   platform_quartz=yes
4776 else
4777   platform_quartz=no
4778 fi
4779
4780
4781  if test "$platform_quartz" = "yes"; then
4782   OS_QUARTZ_TRUE=
4783   OS_QUARTZ_FALSE='#'
4784 else
4785   OS_QUARTZ_TRUE='#'
4786   OS_QUARTZ_FALSE=
4787 fi
4788
4789
4790 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
4791 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
4792   platform_glx=yes
4793 else
4794   platform_glx=no
4795 fi
4796
4797
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
4799 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
4800 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   ac_check_lib_save_LIBS=$LIBS
4804 LIBS="-lGL  $LIBS"
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h.  */
4807
4808 /* Override any GCC internal prototype to avoid an error.
4809    Use char because int might match the return type of a GCC
4810    builtin and then its argument prototype would still apply.  */
4811 #ifdef __cplusplus
4812 extern "C"
4813 #endif
4814 char glXCreateContext ();
4815 int
4816 main ()
4817 {
4818 return glXCreateContext ();
4819   ;
4820   return 0;
4821 }
4822 _ACEOF
4823 if ac_fn_c_try_link "$LINENO"; then :
4824   ac_cv_lib_GL_glXCreateContext=yes
4825 else
4826   ac_cv_lib_GL_glXCreateContext=no
4827 fi
4828 rm -f core conftest.err conftest.$ac_objext \
4829     conftest$ac_exeext conftest.$ac_ext
4830 LIBS=$ac_check_lib_save_LIBS
4831 fi
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
4833 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
4834 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
4835   platform_glx=yes
4836 else
4837   platform_glx=no
4838 fi
4839
4840  if test "$platform_glx" = "yes"; then
4841   OS_GLX_TRUE=
4842   OS_GLX_FALSE='#'
4843 else
4844   OS_GLX_TRUE='#'
4845   OS_GLX_FALSE=
4846 fi
4847
4848  if test "$platform_linux" = "yes"; then
4849   OS_LINUX_TRUE=
4850   OS_LINUX_FALSE='#'
4851 else
4852   OS_LINUX_TRUE='#'
4853   OS_LINUX_FALSE=
4854 fi
4855
4856
4857
4858
4859 cat >confcache <<\_ACEOF
4860 # This file is a shell script that caches the results of configure
4861 # tests run on this system so they can be shared between configure
4862 # scripts and configure runs, see configure's option --config-cache.
4863 # It is not useful on other systems.  If it contains results you don't
4864 # want to keep, you may remove or edit it.
4865 #
4866 # config.status only pays attention to the cache file if you give it
4867 # the --recheck option to rerun configure.
4868 #
4869 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4870 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4871 # following values.
4872
4873 _ACEOF
4874
4875 # The following way of writing the cache mishandles newlines in values,
4876 # but we know of no workaround that is simple, portable, and efficient.
4877 # So, we kill variables containing newlines.
4878 # Ultrix sh set writes to stderr and can't be redirected directly,
4879 # and sets the high bit in the cache file unless we assign to the vars.
4880 (
4881   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4882     eval ac_val=\$$ac_var
4883     case $ac_val in #(
4884     *${as_nl}*)
4885       case $ac_var in #(
4886       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4887 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4888       esac
4889       case $ac_var in #(
4890       _ | IFS | as_nl) ;; #(
4891       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4892       *) { eval $ac_var=; unset $ac_var;} ;;
4893       esac ;;
4894     esac
4895   done
4896
4897   (set) 2>&1 |
4898     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4899     *${as_nl}ac_space=\ *)
4900       # `set' does not quote correctly, so add quotes: double-quote
4901       # substitution turns \\\\ into \\, and sed turns \\ into \.
4902       sed -n \
4903         "s/'/'\\\\''/g;
4904           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4905       ;; #(
4906     *)
4907       # `set' quotes correctly as required by POSIX, so do not add quotes.
4908       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4909       ;;
4910     esac |
4911     sort
4912 ) |
4913   sed '
4914      /^ac_cv_env_/b end
4915      t clear
4916      :clear
4917      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4918      t end
4919      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4920      :end' >>confcache
4921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4922   if test -w "$cache_file"; then
4923     if test "x$cache_file" != "x/dev/null"; then
4924       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4925 $as_echo "$as_me: updating cache $cache_file" >&6;}
4926       if test ! -f "$cache_file" || test -h "$cache_file"; then
4927         cat confcache >"$cache_file"
4928       else
4929         case $cache_file in #(
4930         */* | ?:*)
4931           mv -f confcache "$cache_file"$$ &&
4932           mv -f "$cache_file"$$ "$cache_file" ;; #(
4933         *)
4934           mv -f confcache "$cache_file" ;;
4935         esac
4936       fi
4937     fi
4938   else
4939     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4940 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4941   fi
4942 fi
4943 rm -f confcache
4944
4945
4946 # Checks for programs.
4947 if test "x$CC" != xcc; then
4948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4949 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4950 else
4951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4952 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4953 fi
4954 set dummy $CC; ac_cc=`$as_echo "$2" |
4955                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4956 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4957   $as_echo_n "(cached) " >&6
4958 else
4959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h.  */
4961
4962 int
4963 main ()
4964 {
4965
4966   ;
4967   return 0;
4968 }
4969 _ACEOF
4970 # Make sure it works both with $CC and with simple cc.
4971 # We do the test twice because some compilers refuse to overwrite an
4972 # existing .o file with -o, though they will create one.
4973 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4974 rm -f conftest2.*
4975 if { { case "(($ac_try" in
4976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977   *) ac_try_echo=$ac_try;;
4978 esac
4979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4980 $as_echo "$ac_try_echo"; } >&5
4981   (eval "$ac_try") 2>&5
4982   ac_status=$?
4983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4984   test $ac_status = 0; } &&
4985    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987   *) ac_try_echo=$ac_try;;
4988 esac
4989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4990 $as_echo "$ac_try_echo"; } >&5
4991   (eval "$ac_try") 2>&5
4992   ac_status=$?
4993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4994   test $ac_status = 0; };
4995 then
4996   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4997   if test "x$CC" != xcc; then
4998     # Test first that cc exists at all.
4999     if { ac_try='cc -c conftest.$ac_ext >&5'
5000   { { case "(($ac_try" in
5001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002   *) ac_try_echo=$ac_try;;
5003 esac
5004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5005 $as_echo "$ac_try_echo"; } >&5
5006   (eval "$ac_try") 2>&5
5007   ac_status=$?
5008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5009   test $ac_status = 0; }; }; then
5010       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5011       rm -f conftest2.*
5012       if { { case "(($ac_try" in
5013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5014   *) ac_try_echo=$ac_try;;
5015 esac
5016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5017 $as_echo "$ac_try_echo"; } >&5
5018   (eval "$ac_try") 2>&5
5019   ac_status=$?
5020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5021   test $ac_status = 0; } &&
5022          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024   *) ac_try_echo=$ac_try;;
5025 esac
5026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5027 $as_echo "$ac_try_echo"; } >&5
5028   (eval "$ac_try") 2>&5
5029   ac_status=$?
5030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5031   test $ac_status = 0; };
5032       then
5033         # cc works too.
5034         :
5035       else
5036         # cc exists but doesn't like -o.
5037         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5038       fi
5039     fi
5040   fi
5041 else
5042   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5043 fi
5044 rm -f core conftest*
5045
5046 fi
5047 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5050 else
5051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5053
5054 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5055
5056 fi
5057
5058 # FIXME: we rely on the cache variable name because
5059 # there is no other way.
5060 set dummy $CC
5061 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5062 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5063 if test "$am_t" != yes; then
5064    # Losing compiler, so override with the script.
5065    # FIXME: It is wrong to rewrite CC.
5066    # But if we don't then we get into trouble of one sort or another.
5067    # A longer-term fix would be to have automake use am__CC in this case,
5068    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5069    CC="$am_aux_dir/compile $CC"
5070 fi
5071
5072
5073
5074 # require libtool >= 2.2
5075
5076 case `pwd` in
5077   *\ * | *\     *)
5078     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5079 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5080 esac
5081
5082
5083
5084 macro_version='2.4.2'
5085 macro_revision='1.3337'
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099 ltmain="$ac_aux_dir/ltmain.sh"
5100
5101 # Backslashify metacharacters that are still active within
5102 # double-quoted strings.
5103 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5104
5105 # Same as above, but do not quote variable references.
5106 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5107
5108 # Sed substitution to delay expansion of an escaped shell variable in a
5109 # double_quote_subst'ed string.
5110 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5111
5112 # Sed substitution to delay expansion of an escaped single quote.
5113 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5114
5115 # Sed substitution to avoid accidental globbing in evaled expressions
5116 no_glob_subst='s/\*/\\\*/g'
5117
5118 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5119 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5120 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5121
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5123 $as_echo_n "checking how to print strings... " >&6; }
5124 # Test print first, because it will be a builtin if present.
5125 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5126    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5127   ECHO='print -r --'
5128 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5129   ECHO='printf %s\n'
5130 else
5131   # Use this function as a fallback that always works.
5132   func_fallback_echo ()
5133   {
5134     eval 'cat <<_LTECHO_EOF
5135 $1
5136 _LTECHO_EOF'
5137   }
5138   ECHO='func_fallback_echo'
5139 fi
5140
5141 # func_echo_all arg...
5142 # Invoke $ECHO with all args, space-separated.
5143 func_echo_all ()
5144 {
5145     $ECHO ""
5146 }
5147
5148 case "$ECHO" in
5149   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5150 $as_echo "printf" >&6; } ;;
5151   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5152 $as_echo "print -r" >&6; } ;;
5153   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5154 $as_echo "cat" >&6; } ;;
5155 esac
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5171 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5172 if ${ac_cv_path_SED+:} false; then :
5173   $as_echo_n "(cached) " >&6
5174 else
5175             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5176      for ac_i in 1 2 3 4 5 6 7; do
5177        ac_script="$ac_script$as_nl$ac_script"
5178      done
5179      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5180      { ac_script=; unset ac_script;}
5181      if test -z "$SED"; then
5182   ac_path_SED_found=false
5183   # Loop through the user's path and test for each of PROGNAME-LIST
5184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5186 do
5187   IFS=$as_save_IFS
5188   test -z "$as_dir" && as_dir=.
5189     for ac_prog in sed gsed; do
5190     for ac_exec_ext in '' $ac_executable_extensions; do
5191       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5192       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5193 # Check for GNU ac_path_SED and select it if it is found.
5194   # Check for GNU $ac_path_SED
5195 case `"$ac_path_SED" --version 2>&1` in
5196 *GNU*)
5197   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5198 *)
5199   ac_count=0
5200   $as_echo_n 0123456789 >"conftest.in"
5201   while :
5202   do
5203     cat "conftest.in" "conftest.in" >"conftest.tmp"
5204     mv "conftest.tmp" "conftest.in"
5205     cp "conftest.in" "conftest.nl"
5206     $as_echo '' >> "conftest.nl"
5207     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5208     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5209     as_fn_arith $ac_count + 1 && ac_count=$as_val
5210     if test $ac_count -gt ${ac_path_SED_max-0}; then
5211       # Best one so far, save it but keep looking for a better one
5212       ac_cv_path_SED="$ac_path_SED"
5213       ac_path_SED_max=$ac_count
5214     fi
5215     # 10*(2^10) chars as input seems more than enough
5216     test $ac_count -gt 10 && break
5217   done
5218   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5219 esac
5220
5221       $ac_path_SED_found && break 3
5222     done
5223   done
5224   done
5225 IFS=$as_save_IFS
5226   if test -z "$ac_cv_path_SED"; then
5227     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5228   fi
5229 else
5230   ac_cv_path_SED=$SED
5231 fi
5232
5233 fi
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5235 $as_echo "$ac_cv_path_SED" >&6; }
5236  SED="$ac_cv_path_SED"
5237   rm -f conftest.sed
5238
5239 test -z "$SED" && SED=sed
5240 Xsed="$SED -e 1s/^X//"
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5253 $as_echo_n "checking for fgrep... " >&6; }
5254 if ${ac_cv_path_FGREP+:} false; then :
5255   $as_echo_n "(cached) " >&6
5256 else
5257   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5258    then ac_cv_path_FGREP="$GREP -F"
5259    else
5260      if test -z "$FGREP"; then
5261   ac_path_FGREP_found=false
5262   # Loop through the user's path and test for each of PROGNAME-LIST
5263   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5265 do
5266   IFS=$as_save_IFS
5267   test -z "$as_dir" && as_dir=.
5268     for ac_prog in fgrep; do
5269     for ac_exec_ext in '' $ac_executable_extensions; do
5270       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5271       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5272 # Check for GNU ac_path_FGREP and select it if it is found.
5273   # Check for GNU $ac_path_FGREP
5274 case `"$ac_path_FGREP" --version 2>&1` in
5275 *GNU*)
5276   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5277 *)
5278   ac_count=0
5279   $as_echo_n 0123456789 >"conftest.in"
5280   while :
5281   do
5282     cat "conftest.in" "conftest.in" >"conftest.tmp"
5283     mv "conftest.tmp" "conftest.in"
5284     cp "conftest.in" "conftest.nl"
5285     $as_echo 'FGREP' >> "conftest.nl"
5286     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5287     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5288     as_fn_arith $ac_count + 1 && ac_count=$as_val
5289     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5290       # Best one so far, save it but keep looking for a better one
5291       ac_cv_path_FGREP="$ac_path_FGREP"
5292       ac_path_FGREP_max=$ac_count
5293     fi
5294     # 10*(2^10) chars as input seems more than enough
5295     test $ac_count -gt 10 && break
5296   done
5297   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5298 esac
5299
5300       $ac_path_FGREP_found && break 3
5301     done
5302   done
5303   done
5304 IFS=$as_save_IFS
5305   if test -z "$ac_cv_path_FGREP"; then
5306     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5307   fi
5308 else
5309   ac_cv_path_FGREP=$FGREP
5310 fi
5311
5312    fi
5313 fi
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5315 $as_echo "$ac_cv_path_FGREP" >&6; }
5316  FGREP="$ac_cv_path_FGREP"
5317
5318
5319 test -z "$GREP" && GREP=grep
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339 # Check whether --with-gnu-ld was given.
5340 if test "${with_gnu_ld+set}" = set; then :
5341   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5342 else
5343   with_gnu_ld=no
5344 fi
5345
5346 ac_prog=ld
5347 if test "$GCC" = yes; then
5348   # Check if gcc -print-prog-name=ld gives a path.
5349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5350 $as_echo_n "checking for ld used by $CC... " >&6; }
5351   case $host in
5352   *-*-mingw*)
5353     # gcc leaves a trailing carriage return which upsets mingw
5354     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5355   *)
5356     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5357   esac
5358   case $ac_prog in
5359     # Accept absolute paths.
5360     [\\/]* | ?:[\\/]*)
5361       re_direlt='/[^/][^/]*/\.\./'
5362       # Canonicalize the pathname of ld
5363       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5364       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5365         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5366       done
5367       test -z "$LD" && LD="$ac_prog"
5368       ;;
5369   "")
5370     # If it fails, then pretend we aren't using GCC.
5371     ac_prog=ld
5372     ;;
5373   *)
5374     # If it is relative, then search for the first ld in PATH.
5375     with_gnu_ld=unknown
5376     ;;
5377   esac
5378 elif test "$with_gnu_ld" = yes; then
5379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5380 $as_echo_n "checking for GNU ld... " >&6; }
5381 else
5382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5383 $as_echo_n "checking for non-GNU ld... " >&6; }
5384 fi
5385 if ${lt_cv_path_LD+:} false; then :
5386   $as_echo_n "(cached) " >&6
5387 else
5388   if test -z "$LD"; then
5389   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5390   for ac_dir in $PATH; do
5391     IFS="$lt_save_ifs"
5392     test -z "$ac_dir" && ac_dir=.
5393     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5394       lt_cv_path_LD="$ac_dir/$ac_prog"
5395       # Check to see if the program is GNU ld.  I'd rather use --version,
5396       # but apparently some variants of GNU ld only accept -v.
5397       # Break only if it was the GNU/non-GNU ld that we prefer.
5398       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5399       *GNU* | *'with BFD'*)
5400         test "$with_gnu_ld" != no && break
5401         ;;
5402       *)
5403         test "$with_gnu_ld" != yes && break
5404         ;;
5405       esac
5406     fi
5407   done
5408   IFS="$lt_save_ifs"
5409 else
5410   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5411 fi
5412 fi
5413
5414 LD="$lt_cv_path_LD"
5415 if test -n "$LD"; then
5416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5417 $as_echo "$LD" >&6; }
5418 else
5419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5421 fi
5422 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5424 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5425 if ${lt_cv_prog_gnu_ld+:} false; then :
5426   $as_echo_n "(cached) " >&6
5427 else
5428   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5429 case `$LD -v 2>&1 </dev/null` in
5430 *GNU* | *'with BFD'*)
5431   lt_cv_prog_gnu_ld=yes
5432   ;;
5433 *)
5434   lt_cv_prog_gnu_ld=no
5435   ;;
5436 esac
5437 fi
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5439 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5440 with_gnu_ld=$lt_cv_prog_gnu_ld
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5451 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5452 if ${lt_cv_path_NM+:} false; then :
5453   $as_echo_n "(cached) " >&6
5454 else
5455   if test -n "$NM"; then
5456   # Let the user override the test.
5457   lt_cv_path_NM="$NM"
5458 else
5459   lt_nm_to_check="${ac_tool_prefix}nm"
5460   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5461     lt_nm_to_check="$lt_nm_to_check nm"
5462   fi
5463   for lt_tmp_nm in $lt_nm_to_check; do
5464     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5465     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5466       IFS="$lt_save_ifs"
5467       test -z "$ac_dir" && ac_dir=.
5468       tmp_nm="$ac_dir/$lt_tmp_nm"
5469       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5470         # Check to see if the nm accepts a BSD-compat flag.
5471         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5472         #   nm: unknown option "B" ignored
5473         # Tru64's nm complains that /dev/null is an invalid object file
5474         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5475         */dev/null* | *'Invalid file or object type'*)
5476           lt_cv_path_NM="$tmp_nm -B"
5477           break
5478           ;;
5479         *)
5480           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5481           */dev/null*)
5482             lt_cv_path_NM="$tmp_nm -p"
5483             break
5484             ;;
5485           *)
5486             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5487             continue # so that we can try to find one that supports BSD flags
5488             ;;
5489           esac
5490           ;;
5491         esac
5492       fi
5493     done
5494     IFS="$lt_save_ifs"
5495   done
5496   : ${lt_cv_path_NM=no}
5497 fi
5498 fi
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5500 $as_echo "$lt_cv_path_NM" >&6; }
5501 if test "$lt_cv_path_NM" != "no"; then
5502   NM="$lt_cv_path_NM"
5503 else
5504   # Didn't find any BSD compatible name lister, look for dumpbin.
5505   if test -n "$DUMPBIN"; then :
5506     # Let the user override the test.
5507   else
5508     if test -n "$ac_tool_prefix"; then
5509   for ac_prog in dumpbin "link -dump"
5510   do
5511     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_DUMPBIN+:} false; then :
5516   $as_echo_n "(cached) " >&6
5517 else
5518   if test -n "$DUMPBIN"; then
5519   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5523 do
5524   IFS=$as_save_IFS
5525   test -z "$as_dir" && as_dir=.
5526     for ac_exec_ext in '' $ac_executable_extensions; do
5527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530     break 2
5531   fi
5532 done
5533   done
5534 IFS=$as_save_IFS
5535
5536 fi
5537 fi
5538 DUMPBIN=$ac_cv_prog_DUMPBIN
5539 if test -n "$DUMPBIN"; then
5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5541 $as_echo "$DUMPBIN" >&6; }
5542 else
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5545 fi
5546
5547
5548     test -n "$DUMPBIN" && break
5549   done
5550 fi
5551 if test -z "$DUMPBIN"; then
5552   ac_ct_DUMPBIN=$DUMPBIN
5553   for ac_prog in dumpbin "link -dump"
5554 do
5555   # Extract the first word of "$ac_prog", so it can be a program name with args.
5556 set dummy $ac_prog; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5560   $as_echo_n "(cached) " >&6
5561 else
5562   if test -n "$ac_ct_DUMPBIN"; then
5563   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5564 else
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH
5567 do
5568   IFS=$as_save_IFS
5569   test -z "$as_dir" && as_dir=.
5570     for ac_exec_ext in '' $ac_executable_extensions; do
5571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574     break 2
5575   fi
5576 done
5577   done
5578 IFS=$as_save_IFS
5579
5580 fi
5581 fi
5582 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5583 if test -n "$ac_ct_DUMPBIN"; then
5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5585 $as_echo "$ac_ct_DUMPBIN" >&6; }
5586 else
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5589 fi
5590
5591
5592   test -n "$ac_ct_DUMPBIN" && break
5593 done
5594
5595   if test "x$ac_ct_DUMPBIN" = x; then
5596     DUMPBIN=":"
5597   else
5598     case $cross_compiling:$ac_tool_warned in
5599 yes:)
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned=yes ;;
5603 esac
5604     DUMPBIN=$ac_ct_DUMPBIN
5605   fi
5606 fi
5607
5608     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5609     *COFF*)
5610       DUMPBIN="$DUMPBIN -symbols"
5611       ;;
5612     *)
5613       DUMPBIN=:
5614       ;;
5615     esac
5616   fi
5617
5618   if test "$DUMPBIN" != ":"; then
5619     NM="$DUMPBIN"
5620   fi
5621 fi
5622 test -z "$NM" && NM=nm
5623
5624
5625
5626
5627
5628
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5630 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5631 if ${lt_cv_nm_interface+:} false; then :
5632   $as_echo_n "(cached) " >&6
5633 else
5634   lt_cv_nm_interface="BSD nm"
5635   echo "int some_variable = 0;" > conftest.$ac_ext
5636   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5637   (eval "$ac_compile" 2>conftest.err)
5638   cat conftest.err >&5
5639   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5640   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5641   cat conftest.err >&5
5642   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5643   cat conftest.out >&5
5644   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5645     lt_cv_nm_interface="MS dumpbin"
5646   fi
5647   rm -f conftest*
5648 fi
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5650 $as_echo "$lt_cv_nm_interface" >&6; }
5651
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5653 $as_echo_n "checking whether ln -s works... " >&6; }
5654 LN_S=$as_ln_s
5655 if test "$LN_S" = "ln -s"; then
5656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5657 $as_echo "yes" >&6; }
5658 else
5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5660 $as_echo "no, using $LN_S" >&6; }
5661 fi
5662
5663 # find the maximum length of command line arguments
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5665 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5666 if ${lt_cv_sys_max_cmd_len+:} false; then :
5667   $as_echo_n "(cached) " >&6
5668 else
5669     i=0
5670   teststring="ABCD"
5671
5672   case $build_os in
5673   msdosdjgpp*)
5674     # On DJGPP, this test can blow up pretty badly due to problems in libc
5675     # (any single argument exceeding 2000 bytes causes a buffer overrun
5676     # during glob expansion).  Even if it were fixed, the result of this
5677     # check would be larger than it should be.
5678     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5679     ;;
5680
5681   gnu*)
5682     # Under GNU Hurd, this test is not required because there is
5683     # no limit to the length of command line arguments.
5684     # Libtool will interpret -1 as no limit whatsoever
5685     lt_cv_sys_max_cmd_len=-1;
5686     ;;
5687
5688   cygwin* | mingw* | cegcc*)
5689     # On Win9x/ME, this test blows up -- it succeeds, but takes
5690     # about 5 minutes as the teststring grows exponentially.
5691     # Worse, since 9x/ME are not pre-emptively multitasking,
5692     # you end up with a "frozen" computer, even though with patience
5693     # the test eventually succeeds (with a max line length of 256k).
5694     # Instead, let's just punt: use the minimum linelength reported by
5695     # all of the supported platforms: 8192 (on NT/2K/XP).
5696     lt_cv_sys_max_cmd_len=8192;
5697     ;;
5698
5699   mint*)
5700     # On MiNT this can take a long time and run out of memory.
5701     lt_cv_sys_max_cmd_len=8192;
5702     ;;
5703
5704   amigaos*)
5705     # On AmigaOS with pdksh, this test takes hours, literally.
5706     # So we just punt and use a minimum line length of 8192.
5707     lt_cv_sys_max_cmd_len=8192;
5708     ;;
5709
5710   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5711     # This has been around since 386BSD, at least.  Likely further.
5712     if test -x /sbin/sysctl; then
5713       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5714     elif test -x /usr/sbin/sysctl; then
5715       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5716     else
5717       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5718     fi
5719     # And add a safety zone
5720     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5721     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5722     ;;
5723
5724   interix*)
5725     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5726     lt_cv_sys_max_cmd_len=196608
5727     ;;
5728
5729   os2*)
5730     # The test takes a long time on OS/2.
5731     lt_cv_sys_max_cmd_len=8192
5732     ;;
5733
5734   osf*)
5735     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5736     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5737     # nice to cause kernel panics so lets avoid the loop below.
5738     # First set a reasonable default.
5739     lt_cv_sys_max_cmd_len=16384
5740     #
5741     if test -x /sbin/sysconfig; then
5742       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5743         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5744       esac
5745     fi
5746     ;;
5747   sco3.2v5*)
5748     lt_cv_sys_max_cmd_len=102400
5749     ;;
5750   sysv5* | sco5v6* | sysv4.2uw2*)
5751     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5752     if test -n "$kargmax"; then
5753       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5754     else
5755       lt_cv_sys_max_cmd_len=32768
5756     fi
5757     ;;
5758   *)
5759     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5760     if test -n "$lt_cv_sys_max_cmd_len"; then
5761       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5762       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5763     else
5764       # Make teststring a little bigger before we do anything with it.
5765       # a 1K string should be a reasonable start.
5766       for i in 1 2 3 4 5 6 7 8 ; do
5767         teststring=$teststring$teststring
5768       done
5769       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5770       # If test is not a shell built-in, we'll probably end up computing a
5771       # maximum length that is only half of the actual maximum length, but
5772       # we can't tell.
5773       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5774                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5775               test $i != 17 # 1/2 MB should be enough
5776       do
5777         i=`expr $i + 1`
5778         teststring=$teststring$teststring
5779       done
5780       # Only check the string length outside the loop.
5781       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5782       teststring=
5783       # Add a significant safety factor because C++ compilers can tack on
5784       # massive amounts of additional arguments before passing them to the
5785       # linker.  It appears as though 1/2 is a usable value.
5786       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5787     fi
5788     ;;
5789   esac
5790
5791 fi
5792
5793 if test -n $lt_cv_sys_max_cmd_len ; then
5794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5795 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5796 else
5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5798 $as_echo "none" >&6; }
5799 fi
5800 max_cmd_len=$lt_cv_sys_max_cmd_len
5801
5802
5803
5804
5805
5806
5807 : ${CP="cp -f"}
5808 : ${MV="mv -f"}
5809 : ${RM="rm -f"}
5810
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5812 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5813 # Try some XSI features
5814 xsi_shell=no
5815 ( _lt_dummy="a/b/c"
5816   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5817       = c,a/b,b/c, \
5818     && eval 'test $(( 1 + 1 )) -eq 2 \
5819     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5820   && xsi_shell=yes
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5822 $as_echo "$xsi_shell" >&6; }
5823
5824
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5826 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5827 lt_shell_append=no
5828 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5829     >/dev/null 2>&1 \
5830   && lt_shell_append=yes
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5832 $as_echo "$lt_shell_append" >&6; }
5833
5834
5835 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5836   lt_unset=unset
5837 else
5838   lt_unset=false
5839 fi
5840
5841
5842
5843
5844
5845 # test EBCDIC or ASCII
5846 case `echo X|tr X '\101'` in
5847  A) # ASCII based system
5848     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5849   lt_SP2NL='tr \040 \012'
5850   lt_NL2SP='tr \015\012 \040\040'
5851   ;;
5852  *) # EBCDIC based system
5853   lt_SP2NL='tr \100 \n'
5854   lt_NL2SP='tr \r\n \100\100'
5855   ;;
5856 esac
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5867 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5868 if ${lt_cv_to_host_file_cmd+:} false; then :
5869   $as_echo_n "(cached) " >&6
5870 else
5871   case $host in
5872   *-*-mingw* )
5873     case $build in
5874       *-*-mingw* ) # actually msys
5875         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5876         ;;
5877       *-*-cygwin* )
5878         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5879         ;;
5880       * ) # otherwise, assume *nix
5881         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5882         ;;
5883     esac
5884     ;;
5885   *-*-cygwin* )
5886     case $build in
5887       *-*-mingw* ) # actually msys
5888         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5889         ;;
5890       *-*-cygwin* )
5891         lt_cv_to_host_file_cmd=func_convert_file_noop
5892         ;;
5893       * ) # otherwise, assume *nix
5894         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5895         ;;
5896     esac
5897     ;;
5898   * ) # unhandled hosts (and "normal" native builds)
5899     lt_cv_to_host_file_cmd=func_convert_file_noop
5900     ;;
5901 esac
5902
5903 fi
5904
5905 to_host_file_cmd=$lt_cv_to_host_file_cmd
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5907 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5908
5909
5910
5911
5912
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5914 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5915 if ${lt_cv_to_tool_file_cmd+:} false; then :
5916   $as_echo_n "(cached) " >&6
5917 else
5918   #assume ordinary cross tools, or native build.
5919 lt_cv_to_tool_file_cmd=func_convert_file_noop
5920 case $host in
5921   *-*-mingw* )
5922     case $build in
5923       *-*-mingw* ) # actually msys
5924         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5925         ;;
5926     esac
5927     ;;
5928 esac
5929
5930 fi
5931
5932 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5934 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5935
5936
5937
5938
5939
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5941 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5942 if ${lt_cv_ld_reload_flag+:} false; then :
5943   $as_echo_n "(cached) " >&6
5944 else
5945   lt_cv_ld_reload_flag='-r'
5946 fi
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5948 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5949 reload_flag=$lt_cv_ld_reload_flag
5950 case $reload_flag in
5951 "" | " "*) ;;
5952 *) reload_flag=" $reload_flag" ;;
5953 esac
5954 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5955 case $host_os in
5956   cygwin* | mingw* | pw32* | cegcc*)
5957     if test "$GCC" != yes; then
5958       reload_cmds=false
5959     fi
5960     ;;
5961   darwin*)
5962     if test "$GCC" = yes; then
5963       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5964     else
5965       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5966     fi
5967     ;;
5968 esac
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978 if test -n "$ac_tool_prefix"; then
5979   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5980 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if ${ac_cv_prog_OBJDUMP+:} false; then :
5984   $as_echo_n "(cached) " >&6
5985 else
5986   if test -n "$OBJDUMP"; then
5987   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5988 else
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 for as_dir in $PATH
5991 do
5992   IFS=$as_save_IFS
5993   test -z "$as_dir" && as_dir=.
5994     for ac_exec_ext in '' $ac_executable_extensions; do
5995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5996     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998     break 2
5999   fi
6000 done
6001   done
6002 IFS=$as_save_IFS
6003
6004 fi
6005 fi
6006 OBJDUMP=$ac_cv_prog_OBJDUMP
6007 if test -n "$OBJDUMP"; then
6008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6009 $as_echo "$OBJDUMP" >&6; }
6010 else
6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6013 fi
6014
6015
6016 fi
6017 if test -z "$ac_cv_prog_OBJDUMP"; then
6018   ac_ct_OBJDUMP=$OBJDUMP
6019   # Extract the first word of "objdump", so it can be a program name with args.
6020 set dummy objdump; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6024   $as_echo_n "(cached) " >&6
6025 else
6026   if test -n "$ac_ct_OBJDUMP"; then
6027   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6031 do
6032   IFS=$as_save_IFS
6033   test -z "$as_dir" && as_dir=.
6034     for ac_exec_ext in '' $ac_executable_extensions; do
6035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038     break 2
6039   fi
6040 done
6041   done
6042 IFS=$as_save_IFS
6043
6044 fi
6045 fi
6046 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6047 if test -n "$ac_ct_OBJDUMP"; then
6048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6049 $as_echo "$ac_ct_OBJDUMP" >&6; }
6050 else
6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 fi
6054
6055   if test "x$ac_ct_OBJDUMP" = x; then
6056     OBJDUMP="false"
6057   else
6058     case $cross_compiling:$ac_tool_warned in
6059 yes:)
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned=yes ;;
6063 esac
6064     OBJDUMP=$ac_ct_OBJDUMP
6065   fi
6066 else
6067   OBJDUMP="$ac_cv_prog_OBJDUMP"
6068 fi
6069
6070 test -z "$OBJDUMP" && OBJDUMP=objdump
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6081 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6082 if ${lt_cv_deplibs_check_method+:} false; then :
6083   $as_echo_n "(cached) " >&6
6084 else
6085   lt_cv_file_magic_cmd='$MAGIC_CMD'
6086 lt_cv_file_magic_test_file=
6087 lt_cv_deplibs_check_method='unknown'
6088 # Need to set the preceding variable on all platforms that support
6089 # interlibrary dependencies.
6090 # 'none' -- dependencies not supported.
6091 # `unknown' -- same as none, but documents that we really don't know.
6092 # 'pass_all' -- all dependencies passed with no checks.
6093 # 'test_compile' -- check by making test program.
6094 # 'file_magic [[regex]]' -- check by looking for files in library path
6095 # which responds to the $file_magic_cmd with a given extended regex.
6096 # If you have `file' or equivalent on your system and you're not sure
6097 # whether `pass_all' will *always* work, you probably want this one.
6098
6099 case $host_os in
6100 aix[4-9]*)
6101   lt_cv_deplibs_check_method=pass_all
6102   ;;
6103
6104 beos*)
6105   lt_cv_deplibs_check_method=pass_all
6106   ;;
6107
6108 bsdi[45]*)
6109   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6110   lt_cv_file_magic_cmd='/usr/bin/file -L'
6111   lt_cv_file_magic_test_file=/shlib/libc.so
6112   ;;
6113
6114 cygwin*)
6115   # func_win32_libid is a shell function defined in ltmain.sh
6116   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6117   lt_cv_file_magic_cmd='func_win32_libid'
6118   ;;
6119
6120 mingw* | pw32*)
6121   # Base MSYS/MinGW do not provide the 'file' command needed by
6122   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6123   # unless we find 'file', for example because we are cross-compiling.
6124   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6125   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6126     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6127     lt_cv_file_magic_cmd='func_win32_libid'
6128   else
6129     # Keep this pattern in sync with the one in func_win32_libid.
6130     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6131     lt_cv_file_magic_cmd='$OBJDUMP -f'
6132   fi
6133   ;;
6134
6135 cegcc*)
6136   # use the weaker test based on 'objdump'. See mingw*.
6137   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6138   lt_cv_file_magic_cmd='$OBJDUMP -f'
6139   ;;
6140
6141 darwin* | rhapsody*)
6142   lt_cv_deplibs_check_method=pass_all
6143   ;;
6144
6145 freebsd* | dragonfly*)
6146   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6147     case $host_cpu in
6148     i*86 )
6149       # Not sure whether the presence of OpenBSD here was a mistake.
6150       # Let's accept both of them until this is cleared up.
6151       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6152       lt_cv_file_magic_cmd=/usr/bin/file
6153       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6154       ;;
6155     esac
6156   else
6157     lt_cv_deplibs_check_method=pass_all
6158   fi
6159   ;;
6160
6161 gnu*)
6162   lt_cv_deplibs_check_method=pass_all
6163   ;;
6164
6165 haiku*)
6166   lt_cv_deplibs_check_method=pass_all
6167   ;;
6168
6169 hpux10.20* | hpux11*)
6170   lt_cv_file_magic_cmd=/usr/bin/file
6171   case $host_cpu in
6172   ia64*)
6173     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6174     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6175     ;;
6176   hppa*64*)
6177     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]'
6178     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6179     ;;
6180   *)
6181     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6182     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6183     ;;
6184   esac
6185   ;;
6186
6187 interix[3-9]*)
6188   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6189   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6190   ;;
6191
6192 irix5* | irix6* | nonstopux*)
6193   case $LD in
6194   *-32|*"-32 ") libmagic=32-bit;;
6195   *-n32|*"-n32 ") libmagic=N32;;
6196   *-64|*"-64 ") libmagic=64-bit;;
6197   *) libmagic=never-match;;
6198   esac
6199   lt_cv_deplibs_check_method=pass_all
6200   ;;
6201
6202 # This must be glibc/ELF.
6203 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6204   lt_cv_deplibs_check_method=pass_all
6205   ;;
6206
6207 netbsd*)
6208   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6209     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6210   else
6211     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6212   fi
6213   ;;
6214
6215 newos6*)
6216   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6217   lt_cv_file_magic_cmd=/usr/bin/file
6218   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6219   ;;
6220
6221 *nto* | *qnx*)
6222   lt_cv_deplibs_check_method=pass_all
6223   ;;
6224
6225 openbsd*)
6226   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6227     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6228   else
6229     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6230   fi
6231   ;;
6232
6233 osf3* | osf4* | osf5*)
6234   lt_cv_deplibs_check_method=pass_all
6235   ;;
6236
6237 rdos*)
6238   lt_cv_deplibs_check_method=pass_all
6239   ;;
6240
6241 solaris*)
6242   lt_cv_deplibs_check_method=pass_all
6243   ;;
6244
6245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6246   lt_cv_deplibs_check_method=pass_all
6247   ;;
6248
6249 sysv4 | sysv4.3*)
6250   case $host_vendor in
6251   motorola)
6252     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]'
6253     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6254     ;;
6255   ncr)
6256     lt_cv_deplibs_check_method=pass_all
6257     ;;
6258   sequent)
6259     lt_cv_file_magic_cmd='/bin/file'
6260     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6261     ;;
6262   sni)
6263     lt_cv_file_magic_cmd='/bin/file'
6264     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6265     lt_cv_file_magic_test_file=/lib/libc.so
6266     ;;
6267   siemens)
6268     lt_cv_deplibs_check_method=pass_all
6269     ;;
6270   pc)
6271     lt_cv_deplibs_check_method=pass_all
6272     ;;
6273   esac
6274   ;;
6275
6276 tpf*)
6277   lt_cv_deplibs_check_method=pass_all
6278   ;;
6279 esac
6280
6281 fi
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6283 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6284
6285 file_magic_glob=
6286 want_nocaseglob=no
6287 if test "$build" = "$host"; then
6288   case $host_os in
6289   mingw* | pw32*)
6290     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6291       want_nocaseglob=yes
6292     else
6293       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6294     fi
6295     ;;
6296   esac
6297 fi
6298
6299 file_magic_cmd=$lt_cv_file_magic_cmd
6300 deplibs_check_method=$lt_cv_deplibs_check_method
6301 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324 if test -n "$ac_tool_prefix"; then
6325   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6326 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_DLLTOOL+:} false; then :
6330   $as_echo_n "(cached) " >&6
6331 else
6332   if test -n "$DLLTOOL"; then
6333   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6334 else
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6337 do
6338   IFS=$as_save_IFS
6339   test -z "$as_dir" && as_dir=.
6340     for ac_exec_ext in '' $ac_executable_extensions; do
6341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344     break 2
6345   fi
6346 done
6347   done
6348 IFS=$as_save_IFS
6349
6350 fi
6351 fi
6352 DLLTOOL=$ac_cv_prog_DLLTOOL
6353 if test -n "$DLLTOOL"; then
6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6355 $as_echo "$DLLTOOL" >&6; }
6356 else
6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6359 fi
6360
6361
6362 fi
6363 if test -z "$ac_cv_prog_DLLTOOL"; then
6364   ac_ct_DLLTOOL=$DLLTOOL
6365   # Extract the first word of "dlltool", so it can be a program name with args.
6366 set dummy dlltool; ac_word=$2
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368 $as_echo_n "checking for $ac_word... " >&6; }
6369 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6370   $as_echo_n "(cached) " >&6
6371 else
6372   if test -n "$ac_ct_DLLTOOL"; then
6373   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6374 else
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 for as_dir in $PATH
6377 do
6378   IFS=$as_save_IFS
6379   test -z "$as_dir" && as_dir=.
6380     for ac_exec_ext in '' $ac_executable_extensions; do
6381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6382     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384     break 2
6385   fi
6386 done
6387   done
6388 IFS=$as_save_IFS
6389
6390 fi
6391 fi
6392 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6393 if test -n "$ac_ct_DLLTOOL"; then
6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6395 $as_echo "$ac_ct_DLLTOOL" >&6; }
6396 else
6397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398 $as_echo "no" >&6; }
6399 fi
6400
6401   if test "x$ac_ct_DLLTOOL" = x; then
6402     DLLTOOL="false"
6403   else
6404     case $cross_compiling:$ac_tool_warned in
6405 yes:)
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6408 ac_tool_warned=yes ;;
6409 esac
6410     DLLTOOL=$ac_ct_DLLTOOL
6411   fi
6412 else
6413   DLLTOOL="$ac_cv_prog_DLLTOOL"
6414 fi
6415
6416 test -z "$DLLTOOL" && DLLTOOL=dlltool
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6428 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6429 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6430   $as_echo_n "(cached) " >&6
6431 else
6432   lt_cv_sharedlib_from_linklib_cmd='unknown'
6433
6434 case $host_os in
6435 cygwin* | mingw* | pw32* | cegcc*)
6436   # two different shell functions defined in ltmain.sh
6437   # decide which to use based on capabilities of $DLLTOOL
6438   case `$DLLTOOL --help 2>&1` in
6439   *--identify-strict*)
6440     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6441     ;;
6442   *)
6443     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6444     ;;
6445   esac
6446   ;;
6447 *)
6448   # fallback: assume linklib IS sharedlib
6449   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6450   ;;
6451 esac
6452
6453 fi
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6455 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6456 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6457 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6458
6459
6460
6461
6462
6463
6464
6465 if test -n "$ac_tool_prefix"; then
6466   for ac_prog in ar
6467   do
6468     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_AR+:} false; then :
6473   $as_echo_n "(cached) " >&6
6474 else
6475   if test -n "$AR"; then
6476   ac_cv_prog_AR="$AR" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6480 do
6481   IFS=$as_save_IFS
6482   test -z "$as_dir" && as_dir=.
6483     for ac_exec_ext in '' $ac_executable_extensions; do
6484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6485     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487     break 2
6488   fi
6489 done
6490   done
6491 IFS=$as_save_IFS
6492
6493 fi
6494 fi
6495 AR=$ac_cv_prog_AR
6496 if test -n "$AR"; then
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6498 $as_echo "$AR" >&6; }
6499 else
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6502 fi
6503
6504
6505     test -n "$AR" && break
6506   done
6507 fi
6508 if test -z "$AR"; then
6509   ac_ct_AR=$AR
6510   for ac_prog in ar
6511 do
6512   # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy $ac_prog; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6517   $as_echo_n "(cached) " >&6
6518 else
6519   if test -n "$ac_ct_AR"; then
6520   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6524 do
6525   IFS=$as_save_IFS
6526   test -z "$as_dir" && as_dir=.
6527     for ac_exec_ext in '' $ac_executable_extensions; do
6528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529     ac_cv_prog_ac_ct_AR="$ac_prog"
6530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531     break 2
6532   fi
6533 done
6534   done
6535 IFS=$as_save_IFS
6536
6537 fi
6538 fi
6539 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6540 if test -n "$ac_ct_AR"; then
6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6542 $as_echo "$ac_ct_AR" >&6; }
6543 else
6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6546 fi
6547
6548
6549   test -n "$ac_ct_AR" && break
6550 done
6551
6552   if test "x$ac_ct_AR" = x; then
6553     AR="false"
6554   else
6555     case $cross_compiling:$ac_tool_warned in
6556 yes:)
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6559 ac_tool_warned=yes ;;
6560 esac
6561     AR=$ac_ct_AR
6562   fi
6563 fi
6564
6565 : ${AR=ar}
6566 : ${AR_FLAGS=cru}
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6579 $as_echo_n "checking for archiver @FILE support... " >&6; }
6580 if ${lt_cv_ar_at_file+:} false; then :
6581   $as_echo_n "(cached) " >&6
6582 else
6583   lt_cv_ar_at_file=no
6584    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h.  */
6586
6587 int
6588 main ()
6589 {
6590
6591   ;
6592   return 0;
6593 }
6594 _ACEOF
6595 if ac_fn_c_try_compile "$LINENO"; then :
6596   echo conftest.$ac_objext > conftest.lst
6597       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6598       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6599   (eval $lt_ar_try) 2>&5
6600   ac_status=$?
6601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6602   test $ac_status = 0; }
6603       if test "$ac_status" -eq 0; then
6604         # Ensure the archiver fails upon bogus file names.
6605         rm -f conftest.$ac_objext libconftest.a
6606         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6607   (eval $lt_ar_try) 2>&5
6608   ac_status=$?
6609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610   test $ac_status = 0; }
6611         if test "$ac_status" -ne 0; then
6612           lt_cv_ar_at_file=@
6613         fi
6614       fi
6615       rm -f conftest.* libconftest.a
6616
6617 fi
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619
6620 fi
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6622 $as_echo "$lt_cv_ar_at_file" >&6; }
6623
6624 if test "x$lt_cv_ar_at_file" = xno; then
6625   archiver_list_spec=
6626 else
6627   archiver_list_spec=$lt_cv_ar_at_file
6628 fi
6629
6630
6631
6632
6633
6634
6635
6636 if test -n "$ac_tool_prefix"; then
6637   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}strip; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if ${ac_cv_prog_STRIP+:} false; then :
6642   $as_echo_n "(cached) " >&6
6643 else
6644   if test -n "$STRIP"; then
6645   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6646 else
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 for as_dir in $PATH
6649 do
6650   IFS=$as_save_IFS
6651   test -z "$as_dir" && as_dir=.
6652     for ac_exec_ext in '' $ac_executable_extensions; do
6653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656     break 2
6657   fi
6658 done
6659   done
6660 IFS=$as_save_IFS
6661
6662 fi
6663 fi
6664 STRIP=$ac_cv_prog_STRIP
6665 if test -n "$STRIP"; then
6666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6667 $as_echo "$STRIP" >&6; }
6668 else
6669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6671 fi
6672
6673
6674 fi
6675 if test -z "$ac_cv_prog_STRIP"; then
6676   ac_ct_STRIP=$STRIP
6677   # Extract the first word of "strip", so it can be a program name with args.
6678 set dummy strip; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6682   $as_echo_n "(cached) " >&6
6683 else
6684   if test -n "$ac_ct_STRIP"; then
6685   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6689 do
6690   IFS=$as_save_IFS
6691   test -z "$as_dir" && as_dir=.
6692     for ac_exec_ext in '' $ac_executable_extensions; do
6693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694     ac_cv_prog_ac_ct_STRIP="strip"
6695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696     break 2
6697   fi
6698 done
6699   done
6700 IFS=$as_save_IFS
6701
6702 fi
6703 fi
6704 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6705 if test -n "$ac_ct_STRIP"; then
6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6707 $as_echo "$ac_ct_STRIP" >&6; }
6708 else
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6711 fi
6712
6713   if test "x$ac_ct_STRIP" = x; then
6714     STRIP=":"
6715   else
6716     case $cross_compiling:$ac_tool_warned in
6717 yes:)
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6721 esac
6722     STRIP=$ac_ct_STRIP
6723   fi
6724 else
6725   STRIP="$ac_cv_prog_STRIP"
6726 fi
6727
6728 test -z "$STRIP" && STRIP=:
6729
6730
6731
6732
6733
6734
6735 if test -n "$ac_tool_prefix"; then
6736   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_RANLIB+:} false; then :
6741   $as_echo_n "(cached) " >&6
6742 else
6743   if test -n "$RANLIB"; then
6744   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6745 else
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 for as_dir in $PATH
6748 do
6749   IFS=$as_save_IFS
6750   test -z "$as_dir" && as_dir=.
6751     for ac_exec_ext in '' $ac_executable_extensions; do
6752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755     break 2
6756   fi
6757 done
6758   done
6759 IFS=$as_save_IFS
6760
6761 fi
6762 fi
6763 RANLIB=$ac_cv_prog_RANLIB
6764 if test -n "$RANLIB"; then
6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6766 $as_echo "$RANLIB" >&6; }
6767 else
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6770 fi
6771
6772
6773 fi
6774 if test -z "$ac_cv_prog_RANLIB"; then
6775   ac_ct_RANLIB=$RANLIB
6776   # Extract the first word of "ranlib", so it can be a program name with args.
6777 set dummy ranlib; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6781   $as_echo_n "(cached) " >&6
6782 else
6783   if test -n "$ac_ct_RANLIB"; then
6784   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6785 else
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 for as_dir in $PATH
6788 do
6789   IFS=$as_save_IFS
6790   test -z "$as_dir" && as_dir=.
6791     for ac_exec_ext in '' $ac_executable_extensions; do
6792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793     ac_cv_prog_ac_ct_RANLIB="ranlib"
6794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795     break 2
6796   fi
6797 done
6798   done
6799 IFS=$as_save_IFS
6800
6801 fi
6802 fi
6803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6804 if test -n "$ac_ct_RANLIB"; then
6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6806 $as_echo "$ac_ct_RANLIB" >&6; }
6807 else
6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6810 fi
6811
6812   if test "x$ac_ct_RANLIB" = x; then
6813     RANLIB=":"
6814   else
6815     case $cross_compiling:$ac_tool_warned in
6816 yes:)
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6819 ac_tool_warned=yes ;;
6820 esac
6821     RANLIB=$ac_ct_RANLIB
6822   fi
6823 else
6824   RANLIB="$ac_cv_prog_RANLIB"
6825 fi
6826
6827 test -z "$RANLIB" && RANLIB=:
6828
6829
6830
6831
6832
6833
6834 # Determine commands to create old-style static archives.
6835 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6836 old_postinstall_cmds='chmod 644 $oldlib'
6837 old_postuninstall_cmds=
6838
6839 if test -n "$RANLIB"; then
6840   case $host_os in
6841   openbsd*)
6842     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6843     ;;
6844   *)
6845     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6846     ;;
6847   esac
6848   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6849 fi
6850
6851 case $host_os in
6852   darwin*)
6853     lock_old_archive_extraction=yes ;;
6854   *)
6855     lock_old_archive_extraction=no ;;
6856 esac
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896 # If no C compiler was specified, use CC.
6897 LTCC=${LTCC-"$CC"}
6898
6899 # If no C compiler flags were specified, use CFLAGS.
6900 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6901
6902 # Allow CC to be a program name with arguments.
6903 compiler=$CC
6904
6905
6906 # Check for command to grab the raw symbol name followed by C symbol from nm.
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6908 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6909 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6910   $as_echo_n "(cached) " >&6
6911 else
6912
6913 # These are sane defaults that work on at least a few old systems.
6914 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6915
6916 # Character class describing NM global symbol codes.
6917 symcode='[BCDEGRST]'
6918
6919 # Regexp to match symbols that can be accessed directly from C.
6920 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6921
6922 # Define system-specific variables.
6923 case $host_os in
6924 aix*)
6925   symcode='[BCDT]'
6926   ;;
6927 cygwin* | mingw* | pw32* | cegcc*)
6928   symcode='[ABCDGISTW]'
6929   ;;
6930 hpux*)
6931   if test "$host_cpu" = ia64; then
6932     symcode='[ABCDEGRST]'
6933   fi
6934   ;;
6935 irix* | nonstopux*)
6936   symcode='[BCDEGRST]'
6937   ;;
6938 osf*)
6939   symcode='[BCDEGQRST]'
6940   ;;
6941 solaris*)
6942   symcode='[BDRT]'
6943   ;;
6944 sco3.2v5*)
6945   symcode='[DT]'
6946   ;;
6947 sysv4.2uw2*)
6948   symcode='[DT]'
6949   ;;
6950 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6951   symcode='[ABDT]'
6952   ;;
6953 sysv4)
6954   symcode='[DFNSTU]'
6955   ;;
6956 esac
6957
6958 # If we're using GNU nm, then use its standard symbol codes.
6959 case `$NM -V 2>&1` in
6960 *GNU* | *'with BFD'*)
6961   symcode='[ABCDGIRSTW]' ;;
6962 esac
6963
6964 # Transform an extracted symbol line into a proper C declaration.
6965 # Some systems (esp. on ia64) link data and code symbols differently,
6966 # so use this general approach.
6967 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6968
6969 # Transform an extracted symbol line into symbol name and symbol address
6970 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6971 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'"
6972
6973 # Handle CRLF in mingw tool chain
6974 opt_cr=
6975 case $build_os in
6976 mingw*)
6977   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6978   ;;
6979 esac
6980
6981 # Try without a prefix underscore, then with it.
6982 for ac_symprfx in "" "_"; do
6983
6984   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6985   symxfrm="\\1 $ac_symprfx\\2 \\2"
6986
6987   # Write the raw and C identifiers.
6988   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6989     # Fake it for dumpbin and say T for any non-static function
6990     # and D for any global variable.
6991     # Also find C++ and __fastcall symbols from MSVC++,
6992     # which start with @ or ?.
6993     lt_cv_sys_global_symbol_pipe="$AWK '"\
6994 "     {last_section=section; section=\$ 3};"\
6995 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6996 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6997 "     \$ 0!~/External *\|/{next};"\
6998 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6999 "     {if(hide[section]) next};"\
7000 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7001 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7002 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7003 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7004 "     ' prfx=^$ac_symprfx"
7005   else
7006     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7007   fi
7008   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7009
7010   # Check to see that the pipe works correctly.
7011   pipe_works=no
7012
7013   rm -f conftest*
7014   cat > conftest.$ac_ext <<_LT_EOF
7015 #ifdef __cplusplus
7016 extern "C" {
7017 #endif
7018 char nm_test_var;
7019 void nm_test_func(void);
7020 void nm_test_func(void){}
7021 #ifdef __cplusplus
7022 }
7023 #endif
7024 int main(){nm_test_var='a';nm_test_func();return(0);}
7025 _LT_EOF
7026
7027   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7028   (eval $ac_compile) 2>&5
7029   ac_status=$?
7030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7031   test $ac_status = 0; }; then
7032     # Now try to grab the symbols.
7033     nlist=conftest.nm
7034     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7035   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7036   ac_status=$?
7037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7038   test $ac_status = 0; } && test -s "$nlist"; then
7039       # Try sorting and uniquifying the output.
7040       if sort "$nlist" | uniq > "$nlist"T; then
7041         mv -f "$nlist"T "$nlist"
7042       else
7043         rm -f "$nlist"T
7044       fi
7045
7046       # Make sure that we snagged all the symbols we need.
7047       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7048         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7049           cat <<_LT_EOF > conftest.$ac_ext
7050 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7051 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7052 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7053    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7054 # define LT_DLSYM_CONST
7055 #elif defined(__osf__)
7056 /* This system does not cope well with relocations in const data.  */
7057 # define LT_DLSYM_CONST
7058 #else
7059 # define LT_DLSYM_CONST const
7060 #endif
7061
7062 #ifdef __cplusplus
7063 extern "C" {
7064 #endif
7065
7066 _LT_EOF
7067           # Now generate the symbol file.
7068           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7069
7070           cat <<_LT_EOF >> conftest.$ac_ext
7071
7072 /* The mapping between symbol names and symbols.  */
7073 LT_DLSYM_CONST struct {
7074   const char *name;
7075   void       *address;
7076 }
7077 lt__PROGRAM__LTX_preloaded_symbols[] =
7078 {
7079   { "@PROGRAM@", (void *) 0 },
7080 _LT_EOF
7081           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7082           cat <<\_LT_EOF >> conftest.$ac_ext
7083   {0, (void *) 0}
7084 };
7085
7086 /* This works around a problem in FreeBSD linker */
7087 #ifdef FREEBSD_WORKAROUND
7088 static const void *lt_preloaded_setup() {
7089   return lt__PROGRAM__LTX_preloaded_symbols;
7090 }
7091 #endif
7092
7093 #ifdef __cplusplus
7094 }
7095 #endif
7096 _LT_EOF
7097           # Now try linking the two files.
7098           mv conftest.$ac_objext conftstm.$ac_objext
7099           lt_globsym_save_LIBS=$LIBS
7100           lt_globsym_save_CFLAGS=$CFLAGS
7101           LIBS="conftstm.$ac_objext"
7102           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7103           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7104   (eval $ac_link) 2>&5
7105   ac_status=$?
7106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7107   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7108             pipe_works=yes
7109           fi
7110           LIBS=$lt_globsym_save_LIBS
7111           CFLAGS=$lt_globsym_save_CFLAGS
7112         else
7113           echo "cannot find nm_test_func in $nlist" >&5
7114         fi
7115       else
7116         echo "cannot find nm_test_var in $nlist" >&5
7117       fi
7118     else
7119       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7120     fi
7121   else
7122     echo "$progname: failed program was:" >&5
7123     cat conftest.$ac_ext >&5
7124   fi
7125   rm -rf conftest* conftst*
7126
7127   # Do not use the global_symbol_pipe unless it works.
7128   if test "$pipe_works" = yes; then
7129     break
7130   else
7131     lt_cv_sys_global_symbol_pipe=
7132   fi
7133 done
7134
7135 fi
7136
7137 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7138   lt_cv_sys_global_symbol_to_cdecl=
7139 fi
7140 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7142 $as_echo "failed" >&6; }
7143 else
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7145 $as_echo "ok" >&6; }
7146 fi
7147
7148 # Response file support.
7149 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7150   nm_file_list_spec='@'
7151 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7152   nm_file_list_spec='@'
7153 fi
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7182 $as_echo_n "checking for sysroot... " >&6; }
7183
7184 # Check whether --with-sysroot was given.
7185 if test "${with_sysroot+set}" = set; then :
7186   withval=$with_sysroot;
7187 else
7188   with_sysroot=no
7189 fi
7190
7191
7192 lt_sysroot=
7193 case ${with_sysroot} in #(
7194  yes)
7195    if test "$GCC" = yes; then
7196      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7197    fi
7198    ;; #(
7199  /*)
7200    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7201    ;; #(
7202  no|'')
7203    ;; #(
7204  *)
7205    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7206 $as_echo "${with_sysroot}" >&6; }
7207    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7208    ;;
7209 esac
7210
7211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7212 $as_echo "${lt_sysroot:-no}" >&6; }
7213
7214
7215
7216
7217
7218 # Check whether --enable-libtool-lock was given.
7219 if test "${enable_libtool_lock+set}" = set; then :
7220   enableval=$enable_libtool_lock;
7221 fi
7222
7223 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7224
7225 # Some flags need to be propagated to the compiler or linker for good
7226 # libtool support.
7227 case $host in
7228 ia64-*-hpux*)
7229   # Find out which ABI we are using.
7230   echo 'int i;' > conftest.$ac_ext
7231   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7232   (eval $ac_compile) 2>&5
7233   ac_status=$?
7234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7235   test $ac_status = 0; }; then
7236     case `/usr/bin/file conftest.$ac_objext` in
7237       *ELF-32*)
7238         HPUX_IA64_MODE="32"
7239         ;;
7240       *ELF-64*)
7241         HPUX_IA64_MODE="64"
7242         ;;
7243     esac
7244   fi
7245   rm -rf conftest*
7246   ;;
7247 *-*-irix6*)
7248   # Find out which ABI we are using.
7249   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7250   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7251   (eval $ac_compile) 2>&5
7252   ac_status=$?
7253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7254   test $ac_status = 0; }; then
7255     if test "$lt_cv_prog_gnu_ld" = yes; then
7256       case `/usr/bin/file conftest.$ac_objext` in
7257         *32-bit*)
7258           LD="${LD-ld} -melf32bsmip"
7259           ;;
7260         *N32*)
7261           LD="${LD-ld} -melf32bmipn32"
7262           ;;
7263         *64-bit*)
7264           LD="${LD-ld} -melf64bmip"
7265         ;;
7266       esac
7267     else
7268       case `/usr/bin/file conftest.$ac_objext` in
7269         *32-bit*)
7270           LD="${LD-ld} -32"
7271           ;;
7272         *N32*)
7273           LD="${LD-ld} -n32"
7274           ;;
7275         *64-bit*)
7276           LD="${LD-ld} -64"
7277           ;;
7278       esac
7279     fi
7280   fi
7281   rm -rf conftest*
7282   ;;
7283
7284 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7285 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7286   # Find out which ABI we are using.
7287   echo 'int i;' > conftest.$ac_ext
7288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7289   (eval $ac_compile) 2>&5
7290   ac_status=$?
7291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7292   test $ac_status = 0; }; then
7293     case `/usr/bin/file conftest.o` in
7294       *32-bit*)
7295         case $host in
7296           x86_64-*kfreebsd*-gnu)
7297             LD="${LD-ld} -m elf_i386_fbsd"
7298             ;;
7299           x86_64-*linux*)
7300             LD="${LD-ld} -m elf_i386"
7301             ;;
7302           ppc64-*linux*|powerpc64-*linux*)
7303             LD="${LD-ld} -m elf32ppclinux"
7304             ;;
7305           s390x-*linux*)
7306             LD="${LD-ld} -m elf_s390"
7307             ;;
7308           sparc64-*linux*)
7309             LD="${LD-ld} -m elf32_sparc"
7310             ;;
7311         esac
7312         ;;
7313       *64-bit*)
7314         case $host in
7315           x86_64-*kfreebsd*-gnu)
7316             LD="${LD-ld} -m elf_x86_64_fbsd"
7317             ;;
7318           x86_64-*linux*)
7319             LD="${LD-ld} -m elf_x86_64"
7320             ;;
7321           ppc*-*linux*|powerpc*-*linux*)
7322             LD="${LD-ld} -m elf64ppc"
7323             ;;
7324           s390*-*linux*|s390*-*tpf*)
7325             LD="${LD-ld} -m elf64_s390"
7326             ;;
7327           sparc*-*linux*)
7328             LD="${LD-ld} -m elf64_sparc"
7329             ;;
7330         esac
7331         ;;
7332     esac
7333   fi
7334   rm -rf conftest*
7335   ;;
7336
7337 *-*-sco3.2v5*)
7338   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7339   SAVE_CFLAGS="$CFLAGS"
7340   CFLAGS="$CFLAGS -belf"
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7342 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7343 if ${lt_cv_cc_needs_belf+:} false; then :
7344   $as_echo_n "(cached) " >&6
7345 else
7346   ac_ext=c
7347 ac_cpp='$CPP $CPPFLAGS'
7348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7351
7352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h.  */
7354
7355 int
7356 main ()
7357 {
7358
7359   ;
7360   return 0;
7361 }
7362 _ACEOF
7363 if ac_fn_c_try_link "$LINENO"; then :
7364   lt_cv_cc_needs_belf=yes
7365 else
7366   lt_cv_cc_needs_belf=no
7367 fi
7368 rm -f core conftest.err conftest.$ac_objext \
7369     conftest$ac_exeext conftest.$ac_ext
7370      ac_ext=c
7371 ac_cpp='$CPP $CPPFLAGS'
7372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7375
7376 fi
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7378 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7379   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7380     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7381     CFLAGS="$SAVE_CFLAGS"
7382   fi
7383   ;;
7384 *-*solaris*)
7385   # Find out which ABI we are using.
7386   echo 'int i;' > conftest.$ac_ext
7387   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388   (eval $ac_compile) 2>&5
7389   ac_status=$?
7390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7391   test $ac_status = 0; }; then
7392     case `/usr/bin/file conftest.o` in
7393     *64-bit*)
7394       case $lt_cv_prog_gnu_ld in
7395       yes*)
7396         case $host in
7397         i?86-*-solaris*)
7398           LD="${LD-ld} -m elf_x86_64"
7399           ;;
7400         sparc*-*-solaris*)
7401           LD="${LD-ld} -m elf64_sparc"
7402           ;;
7403         esac
7404         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7405         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7406           LD="${LD-ld}_sol2"
7407         fi
7408         ;;
7409       *)
7410         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7411           LD="${LD-ld} -64"
7412         fi
7413         ;;
7414       esac
7415       ;;
7416     esac
7417   fi
7418   rm -rf conftest*
7419   ;;
7420 esac
7421
7422 need_locks="$enable_libtool_lock"
7423
7424 if test -n "$ac_tool_prefix"; then
7425   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7426 set dummy ${ac_tool_prefix}mt; ac_word=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7430   $as_echo_n "(cached) " >&6
7431 else
7432   if test -n "$MANIFEST_TOOL"; then
7433   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7434 else
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 for as_dir in $PATH
7437 do
7438   IFS=$as_save_IFS
7439   test -z "$as_dir" && as_dir=.
7440     for ac_exec_ext in '' $ac_executable_extensions; do
7441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7442     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444     break 2
7445   fi
7446 done
7447   done
7448 IFS=$as_save_IFS
7449
7450 fi
7451 fi
7452 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7453 if test -n "$MANIFEST_TOOL"; then
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7455 $as_echo "$MANIFEST_TOOL" >&6; }
7456 else
7457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7459 fi
7460
7461
7462 fi
7463 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7464   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7465   # Extract the first word of "mt", so it can be a program name with args.
7466 set dummy mt; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7470   $as_echo_n "(cached) " >&6
7471 else
7472   if test -n "$ac_ct_MANIFEST_TOOL"; then
7473   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7477 do
7478   IFS=$as_save_IFS
7479   test -z "$as_dir" && as_dir=.
7480     for ac_exec_ext in '' $ac_executable_extensions; do
7481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484     break 2
7485   fi
7486 done
7487   done
7488 IFS=$as_save_IFS
7489
7490 fi
7491 fi
7492 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7493 if test -n "$ac_ct_MANIFEST_TOOL"; then
7494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7495 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7496 else
7497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7499 fi
7500
7501   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7502     MANIFEST_TOOL=":"
7503   else
7504     case $cross_compiling:$ac_tool_warned in
7505 yes:)
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7508 ac_tool_warned=yes ;;
7509 esac
7510     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7511   fi
7512 else
7513   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7514 fi
7515
7516 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7518 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7519 if ${lt_cv_path_mainfest_tool+:} false; then :
7520   $as_echo_n "(cached) " >&6
7521 else
7522   lt_cv_path_mainfest_tool=no
7523   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7524   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7525   cat conftest.err >&5
7526   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7527     lt_cv_path_mainfest_tool=yes
7528   fi
7529   rm -f conftest*
7530 fi
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7532 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7533 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7534   MANIFEST_TOOL=:
7535 fi
7536
7537
7538
7539
7540
7541
7542   case $host_os in
7543     rhapsody* | darwin*)
7544     if test -n "$ac_tool_prefix"; then
7545   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7550   $as_echo_n "(cached) " >&6
7551 else
7552   if test -n "$DSYMUTIL"; then
7553   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7557 do
7558   IFS=$as_save_IFS
7559   test -z "$as_dir" && as_dir=.
7560     for ac_exec_ext in '' $ac_executable_extensions; do
7561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564     break 2
7565   fi
7566 done
7567   done
7568 IFS=$as_save_IFS
7569
7570 fi
7571 fi
7572 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7573 if test -n "$DSYMUTIL"; then
7574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7575 $as_echo "$DSYMUTIL" >&6; }
7576 else
7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7579 fi
7580
7581
7582 fi
7583 if test -z "$ac_cv_prog_DSYMUTIL"; then
7584   ac_ct_DSYMUTIL=$DSYMUTIL
7585   # Extract the first word of "dsymutil", so it can be a program name with args.
7586 set dummy dsymutil; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7590   $as_echo_n "(cached) " >&6
7591 else
7592   if test -n "$ac_ct_DSYMUTIL"; then
7593   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7597 do
7598   IFS=$as_save_IFS
7599   test -z "$as_dir" && as_dir=.
7600     for ac_exec_ext in '' $ac_executable_extensions; do
7601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604     break 2
7605   fi
7606 done
7607   done
7608 IFS=$as_save_IFS
7609
7610 fi
7611 fi
7612 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7613 if test -n "$ac_ct_DSYMUTIL"; then
7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7615 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7616 else
7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7619 fi
7620
7621   if test "x$ac_ct_DSYMUTIL" = x; then
7622     DSYMUTIL=":"
7623   else
7624     case $cross_compiling:$ac_tool_warned in
7625 yes:)
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7629 esac
7630     DSYMUTIL=$ac_ct_DSYMUTIL
7631   fi
7632 else
7633   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7634 fi
7635
7636     if test -n "$ac_tool_prefix"; then
7637   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7638 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_NMEDIT+:} false; then :
7642   $as_echo_n "(cached) " >&6
7643 else
7644   if test -n "$NMEDIT"; then
7645   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7646 else
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 for as_dir in $PATH
7649 do
7650   IFS=$as_save_IFS
7651   test -z "$as_dir" && as_dir=.
7652     for ac_exec_ext in '' $ac_executable_extensions; do
7653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656     break 2
7657   fi
7658 done
7659   done
7660 IFS=$as_save_IFS
7661
7662 fi
7663 fi
7664 NMEDIT=$ac_cv_prog_NMEDIT
7665 if test -n "$NMEDIT"; then
7666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7667 $as_echo "$NMEDIT" >&6; }
7668 else
7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7671 fi
7672
7673
7674 fi
7675 if test -z "$ac_cv_prog_NMEDIT"; then
7676   ac_ct_NMEDIT=$NMEDIT
7677   # Extract the first word of "nmedit", so it can be a program name with args.
7678 set dummy nmedit; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7682   $as_echo_n "(cached) " >&6
7683 else
7684   if test -n "$ac_ct_NMEDIT"; then
7685   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7686 else
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 for as_dir in $PATH
7689 do
7690   IFS=$as_save_IFS
7691   test -z "$as_dir" && as_dir=.
7692     for ac_exec_ext in '' $ac_executable_extensions; do
7693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7696     break 2
7697   fi
7698 done
7699   done
7700 IFS=$as_save_IFS
7701
7702 fi
7703 fi
7704 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7705 if test -n "$ac_ct_NMEDIT"; then
7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7707 $as_echo "$ac_ct_NMEDIT" >&6; }
7708 else
7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7711 fi
7712
7713   if test "x$ac_ct_NMEDIT" = x; then
7714     NMEDIT=":"
7715   else
7716     case $cross_compiling:$ac_tool_warned in
7717 yes:)
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7720 ac_tool_warned=yes ;;
7721 esac
7722     NMEDIT=$ac_ct_NMEDIT
7723   fi
7724 else
7725   NMEDIT="$ac_cv_prog_NMEDIT"
7726 fi
7727
7728     if test -n "$ac_tool_prefix"; then
7729   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7730 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_LIPO+:} false; then :
7734   $as_echo_n "(cached) " >&6
7735 else
7736   if test -n "$LIPO"; then
7737   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7738 else
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 for as_dir in $PATH
7741 do
7742   IFS=$as_save_IFS
7743   test -z "$as_dir" && as_dir=.
7744     for ac_exec_ext in '' $ac_executable_extensions; do
7745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7746     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748     break 2
7749   fi
7750 done
7751   done
7752 IFS=$as_save_IFS
7753
7754 fi
7755 fi
7756 LIPO=$ac_cv_prog_LIPO
7757 if test -n "$LIPO"; then
7758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7759 $as_echo "$LIPO" >&6; }
7760 else
7761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7763 fi
7764
7765
7766 fi
7767 if test -z "$ac_cv_prog_LIPO"; then
7768   ac_ct_LIPO=$LIPO
7769   # Extract the first word of "lipo", so it can be a program name with args.
7770 set dummy lipo; ac_word=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772 $as_echo_n "checking for $ac_word... " >&6; }
7773 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7774   $as_echo_n "(cached) " >&6
7775 else
7776   if test -n "$ac_ct_LIPO"; then
7777   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7778 else
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 for as_dir in $PATH
7781 do
7782   IFS=$as_save_IFS
7783   test -z "$as_dir" && as_dir=.
7784     for ac_exec_ext in '' $ac_executable_extensions; do
7785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786     ac_cv_prog_ac_ct_LIPO="lipo"
7787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788     break 2
7789   fi
7790 done
7791   done
7792 IFS=$as_save_IFS
7793
7794 fi
7795 fi
7796 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7797 if test -n "$ac_ct_LIPO"; then
7798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7799 $as_echo "$ac_ct_LIPO" >&6; }
7800 else
7801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7803 fi
7804
7805   if test "x$ac_ct_LIPO" = x; then
7806     LIPO=":"
7807   else
7808     case $cross_compiling:$ac_tool_warned in
7809 yes:)
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7812 ac_tool_warned=yes ;;
7813 esac
7814     LIPO=$ac_ct_LIPO
7815   fi
7816 else
7817   LIPO="$ac_cv_prog_LIPO"
7818 fi
7819
7820     if test -n "$ac_tool_prefix"; then
7821   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}otool; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 $as_echo_n "checking for $ac_word... " >&6; }
7825 if ${ac_cv_prog_OTOOL+:} false; then :
7826   $as_echo_n "(cached) " >&6
7827 else
7828   if test -n "$OTOOL"; then
7829   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7830 else
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 for as_dir in $PATH
7833 do
7834   IFS=$as_save_IFS
7835   test -z "$as_dir" && as_dir=.
7836     for ac_exec_ext in '' $ac_executable_extensions; do
7837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7838     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840     break 2
7841   fi
7842 done
7843   done
7844 IFS=$as_save_IFS
7845
7846 fi
7847 fi
7848 OTOOL=$ac_cv_prog_OTOOL
7849 if test -n "$OTOOL"; then
7850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7851 $as_echo "$OTOOL" >&6; }
7852 else
7853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7855 fi
7856
7857
7858 fi
7859 if test -z "$ac_cv_prog_OTOOL"; then
7860   ac_ct_OTOOL=$OTOOL
7861   # Extract the first word of "otool", so it can be a program name with args.
7862 set dummy otool; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7866   $as_echo_n "(cached) " >&6
7867 else
7868   if test -n "$ac_ct_OTOOL"; then
7869   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7870 else
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 for as_dir in $PATH
7873 do
7874   IFS=$as_save_IFS
7875   test -z "$as_dir" && as_dir=.
7876     for ac_exec_ext in '' $ac_executable_extensions; do
7877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7878     ac_cv_prog_ac_ct_OTOOL="otool"
7879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880     break 2
7881   fi
7882 done
7883   done
7884 IFS=$as_save_IFS
7885
7886 fi
7887 fi
7888 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7889 if test -n "$ac_ct_OTOOL"; then
7890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7891 $as_echo "$ac_ct_OTOOL" >&6; }
7892 else
7893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7895 fi
7896
7897   if test "x$ac_ct_OTOOL" = x; then
7898     OTOOL=":"
7899   else
7900     case $cross_compiling:$ac_tool_warned in
7901 yes:)
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906     OTOOL=$ac_ct_OTOOL
7907   fi
7908 else
7909   OTOOL="$ac_cv_prog_OTOOL"
7910 fi
7911
7912     if test -n "$ac_tool_prefix"; then
7913   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_OTOOL64+:} false; then :
7918   $as_echo_n "(cached) " >&6
7919 else
7920   if test -n "$OTOOL64"; then
7921   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7925 do
7926   IFS=$as_save_IFS
7927   test -z "$as_dir" && as_dir=.
7928     for ac_exec_ext in '' $ac_executable_extensions; do
7929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932     break 2
7933   fi
7934 done
7935   done
7936 IFS=$as_save_IFS
7937
7938 fi
7939 fi
7940 OTOOL64=$ac_cv_prog_OTOOL64
7941 if test -n "$OTOOL64"; then
7942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7943 $as_echo "$OTOOL64" >&6; }
7944 else
7945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7947 fi
7948
7949
7950 fi
7951 if test -z "$ac_cv_prog_OTOOL64"; then
7952   ac_ct_OTOOL64=$OTOOL64
7953   # Extract the first word of "otool64", so it can be a program name with args.
7954 set dummy otool64; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7958   $as_echo_n "(cached) " >&6
7959 else
7960   if test -n "$ac_ct_OTOOL64"; then
7961   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7965 do
7966   IFS=$as_save_IFS
7967   test -z "$as_dir" && as_dir=.
7968     for ac_exec_ext in '' $ac_executable_extensions; do
7969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970     ac_cv_prog_ac_ct_OTOOL64="otool64"
7971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972     break 2
7973   fi
7974 done
7975   done
7976 IFS=$as_save_IFS
7977
7978 fi
7979 fi
7980 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7981 if test -n "$ac_ct_OTOOL64"; then
7982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7983 $as_echo "$ac_ct_OTOOL64" >&6; }
7984 else
7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7987 fi
7988
7989   if test "x$ac_ct_OTOOL64" = x; then
7990     OTOOL64=":"
7991   else
7992     case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned=yes ;;
7997 esac
7998     OTOOL64=$ac_ct_OTOOL64
7999   fi
8000 else
8001   OTOOL64="$ac_cv_prog_OTOOL64"
8002 fi
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8031 $as_echo_n "checking for -single_module linker flag... " >&6; }
8032 if ${lt_cv_apple_cc_single_mod+:} false; then :
8033   $as_echo_n "(cached) " >&6
8034 else
8035   lt_cv_apple_cc_single_mod=no
8036       if test -z "${LT_MULTI_MODULE}"; then
8037         # By default we will add the -single_module flag. You can override
8038         # by either setting the environment variable LT_MULTI_MODULE
8039         # non-empty at configure time, or by adding -multi_module to the
8040         # link flags.
8041         rm -rf libconftest.dylib*
8042         echo "int foo(void){return 1;}" > conftest.c
8043         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8044 -dynamiclib -Wl,-single_module conftest.c" >&5
8045         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8046           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8047         _lt_result=$?
8048         # If there is a non-empty error log, and "single_module"
8049         # appears in it, assume the flag caused a linker warning
8050         if test -s conftest.err && $GREP single_module conftest.err; then
8051           cat conftest.err >&5
8052         # Otherwise, if the output was created with a 0 exit code from
8053         # the compiler, it worked.
8054         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8055           lt_cv_apple_cc_single_mod=yes
8056         else
8057           cat conftest.err >&5
8058         fi
8059         rm -rf libconftest.dylib*
8060         rm -f conftest.*
8061       fi
8062 fi
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8064 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8065
8066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8067 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8068 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8069   $as_echo_n "(cached) " >&6
8070 else
8071   lt_cv_ld_exported_symbols_list=no
8072       save_LDFLAGS=$LDFLAGS
8073       echo "_main" > conftest.sym
8074       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076 /* end confdefs.h.  */
8077
8078 int
8079 main ()
8080 {
8081
8082   ;
8083   return 0;
8084 }
8085 _ACEOF
8086 if ac_fn_c_try_link "$LINENO"; then :
8087   lt_cv_ld_exported_symbols_list=yes
8088 else
8089   lt_cv_ld_exported_symbols_list=no
8090 fi
8091 rm -f core conftest.err conftest.$ac_objext \
8092     conftest$ac_exeext conftest.$ac_ext
8093         LDFLAGS="$save_LDFLAGS"
8094
8095 fi
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8097 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8098
8099     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8100 $as_echo_n "checking for -force_load linker flag... " >&6; }
8101 if ${lt_cv_ld_force_load+:} false; then :
8102   $as_echo_n "(cached) " >&6
8103 else
8104   lt_cv_ld_force_load=no
8105       cat > conftest.c << _LT_EOF
8106 int forced_loaded() { return 2;}
8107 _LT_EOF
8108       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8109       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8110       echo "$AR cru libconftest.a conftest.o" >&5
8111       $AR cru libconftest.a conftest.o 2>&5
8112       echo "$RANLIB libconftest.a" >&5
8113       $RANLIB libconftest.a 2>&5
8114       cat > conftest.c << _LT_EOF
8115 int main() { return 0;}
8116 _LT_EOF
8117       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8118       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8119       _lt_result=$?
8120       if test -s conftest.err && $GREP force_load conftest.err; then
8121         cat conftest.err >&5
8122       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8123         lt_cv_ld_force_load=yes
8124       else
8125         cat conftest.err >&5
8126       fi
8127         rm -f conftest.err libconftest.a conftest conftest.c
8128         rm -rf conftest.dSYM
8129
8130 fi
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8132 $as_echo "$lt_cv_ld_force_load" >&6; }
8133     case $host_os in
8134     rhapsody* | darwin1.[012])
8135       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8136     darwin1.*)
8137       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8138     darwin*) # darwin 5.x on
8139       # if running on 10.5 or later, the deployment target defaults
8140       # to the OS version, if on x86, and 10.4, the deployment
8141       # target defaults to 10.4. Don't you love it?
8142       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8143         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8144           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8145         10.[012]*)
8146           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8147         10.*)
8148           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8149       esac
8150     ;;
8151   esac
8152     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8153       _lt_dar_single_mod='$single_module'
8154     fi
8155     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8156       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8157     else
8158       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8159     fi
8160     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8161       _lt_dsymutil='~$DSYMUTIL $lib || :'
8162     else
8163       _lt_dsymutil=
8164     fi
8165     ;;
8166   esac
8167
8168 for ac_header in dlfcn.h
8169 do :
8170   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8171 "
8172 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8173   cat >>confdefs.h <<_ACEOF
8174 #define HAVE_DLFCN_H 1
8175 _ACEOF
8176
8177 fi
8178
8179 done
8180
8181
8182
8183
8184
8185 # Set options
8186 # Check whether --enable-static was given.
8187 if test "${enable_static+set}" = set; then :
8188   enableval=$enable_static; p=${PACKAGE-default}
8189     case $enableval in
8190     yes) enable_static=yes ;;
8191     no) enable_static=no ;;
8192     *)
8193      enable_static=no
8194       # Look at the argument we got.  We use all the common list separators.
8195       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8196       for pkg in $enableval; do
8197         IFS="$lt_save_ifs"
8198         if test "X$pkg" = "X$p"; then
8199           enable_static=yes
8200         fi
8201       done
8202       IFS="$lt_save_ifs"
8203       ;;
8204     esac
8205 else
8206   enable_static=no
8207 fi
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218         enable_dlopen=no
8219
8220
8221   enable_win32_dll=no
8222
8223
8224             # Check whether --enable-shared was given.
8225 if test "${enable_shared+set}" = set; then :
8226   enableval=$enable_shared; p=${PACKAGE-default}
8227     case $enableval in
8228     yes) enable_shared=yes ;;
8229     no) enable_shared=no ;;
8230     *)
8231       enable_shared=no
8232       # Look at the argument we got.  We use all the common list separators.
8233       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8234       for pkg in $enableval; do
8235         IFS="$lt_save_ifs"
8236         if test "X$pkg" = "X$p"; then
8237           enable_shared=yes
8238         fi
8239       done
8240       IFS="$lt_save_ifs"
8241       ;;
8242     esac
8243 else
8244   enable_shared=yes
8245 fi
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257 # Check whether --with-pic was given.
8258 if test "${with_pic+set}" = set; then :
8259   withval=$with_pic; lt_p=${PACKAGE-default}
8260     case $withval in
8261     yes|no) pic_mode=$withval ;;
8262     *)
8263       pic_mode=default
8264       # Look at the argument we got.  We use all the common list separators.
8265       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8266       for lt_pkg in $withval; do
8267         IFS="$lt_save_ifs"
8268         if test "X$lt_pkg" = "X$lt_p"; then
8269           pic_mode=yes
8270         fi
8271       done
8272       IFS="$lt_save_ifs"
8273       ;;
8274     esac
8275 else
8276   pic_mode=default
8277 fi
8278
8279
8280 test -z "$pic_mode" && pic_mode=default
8281
8282
8283
8284
8285
8286
8287
8288   # Check whether --enable-fast-install was given.
8289 if test "${enable_fast_install+set}" = set; then :
8290   enableval=$enable_fast_install; p=${PACKAGE-default}
8291     case $enableval in
8292     yes) enable_fast_install=yes ;;
8293     no) enable_fast_install=no ;;
8294     *)
8295       enable_fast_install=no
8296       # Look at the argument we got.  We use all the common list separators.
8297       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8298       for pkg in $enableval; do
8299         IFS="$lt_save_ifs"
8300         if test "X$pkg" = "X$p"; then
8301           enable_fast_install=yes
8302         fi
8303       done
8304       IFS="$lt_save_ifs"
8305       ;;
8306     esac
8307 else
8308   enable_fast_install=yes
8309 fi
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321 # This can be used to rebuild libtool when needed
8322 LIBTOOL_DEPS="$ltmain"
8323
8324 # Always use our own libtool.
8325 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356 test -z "$LN_S" && LN_S="ln -s"
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371 if test -n "${ZSH_VERSION+set}" ; then
8372    setopt NO_GLOB_SUBST
8373 fi
8374
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8376 $as_echo_n "checking for objdir... " >&6; }
8377 if ${lt_cv_objdir+:} false; then :
8378   $as_echo_n "(cached) " >&6
8379 else
8380   rm -f .libs 2>/dev/null
8381 mkdir .libs 2>/dev/null
8382 if test -d .libs; then
8383   lt_cv_objdir=.libs
8384 else
8385   # MS-DOS does not allow filenames that begin with a dot.
8386   lt_cv_objdir=_libs
8387 fi
8388 rmdir .libs 2>/dev/null
8389 fi
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8391 $as_echo "$lt_cv_objdir" >&6; }
8392 objdir=$lt_cv_objdir
8393
8394
8395
8396
8397
8398 cat >>confdefs.h <<_ACEOF
8399 #define LT_OBJDIR "$lt_cv_objdir/"
8400 _ACEOF
8401
8402
8403
8404
8405 case $host_os in
8406 aix3*)
8407   # AIX sometimes has problems with the GCC collect2 program.  For some
8408   # reason, if we set the COLLECT_NAMES environment variable, the problems
8409   # vanish in a puff of smoke.
8410   if test "X${COLLECT_NAMES+set}" != Xset; then
8411     COLLECT_NAMES=
8412     export COLLECT_NAMES
8413   fi
8414   ;;
8415 esac
8416
8417 # Global variables:
8418 ofile=libtool
8419 can_build_shared=yes
8420
8421 # All known linkers require a `.a' archive for static linking (except MSVC,
8422 # which needs '.lib').
8423 libext=a
8424
8425 with_gnu_ld="$lt_cv_prog_gnu_ld"
8426
8427 old_CC="$CC"
8428 old_CFLAGS="$CFLAGS"
8429
8430 # Set sane defaults for various variables
8431 test -z "$CC" && CC=cc
8432 test -z "$LTCC" && LTCC=$CC
8433 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8434 test -z "$LD" && LD=ld
8435 test -z "$ac_objext" && ac_objext=o
8436
8437 for cc_temp in $compiler""; do
8438   case $cc_temp in
8439     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8440     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8441     \-*) ;;
8442     *) break;;
8443   esac
8444 done
8445 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8446
8447
8448 # Only perform the check for file, if the check method requires it
8449 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8450 case $deplibs_check_method in
8451 file_magic*)
8452   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8454 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8455 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8456   $as_echo_n "(cached) " >&6
8457 else
8458   case $MAGIC_CMD in
8459 [\\/*] |  ?:[\\/]*)
8460   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8461   ;;
8462 *)
8463   lt_save_MAGIC_CMD="$MAGIC_CMD"
8464   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8465   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8466   for ac_dir in $ac_dummy; do
8467     IFS="$lt_save_ifs"
8468     test -z "$ac_dir" && ac_dir=.
8469     if test -f $ac_dir/${ac_tool_prefix}file; then
8470       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8471       if test -n "$file_magic_test_file"; then
8472         case $deplibs_check_method in
8473         "file_magic "*)
8474           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8475           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8476           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8477             $EGREP "$file_magic_regex" > /dev/null; then
8478             :
8479           else
8480             cat <<_LT_EOF 1>&2
8481
8482 *** Warning: the command libtool uses to detect shared libraries,
8483 *** $file_magic_cmd, produces output that libtool cannot recognize.
8484 *** The result is that libtool may fail to recognize shared libraries
8485 *** as such.  This will affect the creation of libtool libraries that
8486 *** depend on shared libraries, but programs linked with such libtool
8487 *** libraries will work regardless of this problem.  Nevertheless, you
8488 *** may want to report the problem to your system manager and/or to
8489 *** bug-libtool@gnu.org
8490
8491 _LT_EOF
8492           fi ;;
8493         esac
8494       fi
8495       break
8496     fi
8497   done
8498   IFS="$lt_save_ifs"
8499   MAGIC_CMD="$lt_save_MAGIC_CMD"
8500   ;;
8501 esac
8502 fi
8503
8504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8505 if test -n "$MAGIC_CMD"; then
8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8507 $as_echo "$MAGIC_CMD" >&6; }
8508 else
8509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8511 fi
8512
8513
8514
8515
8516
8517 if test -z "$lt_cv_path_MAGIC_CMD"; then
8518   if test -n "$ac_tool_prefix"; then
8519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8520 $as_echo_n "checking for file... " >&6; }
8521 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8522   $as_echo_n "(cached) " >&6
8523 else
8524   case $MAGIC_CMD in
8525 [\\/*] |  ?:[\\/]*)
8526   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8527   ;;
8528 *)
8529   lt_save_MAGIC_CMD="$MAGIC_CMD"
8530   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8531   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8532   for ac_dir in $ac_dummy; do
8533     IFS="$lt_save_ifs"
8534     test -z "$ac_dir" && ac_dir=.
8535     if test -f $ac_dir/file; then
8536       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8537       if test -n "$file_magic_test_file"; then
8538         case $deplibs_check_method in
8539         "file_magic "*)
8540           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8541           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8542           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8543             $EGREP "$file_magic_regex" > /dev/null; then
8544             :
8545           else
8546             cat <<_LT_EOF 1>&2
8547
8548 *** Warning: the command libtool uses to detect shared libraries,
8549 *** $file_magic_cmd, produces output that libtool cannot recognize.
8550 *** The result is that libtool may fail to recognize shared libraries
8551 *** as such.  This will affect the creation of libtool libraries that
8552 *** depend on shared libraries, but programs linked with such libtool
8553 *** libraries will work regardless of this problem.  Nevertheless, you
8554 *** may want to report the problem to your system manager and/or to
8555 *** bug-libtool@gnu.org
8556
8557 _LT_EOF
8558           fi ;;
8559         esac
8560       fi
8561       break
8562     fi
8563   done
8564   IFS="$lt_save_ifs"
8565   MAGIC_CMD="$lt_save_MAGIC_CMD"
8566   ;;
8567 esac
8568 fi
8569
8570 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8571 if test -n "$MAGIC_CMD"; then
8572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8573 $as_echo "$MAGIC_CMD" >&6; }
8574 else
8575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8576 $as_echo "no" >&6; }
8577 fi
8578
8579
8580   else
8581     MAGIC_CMD=:
8582   fi
8583 fi
8584
8585   fi
8586   ;;
8587 esac
8588
8589 # Use C for the default configuration in the libtool script
8590
8591 lt_save_CC="$CC"
8592 ac_ext=c
8593 ac_cpp='$CPP $CPPFLAGS'
8594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8597
8598
8599 # Source file extension for C test sources.
8600 ac_ext=c
8601
8602 # Object file extension for compiled C test sources.
8603 objext=o
8604 objext=$objext
8605
8606 # Code to be used in simple compile tests
8607 lt_simple_compile_test_code="int some_variable = 0;"
8608
8609 # Code to be used in simple link tests
8610 lt_simple_link_test_code='int main(){return(0);}'
8611
8612
8613
8614
8615
8616
8617
8618 # If no C compiler was specified, use CC.
8619 LTCC=${LTCC-"$CC"}
8620
8621 # If no C compiler flags were specified, use CFLAGS.
8622 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8623
8624 # Allow CC to be a program name with arguments.
8625 compiler=$CC
8626
8627 # Save the default compiler, since it gets overwritten when the other
8628 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8629 compiler_DEFAULT=$CC
8630
8631 # save warnings/boilerplate of simple test code
8632 ac_outfile=conftest.$ac_objext
8633 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8634 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8635 _lt_compiler_boilerplate=`cat conftest.err`
8636 $RM conftest*
8637
8638 ac_outfile=conftest.$ac_objext
8639 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8640 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8641 _lt_linker_boilerplate=`cat conftest.err`
8642 $RM -r conftest*
8643
8644
8645 ## CAVEAT EMPTOR:
8646 ## There is no encapsulation within the following macros, do not change
8647 ## the running order or otherwise move them around unless you know exactly
8648 ## what you are doing...
8649 if test -n "$compiler"; then
8650
8651 lt_prog_compiler_no_builtin_flag=
8652
8653 if test "$GCC" = yes; then
8654   case $cc_basename in
8655   nvcc*)
8656     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8657   *)
8658     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8659   esac
8660
8661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8662 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8663 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8664   $as_echo_n "(cached) " >&6
8665 else
8666   lt_cv_prog_compiler_rtti_exceptions=no
8667    ac_outfile=conftest.$ac_objext
8668    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8669    lt_compiler_flag="-fno-rtti -fno-exceptions"
8670    # Insert the option either (1) after the last *FLAGS variable, or
8671    # (2) before a word containing "conftest.", or (3) at the end.
8672    # Note that $ac_compile itself does not contain backslashes and begins
8673    # with a dollar sign (not a hyphen), so the echo should work correctly.
8674    # The option is referenced via a variable to avoid confusing sed.
8675    lt_compile=`echo "$ac_compile" | $SED \
8676    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8677    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8678    -e 's:$: $lt_compiler_flag:'`
8679    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8680    (eval "$lt_compile" 2>conftest.err)
8681    ac_status=$?
8682    cat conftest.err >&5
8683    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684    if (exit $ac_status) && test -s "$ac_outfile"; then
8685      # The compiler can only warn and ignore the option if not recognized
8686      # So say no if there are warnings other than the usual output.
8687      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8688      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8689      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8690        lt_cv_prog_compiler_rtti_exceptions=yes
8691      fi
8692    fi
8693    $RM conftest*
8694
8695 fi
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8697 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8698
8699 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8700     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8701 else
8702     :
8703 fi
8704
8705 fi
8706
8707
8708
8709
8710
8711
8712   lt_prog_compiler_wl=
8713 lt_prog_compiler_pic=
8714 lt_prog_compiler_static=
8715
8716
8717   if test "$GCC" = yes; then
8718     lt_prog_compiler_wl='-Wl,'
8719     lt_prog_compiler_static='-static'
8720
8721     case $host_os in
8722       aix*)
8723       # All AIX code is PIC.
8724       if test "$host_cpu" = ia64; then
8725         # AIX 5 now supports IA64 processor
8726         lt_prog_compiler_static='-Bstatic'
8727       fi
8728       ;;
8729
8730     amigaos*)
8731       case $host_cpu in
8732       powerpc)
8733             # see comment about AmigaOS4 .so support
8734             lt_prog_compiler_pic='-fPIC'
8735         ;;
8736       m68k)
8737             # FIXME: we need at least 68020 code to build shared libraries, but
8738             # adding the `-m68020' flag to GCC prevents building anything better,
8739             # like `-m68040'.
8740             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8741         ;;
8742       esac
8743       ;;
8744
8745     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8746       # PIC is the default for these OSes.
8747       ;;
8748
8749     mingw* | cygwin* | pw32* | os2* | cegcc*)
8750       # This hack is so that the source file can tell whether it is being
8751       # built for inclusion in a dll (and should export symbols for example).
8752       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8753       # (--disable-auto-import) libraries
8754       lt_prog_compiler_pic='-DDLL_EXPORT'
8755       ;;
8756
8757     darwin* | rhapsody*)
8758       # PIC is the default on this platform
8759       # Common symbols not allowed in MH_DYLIB files
8760       lt_prog_compiler_pic='-fno-common'
8761       ;;
8762
8763     haiku*)
8764       # PIC is the default for Haiku.
8765       # The "-static" flag exists, but is broken.
8766       lt_prog_compiler_static=
8767       ;;
8768
8769     hpux*)
8770       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8771       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8772       # sets the default TLS model and affects inlining.
8773       case $host_cpu in
8774       hppa*64*)
8775         # +Z the default
8776         ;;
8777       *)
8778         lt_prog_compiler_pic='-fPIC'
8779         ;;
8780       esac
8781       ;;
8782
8783     interix[3-9]*)
8784       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8785       # Instead, we relocate shared libraries at runtime.
8786       ;;
8787
8788     msdosdjgpp*)
8789       # Just because we use GCC doesn't mean we suddenly get shared libraries
8790       # on systems that don't support them.
8791       lt_prog_compiler_can_build_shared=no
8792       enable_shared=no
8793       ;;
8794
8795     *nto* | *qnx*)
8796       # QNX uses GNU C++, but need to define -shared option too, otherwise
8797       # it will coredump.
8798       lt_prog_compiler_pic='-fPIC -shared'
8799       ;;
8800
8801     sysv4*MP*)
8802       if test -d /usr/nec; then
8803         lt_prog_compiler_pic=-Kconform_pic
8804       fi
8805       ;;
8806
8807     *)
8808       lt_prog_compiler_pic='-fPIC'
8809       ;;
8810     esac
8811
8812     case $cc_basename in
8813     nvcc*) # Cuda Compiler Driver 2.2
8814       lt_prog_compiler_wl='-Xlinker '
8815       if test -n "$lt_prog_compiler_pic"; then
8816         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8817       fi
8818       ;;
8819     esac
8820   else
8821     # PORTME Check for flag to pass linker flags through the system compiler.
8822     case $host_os in
8823     aix*)
8824       lt_prog_compiler_wl='-Wl,'
8825       if test "$host_cpu" = ia64; then
8826         # AIX 5 now supports IA64 processor
8827         lt_prog_compiler_static='-Bstatic'
8828       else
8829         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8830       fi
8831       ;;
8832
8833     mingw* | cygwin* | pw32* | os2* | cegcc*)
8834       # This hack is so that the source file can tell whether it is being
8835       # built for inclusion in a dll (and should export symbols for example).
8836       lt_prog_compiler_pic='-DDLL_EXPORT'
8837       ;;
8838
8839     hpux9* | hpux10* | hpux11*)
8840       lt_prog_compiler_wl='-Wl,'
8841       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8842       # not for PA HP-UX.
8843       case $host_cpu in
8844       hppa*64*|ia64*)
8845         # +Z the default
8846         ;;
8847       *)
8848         lt_prog_compiler_pic='+Z'
8849         ;;
8850       esac
8851       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8852       lt_prog_compiler_static='${wl}-a ${wl}archive'
8853       ;;
8854
8855     irix5* | irix6* | nonstopux*)
8856       lt_prog_compiler_wl='-Wl,'
8857       # PIC (with -KPIC) is the default.
8858       lt_prog_compiler_static='-non_shared'
8859       ;;
8860
8861     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8862       case $cc_basename in
8863       # old Intel for x86_64 which still supported -KPIC.
8864       ecc*)
8865         lt_prog_compiler_wl='-Wl,'
8866         lt_prog_compiler_pic='-KPIC'
8867         lt_prog_compiler_static='-static'
8868         ;;
8869       # icc used to be incompatible with GCC.
8870       # ICC 10 doesn't accept -KPIC any more.
8871       icc* | ifort*)
8872         lt_prog_compiler_wl='-Wl,'
8873         lt_prog_compiler_pic='-fPIC'
8874         lt_prog_compiler_static='-static'
8875         ;;
8876       # Lahey Fortran 8.1.
8877       lf95*)
8878         lt_prog_compiler_wl='-Wl,'
8879         lt_prog_compiler_pic='--shared'
8880         lt_prog_compiler_static='--static'
8881         ;;
8882       nagfor*)
8883         # NAG Fortran compiler
8884         lt_prog_compiler_wl='-Wl,-Wl,,'
8885         lt_prog_compiler_pic='-PIC'
8886         lt_prog_compiler_static='-Bstatic'
8887         ;;
8888       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8889         # Portland Group compilers (*not* the Pentium gcc compiler,
8890         # which looks to be a dead project)
8891         lt_prog_compiler_wl='-Wl,'
8892         lt_prog_compiler_pic='-fpic'
8893         lt_prog_compiler_static='-Bstatic'
8894         ;;
8895       ccc*)
8896         lt_prog_compiler_wl='-Wl,'
8897         # All Alpha code is PIC.
8898         lt_prog_compiler_static='-non_shared'
8899         ;;
8900       xl* | bgxl* | bgf* | mpixl*)
8901         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8902         lt_prog_compiler_wl='-Wl,'
8903         lt_prog_compiler_pic='-qpic'
8904         lt_prog_compiler_static='-qstaticlink'
8905         ;;
8906       *)
8907         case `$CC -V 2>&1 | sed 5q` in
8908         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8909           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8910           lt_prog_compiler_pic='-KPIC'
8911           lt_prog_compiler_static='-Bstatic'
8912           lt_prog_compiler_wl=''
8913           ;;
8914         *Sun\ F* | *Sun*Fortran*)
8915           lt_prog_compiler_pic='-KPIC'
8916           lt_prog_compiler_static='-Bstatic'
8917           lt_prog_compiler_wl='-Qoption ld '
8918           ;;
8919         *Sun\ C*)
8920           # Sun C 5.9
8921           lt_prog_compiler_pic='-KPIC'
8922           lt_prog_compiler_static='-Bstatic'
8923           lt_prog_compiler_wl='-Wl,'
8924           ;;
8925         *Intel*\ [CF]*Compiler*)
8926           lt_prog_compiler_wl='-Wl,'
8927           lt_prog_compiler_pic='-fPIC'
8928           lt_prog_compiler_static='-static'
8929           ;;
8930         *Portland\ Group*)
8931           lt_prog_compiler_wl='-Wl,'
8932           lt_prog_compiler_pic='-fpic'
8933           lt_prog_compiler_static='-Bstatic'
8934           ;;
8935         esac
8936         ;;
8937       esac
8938       ;;
8939
8940     newsos6)
8941       lt_prog_compiler_pic='-KPIC'
8942       lt_prog_compiler_static='-Bstatic'
8943       ;;
8944
8945     *nto* | *qnx*)
8946       # QNX uses GNU C++, but need to define -shared option too, otherwise
8947       # it will coredump.
8948       lt_prog_compiler_pic='-fPIC -shared'
8949       ;;
8950
8951     osf3* | osf4* | osf5*)
8952       lt_prog_compiler_wl='-Wl,'
8953       # All OSF/1 code is PIC.
8954       lt_prog_compiler_static='-non_shared'
8955       ;;
8956
8957     rdos*)
8958       lt_prog_compiler_static='-non_shared'
8959       ;;
8960
8961     solaris*)
8962       lt_prog_compiler_pic='-KPIC'
8963       lt_prog_compiler_static='-Bstatic'
8964       case $cc_basename in
8965       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8966         lt_prog_compiler_wl='-Qoption ld ';;
8967       *)
8968         lt_prog_compiler_wl='-Wl,';;
8969       esac
8970       ;;
8971
8972     sunos4*)
8973       lt_prog_compiler_wl='-Qoption ld '
8974       lt_prog_compiler_pic='-PIC'
8975       lt_prog_compiler_static='-Bstatic'
8976       ;;
8977
8978     sysv4 | sysv4.2uw2* | sysv4.3*)
8979       lt_prog_compiler_wl='-Wl,'
8980       lt_prog_compiler_pic='-KPIC'
8981       lt_prog_compiler_static='-Bstatic'
8982       ;;
8983
8984     sysv4*MP*)
8985       if test -d /usr/nec ;then
8986         lt_prog_compiler_pic='-Kconform_pic'
8987         lt_prog_compiler_static='-Bstatic'
8988       fi
8989       ;;
8990
8991     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8992       lt_prog_compiler_wl='-Wl,'
8993       lt_prog_compiler_pic='-KPIC'
8994       lt_prog_compiler_static='-Bstatic'
8995       ;;
8996
8997     unicos*)
8998       lt_prog_compiler_wl='-Wl,'
8999       lt_prog_compiler_can_build_shared=no
9000       ;;
9001
9002     uts4*)
9003       lt_prog_compiler_pic='-pic'
9004       lt_prog_compiler_static='-Bstatic'
9005       ;;
9006
9007     *)
9008       lt_prog_compiler_can_build_shared=no
9009       ;;
9010     esac
9011   fi
9012
9013 case $host_os in
9014   # For platforms which do not support PIC, -DPIC is meaningless:
9015   *djgpp*)
9016     lt_prog_compiler_pic=
9017     ;;
9018   *)
9019     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9020     ;;
9021 esac
9022
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9024 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9025 if ${lt_cv_prog_compiler_pic+:} false; then :
9026   $as_echo_n "(cached) " >&6
9027 else
9028   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9031 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9032 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9033
9034 #
9035 # Check to make sure the PIC flag actually works.
9036 #
9037 if test -n "$lt_prog_compiler_pic"; then
9038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9039 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9040 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9041   $as_echo_n "(cached) " >&6
9042 else
9043   lt_cv_prog_compiler_pic_works=no
9044    ac_outfile=conftest.$ac_objext
9045    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9046    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9047    # Insert the option either (1) after the last *FLAGS variable, or
9048    # (2) before a word containing "conftest.", or (3) at the end.
9049    # Note that $ac_compile itself does not contain backslashes and begins
9050    # with a dollar sign (not a hyphen), so the echo should work correctly.
9051    # The option is referenced via a variable to avoid confusing sed.
9052    lt_compile=`echo "$ac_compile" | $SED \
9053    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9054    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9055    -e 's:$: $lt_compiler_flag:'`
9056    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9057    (eval "$lt_compile" 2>conftest.err)
9058    ac_status=$?
9059    cat conftest.err >&5
9060    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061    if (exit $ac_status) && test -s "$ac_outfile"; then
9062      # The compiler can only warn and ignore the option if not recognized
9063      # So say no if there are warnings other than the usual output.
9064      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9065      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9066      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9067        lt_cv_prog_compiler_pic_works=yes
9068      fi
9069    fi
9070    $RM conftest*
9071
9072 fi
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9074 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9075
9076 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9077     case $lt_prog_compiler_pic in
9078      "" | " "*) ;;
9079      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9080      esac
9081 else
9082     lt_prog_compiler_pic=
9083      lt_prog_compiler_can_build_shared=no
9084 fi
9085
9086 fi
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098 #
9099 # Check to make sure the static flag actually works.
9100 #
9101 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9103 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9104 if ${lt_cv_prog_compiler_static_works+:} false; then :
9105   $as_echo_n "(cached) " >&6
9106 else
9107   lt_cv_prog_compiler_static_works=no
9108    save_LDFLAGS="$LDFLAGS"
9109    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9110    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9111    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9112      # The linker can only warn and ignore the option if not recognized
9113      # So say no if there are warnings
9114      if test -s conftest.err; then
9115        # Append any errors to the config.log.
9116        cat conftest.err 1>&5
9117        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9118        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9119        if diff conftest.exp conftest.er2 >/dev/null; then
9120          lt_cv_prog_compiler_static_works=yes
9121        fi
9122      else
9123        lt_cv_prog_compiler_static_works=yes
9124      fi
9125    fi
9126    $RM -r conftest*
9127    LDFLAGS="$save_LDFLAGS"
9128
9129 fi
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9131 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9132
9133 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9134     :
9135 else
9136     lt_prog_compiler_static=
9137 fi
9138
9139
9140
9141
9142
9143
9144
9145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9146 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9147 if ${lt_cv_prog_compiler_c_o+:} false; then :
9148   $as_echo_n "(cached) " >&6
9149 else
9150   lt_cv_prog_compiler_c_o=no
9151    $RM -r conftest 2>/dev/null
9152    mkdir conftest
9153    cd conftest
9154    mkdir out
9155    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9156
9157    lt_compiler_flag="-o out/conftest2.$ac_objext"
9158    # Insert the option either (1) after the last *FLAGS variable, or
9159    # (2) before a word containing "conftest.", or (3) at the end.
9160    # Note that $ac_compile itself does not contain backslashes and begins
9161    # with a dollar sign (not a hyphen), so the echo should work correctly.
9162    lt_compile=`echo "$ac_compile" | $SED \
9163    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9164    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9165    -e 's:$: $lt_compiler_flag:'`
9166    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9167    (eval "$lt_compile" 2>out/conftest.err)
9168    ac_status=$?
9169    cat out/conftest.err >&5
9170    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9172    then
9173      # The compiler can only warn and ignore the option if not recognized
9174      # So say no if there are warnings
9175      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9176      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9177      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9178        lt_cv_prog_compiler_c_o=yes
9179      fi
9180    fi
9181    chmod u+w . 2>&5
9182    $RM conftest*
9183    # SGI C++ compiler will create directory out/ii_files/ for
9184    # template instantiation
9185    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9186    $RM out/* && rmdir out
9187    cd ..
9188    $RM -r conftest
9189    $RM conftest*
9190
9191 fi
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9193 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9194
9195
9196
9197
9198
9199
9200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9202 if ${lt_cv_prog_compiler_c_o+:} false; then :
9203   $as_echo_n "(cached) " >&6
9204 else
9205   lt_cv_prog_compiler_c_o=no
9206    $RM -r conftest 2>/dev/null
9207    mkdir conftest
9208    cd conftest
9209    mkdir out
9210    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9211
9212    lt_compiler_flag="-o out/conftest2.$ac_objext"
9213    # Insert the option either (1) after the last *FLAGS variable, or
9214    # (2) before a word containing "conftest.", or (3) at the end.
9215    # Note that $ac_compile itself does not contain backslashes and begins
9216    # with a dollar sign (not a hyphen), so the echo should work correctly.
9217    lt_compile=`echo "$ac_compile" | $SED \
9218    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9219    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9220    -e 's:$: $lt_compiler_flag:'`
9221    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9222    (eval "$lt_compile" 2>out/conftest.err)
9223    ac_status=$?
9224    cat out/conftest.err >&5
9225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9227    then
9228      # The compiler can only warn and ignore the option if not recognized
9229      # So say no if there are warnings
9230      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9231      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9232      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9233        lt_cv_prog_compiler_c_o=yes
9234      fi
9235    fi
9236    chmod u+w . 2>&5
9237    $RM conftest*
9238    # SGI C++ compiler will create directory out/ii_files/ for
9239    # template instantiation
9240    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9241    $RM out/* && rmdir out
9242    cd ..
9243    $RM -r conftest
9244    $RM conftest*
9245
9246 fi
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9248 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9249
9250
9251
9252
9253 hard_links="nottested"
9254 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9255   # do not overwrite the value of need_locks provided by the user
9256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9257 $as_echo_n "checking if we can lock with hard links... " >&6; }
9258   hard_links=yes
9259   $RM conftest*
9260   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9261   touch conftest.a
9262   ln conftest.a conftest.b 2>&5 || hard_links=no
9263   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9265 $as_echo "$hard_links" >&6; }
9266   if test "$hard_links" = no; then
9267     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9268 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9269     need_locks=warn
9270   fi
9271 else
9272   need_locks=no
9273 fi
9274
9275
9276
9277
9278
9279
9280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9281 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9282
9283   runpath_var=
9284   allow_undefined_flag=
9285   always_export_symbols=no
9286   archive_cmds=
9287   archive_expsym_cmds=
9288   compiler_needs_object=no
9289   enable_shared_with_static_runtimes=no
9290   export_dynamic_flag_spec=
9291   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9292   hardcode_automatic=no
9293   hardcode_direct=no
9294   hardcode_direct_absolute=no
9295   hardcode_libdir_flag_spec=
9296   hardcode_libdir_separator=
9297   hardcode_minus_L=no
9298   hardcode_shlibpath_var=unsupported
9299   inherit_rpath=no
9300   link_all_deplibs=unknown
9301   module_cmds=
9302   module_expsym_cmds=
9303   old_archive_from_new_cmds=
9304   old_archive_from_expsyms_cmds=
9305   thread_safe_flag_spec=
9306   whole_archive_flag_spec=
9307   # include_expsyms should be a list of space-separated symbols to be *always*
9308   # included in the symbol list
9309   include_expsyms=
9310   # exclude_expsyms can be an extended regexp of symbols to exclude
9311   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9312   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9313   # as well as any symbol that contains `d'.
9314   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9315   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9316   # platforms (ab)use it in PIC code, but their linkers get confused if
9317   # the symbol is explicitly referenced.  Since portable code cannot
9318   # rely on this symbol name, it's probably fine to never include it in
9319   # preloaded symbol tables.
9320   # Exclude shared library initialization/finalization symbols.
9321   extract_expsyms_cmds=
9322
9323   case $host_os in
9324   cygwin* | mingw* | pw32* | cegcc*)
9325     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9326     # When not using gcc, we currently assume that we are using
9327     # Microsoft Visual C++.
9328     if test "$GCC" != yes; then
9329       with_gnu_ld=no
9330     fi
9331     ;;
9332   interix*)
9333     # we just hope/assume this is gcc and not c89 (= MSVC++)
9334     with_gnu_ld=yes
9335     ;;
9336   openbsd*)
9337     with_gnu_ld=no
9338     ;;
9339   esac
9340
9341   ld_shlibs=yes
9342
9343   # On some targets, GNU ld is compatible enough with the native linker
9344   # that we're better off using the native interface for both.
9345   lt_use_gnu_ld_interface=no
9346   if test "$with_gnu_ld" = yes; then
9347     case $host_os in
9348       aix*)
9349         # The AIX port of GNU ld has always aspired to compatibility
9350         # with the native linker.  However, as the warning in the GNU ld
9351         # block says, versions before 2.19.5* couldn't really create working
9352         # shared libraries, regardless of the interface used.
9353         case `$LD -v 2>&1` in
9354           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9355           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9356           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9357           *)
9358             lt_use_gnu_ld_interface=yes
9359             ;;
9360         esac
9361         ;;
9362       *)
9363         lt_use_gnu_ld_interface=yes
9364         ;;
9365     esac
9366   fi
9367
9368   if test "$lt_use_gnu_ld_interface" = yes; then
9369     # If archive_cmds runs LD, not CC, wlarc should be empty
9370     wlarc='${wl}'
9371
9372     # Set some defaults for GNU ld with shared library support. These
9373     # are reset later if shared libraries are not supported. Putting them
9374     # here allows them to be overridden if necessary.
9375     runpath_var=LD_RUN_PATH
9376     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9377     export_dynamic_flag_spec='${wl}--export-dynamic'
9378     # ancient GNU ld didn't support --whole-archive et. al.
9379     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9380       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9381     else
9382       whole_archive_flag_spec=
9383     fi
9384     supports_anon_versioning=no
9385     case `$LD -v 2>&1` in
9386       *GNU\ gold*) supports_anon_versioning=yes ;;
9387       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9388       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9389       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9390       *\ 2.11.*) ;; # other 2.11 versions
9391       *) supports_anon_versioning=yes ;;
9392     esac
9393
9394     # See if GNU ld supports shared libraries.
9395     case $host_os in
9396     aix[3-9]*)
9397       # On AIX/PPC, the GNU linker is very broken
9398       if test "$host_cpu" != ia64; then
9399         ld_shlibs=no
9400         cat <<_LT_EOF 1>&2
9401
9402 *** Warning: the GNU linker, at least up to release 2.19, is reported
9403 *** to be unable to reliably create shared libraries on AIX.
9404 *** Therefore, libtool is disabling shared libraries support.  If you
9405 *** really care for shared libraries, you may want to install binutils
9406 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9407 *** You will then need to restart the configuration process.
9408
9409 _LT_EOF
9410       fi
9411       ;;
9412
9413     amigaos*)
9414       case $host_cpu in
9415       powerpc)
9416             # see comment about AmigaOS4 .so support
9417             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418             archive_expsym_cmds=''
9419         ;;
9420       m68k)
9421             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)'
9422             hardcode_libdir_flag_spec='-L$libdir'
9423             hardcode_minus_L=yes
9424         ;;
9425       esac
9426       ;;
9427
9428     beos*)
9429       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430         allow_undefined_flag=unsupported
9431         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9432         # support --undefined.  This deserves some investigation.  FIXME
9433         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434       else
9435         ld_shlibs=no
9436       fi
9437       ;;
9438
9439     cygwin* | mingw* | pw32* | cegcc*)
9440       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9441       # as there is no search path for DLLs.
9442       hardcode_libdir_flag_spec='-L$libdir'
9443       export_dynamic_flag_spec='${wl}--export-all-symbols'
9444       allow_undefined_flag=unsupported
9445       always_export_symbols=no
9446       enable_shared_with_static_runtimes=yes
9447       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'
9448       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9449
9450       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9451         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9452         # If the export-symbols file already is a .def file (1st line
9453         # is EXPORTS), use it as is; otherwise, prepend...
9454         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9455           cp $export_symbols $output_objdir/$soname.def;
9456         else
9457           echo EXPORTS > $output_objdir/$soname.def;
9458           cat $export_symbols >> $output_objdir/$soname.def;
9459         fi~
9460         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9461       else
9462         ld_shlibs=no
9463       fi
9464       ;;
9465
9466     haiku*)
9467       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9468       link_all_deplibs=yes
9469       ;;
9470
9471     interix[3-9]*)
9472       hardcode_direct=no
9473       hardcode_shlibpath_var=no
9474       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9475       export_dynamic_flag_spec='${wl}-E'
9476       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9477       # Instead, shared libraries are loaded at an image base (0x10000000 by
9478       # default) and relocated if they conflict, which is a slow very memory
9479       # consuming and fragmenting process.  To avoid this, we pick a random,
9480       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9481       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9482       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9483       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'
9484       ;;
9485
9486     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9487       tmp_diet=no
9488       if test "$host_os" = linux-dietlibc; then
9489         case $cc_basename in
9490           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9491         esac
9492       fi
9493       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9494          && test "$tmp_diet" = no
9495       then
9496         tmp_addflag=' $pic_flag'
9497         tmp_sharedflag='-shared'
9498         case $cc_basename,$host_cpu in
9499         pgcc*)                          # Portland Group C compiler
9500           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'
9501           tmp_addflag=' $pic_flag'
9502           ;;
9503         pgf77* | pgf90* | pgf95* | pgfortran*)
9504                                         # Portland Group f77 and f90 compilers
9505           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'
9506           tmp_addflag=' $pic_flag -Mnomain' ;;
9507         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9508           tmp_addflag=' -i_dynamic' ;;
9509         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9510           tmp_addflag=' -i_dynamic -nofor_main' ;;
9511         ifc* | ifort*)                  # Intel Fortran compiler
9512           tmp_addflag=' -nofor_main' ;;
9513         lf95*)                          # Lahey Fortran 8.1
9514           whole_archive_flag_spec=
9515           tmp_sharedflag='--shared' ;;
9516         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9517           tmp_sharedflag='-qmkshrobj'
9518           tmp_addflag= ;;
9519         nvcc*)  # Cuda Compiler Driver 2.2
9520           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'
9521           compiler_needs_object=yes
9522           ;;
9523         esac
9524         case `$CC -V 2>&1 | sed 5q` in
9525         *Sun\ C*)                       # Sun C 5.9
9526           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'
9527           compiler_needs_object=yes
9528           tmp_sharedflag='-G' ;;
9529         *Sun\ F*)                       # Sun Fortran 8.3
9530           tmp_sharedflag='-G' ;;
9531         esac
9532         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533
9534         if test "x$supports_anon_versioning" = xyes; then
9535           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9536             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9537             echo "local: *; };" >> $output_objdir/$libname.ver~
9538             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9539         fi
9540
9541         case $cc_basename in
9542         xlf* | bgf* | bgxlf* | mpixlf*)
9543           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9544           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9545           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9546           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9547           if test "x$supports_anon_versioning" = xyes; then
9548             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9549               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9550               echo "local: *; };" >> $output_objdir/$libname.ver~
9551               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9552           fi
9553           ;;
9554         esac
9555       else
9556         ld_shlibs=no
9557       fi
9558       ;;
9559
9560     netbsd*)
9561       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9562         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9563         wlarc=
9564       else
9565         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9566         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9567       fi
9568       ;;
9569
9570     solaris*)
9571       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9572         ld_shlibs=no
9573         cat <<_LT_EOF 1>&2
9574
9575 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9576 *** create shared libraries on Solaris systems.  Therefore, libtool
9577 *** is disabling shared libraries support.  We urge you to upgrade GNU
9578 *** binutils to release 2.9.1 or newer.  Another option is to modify
9579 *** your PATH or compiler configuration so that the native linker is
9580 *** used, and then restart.
9581
9582 _LT_EOF
9583       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9584         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9585         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9586       else
9587         ld_shlibs=no
9588       fi
9589       ;;
9590
9591     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9592       case `$LD -v 2>&1` in
9593         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9594         ld_shlibs=no
9595         cat <<_LT_EOF 1>&2
9596
9597 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9598 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9599 *** is disabling shared libraries support.  We urge you to upgrade GNU
9600 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9601 *** your PATH or compiler configuration so that the native linker is
9602 *** used, and then restart.
9603
9604 _LT_EOF
9605         ;;
9606         *)
9607           # For security reasons, it is highly recommended that you always
9608           # use absolute paths for naming shared libraries, and exclude the
9609           # DT_RUNPATH tag from executables and libraries.  But doing so
9610           # requires that you compile everything twice, which is a pain.
9611           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9613             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9614             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9615           else
9616             ld_shlibs=no
9617           fi
9618         ;;
9619       esac
9620       ;;
9621
9622     sunos4*)
9623       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9624       wlarc=
9625       hardcode_direct=yes
9626       hardcode_shlibpath_var=no
9627       ;;
9628
9629     *)
9630       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9631         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9632         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9633       else
9634         ld_shlibs=no
9635       fi
9636       ;;
9637     esac
9638
9639     if test "$ld_shlibs" = no; then
9640       runpath_var=
9641       hardcode_libdir_flag_spec=
9642       export_dynamic_flag_spec=
9643       whole_archive_flag_spec=
9644     fi
9645   else
9646     # PORTME fill in a description of your system's linker (not GNU ld)
9647     case $host_os in
9648     aix3*)
9649       allow_undefined_flag=unsupported
9650       always_export_symbols=yes
9651       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'
9652       # Note: this linker hardcodes the directories in LIBPATH if there
9653       # are no directories specified by -L.
9654       hardcode_minus_L=yes
9655       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9656         # Neither direct hardcoding nor static linking is supported with a
9657         # broken collect2.
9658         hardcode_direct=unsupported
9659       fi
9660       ;;
9661
9662     aix[4-9]*)
9663       if test "$host_cpu" = ia64; then
9664         # On IA64, the linker does run time linking by default, so we don't
9665         # have to do anything special.
9666         aix_use_runtimelinking=no
9667         exp_sym_flag='-Bexport'
9668         no_entry_flag=""
9669       else
9670         # If we're using GNU nm, then we don't want the "-C" option.
9671         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9672         # Also, AIX nm treats weak defined symbols like other global
9673         # defined symbols, whereas GNU nm marks them as "W".
9674         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9675           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'
9676         else
9677           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'
9678         fi
9679         aix_use_runtimelinking=no
9680
9681         # Test if we are trying to use run time linking or normal
9682         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9683         # need to do runtime linking.
9684         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9685           for ld_flag in $LDFLAGS; do
9686           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9687             aix_use_runtimelinking=yes
9688             break
9689           fi
9690           done
9691           ;;
9692         esac
9693
9694         exp_sym_flag='-bexport'
9695         no_entry_flag='-bnoentry'
9696       fi
9697
9698       # When large executables or shared objects are built, AIX ld can
9699       # have problems creating the table of contents.  If linking a library
9700       # or program results in "error TOC overflow" add -mminimal-toc to
9701       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9702       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9703
9704       archive_cmds=''
9705       hardcode_direct=yes
9706       hardcode_direct_absolute=yes
9707       hardcode_libdir_separator=':'
9708       link_all_deplibs=yes
9709       file_list_spec='${wl}-f,'
9710
9711       if test "$GCC" = yes; then
9712         case $host_os in aix4.[012]|aix4.[012].*)
9713         # We only want to do this on AIX 4.2 and lower, the check
9714         # below for broken collect2 doesn't work under 4.3+
9715           collect2name=`${CC} -print-prog-name=collect2`
9716           if test -f "$collect2name" &&
9717            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9718           then
9719           # We have reworked collect2
9720           :
9721           else
9722           # We have old collect2
9723           hardcode_direct=unsupported
9724           # It fails to find uninstalled libraries when the uninstalled
9725           # path is not listed in the libpath.  Setting hardcode_minus_L
9726           # to unsupported forces relinking
9727           hardcode_minus_L=yes
9728           hardcode_libdir_flag_spec='-L$libdir'
9729           hardcode_libdir_separator=
9730           fi
9731           ;;
9732         esac
9733         shared_flag='-shared'
9734         if test "$aix_use_runtimelinking" = yes; then
9735           shared_flag="$shared_flag "'${wl}-G'
9736         fi
9737       else
9738         # not using gcc
9739         if test "$host_cpu" = ia64; then
9740         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9741         # chokes on -Wl,-G. The following line is correct:
9742           shared_flag='-G'
9743         else
9744           if test "$aix_use_runtimelinking" = yes; then
9745             shared_flag='${wl}-G'
9746           else
9747             shared_flag='${wl}-bM:SRE'
9748           fi
9749         fi
9750       fi
9751
9752       export_dynamic_flag_spec='${wl}-bexpall'
9753       # It seems that -bexpall does not export symbols beginning with
9754       # underscore (_), so it is better to generate a list of symbols to export.
9755       always_export_symbols=yes
9756       if test "$aix_use_runtimelinking" = yes; then
9757         # Warning - without using the other runtime loading flags (-brtl),
9758         # -berok will link without error, but may produce a broken library.
9759         allow_undefined_flag='-berok'
9760         # Determine the default libpath from the value encoded in an
9761         # empty executable.
9762         if test "${lt_cv_aix_libpath+set}" = set; then
9763   aix_libpath=$lt_cv_aix_libpath
9764 else
9765   if ${lt_cv_aix_libpath_+:} false; then :
9766   $as_echo_n "(cached) " >&6
9767 else
9768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h.  */
9770
9771 int
9772 main ()
9773 {
9774
9775   ;
9776   return 0;
9777 }
9778 _ACEOF
9779 if ac_fn_c_try_link "$LINENO"; then :
9780
9781   lt_aix_libpath_sed='
9782       /Import File Strings/,/^$/ {
9783           /^0/ {
9784               s/^0  *\([^ ]*\) *$/\1/
9785               p
9786           }
9787       }'
9788   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9789   # Check for a 64-bit object if we didn't find anything.
9790   if test -z "$lt_cv_aix_libpath_"; then
9791     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9792   fi
9793 fi
9794 rm -f core conftest.err conftest.$ac_objext \
9795     conftest$ac_exeext conftest.$ac_ext
9796   if test -z "$lt_cv_aix_libpath_"; then
9797     lt_cv_aix_libpath_="/usr/lib:/lib"
9798   fi
9799
9800 fi
9801
9802   aix_libpath=$lt_cv_aix_libpath_
9803 fi
9804
9805         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9806         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"
9807       else
9808         if test "$host_cpu" = ia64; then
9809           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9810           allow_undefined_flag="-z nodefs"
9811           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"
9812         else
9813          # Determine the default libpath from the value encoded in an
9814          # empty executable.
9815          if test "${lt_cv_aix_libpath+set}" = set; then
9816   aix_libpath=$lt_cv_aix_libpath
9817 else
9818   if ${lt_cv_aix_libpath_+:} false; then :
9819   $as_echo_n "(cached) " >&6
9820 else
9821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h.  */
9823
9824 int
9825 main ()
9826 {
9827
9828   ;
9829   return 0;
9830 }
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833
9834   lt_aix_libpath_sed='
9835       /Import File Strings/,/^$/ {
9836           /^0/ {
9837               s/^0  *\([^ ]*\) *$/\1/
9838               p
9839           }
9840       }'
9841   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9842   # Check for a 64-bit object if we didn't find anything.
9843   if test -z "$lt_cv_aix_libpath_"; then
9844     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9845   fi
9846 fi
9847 rm -f core conftest.err conftest.$ac_objext \
9848     conftest$ac_exeext conftest.$ac_ext
9849   if test -z "$lt_cv_aix_libpath_"; then
9850     lt_cv_aix_libpath_="/usr/lib:/lib"
9851   fi
9852
9853 fi
9854
9855   aix_libpath=$lt_cv_aix_libpath_
9856 fi
9857
9858          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9859           # Warning - without using the other run time loading flags,
9860           # -berok will link without error, but may produce a broken library.
9861           no_undefined_flag=' ${wl}-bernotok'
9862           allow_undefined_flag=' ${wl}-berok'
9863           if test "$with_gnu_ld" = yes; then
9864             # We only use this code for GNU lds that support --whole-archive.
9865             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9866           else
9867             # Exported symbols can be pulled into shared objects from archives
9868             whole_archive_flag_spec='$convenience'
9869           fi
9870           archive_cmds_need_lc=yes
9871           # This is similar to how AIX traditionally builds its shared libraries.
9872           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'
9873         fi
9874       fi
9875       ;;
9876
9877     amigaos*)
9878       case $host_cpu in
9879       powerpc)
9880             # see comment about AmigaOS4 .so support
9881             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9882             archive_expsym_cmds=''
9883         ;;
9884       m68k)
9885             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)'
9886             hardcode_libdir_flag_spec='-L$libdir'
9887             hardcode_minus_L=yes
9888         ;;
9889       esac
9890       ;;
9891
9892     bsdi[45]*)
9893       export_dynamic_flag_spec=-rdynamic
9894       ;;
9895
9896     cygwin* | mingw* | pw32* | cegcc*)
9897       # When not using gcc, we currently assume that we are using
9898       # Microsoft Visual C++.
9899       # hardcode_libdir_flag_spec is actually meaningless, as there is
9900       # no search path for DLLs.
9901       case $cc_basename in
9902       cl*)
9903         # Native MSVC
9904         hardcode_libdir_flag_spec=' '
9905         allow_undefined_flag=unsupported
9906         always_export_symbols=yes
9907         file_list_spec='@'
9908         # Tell ltmain to make .lib files, not .a files.
9909         libext=lib
9910         # Tell ltmain to make .dll files, not .so files.
9911         shrext_cmds=".dll"
9912         # FIXME: Setting linknames here is a bad hack.
9913         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9914         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9915             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9916           else
9917             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9918           fi~
9919           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9920           linknames='
9921         # The linker will not automatically build a static lib if we build a DLL.
9922         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9923         enable_shared_with_static_runtimes=yes
9924         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9925         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9926         # Don't use ranlib
9927         old_postinstall_cmds='chmod 644 $oldlib'
9928         postlink_cmds='lt_outputfile="@OUTPUT@"~
9929           lt_tool_outputfile="@TOOL_OUTPUT@"~
9930           case $lt_outputfile in
9931             *.exe|*.EXE) ;;
9932             *)
9933               lt_outputfile="$lt_outputfile.exe"
9934               lt_tool_outputfile="$lt_tool_outputfile.exe"
9935               ;;
9936           esac~
9937           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9938             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9939             $RM "$lt_outputfile.manifest";
9940           fi'
9941         ;;
9942       *)
9943         # Assume MSVC wrapper
9944         hardcode_libdir_flag_spec=' '
9945         allow_undefined_flag=unsupported
9946         # Tell ltmain to make .lib files, not .a files.
9947         libext=lib
9948         # Tell ltmain to make .dll files, not .so files.
9949         shrext_cmds=".dll"
9950         # FIXME: Setting linknames here is a bad hack.
9951         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9952         # The linker will automatically build a .lib file if we build a DLL.
9953         old_archive_from_new_cmds='true'
9954         # FIXME: Should let the user specify the lib program.
9955         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9956         enable_shared_with_static_runtimes=yes
9957         ;;
9958       esac
9959       ;;
9960
9961     darwin* | rhapsody*)
9962
9963
9964   archive_cmds_need_lc=no
9965   hardcode_direct=no
9966   hardcode_automatic=yes
9967   hardcode_shlibpath_var=unsupported
9968   if test "$lt_cv_ld_force_load" = "yes"; then
9969     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\"`'
9970
9971   else
9972     whole_archive_flag_spec=''
9973   fi
9974   link_all_deplibs=yes
9975   allow_undefined_flag="$_lt_dar_allow_undefined"
9976   case $cc_basename in
9977      ifort*) _lt_dar_can_shared=yes ;;
9978      *) _lt_dar_can_shared=$GCC ;;
9979   esac
9980   if test "$_lt_dar_can_shared" = "yes"; then
9981     output_verbose_link_cmd=func_echo_all
9982     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9983     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9984     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}"
9985     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}"
9986
9987   else
9988   ld_shlibs=no
9989   fi
9990
9991       ;;
9992
9993     dgux*)
9994       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9995       hardcode_libdir_flag_spec='-L$libdir'
9996       hardcode_shlibpath_var=no
9997       ;;
9998
9999     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10000     # support.  Future versions do this automatically, but an explicit c++rt0.o
10001     # does not break anything, and helps significantly (at the cost of a little
10002     # extra space).
10003     freebsd2.2*)
10004       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10005       hardcode_libdir_flag_spec='-R$libdir'
10006       hardcode_direct=yes
10007       hardcode_shlibpath_var=no
10008       ;;
10009
10010     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10011     freebsd2.*)
10012       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10013       hardcode_direct=yes
10014       hardcode_minus_L=yes
10015       hardcode_shlibpath_var=no
10016       ;;
10017
10018     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10019     freebsd* | dragonfly*)
10020       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021       hardcode_libdir_flag_spec='-R$libdir'
10022       hardcode_direct=yes
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     hpux9*)
10027       if test "$GCC" = yes; then
10028         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'
10029       else
10030         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'
10031       fi
10032       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10033       hardcode_libdir_separator=:
10034       hardcode_direct=yes
10035
10036       # hardcode_minus_L: Not really in the search PATH,
10037       # but as the default location of the library.
10038       hardcode_minus_L=yes
10039       export_dynamic_flag_spec='${wl}-E'
10040       ;;
10041
10042     hpux10*)
10043       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10044         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10045       else
10046         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10047       fi
10048       if test "$with_gnu_ld" = no; then
10049         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10050         hardcode_libdir_separator=:
10051         hardcode_direct=yes
10052         hardcode_direct_absolute=yes
10053         export_dynamic_flag_spec='${wl}-E'
10054         # hardcode_minus_L: Not really in the search PATH,
10055         # but as the default location of the library.
10056         hardcode_minus_L=yes
10057       fi
10058       ;;
10059
10060     hpux11*)
10061       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10062         case $host_cpu in
10063         hppa*64*)
10064           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10065           ;;
10066         ia64*)
10067           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10068           ;;
10069         *)
10070           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10071           ;;
10072         esac
10073       else
10074         case $host_cpu in
10075         hppa*64*)
10076           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10077           ;;
10078         ia64*)
10079           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10080           ;;
10081         *)
10082
10083           # Older versions of the 11.00 compiler do not understand -b yet
10084           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10085           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10086 $as_echo_n "checking if $CC understands -b... " >&6; }
10087 if ${lt_cv_prog_compiler__b+:} false; then :
10088   $as_echo_n "(cached) " >&6
10089 else
10090   lt_cv_prog_compiler__b=no
10091    save_LDFLAGS="$LDFLAGS"
10092    LDFLAGS="$LDFLAGS -b"
10093    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10094    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10095      # The linker can only warn and ignore the option if not recognized
10096      # So say no if there are warnings
10097      if test -s conftest.err; then
10098        # Append any errors to the config.log.
10099        cat conftest.err 1>&5
10100        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10101        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10102        if diff conftest.exp conftest.er2 >/dev/null; then
10103          lt_cv_prog_compiler__b=yes
10104        fi
10105      else
10106        lt_cv_prog_compiler__b=yes
10107      fi
10108    fi
10109    $RM -r conftest*
10110    LDFLAGS="$save_LDFLAGS"
10111
10112 fi
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10114 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10115
10116 if test x"$lt_cv_prog_compiler__b" = xyes; then
10117     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10120 fi
10121
10122           ;;
10123         esac
10124       fi
10125       if test "$with_gnu_ld" = no; then
10126         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10127         hardcode_libdir_separator=:
10128
10129         case $host_cpu in
10130         hppa*64*|ia64*)
10131           hardcode_direct=no
10132           hardcode_shlibpath_var=no
10133           ;;
10134         *)
10135           hardcode_direct=yes
10136           hardcode_direct_absolute=yes
10137           export_dynamic_flag_spec='${wl}-E'
10138
10139           # hardcode_minus_L: Not really in the search PATH,
10140           # but as the default location of the library.
10141           hardcode_minus_L=yes
10142           ;;
10143         esac
10144       fi
10145       ;;
10146
10147     irix5* | irix6* | nonstopux*)
10148       if test "$GCC" = yes; then
10149         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'
10150         # Try to use the -exported_symbol ld option, if it does not
10151         # work, assume that -exports_file does not work either and
10152         # implicitly export all symbols.
10153         # This should be the same for all languages, so no per-tag cache variable.
10154         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10155 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10156 if ${lt_cv_irix_exported_symbol+:} false; then :
10157   $as_echo_n "(cached) " >&6
10158 else
10159   save_LDFLAGS="$LDFLAGS"
10160            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10161            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h.  */
10163 int foo (void) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166   lt_cv_irix_exported_symbol=yes
10167 else
10168   lt_cv_irix_exported_symbol=no
10169 fi
10170 rm -f core conftest.err conftest.$ac_objext \
10171     conftest$ac_exeext conftest.$ac_ext
10172            LDFLAGS="$save_LDFLAGS"
10173 fi
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10175 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10176         if test "$lt_cv_irix_exported_symbol" = yes; then
10177           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'
10178         fi
10179       else
10180         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'
10181         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'
10182       fi
10183       archive_cmds_need_lc='no'
10184       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10185       hardcode_libdir_separator=:
10186       inherit_rpath=yes
10187       link_all_deplibs=yes
10188       ;;
10189
10190     netbsd*)
10191       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10192         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10193       else
10194         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10195       fi
10196       hardcode_libdir_flag_spec='-R$libdir'
10197       hardcode_direct=yes
10198       hardcode_shlibpath_var=no
10199       ;;
10200
10201     newsos6)
10202       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10203       hardcode_direct=yes
10204       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10205       hardcode_libdir_separator=:
10206       hardcode_shlibpath_var=no
10207       ;;
10208
10209     *nto* | *qnx*)
10210       ;;
10211
10212     openbsd*)
10213       if test -f /usr/libexec/ld.so; then
10214         hardcode_direct=yes
10215         hardcode_shlibpath_var=no
10216         hardcode_direct_absolute=yes
10217         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10218           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10219           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10220           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10221           export_dynamic_flag_spec='${wl}-E'
10222         else
10223           case $host_os in
10224            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10225              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10226              hardcode_libdir_flag_spec='-R$libdir'
10227              ;;
10228            *)
10229              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10230              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10231              ;;
10232           esac
10233         fi
10234       else
10235         ld_shlibs=no
10236       fi
10237       ;;
10238
10239     os2*)
10240       hardcode_libdir_flag_spec='-L$libdir'
10241       hardcode_minus_L=yes
10242       allow_undefined_flag=unsupported
10243       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'
10244       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10245       ;;
10246
10247     osf3*)
10248       if test "$GCC" = yes; then
10249         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10250         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'
10251       else
10252         allow_undefined_flag=' -expect_unresolved \*'
10253         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'
10254       fi
10255       archive_cmds_need_lc='no'
10256       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10257       hardcode_libdir_separator=:
10258       ;;
10259
10260     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10261       if test "$GCC" = yes; then
10262         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10263         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'
10264         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10265       else
10266         allow_undefined_flag=' -expect_unresolved \*'
10267         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'
10268         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~
10269         $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'
10270
10271         # Both c and cxx compiler support -rpath directly
10272         hardcode_libdir_flag_spec='-rpath $libdir'
10273       fi
10274       archive_cmds_need_lc='no'
10275       hardcode_libdir_separator=:
10276       ;;
10277
10278     solaris*)
10279       no_undefined_flag=' -z defs'
10280       if test "$GCC" = yes; then
10281         wlarc='${wl}'
10282         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10283         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10284           $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'
10285       else
10286         case `$CC -V 2>&1` in
10287         *"Compilers 5.0"*)
10288           wlarc=''
10289           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10291           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10292           ;;
10293         *)
10294           wlarc='${wl}'
10295           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10296           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10297           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10298           ;;
10299         esac
10300       fi
10301       hardcode_libdir_flag_spec='-R$libdir'
10302       hardcode_shlibpath_var=no
10303       case $host_os in
10304       solaris2.[0-5] | solaris2.[0-5].*) ;;
10305       *)
10306         # The compiler driver will combine and reorder linker options,
10307         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10308         # but is careful enough not to reorder.
10309         # Supported since Solaris 2.6 (maybe 2.5.1?)
10310         if test "$GCC" = yes; then
10311           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10312         else
10313           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10314         fi
10315         ;;
10316       esac
10317       link_all_deplibs=yes
10318       ;;
10319
10320     sunos4*)
10321       if test "x$host_vendor" = xsequent; then
10322         # Use $CC to link under sequent, because it throws in some extra .o
10323         # files that make .init and .fini sections work.
10324         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10325       else
10326         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10327       fi
10328       hardcode_libdir_flag_spec='-L$libdir'
10329       hardcode_direct=yes
10330       hardcode_minus_L=yes
10331       hardcode_shlibpath_var=no
10332       ;;
10333
10334     sysv4)
10335       case $host_vendor in
10336         sni)
10337           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10338           hardcode_direct=yes # is this really true???
10339         ;;
10340         siemens)
10341           ## LD is ld it makes a PLAMLIB
10342           ## CC just makes a GrossModule.
10343           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10344           reload_cmds='$CC -r -o $output$reload_objs'
10345           hardcode_direct=no
10346         ;;
10347         motorola)
10348           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10349           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10350         ;;
10351       esac
10352       runpath_var='LD_RUN_PATH'
10353       hardcode_shlibpath_var=no
10354       ;;
10355
10356     sysv4.3*)
10357       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10358       hardcode_shlibpath_var=no
10359       export_dynamic_flag_spec='-Bexport'
10360       ;;
10361
10362     sysv4*MP*)
10363       if test -d /usr/nec; then
10364         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365         hardcode_shlibpath_var=no
10366         runpath_var=LD_RUN_PATH
10367         hardcode_runpath_var=yes
10368         ld_shlibs=yes
10369       fi
10370       ;;
10371
10372     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10373       no_undefined_flag='${wl}-z,text'
10374       archive_cmds_need_lc=no
10375       hardcode_shlibpath_var=no
10376       runpath_var='LD_RUN_PATH'
10377
10378       if test "$GCC" = yes; then
10379         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10380         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10381       else
10382         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10383         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384       fi
10385       ;;
10386
10387     sysv5* | sco3.2v5* | sco5v6*)
10388       # Note: We can NOT use -z defs as we might desire, because we do not
10389       # link with -lc, and that would cause any symbols used from libc to
10390       # always be unresolved, which means just about no library would
10391       # ever link correctly.  If we're not using GNU ld we use -z text
10392       # though, which does catch some bad symbols but isn't as heavy-handed
10393       # as -z defs.
10394       no_undefined_flag='${wl}-z,text'
10395       allow_undefined_flag='${wl}-z,nodefs'
10396       archive_cmds_need_lc=no
10397       hardcode_shlibpath_var=no
10398       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10399       hardcode_libdir_separator=':'
10400       link_all_deplibs=yes
10401       export_dynamic_flag_spec='${wl}-Bexport'
10402       runpath_var='LD_RUN_PATH'
10403
10404       if test "$GCC" = yes; then
10405         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10407       else
10408         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10409         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10410       fi
10411       ;;
10412
10413     uts4*)
10414       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10415       hardcode_libdir_flag_spec='-L$libdir'
10416       hardcode_shlibpath_var=no
10417       ;;
10418
10419     *)
10420       ld_shlibs=no
10421       ;;
10422     esac
10423
10424     if test x$host_vendor = xsni; then
10425       case $host in
10426       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10427         export_dynamic_flag_spec='${wl}-Blargedynsym'
10428         ;;
10429       esac
10430     fi
10431   fi
10432
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10434 $as_echo "$ld_shlibs" >&6; }
10435 test "$ld_shlibs" = no && can_build_shared=no
10436
10437 with_gnu_ld=$with_gnu_ld
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453 #
10454 # Do we need to explicitly link libc?
10455 #
10456 case "x$archive_cmds_need_lc" in
10457 x|xyes)
10458   # Assume -lc should be added
10459   archive_cmds_need_lc=yes
10460
10461   if test "$enable_shared" = yes && test "$GCC" = yes; then
10462     case $archive_cmds in
10463     *'~'*)
10464       # FIXME: we may have to deal with multi-command sequences.
10465       ;;
10466     '$CC '*)
10467       # Test whether the compiler implicitly links with -lc since on some
10468       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10469       # to ld, don't add -lc before -lgcc.
10470       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10471 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10472 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10473   $as_echo_n "(cached) " >&6
10474 else
10475   $RM conftest*
10476         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10477
10478         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10479   (eval $ac_compile) 2>&5
10480   ac_status=$?
10481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10482   test $ac_status = 0; } 2>conftest.err; then
10483           soname=conftest
10484           lib=conftest
10485           libobjs=conftest.$ac_objext
10486           deplibs=
10487           wl=$lt_prog_compiler_wl
10488           pic_flag=$lt_prog_compiler_pic
10489           compiler_flags=-v
10490           linker_flags=-v
10491           verstring=
10492           output_objdir=.
10493           libname=conftest
10494           lt_save_allow_undefined_flag=$allow_undefined_flag
10495           allow_undefined_flag=
10496           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10497   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10498   ac_status=$?
10499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10500   test $ac_status = 0; }
10501           then
10502             lt_cv_archive_cmds_need_lc=no
10503           else
10504             lt_cv_archive_cmds_need_lc=yes
10505           fi
10506           allow_undefined_flag=$lt_save_allow_undefined_flag
10507         else
10508           cat conftest.err 1>&5
10509         fi
10510         $RM conftest*
10511
10512 fi
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10514 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10515       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10516       ;;
10517     esac
10518   fi
10519   ;;
10520 esac
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10674 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10675
10676 if test "$GCC" = yes; then
10677   case $host_os in
10678     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10679     *) lt_awk_arg="/^libraries:/" ;;
10680   esac
10681   case $host_os in
10682     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10683     *) lt_sed_strip_eq="s,=/,/,g" ;;
10684   esac
10685   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10686   case $lt_search_path_spec in
10687   *\;*)
10688     # if the path contains ";" then we assume it to be the separator
10689     # otherwise default to the standard path separator (i.e. ":") - it is
10690     # assumed that no part of a normal pathname contains ";" but that should
10691     # okay in the real world where ";" in dirpaths is itself problematic.
10692     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10693     ;;
10694   *)
10695     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10696     ;;
10697   esac
10698   # Ok, now we have the path, separated by spaces, we can step through it
10699   # and add multilib dir if necessary.
10700   lt_tmp_lt_search_path_spec=
10701   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10702   for lt_sys_path in $lt_search_path_spec; do
10703     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10704       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10705     else
10706       test -d "$lt_sys_path" && \
10707         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10708     fi
10709   done
10710   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10711 BEGIN {RS=" "; FS="/|\n";} {
10712   lt_foo="";
10713   lt_count=0;
10714   for (lt_i = NF; lt_i > 0; lt_i--) {
10715     if ($lt_i != "" && $lt_i != ".") {
10716       if ($lt_i == "..") {
10717         lt_count++;
10718       } else {
10719         if (lt_count == 0) {
10720           lt_foo="/" $lt_i lt_foo;
10721         } else {
10722           lt_count--;
10723         }
10724       }
10725     }
10726   }
10727   if (lt_foo != "") { lt_freq[lt_foo]++; }
10728   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10729 }'`
10730   # AWK program above erroneously prepends '/' to C:/dos/paths
10731   # for these hosts.
10732   case $host_os in
10733     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10734       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10735   esac
10736   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10737 else
10738   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10739 fi
10740 library_names_spec=
10741 libname_spec='lib$name'
10742 soname_spec=
10743 shrext_cmds=".so"
10744 postinstall_cmds=
10745 postuninstall_cmds=
10746 finish_cmds=
10747 finish_eval=
10748 shlibpath_var=
10749 shlibpath_overrides_runpath=unknown
10750 version_type=none
10751 dynamic_linker="$host_os ld.so"
10752 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10753 need_lib_prefix=unknown
10754 hardcode_into_libs=no
10755
10756 # when you set need_version to no, make sure it does not cause -set_version
10757 # flags to be left without arguments
10758 need_version=unknown
10759
10760 case $host_os in
10761 aix3*)
10762   version_type=linux # correct to gnu/linux during the next big refactor
10763   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10764   shlibpath_var=LIBPATH
10765
10766   # AIX 3 has no versioning support, so we append a major version to the name.
10767   soname_spec='${libname}${release}${shared_ext}$major'
10768   ;;
10769
10770 aix[4-9]*)
10771   version_type=linux # correct to gnu/linux during the next big refactor
10772   need_lib_prefix=no
10773   need_version=no
10774   hardcode_into_libs=yes
10775   if test "$host_cpu" = ia64; then
10776     # AIX 5 supports IA64
10777     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10778     shlibpath_var=LD_LIBRARY_PATH
10779   else
10780     # With GCC up to 2.95.x, collect2 would create an import file
10781     # for dependence libraries.  The import file would start with
10782     # the line `#! .'.  This would cause the generated library to
10783     # depend on `.', always an invalid library.  This was fixed in
10784     # development snapshots of GCC prior to 3.0.
10785     case $host_os in
10786       aix4 | aix4.[01] | aix4.[01].*)
10787       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10788            echo ' yes '
10789            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10790         :
10791       else
10792         can_build_shared=no
10793       fi
10794       ;;
10795     esac
10796     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10797     # soname into executable. Probably we can add versioning support to
10798     # collect2, so additional links can be useful in future.
10799     if test "$aix_use_runtimelinking" = yes; then
10800       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10801       # instead of lib<name>.a to let people know that these are not
10802       # typical AIX shared libraries.
10803       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804     else
10805       # We preserve .a as extension for shared libraries through AIX4.2
10806       # and later when we are not doing run time linking.
10807       library_names_spec='${libname}${release}.a $libname.a'
10808       soname_spec='${libname}${release}${shared_ext}$major'
10809     fi
10810     shlibpath_var=LIBPATH
10811   fi
10812   ;;
10813
10814 amigaos*)
10815   case $host_cpu in
10816   powerpc)
10817     # Since July 2007 AmigaOS4 officially supports .so libraries.
10818     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10819     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820     ;;
10821   m68k)
10822     library_names_spec='$libname.ixlibrary $libname.a'
10823     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10824     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'
10825     ;;
10826   esac
10827   ;;
10828
10829 beos*)
10830   library_names_spec='${libname}${shared_ext}'
10831   dynamic_linker="$host_os ld.so"
10832   shlibpath_var=LIBRARY_PATH
10833   ;;
10834
10835 bsdi[45]*)
10836   version_type=linux # correct to gnu/linux during the next big refactor
10837   need_version=no
10838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839   soname_spec='${libname}${release}${shared_ext}$major'
10840   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10841   shlibpath_var=LD_LIBRARY_PATH
10842   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10843   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10844   # the default ld.so.conf also contains /usr/contrib/lib and
10845   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10846   # libtool to hard-code these into programs
10847   ;;
10848
10849 cygwin* | mingw* | pw32* | cegcc*)
10850   version_type=windows
10851   shrext_cmds=".dll"
10852   need_version=no
10853   need_lib_prefix=no
10854
10855   case $GCC,$cc_basename in
10856   yes,*)
10857     # gcc
10858     library_names_spec='$libname.dll.a'
10859     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10860     postinstall_cmds='base_file=`basename \${file}`~
10861       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10862       dldir=$destdir/`dirname \$dlpath`~
10863       test -d \$dldir || mkdir -p \$dldir~
10864       $install_prog $dir/$dlname \$dldir/$dlname~
10865       chmod a+x \$dldir/$dlname~
10866       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10867         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10868       fi'
10869     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10870       dlpath=$dir/\$dldll~
10871        $RM \$dlpath'
10872     shlibpath_overrides_runpath=yes
10873
10874     case $host_os in
10875     cygwin*)
10876       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10877       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10878
10879       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10880       ;;
10881     mingw* | cegcc*)
10882       # MinGW DLLs use traditional 'lib' prefix
10883       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10884       ;;
10885     pw32*)
10886       # pw32 DLLs use 'pw' prefix rather than 'lib'
10887       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10888       ;;
10889     esac
10890     dynamic_linker='Win32 ld.exe'
10891     ;;
10892
10893   *,cl*)
10894     # Native MSVC
10895     libname_spec='$name'
10896     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10897     library_names_spec='${libname}.dll.lib'
10898
10899     case $build_os in
10900     mingw*)
10901       sys_lib_search_path_spec=
10902       lt_save_ifs=$IFS
10903       IFS=';'
10904       for lt_path in $LIB
10905       do
10906         IFS=$lt_save_ifs
10907         # Let DOS variable expansion print the short 8.3 style file name.
10908         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10909         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10910       done
10911       IFS=$lt_save_ifs
10912       # Convert to MSYS style.
10913       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10914       ;;
10915     cygwin*)
10916       # Convert to unix form, then to dos form, then back to unix form
10917       # but this time dos style (no spaces!) so that the unix form looks
10918       # like /cygdrive/c/PROGRA~1:/cygdr...
10919       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10920       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10921       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10922       ;;
10923     *)
10924       sys_lib_search_path_spec="$LIB"
10925       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10926         # It is most probably a Windows format PATH.
10927         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10928       else
10929         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10930       fi
10931       # FIXME: find the short name or the path components, as spaces are
10932       # common. (e.g. "Program Files" -> "PROGRA~1")
10933       ;;
10934     esac
10935
10936     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10937     postinstall_cmds='base_file=`basename \${file}`~
10938       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10939       dldir=$destdir/`dirname \$dlpath`~
10940       test -d \$dldir || mkdir -p \$dldir~
10941       $install_prog $dir/$dlname \$dldir/$dlname'
10942     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10943       dlpath=$dir/\$dldll~
10944        $RM \$dlpath'
10945     shlibpath_overrides_runpath=yes
10946     dynamic_linker='Win32 link.exe'
10947     ;;
10948
10949   *)
10950     # Assume MSVC wrapper
10951     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10952     dynamic_linker='Win32 ld.exe'
10953     ;;
10954   esac
10955   # FIXME: first we should search . and the directory the executable is in
10956   shlibpath_var=PATH
10957   ;;
10958
10959 darwin* | rhapsody*)
10960   dynamic_linker="$host_os dyld"
10961   version_type=darwin
10962   need_lib_prefix=no
10963   need_version=no
10964   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10965   soname_spec='${libname}${release}${major}$shared_ext'
10966   shlibpath_overrides_runpath=yes
10967   shlibpath_var=DYLD_LIBRARY_PATH
10968   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10969
10970   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10971   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10972   ;;
10973
10974 dgux*)
10975   version_type=linux # correct to gnu/linux during the next big refactor
10976   need_lib_prefix=no
10977   need_version=no
10978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10979   soname_spec='${libname}${release}${shared_ext}$major'
10980   shlibpath_var=LD_LIBRARY_PATH
10981   ;;
10982
10983 freebsd* | dragonfly*)
10984   # DragonFly does not have aout.  When/if they implement a new
10985   # versioning mechanism, adjust this.
10986   if test -x /usr/bin/objformat; then
10987     objformat=`/usr/bin/objformat`
10988   else
10989     case $host_os in
10990     freebsd[23].*) objformat=aout ;;
10991     *) objformat=elf ;;
10992     esac
10993   fi
10994   version_type=freebsd-$objformat
10995   case $version_type in
10996     freebsd-elf*)
10997       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10998       need_version=no
10999       need_lib_prefix=no
11000       ;;
11001     freebsd-*)
11002       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11003       need_version=yes
11004       ;;
11005   esac
11006   shlibpath_var=LD_LIBRARY_PATH
11007   case $host_os in
11008   freebsd2.*)
11009     shlibpath_overrides_runpath=yes
11010     ;;
11011   freebsd3.[01]* | freebsdelf3.[01]*)
11012     shlibpath_overrides_runpath=yes
11013     hardcode_into_libs=yes
11014     ;;
11015   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11016   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11017     shlibpath_overrides_runpath=no
11018     hardcode_into_libs=yes
11019     ;;
11020   *) # from 4.6 on, and DragonFly
11021     shlibpath_overrides_runpath=yes
11022     hardcode_into_libs=yes
11023     ;;
11024   esac
11025   ;;
11026
11027 gnu*)
11028   version_type=linux # correct to gnu/linux during the next big refactor
11029   need_lib_prefix=no
11030   need_version=no
11031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11032   soname_spec='${libname}${release}${shared_ext}$major'
11033   shlibpath_var=LD_LIBRARY_PATH
11034   shlibpath_overrides_runpath=no
11035   hardcode_into_libs=yes
11036   ;;
11037
11038 haiku*)
11039   version_type=linux # correct to gnu/linux during the next big refactor
11040   need_lib_prefix=no
11041   need_version=no
11042   dynamic_linker="$host_os runtime_loader"
11043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11044   soname_spec='${libname}${release}${shared_ext}$major'
11045   shlibpath_var=LIBRARY_PATH
11046   shlibpath_overrides_runpath=yes
11047   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11048   hardcode_into_libs=yes
11049   ;;
11050
11051 hpux9* | hpux10* | hpux11*)
11052   # Give a soname corresponding to the major version so that dld.sl refuses to
11053   # link against other versions.
11054   version_type=sunos
11055   need_lib_prefix=no
11056   need_version=no
11057   case $host_cpu in
11058   ia64*)
11059     shrext_cmds='.so'
11060     hardcode_into_libs=yes
11061     dynamic_linker="$host_os dld.so"
11062     shlibpath_var=LD_LIBRARY_PATH
11063     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11064     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065     soname_spec='${libname}${release}${shared_ext}$major'
11066     if test "X$HPUX_IA64_MODE" = X32; then
11067       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11068     else
11069       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11070     fi
11071     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11072     ;;
11073   hppa*64*)
11074     shrext_cmds='.sl'
11075     hardcode_into_libs=yes
11076     dynamic_linker="$host_os dld.sl"
11077     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11078     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11079     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080     soname_spec='${libname}${release}${shared_ext}$major'
11081     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11082     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11083     ;;
11084   *)
11085     shrext_cmds='.sl'
11086     dynamic_linker="$host_os dld.sl"
11087     shlibpath_var=SHLIB_PATH
11088     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11089     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090     soname_spec='${libname}${release}${shared_ext}$major'
11091     ;;
11092   esac
11093   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11094   postinstall_cmds='chmod 555 $lib'
11095   # or fails outright, so override atomically:
11096   install_override_mode=555
11097   ;;
11098
11099 interix[3-9]*)
11100   version_type=linux # correct to gnu/linux during the next big refactor
11101   need_lib_prefix=no
11102   need_version=no
11103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11104   soname_spec='${libname}${release}${shared_ext}$major'
11105   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11106   shlibpath_var=LD_LIBRARY_PATH
11107   shlibpath_overrides_runpath=no
11108   hardcode_into_libs=yes
11109   ;;
11110
11111 irix5* | irix6* | nonstopux*)
11112   case $host_os in
11113     nonstopux*) version_type=nonstopux ;;
11114     *)
11115         if test "$lt_cv_prog_gnu_ld" = yes; then
11116                 version_type=linux # correct to gnu/linux during the next big refactor
11117         else
11118                 version_type=irix
11119         fi ;;
11120   esac
11121   need_lib_prefix=no
11122   need_version=no
11123   soname_spec='${libname}${release}${shared_ext}$major'
11124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11125   case $host_os in
11126   irix5* | nonstopux*)
11127     libsuff= shlibsuff=
11128     ;;
11129   *)
11130     case $LD in # libtool.m4 will add one of these switches to LD
11131     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11132       libsuff= shlibsuff= libmagic=32-bit;;
11133     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11134       libsuff=32 shlibsuff=N32 libmagic=N32;;
11135     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11136       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11137     *) libsuff= shlibsuff= libmagic=never-match;;
11138     esac
11139     ;;
11140   esac
11141   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11142   shlibpath_overrides_runpath=no
11143   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11144   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11145   hardcode_into_libs=yes
11146   ;;
11147
11148 # No shared lib support for Linux oldld, aout, or coff.
11149 linux*oldld* | linux*aout* | linux*coff*)
11150   dynamic_linker=no
11151   ;;
11152
11153 # This must be glibc/ELF.
11154 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11155   version_type=linux # correct to gnu/linux during the next big refactor
11156   need_lib_prefix=no
11157   need_version=no
11158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159   soname_spec='${libname}${release}${shared_ext}$major'
11160   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11161   shlibpath_var=LD_LIBRARY_PATH
11162   shlibpath_overrides_runpath=no
11163
11164   # Some binutils ld are patched to set DT_RUNPATH
11165   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11166   $as_echo_n "(cached) " >&6
11167 else
11168   lt_cv_shlibpath_overrides_runpath=no
11169     save_LDFLAGS=$LDFLAGS
11170     save_libdir=$libdir
11171     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11172          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11173     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h.  */
11175
11176 int
11177 main ()
11178 {
11179
11180   ;
11181   return 0;
11182 }
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11186   lt_cv_shlibpath_overrides_runpath=yes
11187 fi
11188 fi
11189 rm -f core conftest.err conftest.$ac_objext \
11190     conftest$ac_exeext conftest.$ac_ext
11191     LDFLAGS=$save_LDFLAGS
11192     libdir=$save_libdir
11193
11194 fi
11195
11196   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11197
11198   # This implies no fast_install, which is unacceptable.
11199   # Some rework will be needed to allow for fast_install
11200   # before this can be enabled.
11201   hardcode_into_libs=yes
11202
11203   # Add ABI-specific directories to the system library path.
11204   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11205
11206   # Append ld.so.conf contents to the search path
11207   if test -f /etc/ld.so.conf; then
11208     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' ' '`
11209     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11210
11211   fi
11212
11213   # We used to test for /lib/ld.so.1 and disable shared libraries on
11214   # powerpc, because MkLinux only supported shared libraries with the
11215   # GNU dynamic linker.  Since this was broken with cross compilers,
11216   # most powerpc-linux boxes support dynamic linking these days and
11217   # people can always --disable-shared, the test was removed, and we
11218   # assume the GNU/Linux dynamic linker is in use.
11219   dynamic_linker='GNU/Linux ld.so'
11220   ;;
11221
11222 netbsd*)
11223   version_type=sunos
11224   need_lib_prefix=no
11225   need_version=no
11226   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11227     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11228     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11229     dynamic_linker='NetBSD (a.out) ld.so'
11230   else
11231     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11232     soname_spec='${libname}${release}${shared_ext}$major'
11233     dynamic_linker='NetBSD ld.elf_so'
11234   fi
11235   shlibpath_var=LD_LIBRARY_PATH
11236   shlibpath_overrides_runpath=yes
11237   hardcode_into_libs=yes
11238   ;;
11239
11240 newsos6)
11241   version_type=linux # correct to gnu/linux during the next big refactor
11242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11243   shlibpath_var=LD_LIBRARY_PATH
11244   shlibpath_overrides_runpath=yes
11245   ;;
11246
11247 *nto* | *qnx*)
11248   version_type=qnx
11249   need_lib_prefix=no
11250   need_version=no
11251   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252   soname_spec='${libname}${release}${shared_ext}$major'
11253   shlibpath_var=LD_LIBRARY_PATH
11254   shlibpath_overrides_runpath=no
11255   hardcode_into_libs=yes
11256   dynamic_linker='ldqnx.so'
11257   ;;
11258
11259 openbsd*)
11260   version_type=sunos
11261   sys_lib_dlsearch_path_spec="/usr/lib"
11262   need_lib_prefix=no
11263   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11264   case $host_os in
11265     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11266     *)                          need_version=no  ;;
11267   esac
11268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11269   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11270   shlibpath_var=LD_LIBRARY_PATH
11271   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11272     case $host_os in
11273       openbsd2.[89] | openbsd2.[89].*)
11274         shlibpath_overrides_runpath=no
11275         ;;
11276       *)
11277         shlibpath_overrides_runpath=yes
11278         ;;
11279       esac
11280   else
11281     shlibpath_overrides_runpath=yes
11282   fi
11283   ;;
11284
11285 os2*)
11286   libname_spec='$name'
11287   shrext_cmds=".dll"
11288   need_lib_prefix=no
11289   library_names_spec='$libname${shared_ext} $libname.a'
11290   dynamic_linker='OS/2 ld.exe'
11291   shlibpath_var=LIBPATH
11292   ;;
11293
11294 osf3* | osf4* | osf5*)
11295   version_type=osf
11296   need_lib_prefix=no
11297   need_version=no
11298   soname_spec='${libname}${release}${shared_ext}$major'
11299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300   shlibpath_var=LD_LIBRARY_PATH
11301   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11302   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11303   ;;
11304
11305 rdos*)
11306   dynamic_linker=no
11307   ;;
11308
11309 solaris*)
11310   version_type=linux # correct to gnu/linux during the next big refactor
11311   need_lib_prefix=no
11312   need_version=no
11313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314   soname_spec='${libname}${release}${shared_ext}$major'
11315   shlibpath_var=LD_LIBRARY_PATH
11316   shlibpath_overrides_runpath=yes
11317   hardcode_into_libs=yes
11318   # ldd complains unless libraries are executable
11319   postinstall_cmds='chmod +x $lib'
11320   ;;
11321
11322 sunos4*)
11323   version_type=sunos
11324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11325   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11326   shlibpath_var=LD_LIBRARY_PATH
11327   shlibpath_overrides_runpath=yes
11328   if test "$with_gnu_ld" = yes; then
11329     need_lib_prefix=no
11330   fi
11331   need_version=yes
11332   ;;
11333
11334 sysv4 | sysv4.3*)
11335   version_type=linux # correct to gnu/linux during the next big refactor
11336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337   soname_spec='${libname}${release}${shared_ext}$major'
11338   shlibpath_var=LD_LIBRARY_PATH
11339   case $host_vendor in
11340     sni)
11341       shlibpath_overrides_runpath=no
11342       need_lib_prefix=no
11343       runpath_var=LD_RUN_PATH
11344       ;;
11345     siemens)
11346       need_lib_prefix=no
11347       ;;
11348     motorola)
11349       need_lib_prefix=no
11350       need_version=no
11351       shlibpath_overrides_runpath=no
11352       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11353       ;;
11354   esac
11355   ;;
11356
11357 sysv4*MP*)
11358   if test -d /usr/nec ;then
11359     version_type=linux # correct to gnu/linux during the next big refactor
11360     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11361     soname_spec='$libname${shared_ext}.$major'
11362     shlibpath_var=LD_LIBRARY_PATH
11363   fi
11364   ;;
11365
11366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11367   version_type=freebsd-elf
11368   need_lib_prefix=no
11369   need_version=no
11370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11371   soname_spec='${libname}${release}${shared_ext}$major'
11372   shlibpath_var=LD_LIBRARY_PATH
11373   shlibpath_overrides_runpath=yes
11374   hardcode_into_libs=yes
11375   if test "$with_gnu_ld" = yes; then
11376     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11377   else
11378     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11379     case $host_os in
11380       sco3.2v5*)
11381         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11382         ;;
11383     esac
11384   fi
11385   sys_lib_dlsearch_path_spec='/usr/lib'
11386   ;;
11387
11388 tpf*)
11389   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11390   version_type=linux # correct to gnu/linux during the next big refactor
11391   need_lib_prefix=no
11392   need_version=no
11393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394   shlibpath_var=LD_LIBRARY_PATH
11395   shlibpath_overrides_runpath=no
11396   hardcode_into_libs=yes
11397   ;;
11398
11399 uts4*)
11400   version_type=linux # correct to gnu/linux during the next big refactor
11401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11402   soname_spec='${libname}${release}${shared_ext}$major'
11403   shlibpath_var=LD_LIBRARY_PATH
11404   ;;
11405
11406 *)
11407   dynamic_linker=no
11408   ;;
11409 esac
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11411 $as_echo "$dynamic_linker" >&6; }
11412 test "$dynamic_linker" = no && can_build_shared=no
11413
11414 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11415 if test "$GCC" = yes; then
11416   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11417 fi
11418
11419 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11420   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11421 fi
11422 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11423   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11424 fi
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11518 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11519 hardcode_action=
11520 if test -n "$hardcode_libdir_flag_spec" ||
11521    test -n "$runpath_var" ||
11522    test "X$hardcode_automatic" = "Xyes" ; then
11523
11524   # We can hardcode non-existent directories.
11525   if test "$hardcode_direct" != no &&
11526      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11527      # have to relink, otherwise we might link with an installed library
11528      # when we should be linking with a yet-to-be-installed one
11529      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11530      test "$hardcode_minus_L" != no; then
11531     # Linking always hardcodes the temporary library directory.
11532     hardcode_action=relink
11533   else
11534     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11535     hardcode_action=immediate
11536   fi
11537 else
11538   # We cannot hardcode anything, or else we can only hardcode existing
11539   # directories.
11540   hardcode_action=unsupported
11541 fi
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11543 $as_echo "$hardcode_action" >&6; }
11544
11545 if test "$hardcode_action" = relink ||
11546    test "$inherit_rpath" = yes; then
11547   # Fast installation is not supported
11548   enable_fast_install=no
11549 elif test "$shlibpath_overrides_runpath" = yes ||
11550      test "$enable_shared" = no; then
11551   # Fast installation is not necessary
11552   enable_fast_install=needless
11553 fi
11554
11555
11556
11557
11558
11559
11560   if test "x$enable_dlopen" != xyes; then
11561   enable_dlopen=unknown
11562   enable_dlopen_self=unknown
11563   enable_dlopen_self_static=unknown
11564 else
11565   lt_cv_dlopen=no
11566   lt_cv_dlopen_libs=
11567
11568   case $host_os in
11569   beos*)
11570     lt_cv_dlopen="load_add_on"
11571     lt_cv_dlopen_libs=
11572     lt_cv_dlopen_self=yes
11573     ;;
11574
11575   mingw* | pw32* | cegcc*)
11576     lt_cv_dlopen="LoadLibrary"
11577     lt_cv_dlopen_libs=
11578     ;;
11579
11580   cygwin*)
11581     lt_cv_dlopen="dlopen"
11582     lt_cv_dlopen_libs=
11583     ;;
11584
11585   darwin*)
11586   # if libdl is installed we need to link against it
11587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11589 if ${ac_cv_lib_dl_dlopen+:} false; then :
11590   $as_echo_n "(cached) " >&6
11591 else
11592   ac_check_lib_save_LIBS=$LIBS
11593 LIBS="-ldl  $LIBS"
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h.  */
11596
11597 /* Override any GCC internal prototype to avoid an error.
11598    Use char because int might match the return type of a GCC
11599    builtin and then its argument prototype would still apply.  */
11600 #ifdef __cplusplus
11601 extern "C"
11602 #endif
11603 char dlopen ();
11604 int
11605 main ()
11606 {
11607 return dlopen ();
11608   ;
11609   return 0;
11610 }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"; then :
11613   ac_cv_lib_dl_dlopen=yes
11614 else
11615   ac_cv_lib_dl_dlopen=no
11616 fi
11617 rm -f core conftest.err conftest.$ac_objext \
11618     conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_lib_save_LIBS
11620 fi
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11623 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11624   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11625 else
11626
11627     lt_cv_dlopen="dyld"
11628     lt_cv_dlopen_libs=
11629     lt_cv_dlopen_self=yes
11630
11631 fi
11632
11633     ;;
11634
11635   *)
11636     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11637 if test "x$ac_cv_func_shl_load" = xyes; then :
11638   lt_cv_dlopen="shl_load"
11639 else
11640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11641 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11642 if ${ac_cv_lib_dld_shl_load+:} false; then :
11643   $as_echo_n "(cached) " >&6
11644 else
11645   ac_check_lib_save_LIBS=$LIBS
11646 LIBS="-ldld  $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h.  */
11649
11650 /* Override any GCC internal prototype to avoid an error.
11651    Use char because int might match the return type of a GCC
11652    builtin and then its argument prototype would still apply.  */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char shl_load ();
11657 int
11658 main ()
11659 {
11660 return shl_load ();
11661   ;
11662   return 0;
11663 }
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"; then :
11666   ac_cv_lib_dld_shl_load=yes
11667 else
11668   ac_cv_lib_dld_shl_load=no
11669 fi
11670 rm -f core conftest.err conftest.$ac_objext \
11671     conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11673 fi
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11675 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11676 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11677   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11678 else
11679   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11680 if test "x$ac_cv_func_dlopen" = xyes; then :
11681   lt_cv_dlopen="dlopen"
11682 else
11683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11684 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11685 if ${ac_cv_lib_dl_dlopen+:} false; then :
11686   $as_echo_n "(cached) " >&6
11687 else
11688   ac_check_lib_save_LIBS=$LIBS
11689 LIBS="-ldl  $LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h.  */
11692
11693 /* Override any GCC internal prototype to avoid an error.
11694    Use char because int might match the return type of a GCC
11695    builtin and then its argument prototype would still apply.  */
11696 #ifdef __cplusplus
11697 extern "C"
11698 #endif
11699 char dlopen ();
11700 int
11701 main ()
11702 {
11703 return dlopen ();
11704   ;
11705   return 0;
11706 }
11707 _ACEOF
11708 if ac_fn_c_try_link "$LINENO"; then :
11709   ac_cv_lib_dl_dlopen=yes
11710 else
11711   ac_cv_lib_dl_dlopen=no
11712 fi
11713 rm -f core conftest.err conftest.$ac_objext \
11714     conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_lib_save_LIBS
11716 fi
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11718 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11719 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11720   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11721 else
11722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11723 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11724 if ${ac_cv_lib_svld_dlopen+:} false; then :
11725   $as_echo_n "(cached) " >&6
11726 else
11727   ac_check_lib_save_LIBS=$LIBS
11728 LIBS="-lsvld  $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h.  */
11731
11732 /* Override any GCC internal prototype to avoid an error.
11733    Use char because int might match the return type of a GCC
11734    builtin and then its argument prototype would still apply.  */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char dlopen ();
11739 int
11740 main ()
11741 {
11742 return dlopen ();
11743   ;
11744   return 0;
11745 }
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748   ac_cv_lib_svld_dlopen=yes
11749 else
11750   ac_cv_lib_svld_dlopen=no
11751 fi
11752 rm -f core conftest.err conftest.$ac_objext \
11753     conftest$ac_exeext conftest.$ac_ext
11754 LIBS=$ac_check_lib_save_LIBS
11755 fi
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11757 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11758 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11759   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11760 else
11761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11762 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11763 if ${ac_cv_lib_dld_dld_link+:} false; then :
11764   $as_echo_n "(cached) " >&6
11765 else
11766   ac_check_lib_save_LIBS=$LIBS
11767 LIBS="-ldld  $LIBS"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h.  */
11770
11771 /* Override any GCC internal prototype to avoid an error.
11772    Use char because int might match the return type of a GCC
11773    builtin and then its argument prototype would still apply.  */
11774 #ifdef __cplusplus
11775 extern "C"
11776 #endif
11777 char dld_link ();
11778 int
11779 main ()
11780 {
11781 return dld_link ();
11782   ;
11783   return 0;
11784 }
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"; then :
11787   ac_cv_lib_dld_dld_link=yes
11788 else
11789   ac_cv_lib_dld_dld_link=no
11790 fi
11791 rm -f core conftest.err conftest.$ac_objext \
11792     conftest$ac_exeext conftest.$ac_ext
11793 LIBS=$ac_check_lib_save_LIBS
11794 fi
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11796 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11797 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11798   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11799 fi
11800
11801
11802 fi
11803
11804
11805 fi
11806
11807
11808 fi
11809
11810
11811 fi
11812
11813
11814 fi
11815
11816     ;;
11817   esac
11818
11819   if test "x$lt_cv_dlopen" != xno; then
11820     enable_dlopen=yes
11821   else
11822     enable_dlopen=no
11823   fi
11824
11825   case $lt_cv_dlopen in
11826   dlopen)
11827     save_CPPFLAGS="$CPPFLAGS"
11828     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11829
11830     save_LDFLAGS="$LDFLAGS"
11831     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11832
11833     save_LIBS="$LIBS"
11834     LIBS="$lt_cv_dlopen_libs $LIBS"
11835
11836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11837 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11838 if ${lt_cv_dlopen_self+:} false; then :
11839   $as_echo_n "(cached) " >&6
11840 else
11841           if test "$cross_compiling" = yes; then :
11842   lt_cv_dlopen_self=cross
11843 else
11844   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11845   lt_status=$lt_dlunknown
11846   cat > conftest.$ac_ext <<_LT_EOF
11847 #line $LINENO "configure"
11848 #include "confdefs.h"
11849
11850 #if HAVE_DLFCN_H
11851 #include <dlfcn.h>
11852 #endif
11853
11854 #include <stdio.h>
11855
11856 #ifdef RTLD_GLOBAL
11857 #  define LT_DLGLOBAL           RTLD_GLOBAL
11858 #else
11859 #  ifdef DL_GLOBAL
11860 #    define LT_DLGLOBAL         DL_GLOBAL
11861 #  else
11862 #    define LT_DLGLOBAL         0
11863 #  endif
11864 #endif
11865
11866 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11867    find out it does not work in some platform. */
11868 #ifndef LT_DLLAZY_OR_NOW
11869 #  ifdef RTLD_LAZY
11870 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11871 #  else
11872 #    ifdef DL_LAZY
11873 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11874 #    else
11875 #      ifdef RTLD_NOW
11876 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11877 #      else
11878 #        ifdef DL_NOW
11879 #          define LT_DLLAZY_OR_NOW      DL_NOW
11880 #        else
11881 #          define LT_DLLAZY_OR_NOW      0
11882 #        endif
11883 #      endif
11884 #    endif
11885 #  endif
11886 #endif
11887
11888 /* When -fvisbility=hidden is used, assume the code has been annotated
11889    correspondingly for the symbols needed.  */
11890 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11891 int fnord () __attribute__((visibility("default")));
11892 #endif
11893
11894 int fnord () { return 42; }
11895 int main ()
11896 {
11897   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11898   int status = $lt_dlunknown;
11899
11900   if (self)
11901     {
11902       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11903       else
11904         {
11905           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11906           else puts (dlerror ());
11907         }
11908       /* dlclose (self); */
11909     }
11910   else
11911     puts (dlerror ());
11912
11913   return status;
11914 }
11915 _LT_EOF
11916   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11917   (eval $ac_link) 2>&5
11918   ac_status=$?
11919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11920   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11921     (./conftest; exit; ) >&5 2>/dev/null
11922     lt_status=$?
11923     case x$lt_status in
11924       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11925       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11926       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11927     esac
11928   else :
11929     # compilation failed
11930     lt_cv_dlopen_self=no
11931   fi
11932 fi
11933 rm -fr conftest*
11934
11935
11936 fi
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11938 $as_echo "$lt_cv_dlopen_self" >&6; }
11939
11940     if test "x$lt_cv_dlopen_self" = xyes; then
11941       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11942       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11943 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11944 if ${lt_cv_dlopen_self_static+:} false; then :
11945   $as_echo_n "(cached) " >&6
11946 else
11947           if test "$cross_compiling" = yes; then :
11948   lt_cv_dlopen_self_static=cross
11949 else
11950   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11951   lt_status=$lt_dlunknown
11952   cat > conftest.$ac_ext <<_LT_EOF
11953 #line $LINENO "configure"
11954 #include "confdefs.h"
11955
11956 #if HAVE_DLFCN_H
11957 #include <dlfcn.h>
11958 #endif
11959
11960 #include <stdio.h>
11961
11962 #ifdef RTLD_GLOBAL
11963 #  define LT_DLGLOBAL           RTLD_GLOBAL
11964 #else
11965 #  ifdef DL_GLOBAL
11966 #    define LT_DLGLOBAL         DL_GLOBAL
11967 #  else
11968 #    define LT_DLGLOBAL         0
11969 #  endif
11970 #endif
11971
11972 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11973    find out it does not work in some platform. */
11974 #ifndef LT_DLLAZY_OR_NOW
11975 #  ifdef RTLD_LAZY
11976 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11977 #  else
11978 #    ifdef DL_LAZY
11979 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11980 #    else
11981 #      ifdef RTLD_NOW
11982 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11983 #      else
11984 #        ifdef DL_NOW
11985 #          define LT_DLLAZY_OR_NOW      DL_NOW
11986 #        else
11987 #          define LT_DLLAZY_OR_NOW      0
11988 #        endif
11989 #      endif
11990 #    endif
11991 #  endif
11992 #endif
11993
11994 /* When -fvisbility=hidden is used, assume the code has been annotated
11995    correspondingly for the symbols needed.  */
11996 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11997 int fnord () __attribute__((visibility("default")));
11998 #endif
11999
12000 int fnord () { return 42; }
12001 int main ()
12002 {
12003   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12004   int status = $lt_dlunknown;
12005
12006   if (self)
12007     {
12008       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12009       else
12010         {
12011           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12012           else puts (dlerror ());
12013         }
12014       /* dlclose (self); */
12015     }
12016   else
12017     puts (dlerror ());
12018
12019   return status;
12020 }
12021 _LT_EOF
12022   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12023   (eval $ac_link) 2>&5
12024   ac_status=$?
12025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12027     (./conftest; exit; ) >&5 2>/dev/null
12028     lt_status=$?
12029     case x$lt_status in
12030       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12031       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12032       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12033     esac
12034   else :
12035     # compilation failed
12036     lt_cv_dlopen_self_static=no
12037   fi
12038 fi
12039 rm -fr conftest*
12040
12041
12042 fi
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12044 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12045     fi
12046
12047     CPPFLAGS="$save_CPPFLAGS"
12048     LDFLAGS="$save_LDFLAGS"
12049     LIBS="$save_LIBS"
12050     ;;
12051   esac
12052
12053   case $lt_cv_dlopen_self in
12054   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12055   *) enable_dlopen_self=unknown ;;
12056   esac
12057
12058   case $lt_cv_dlopen_self_static in
12059   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12060   *) enable_dlopen_self_static=unknown ;;
12061   esac
12062 fi
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080 striplib=
12081 old_striplib=
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12083 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12084 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12085   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12086   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12088 $as_echo "yes" >&6; }
12089 else
12090 # FIXME - insert some real tests, host_os isn't really good enough
12091   case $host_os in
12092   darwin*)
12093     if test -n "$STRIP" ; then
12094       striplib="$STRIP -x"
12095       old_striplib="$STRIP -S"
12096       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12097 $as_echo "yes" >&6; }
12098     else
12099       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12100 $as_echo "no" >&6; }
12101     fi
12102     ;;
12103   *)
12104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12106     ;;
12107   esac
12108 fi
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121   # Report which library types will actually be built
12122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12123 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12125 $as_echo "$can_build_shared" >&6; }
12126
12127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12128 $as_echo_n "checking whether to build shared libraries... " >&6; }
12129   test "$can_build_shared" = "no" && enable_shared=no
12130
12131   # On AIX, shared libraries and static libraries use the same namespace, and
12132   # are all built from PIC.
12133   case $host_os in
12134   aix3*)
12135     test "$enable_shared" = yes && enable_static=no
12136     if test -n "$RANLIB"; then
12137       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12138       postinstall_cmds='$RANLIB $lib'
12139     fi
12140     ;;
12141
12142   aix[4-9]*)
12143     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12144       test "$enable_shared" = yes && enable_static=no
12145     fi
12146     ;;
12147   esac
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12149 $as_echo "$enable_shared" >&6; }
12150
12151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12152 $as_echo_n "checking whether to build static libraries... " >&6; }
12153   # Make sure either enable_shared or enable_static is yes.
12154   test "$enable_shared" = yes || enable_static=yes
12155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12156 $as_echo "$enable_static" >&6; }
12157
12158
12159
12160
12161 fi
12162 ac_ext=c
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12167
12168 CC="$lt_save_CC"
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184         ac_config_commands="$ac_config_commands libtool"
12185
12186
12187
12188
12189 # Only expand once:
12190
12191
12192
12193 # Checks for header files.
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12195 $as_echo_n "checking for ANSI C header files... " >&6; }
12196 if ${ac_cv_header_stdc+:} false; then :
12197   $as_echo_n "(cached) " >&6
12198 else
12199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h.  */
12201 #include <stdlib.h>
12202 #include <stdarg.h>
12203 #include <string.h>
12204 #include <float.h>
12205
12206 int
12207 main ()
12208 {
12209
12210   ;
12211   return 0;
12212 }
12213 _ACEOF
12214 if ac_fn_c_try_compile "$LINENO"; then :
12215   ac_cv_header_stdc=yes
12216 else
12217   ac_cv_header_stdc=no
12218 fi
12219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12220
12221 if test $ac_cv_header_stdc = yes; then
12222   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h.  */
12225 #include <string.h>
12226
12227 _ACEOF
12228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12229   $EGREP "memchr" >/dev/null 2>&1; then :
12230
12231 else
12232   ac_cv_header_stdc=no
12233 fi
12234 rm -f conftest*
12235
12236 fi
12237
12238 if test $ac_cv_header_stdc = yes; then
12239   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h.  */
12242 #include <stdlib.h>
12243
12244 _ACEOF
12245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12246   $EGREP "free" >/dev/null 2>&1; then :
12247
12248 else
12249   ac_cv_header_stdc=no
12250 fi
12251 rm -f conftest*
12252
12253 fi
12254
12255 if test $ac_cv_header_stdc = yes; then
12256   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12257   if test "$cross_compiling" = yes; then :
12258   :
12259 else
12260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h.  */
12262 #include <ctype.h>
12263 #include <stdlib.h>
12264 #if ((' ' & 0x0FF) == 0x020)
12265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12267 #else
12268 # define ISLOWER(c) \
12269                    (('a' <= (c) && (c) <= 'i') \
12270                      || ('j' <= (c) && (c) <= 'r') \
12271                      || ('s' <= (c) && (c) <= 'z'))
12272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12273 #endif
12274
12275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12276 int
12277 main ()
12278 {
12279   int i;
12280   for (i = 0; i < 256; i++)
12281     if (XOR (islower (i), ISLOWER (i))
12282         || toupper (i) != TOUPPER (i))
12283       return 2;
12284   return 0;
12285 }
12286 _ACEOF
12287 if ac_fn_c_try_run "$LINENO"; then :
12288
12289 else
12290   ac_cv_header_stdc=no
12291 fi
12292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12293   conftest.$ac_objext conftest.beam conftest.$ac_ext
12294 fi
12295
12296 fi
12297 fi
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12299 $as_echo "$ac_cv_header_stdc" >&6; }
12300 if test $ac_cv_header_stdc = yes; then
12301
12302 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12303
12304 fi
12305
12306
12307 # required versions for dependencies
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321 GLIB_REQ_VERSION=2.31.19
12322
12323 COGL_REQ_VERSION=1.9.6
12324
12325 JSON_GLIB_REQ_VERSION=0.12.0
12326
12327 ATK_REQ_VERSION=2.1.5
12328
12329 CAIRO_REQ_VERSION=1.10
12330
12331 PANGO_REQ_VERSION=1.20
12332
12333 GI_REQ_VERSION=0.9.5
12334
12335 UPROF_REQ_VERSION=0.3
12336
12337 GTK_DOC_REQ_VERSION=1.15
12338
12339 XFIXES_REQ_VERSION=3
12340
12341 XCOMPOSITE_REQ_VERSION=0.4
12342
12343 GDK_REQ_VERSION=3.3.18
12344
12345
12346 # Checks for typedefs, structures, and compiler characteristics.
12347 # Check whether --enable-glibtest was given.
12348 if test "${enable_glibtest+set}" = set; then :
12349   enableval=$enable_glibtest;
12350 else
12351   enable_glibtest=yes
12352 fi
12353
12354
12355   pkg_config_args=glib-2.0
12356   for module in . gobject gthread gmodule-no-export
12357   do
12358       case "$module" in
12359          gmodule)
12360              pkg_config_args="$pkg_config_args gmodule-2.0"
12361          ;;
12362          gmodule-no-export)
12363              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
12364          ;;
12365          gobject)
12366              pkg_config_args="$pkg_config_args gobject-2.0"
12367          ;;
12368          gthread)
12369              pkg_config_args="$pkg_config_args gthread-2.0"
12370          ;;
12371          gio*)
12372              pkg_config_args="$pkg_config_args $module-2.0"
12373          ;;
12374       esac
12375   done
12376
12377
12378
12379
12380
12381
12382
12383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12384         if test -n "$ac_tool_prefix"; then
12385   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12390   $as_echo_n "(cached) " >&6
12391 else
12392   case $PKG_CONFIG in
12393   [\\/]* | ?:[\\/]*)
12394   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12395   ;;
12396   *)
12397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12398 for as_dir in $PATH
12399 do
12400   IFS=$as_save_IFS
12401   test -z "$as_dir" && as_dir=.
12402     for ac_exec_ext in '' $ac_executable_extensions; do
12403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12404     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406     break 2
12407   fi
12408 done
12409   done
12410 IFS=$as_save_IFS
12411
12412   ;;
12413 esac
12414 fi
12415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12416 if test -n "$PKG_CONFIG"; then
12417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12418 $as_echo "$PKG_CONFIG" >&6; }
12419 else
12420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12422 fi
12423
12424
12425 fi
12426 if test -z "$ac_cv_path_PKG_CONFIG"; then
12427   ac_pt_PKG_CONFIG=$PKG_CONFIG
12428   # Extract the first word of "pkg-config", so it can be a program name with args.
12429 set dummy pkg-config; ac_word=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12431 $as_echo_n "checking for $ac_word... " >&6; }
12432 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12433   $as_echo_n "(cached) " >&6
12434 else
12435   case $ac_pt_PKG_CONFIG in
12436   [\\/]* | ?:[\\/]*)
12437   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12438   ;;
12439   *)
12440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12441 for as_dir in $PATH
12442 do
12443   IFS=$as_save_IFS
12444   test -z "$as_dir" && as_dir=.
12445     for ac_exec_ext in '' $ac_executable_extensions; do
12446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12447     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12449     break 2
12450   fi
12451 done
12452   done
12453 IFS=$as_save_IFS
12454
12455   ;;
12456 esac
12457 fi
12458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12459 if test -n "$ac_pt_PKG_CONFIG"; then
12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12462 else
12463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12464 $as_echo "no" >&6; }
12465 fi
12466
12467   if test "x$ac_pt_PKG_CONFIG" = x; then
12468     PKG_CONFIG=""
12469   else
12470     case $cross_compiling:$ac_tool_warned in
12471 yes:)
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12474 ac_tool_warned=yes ;;
12475 esac
12476     PKG_CONFIG=$ac_pt_PKG_CONFIG
12477   fi
12478 else
12479   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12480 fi
12481
12482 fi
12483 if test -n "$PKG_CONFIG"; then
12484         _pkg_min_version=0.16
12485         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12487         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12488                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12489 $as_echo "yes" >&6; }
12490         else
12491                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12493                 PKG_CONFIG=""
12494         fi
12495 fi
12496
12497   no_glib=""
12498
12499   if test "x$PKG_CONFIG" = x ; then
12500     no_glib=yes
12501     PKG_CONFIG=no
12502   fi
12503
12504   min_glib_version=2.31.19
12505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
12506 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
12507
12508   if test x$PKG_CONFIG != xno ; then
12509     ## don't try to run the test against uninstalled libtool libs
12510     if $PKG_CONFIG --uninstalled $pkg_config_args; then
12511           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
12512           enable_glibtest=no
12513     fi
12514
12515     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
12516           :
12517     else
12518           no_glib=yes
12519     fi
12520   fi
12521
12522   if test x"$no_glib" = x ; then
12523     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
12524     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
12525     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
12526     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
12527
12528     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12529     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12530     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
12531            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12532     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
12533            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12534     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
12535            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12536     if test "x$enable_glibtest" = "xyes" ; then
12537       ac_save_CFLAGS="$CFLAGS"
12538       ac_save_LIBS="$LIBS"
12539       CFLAGS="$CFLAGS $GLIB_CFLAGS"
12540       LIBS="$GLIB_LIBS $LIBS"
12541       rm -f conf.glibtest
12542       if test "$cross_compiling" = yes; then :
12543   echo $ac_n "cross compiling; assumed OK... $ac_c"
12544 else
12545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h.  */
12547
12548 #include <glib.h>
12549 #include <stdio.h>
12550 #include <stdlib.h>
12551
12552 int
12553 main ()
12554 {
12555   unsigned int major, minor, micro;
12556   char *tmp_version;
12557
12558   fclose (fopen ("conf.glibtest", "w"));
12559
12560   /* HP/UX 9 (%@#!) writes to sscanf strings */
12561   tmp_version = g_strdup("$min_glib_version");
12562   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
12563      printf("%s, bad version string\n", "$min_glib_version");
12564      exit(1);
12565    }
12566
12567   if ((glib_major_version != $glib_config_major_version) ||
12568       (glib_minor_version != $glib_config_minor_version) ||
12569       (glib_micro_version != $glib_config_micro_version))
12570     {
12571       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
12572              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
12573              glib_major_version, glib_minor_version, glib_micro_version);
12574       printf ("*** was found! If pkg-config was correct, then it is best\n");
12575       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
12576       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12577       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12578       printf("*** required on your system.\n");
12579       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12580       printf("*** to point to the correct configuration files\n");
12581     }
12582   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
12583            (glib_minor_version != GLIB_MINOR_VERSION) ||
12584            (glib_micro_version != GLIB_MICRO_VERSION))
12585     {
12586       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
12587              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
12588       printf("*** library (version %d.%d.%d)\n",
12589              glib_major_version, glib_minor_version, glib_micro_version);
12590     }
12591   else
12592     {
12593       if ((glib_major_version > major) ||
12594         ((glib_major_version == major) && (glib_minor_version > minor)) ||
12595         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
12596       {
12597         return 0;
12598        }
12599      else
12600       {
12601         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
12602                glib_major_version, glib_minor_version, glib_micro_version);
12603         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
12604                major, minor, micro);
12605         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
12606         printf("***\n");
12607         printf("*** If you have already installed a sufficiently new version, this error\n");
12608         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12609         printf("*** being found. The easiest way to fix this is to remove the old version\n");
12610         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
12611         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12612         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12613         printf("*** so that the correct libraries are found at run-time))\n");
12614       }
12615     }
12616   return 1;
12617 }
12618
12619 _ACEOF
12620 if ac_fn_c_try_run "$LINENO"; then :
12621
12622 else
12623   no_glib=yes
12624 fi
12625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12626   conftest.$ac_objext conftest.beam conftest.$ac_ext
12627 fi
12628
12629        CFLAGS="$ac_save_CFLAGS"
12630        LIBS="$ac_save_LIBS"
12631      fi
12632   fi
12633   if test "x$no_glib" = x ; then
12634      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
12635 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
12636      :
12637   else
12638      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639 $as_echo "no" >&6; }
12640      if test "$PKG_CONFIG" = "no" ; then
12641        echo "*** A new enough version of pkg-config was not found."
12642        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12643      else
12644        if test -f conf.glibtest ; then
12645         :
12646        else
12647           echo "*** Could not run GLIB test program, checking why..."
12648           ac_save_CFLAGS="$CFLAGS"
12649           ac_save_LIBS="$LIBS"
12650           CFLAGS="$CFLAGS $GLIB_CFLAGS"
12651           LIBS="$LIBS $GLIB_LIBS"
12652           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h.  */
12654
12655 #include <glib.h>
12656 #include <stdio.h>
12657
12658 int
12659 main ()
12660 {
12661  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
12662   ;
12663   return 0;
12664 }
12665 _ACEOF
12666 if ac_fn_c_try_link "$LINENO"; then :
12667    echo "*** The test program compiled, but did not run. This usually means"
12668           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
12669           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
12670           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12671           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
12672           echo "*** is required on your system"
12673           echo "***"
12674           echo "*** If you have an old version installed, it is best to remove it, although"
12675           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12676 else
12677    echo "*** The test program failed to compile or link. See the file config.log for the"
12678           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
12679 fi
12680 rm -f core conftest.err conftest.$ac_objext \
12681     conftest$ac_exeext conftest.$ac_ext
12682           CFLAGS="$ac_save_CFLAGS"
12683           LIBS="$ac_save_LIBS"
12684        fi
12685      fi
12686      GLIB_CFLAGS=""
12687      GLIB_LIBS=""
12688      GLIB_GENMARSHAL=""
12689      GOBJECT_QUERY=""
12690      GLIB_MKENUMS=""
12691      GLIB_COMPILE_RESOURCES=""
12692      as_fn_error $? "glib-2.0 is required" "$LINENO" 5
12693   fi
12694
12695
12696
12697
12698
12699
12700   rm -f conf.glibtest
12701
12702
12703 # Check for -Bsymbolic-functions to avoid intra-library PLT jumps
12704 # Check whether --enable-Bsymbolic was given.
12705 if test "${enable_Bsymbolic+set}" = set; then :
12706   enableval=$enable_Bsymbolic;
12707 else
12708
12709                 saved_LDFLAGS="${LDFLAGS}"
12710                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
12711 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
12712                 LDFLAGS=-Wl,-Bsymbolic-functions
12713                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h.  */
12715
12716 int
12717 main ()
12718 {
12719 int main (void) { return 0; }
12720   ;
12721   return 0;
12722 }
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725
12726                               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12727 $as_echo "yes" >&6; }
12728                               enable_Bsymbolic=yes
12729
12730 else
12731
12732                               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12734                               enable_Bsymbolic=no
12735
12736 fi
12737 rm -f core conftest.err conftest.$ac_objext \
12738     conftest$ac_exeext conftest.$ac_ext
12739                 LDFLAGS="${saved_LDFLAGS}"
12740
12741 fi
12742
12743
12744 if test "x$enable_Bsymbolic" = "xyes"; then :
12745   CLUTTER_LINK_FLAGS=-Wl,-Bsymbolic-functions
12746 fi
12747
12748
12749 cat >confcache <<\_ACEOF
12750 # This file is a shell script that caches the results of configure
12751 # tests run on this system so they can be shared between configure
12752 # scripts and configure runs, see configure's option --config-cache.
12753 # It is not useful on other systems.  If it contains results you don't
12754 # want to keep, you may remove or edit it.
12755 #
12756 # config.status only pays attention to the cache file if you give it
12757 # the --recheck option to rerun configure.
12758 #
12759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12761 # following values.
12762
12763 _ACEOF
12764
12765 # The following way of writing the cache mishandles newlines in values,
12766 # but we know of no workaround that is simple, portable, and efficient.
12767 # So, we kill variables containing newlines.
12768 # Ultrix sh set writes to stderr and can't be redirected directly,
12769 # and sets the high bit in the cache file unless we assign to the vars.
12770 (
12771   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12772     eval ac_val=\$$ac_var
12773     case $ac_val in #(
12774     *${as_nl}*)
12775       case $ac_var in #(
12776       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12778       esac
12779       case $ac_var in #(
12780       _ | IFS | as_nl) ;; #(
12781       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12782       *) { eval $ac_var=; unset $ac_var;} ;;
12783       esac ;;
12784     esac
12785   done
12786
12787   (set) 2>&1 |
12788     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12789     *${as_nl}ac_space=\ *)
12790       # `set' does not quote correctly, so add quotes: double-quote
12791       # substitution turns \\\\ into \\, and sed turns \\ into \.
12792       sed -n \
12793         "s/'/'\\\\''/g;
12794           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12795       ;; #(
12796     *)
12797       # `set' quotes correctly as required by POSIX, so do not add quotes.
12798       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12799       ;;
12800     esac |
12801     sort
12802 ) |
12803   sed '
12804      /^ac_cv_env_/b end
12805      t clear
12806      :clear
12807      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12808      t end
12809      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12810      :end' >>confcache
12811 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12812   if test -w "$cache_file"; then
12813     if test "x$cache_file" != "x/dev/null"; then
12814       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12815 $as_echo "$as_me: updating cache $cache_file" >&6;}
12816       if test ! -f "$cache_file" || test -h "$cache_file"; then
12817         cat confcache >"$cache_file"
12818       else
12819         case $cache_file in #(
12820         */* | ?:*)
12821           mv -f confcache "$cache_file"$$ &&
12822           mv -f "$cache_file"$$ "$cache_file" ;; #(
12823         *)
12824           mv -f confcache "$cache_file" ;;
12825         esac
12826       fi
12827     fi
12828   else
12829     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12830 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12831   fi
12832 fi
12833 rm -f confcache
12834
12835
12836 FLAVOUR_LIBS=""
12837 FLAVOUR_CFLAGS=""
12838 CLUTTER_BACKENDS=""
12839 CLUTTER_INPUT_BACKENDS=""
12840 CLUTTER_CONFIG_DEFINES=
12841
12842 experimental_backend=no
12843 experimental_input_backend=no
12844
12845 # base dependencies for core
12846 CLUTTER_BASE_PC_FILES="cogl-1.0 >= $COGL_REQ_VERSION cairo-gobject >= $CAIRO_REQ_VERSION atk >= $ATK_REQ_VERSION pangocairo >= $PANGO_REQ_VERSION cogl-pango-1.0 json-glib-1.0 >= $JSON_GLIB_REQ_VERSION"
12847
12848 # private base dependencies
12849 CLUTTER_BASE_PC_FILES_PRIVATE=""
12850
12851 # backend specific pkg-config files
12852 BACKEND_PC_FILES=""
12853
12854 # private backend specific dependencies
12855 BACKEND_PC_FILES_PRIVATE=""
12856
12857
12858 # Check whether --enable-x11-backend was given.
12859 if test "${enable_x11_backend+set}" = set; then :
12860   enableval=$enable_x11_backend; enable_x11=$enableval
12861 else
12862   enable_x11=check
12863 fi
12864
12865 # Check whether --enable-win32-backend was given.
12866 if test "${enable_win32_backend+set}" = set; then :
12867   enableval=$enable_win32_backend; enable_win32=$enableval
12868 else
12869   enable_win32=check
12870 fi
12871
12872 # Check whether --enable-quartz-backend was given.
12873 if test "${enable_quartz_backend+set}" = set; then :
12874   enableval=$enable_quartz_backend; enable_osx=$enableval
12875 else
12876   enable_osx=check
12877 fi
12878
12879 # Check whether --enable-gdk-backend was given.
12880 if test "${enable_gdk_backend+set}" = set; then :
12881   enableval=$enable_gdk_backend; enable_gdk=$enableval
12882 else
12883   enable_gdk=check
12884 fi
12885
12886 # Check whether --enable-wayland-backend was given.
12887 if test "${enable_wayland_backend+set}" = set; then :
12888   enableval=$enable_wayland_backend; enable_wayland=$enableval
12889 else
12890   enable_wayland=no
12891 fi
12892
12893 # Check whether --enable-egl-backend was given.
12894 if test "${enable_egl_backend+set}" = set; then :
12895   enableval=$enable_egl_backend; enable_egl=$enableval
12896 else
12897   enable_egl=no
12898 fi
12899
12900 # Check whether --enable-cex100-backend was given.
12901 if test "${enable_cex100_backend+set}" = set; then :
12902   enableval=$enable_cex100_backend; enable_cex100=$enableval
12903 else
12904   enable_cex100=no
12905 fi
12906
12907
12908 if test "x$enable_x11" = "xcheck"; then :
12909
12910         if test "x$platform_glx" = "xyes"; then :
12911   enable_x11=yes
12912 else
12913   enable_x11=no
12914 fi
12915
12916 fi
12917
12918 if test "x$enable_win32" = "xcheck"; then :
12919
12920         if test "x$platform_win32" = "xyes"; then :
12921   enable_win32=yes
12922 else
12923   enable_win32=no
12924 fi
12925
12926 fi
12927
12928 if test "x$enable_osx" = "xcheck"; then :
12929
12930         if test "x$platform_quartz" = "xyes"; then :
12931   enable_osx=yes
12932 else
12933   enable_osx=no
12934 fi
12935
12936 fi
12937
12938 if test "x$enable_gdk" = "xcheck"; then :
12939
12940         if test -n "$PKG_CONFIG" && \
12941     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-3.0 >= 3.3.18\""; } >&5
12942   ($PKG_CONFIG --exists --print-errors "gdk-3.0 >= 3.3.18") 2>&5
12943   ac_status=$?
12944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12945   test $ac_status = 0; }; then
12946   enable_gdk=yes
12947 else
12948   enable_gdk=no
12949 fi
12950
12951 fi
12952
12953 if test "x$enable_x11" = "xyes"; then :
12954
12955         CLUTTER_BACKENDS="$CLUTTER_BACKENDS x11"
12956         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS x11"
12957
12958         SUPPORT_X11=1
12959         SUPPORT_GLX=1
12960         SUPPORT_COGL=1
12961
12962         # we use fontconfig API and pango-ft2 when the fontconfig
12963         # configuration changes; we don't expose any API for this
12964         # so we add pango-ft2 to the private Requires.
12965         if test -n "$PKG_CONFIG" && \
12966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
12967   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
12968   ac_status=$?
12969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970   test $ac_status = 0; }; then
12971
12972
12973 $as_echo "#define HAVE_PANGO_FT2 1" >>confdefs.h
12974
12975                            BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE pangoft2"
12976
12977 fi
12978
12979
12980 $as_echo "#define HAVE_CLUTTER_GLX 1" >>confdefs.h
12981
12982
12983 fi
12984
12985 if test "x$enable_gdk" = "xyes"; then :
12986
12987         CLUTTER_BACKENDS="$CLUTTER_BACKENDS gdk"
12988         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS gdk"
12989
12990         SUPPORT_GDK=1
12991         SUPPORT_COGL=1
12992
12993         BACKEND_PC_FILES="$BACKEND_PC_FILES gdk-3.0"
12994
12995 fi
12996
12997 if test "x$enable_wayland" = "xyes"; then :
12998
12999         CLUTTER_BACKENDS="$CLUTTER_BACKENDS wayland"
13000         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS wayland"
13001
13002         experimental_backend="yes"
13003
13004         SUPPORT_WAYLAND=1
13005
13006         if test -n "$PKG_CONFIG" && \
13007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client xkbcommon gdk-pixbuf-2.0\""; } >&5
13008   ($PKG_CONFIG --exists --print-errors "wayland-client xkbcommon gdk-pixbuf-2.0") 2>&5
13009   ac_status=$?
13010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13011   test $ac_status = 0; }; then
13012
13013                             BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon"
13014                             BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE gdk-pixbuf-2.0"
13015
13016 fi
13017
13018
13019 $as_echo "#define HAVE_CLUTTER_WAYLAND 1" >>confdefs.h
13020
13021
13022 fi
13023
13024 # Check whether --enable-wayland-compositor was given.
13025 if test "${enable_wayland_compositor+set}" = set; then :
13026   enableval=$enable_wayland_compositor;
13027 else
13028   if test "x$SUPPORT_EGL" = "x1"; then :
13029   enable_wayland_compositor=yes
13030 else
13031   enable_wayland_compositor=no
13032 fi
13033
13034 fi
13035
13036
13037 if test "x$enable_wayland_compositor" = "xyes"; then :
13038
13039         if test -n "$PKG_CONFIG" && \
13040     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-server\""; } >&5
13041   ($PKG_CONFIG --exists --print-errors "wayland-server") 2>&5
13042   ac_status=$?
13043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13044   test $ac_status = 0; }; then
13045   BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-server"
13046 fi
13047         SUPPORT_WAYLAND_COMPOSITOR=1
13048         CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13049 #define CLUTTER_HAS_WAYLAND_COMPOSITOR_SUPPORT 1"
13050
13051 $as_echo "#define HAVE_CLUTTER_WAYLAND_COMPOSITOR 1" >>confdefs.h
13052
13053
13054 fi
13055
13056  if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
13057   SUPPORT_WAYLAND_COMPOSITOR_TRUE=
13058   SUPPORT_WAYLAND_COMPOSITOR_FALSE='#'
13059 else
13060   SUPPORT_WAYLAND_COMPOSITOR_TRUE='#'
13061   SUPPORT_WAYLAND_COMPOSITOR_FALSE=
13062 fi
13063
13064
13065 if test "x$enable_wayland_compositor" != "xyes" -a "x$enable_wayland" != "xyes"; then :
13066
13067         # The wayland headers introduce so much symbol shadowing that build
13068         # logs become incomprehensible with -Wshadow so we only use it for
13069         # non-wayland builds.
13070         MAINTAINER_COMPILER_FLAGS="-Wshadow"
13071
13072 fi
13073
13074 if test "x$enable_cex100" = "xyes"; then :
13075
13076         CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
13077
13078         experimental_backend="yes"
13079
13080         SUPPORT_COGL=1
13081         SUPPORT_CEX100=1
13082
13083         have_gdl=no
13084         for ac_header in libgdl.h
13085 do :
13086   ac_fn_c_check_header_mongrel "$LINENO" "libgdl.h" "ac_cv_header_libgdl_h" "$ac_includes_default"
13087 if test "x$ac_cv_header_libgdl_h" = xyes; then :
13088   cat >>confdefs.h <<_ACEOF
13089 #define HAVE_LIBGDL_H 1
13090 _ACEOF
13091  have_gdl=yes
13092 fi
13093
13094 done
13095
13096
13097         if test "x$have_gdl" = "xno"; then :
13098
13099                 for ac_header in CE4100/libgdl.h
13100 do :
13101   ac_fn_c_check_header_mongrel "$LINENO" "CE4100/libgdl.h" "ac_cv_header_CE4100_libgdl_h" "$ac_includes_default"
13102 if test "x$ac_cv_header_CE4100_libgdl_h" = xyes; then :
13103   cat >>confdefs.h <<_ACEOF
13104 #define HAVE_CE4100_LIBGDL_H 1
13105 _ACEOF
13106
13107                                    FLAVOUR_CFLAGS="-I/usr/include/CE4100"
13108                                    have_gdl=yes
13109                                    CLUTTER_CEX100_LIBGDL_PREFIX=CE4100/
13110
13111 fi
13112
13113 done
13114
13115
13116 fi
13117
13118         if test "x$have_gdl" = "xno"; then :
13119   as_fn_error $? "libgdl.h not found but the CEx100 backend has been explicitly enabled" "$LINENO" 5
13120 fi
13121
13122
13123
13124         FLAVOUR_LIBS="$FLAVOUR_LIBS -lgdl"
13125
13126
13127 $as_echo "#define CLUTTER_EGL_BACKEND_CEX100 1" >>confdefs.h
13128
13129
13130 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13131
13132
13133 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13134
13135
13136 fi
13137
13138 if test "x$enable_egl" = "xyes"; then :
13139
13140         CLUTTER_BACKENDS="$CLUTTER_BACKENDS egl"
13141
13142         experimental_backend="yes"
13143
13144         SUPPORT_EGL=1
13145         SUPPORT_COGL=1
13146
13147         FLAVOUR_LIBS="$FLAVOUR_LIBS $TSLIB_LIBS $EVDEV_LIBS"
13148         FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $TSLIB_CFLAGS $EVDEV_CFLAGS"
13149
13150
13151 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13152
13153
13154
13155 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13156
13157
13158 fi
13159
13160 if test "x$enable_osx" = "xyes"; then :
13161
13162         CLUTTER_BACKENDS="$CLUTTER_BACKENDS osx"
13163         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS osx"
13164
13165
13166 $as_echo "#define HAVE_CLUTTER_OSX 1" >>confdefs.h
13167
13168
13169         FLAVOUR_LIBS="$FLAVOUR_LIBS -framework Cocoa -framework OpenGL"
13170
13171         SUPPORT_OSX=1
13172
13173 fi
13174
13175 if test "x$enable_win32" = "xyes"; then :
13176
13177         CLUTTER_BACKENDS="$CLUTTER_BACKENDS win32"
13178         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS win32"
13179
13180
13181 $as_echo "#define HAVE_CLUTTER_WIN32 1" >>confdefs.h
13182
13183
13184         FLAVOUR_LIBS="$FLAVOUR_LIBS -lopengl32 -lgdi32 -lwinmm"
13185         FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS -D_WIN32_WINNT=0x0500"
13186
13187         if test -n "$ac_tool_prefix"; then
13188   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13189 set dummy ${ac_tool_prefix}windres; ac_word=$2
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13191 $as_echo_n "checking for $ac_word... " >&6; }
13192 if ${ac_cv_prog_WINDRES+:} false; then :
13193   $as_echo_n "(cached) " >&6
13194 else
13195   if test -n "$WINDRES"; then
13196   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
13197 else
13198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13199 for as_dir in $PATH
13200 do
13201   IFS=$as_save_IFS
13202   test -z "$as_dir" && as_dir=.
13203     for ac_exec_ext in '' $ac_executable_extensions; do
13204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13205     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
13206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207     break 2
13208   fi
13209 done
13210   done
13211 IFS=$as_save_IFS
13212
13213 fi
13214 fi
13215 WINDRES=$ac_cv_prog_WINDRES
13216 if test -n "$WINDRES"; then
13217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13218 $as_echo "$WINDRES" >&6; }
13219 else
13220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13222 fi
13223
13224
13225 fi
13226 if test -z "$ac_cv_prog_WINDRES"; then
13227   ac_ct_WINDRES=$WINDRES
13228   # Extract the first word of "windres", so it can be a program name with args.
13229 set dummy windres; ac_word=$2
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13231 $as_echo_n "checking for $ac_word... " >&6; }
13232 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13233   $as_echo_n "(cached) " >&6
13234 else
13235   if test -n "$ac_ct_WINDRES"; then
13236   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
13237 else
13238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13239 for as_dir in $PATH
13240 do
13241   IFS=$as_save_IFS
13242   test -z "$as_dir" && as_dir=.
13243     for ac_exec_ext in '' $ac_executable_extensions; do
13244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13245     ac_cv_prog_ac_ct_WINDRES="windres"
13246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13247     break 2
13248   fi
13249 done
13250   done
13251 IFS=$as_save_IFS
13252
13253 fi
13254 fi
13255 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
13256 if test -n "$ac_ct_WINDRES"; then
13257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13258 $as_echo "$ac_ct_WINDRES" >&6; }
13259 else
13260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13261 $as_echo "no" >&6; }
13262 fi
13263
13264   if test "x$ac_ct_WINDRES" = x; then
13265     WINDRES="as_fn_error $? "*** windres is required" "$LINENO" 5"
13266   else
13267     case $cross_compiling:$ac_tool_warned in
13268 yes:)
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13271 ac_tool_warned=yes ;;
13272 esac
13273     WINDRES=$ac_ct_WINDRES
13274   fi
13275 else
13276   WINDRES="$ac_cv_prog_WINDRES"
13277 fi
13278
13279
13280         SUPPORT_WIN32=1
13281
13282 fi
13283
13284 if test "x$CLUTTER_BACKENDS" = "x"; then :
13285
13286         as_fn_error $? "No backend enabled. You need to enable at least one backend." "$LINENO" 5
13287
13288 fi
13289
13290 # additional input backends
13291
13292 # Check whether --enable-tslib-input was given.
13293 if test "${enable_tslib_input+set}" = set; then :
13294   enableval=$enable_tslib_input; enable_tslib=$enableval
13295 else
13296   enable_tslib=no
13297 fi
13298
13299 # Check whether --enable-evdev-input was given.
13300 if test "${enable_evdev_input+set}" = set; then :
13301   enableval=$enable_evdev_input; enable_evdev=$enableval
13302 else
13303   enable_evdev=no
13304 fi
13305
13306
13307 if test "x$enable_tslib" = "xyes"; then :
13308
13309
13310 pkg_failed=no
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
13312 $as_echo_n "checking for TSLIB... " >&6; }
13313
13314 if test -n "$TSLIB_CFLAGS"; then
13315     pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
13316  elif test -n "$PKG_CONFIG"; then
13317     if test -n "$PKG_CONFIG" && \
13318     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13319   ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13320   ac_status=$?
13321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13322   test $ac_status = 0; }; then
13323   pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
13324 else
13325   pkg_failed=yes
13326 fi
13327  else
13328     pkg_failed=untried
13329 fi
13330 if test -n "$TSLIB_LIBS"; then
13331     pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
13332  elif test -n "$PKG_CONFIG"; then
13333     if test -n "$PKG_CONFIG" && \
13334     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13335   ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13336   ac_status=$?
13337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13338   test $ac_status = 0; }; then
13339   pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
13340 else
13341   pkg_failed=yes
13342 fi
13343  else
13344     pkg_failed=untried
13345 fi
13346
13347
13348
13349 if test $pkg_failed = yes; then
13350         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13352
13353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13354         _pkg_short_errors_supported=yes
13355 else
13356         _pkg_short_errors_supported=no
13357 fi
13358         if test $_pkg_short_errors_supported = yes; then
13359                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
13360         else
13361                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
13362         fi
13363         # Put the nasty error message in config.log where it belongs
13364         echo "$TSLIB_PKG_ERRORS" >&5
13365
13366         have_tslib=no
13367 elif test $pkg_failed = untried; then
13368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13369 $as_echo "no" >&6; }
13370         have_tslib=no
13371 else
13372         TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
13373         TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
13374         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13375 $as_echo "yes" >&6; }
13376         have_tslib=yes
13377 fi
13378         if test "x$have_tslib" = "xyes"; then :
13379
13380                 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS tslib"
13381                 experimental_input_backend="yes"
13382
13383 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
13384
13385                 SUPPORT_TSLIB=1
13386
13387 fi
13388
13389 fi
13390
13391 if test "x$enable_evdev" = "xyes"; then :
13392
13393
13394 pkg_failed=no
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVDEV" >&5
13396 $as_echo_n "checking for EVDEV... " >&6; }
13397
13398 if test -n "$EVDEV_CFLAGS"; then
13399     pkg_cv_EVDEV_CFLAGS="$EVDEV_CFLAGS"
13400  elif test -n "$PKG_CONFIG"; then
13401     if test -n "$PKG_CONFIG" && \
13402     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13403   ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13404   ac_status=$?
13405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13406   test $ac_status = 0; }; then
13407   pkg_cv_EVDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 xkbcommon" 2>/dev/null`
13408 else
13409   pkg_failed=yes
13410 fi
13411  else
13412     pkg_failed=untried
13413 fi
13414 if test -n "$EVDEV_LIBS"; then
13415     pkg_cv_EVDEV_LIBS="$EVDEV_LIBS"
13416  elif test -n "$PKG_CONFIG"; then
13417     if test -n "$PKG_CONFIG" && \
13418     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13419   ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13420   ac_status=$?
13421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13422   test $ac_status = 0; }; then
13423   pkg_cv_EVDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 xkbcommon" 2>/dev/null`
13424 else
13425   pkg_failed=yes
13426 fi
13427  else
13428     pkg_failed=untried
13429 fi
13430
13431
13432
13433 if test $pkg_failed = yes; then
13434         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13435 $as_echo "no" >&6; }
13436
13437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13438         _pkg_short_errors_supported=yes
13439 else
13440         _pkg_short_errors_supported=no
13441 fi
13442         if test $_pkg_short_errors_supported = yes; then
13443                 EVDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0 xkbcommon" 2>&1`
13444         else
13445                 EVDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0 xkbcommon" 2>&1`
13446         fi
13447         # Put the nasty error message in config.log where it belongs
13448         echo "$EVDEV_PKG_ERRORS" >&5
13449
13450         have_evdev=no
13451 elif test $pkg_failed = untried; then
13452         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13453 $as_echo "no" >&6; }
13454         have_evdev=no
13455 else
13456         EVDEV_CFLAGS=$pkg_cv_EVDEV_CFLAGS
13457         EVDEV_LIBS=$pkg_cv_EVDEV_LIBS
13458         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13459 $as_echo "yes" >&6; }
13460         have_evdev=yes
13461 fi
13462         if test "x$have_evdev" = "xyes"; then :
13463
13464                 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS evdev"
13465                 BACKEND_PC_FILES="$BACKEND_PC_FILES gudev-1.0 xkbcommon"
13466                 experimental_input_backend="yes"
13467
13468 $as_echo "#define HAVE_EVDEV 1" >>confdefs.h
13469
13470                 SUPPORT_EVDEV=1
13471
13472 fi
13473
13474 fi
13475
13476 # conditionals for use in automake files...
13477  if test "x$SUPPORT_GLX" = "x1"; then
13478   SUPPORT_GLX_TRUE=
13479   SUPPORT_GLX_FALSE='#'
13480 else
13481   SUPPORT_GLX_TRUE='#'
13482   SUPPORT_GLX_FALSE=
13483 fi
13484
13485  if test "x$SUPPORT_X11" = "x1"; then
13486   SUPPORT_X11_TRUE=
13487   SUPPORT_X11_FALSE='#'
13488 else
13489   SUPPORT_X11_TRUE='#'
13490   SUPPORT_X11_FALSE=
13491 fi
13492
13493  if test "x$SUPPORT_GDK" = "x1"; then
13494   SUPPORT_GDK_TRUE=
13495   SUPPORT_GDK_FALSE='#'
13496 else
13497   SUPPORT_GDK_TRUE='#'
13498   SUPPORT_GDK_FALSE=
13499 fi
13500
13501  if test "x$SUPPORT_EGL" = "x1"; then
13502   SUPPORT_EGL_TRUE=
13503   SUPPORT_EGL_FALSE='#'
13504 else
13505   SUPPORT_EGL_TRUE='#'
13506   SUPPORT_EGL_FALSE=
13507 fi
13508
13509  if test "x$SUPPORT_OSX" = "x1"; then
13510   SUPPORT_OSX_TRUE=
13511   SUPPORT_OSX_FALSE='#'
13512 else
13513   SUPPORT_OSX_TRUE='#'
13514   SUPPORT_OSX_FALSE=
13515 fi
13516
13517  if test "x$SUPPORT_WIN32" = "x1"; then
13518   SUPPORT_WIN32_TRUE=
13519   SUPPORT_WIN32_FALSE='#'
13520 else
13521   SUPPORT_WIN32_TRUE='#'
13522   SUPPORT_WIN32_FALSE=
13523 fi
13524
13525  if test "x$SUPPORT_CEX100" = "x1"; then
13526   SUPPORT_CEX100_TRUE=
13527   SUPPORT_CEX100_FALSE='#'
13528 else
13529   SUPPORT_CEX100_TRUE='#'
13530   SUPPORT_CEX100_FALSE=
13531 fi
13532
13533  if test "x$SUPPORT_WAYLAND" = "x1"; then
13534   SUPPORT_WAYLAND_TRUE=
13535   SUPPORT_WAYLAND_FALSE='#'
13536 else
13537   SUPPORT_WAYLAND_TRUE='#'
13538   SUPPORT_WAYLAND_FALSE=
13539 fi
13540
13541
13542  if test "x$SUPPORT_COGL" = "x1"; then
13543   USE_COGL_TRUE=
13544   USE_COGL_FALSE='#'
13545 else
13546   USE_COGL_TRUE='#'
13547   USE_COGL_FALSE=
13548 fi
13549
13550  if test "x$have_tslib" = "xyes"; then
13551   USE_TSLIB_TRUE=
13552   USE_TSLIB_FALSE='#'
13553 else
13554   USE_TSLIB_TRUE='#'
13555   USE_TSLIB_FALSE=
13556 fi
13557
13558  if test "x$have_evdev" = "xyes"; then
13559   USE_EVDEV_TRUE=
13560   USE_EVDEV_FALSE='#'
13561 else
13562   USE_EVDEV_TRUE='#'
13563   USE_EVDEV_FALSE=
13564 fi
13565
13566  if test "x$have_gdl" = "xyes"; then
13567   USE_GLD_TRUE=
13568   USE_GLD_FALSE='#'
13569 else
13570   USE_GLD_TRUE='#'
13571   USE_GLD_FALSE=
13572 fi
13573
13574
13575  if test "x$have_evdev" = "xyes" -o "x$SUPPORT_WAYLAND" = "x1"; then
13576   NEED_XKB_UTILS_TRUE=
13577   NEED_XKB_UTILS_FALSE='#'
13578 else
13579   NEED_XKB_UTILS_TRUE='#'
13580   NEED_XKB_UTILS_FALSE=
13581 fi
13582
13583
13584
13585 $as_echo "#define COGL_ENABLE_EXPERIMENTAL_2_0_API 1" >>confdefs.h
13586
13587
13588 CLUTTER_BACKENDS=${CLUTTER_BACKENDS#* }
13589
13590
13591 CLUTTER_INPUT_BACKENDS=${CLUTTER_INPUT_BACKENDS#* }
13592
13593
13594 cat >confcache <<\_ACEOF
13595 # This file is a shell script that caches the results of configure
13596 # tests run on this system so they can be shared between configure
13597 # scripts and configure runs, see configure's option --config-cache.
13598 # It is not useful on other systems.  If it contains results you don't
13599 # want to keep, you may remove or edit it.
13600 #
13601 # config.status only pays attention to the cache file if you give it
13602 # the --recheck option to rerun configure.
13603 #
13604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13606 # following values.
13607
13608 _ACEOF
13609
13610 # The following way of writing the cache mishandles newlines in values,
13611 # but we know of no workaround that is simple, portable, and efficient.
13612 # So, we kill variables containing newlines.
13613 # Ultrix sh set writes to stderr and can't be redirected directly,
13614 # and sets the high bit in the cache file unless we assign to the vars.
13615 (
13616   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13617     eval ac_val=\$$ac_var
13618     case $ac_val in #(
13619     *${as_nl}*)
13620       case $ac_var in #(
13621       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13623       esac
13624       case $ac_var in #(
13625       _ | IFS | as_nl) ;; #(
13626       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13627       *) { eval $ac_var=; unset $ac_var;} ;;
13628       esac ;;
13629     esac
13630   done
13631
13632   (set) 2>&1 |
13633     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13634     *${as_nl}ac_space=\ *)
13635       # `set' does not quote correctly, so add quotes: double-quote
13636       # substitution turns \\\\ into \\, and sed turns \\ into \.
13637       sed -n \
13638         "s/'/'\\\\''/g;
13639           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13640       ;; #(
13641     *)
13642       # `set' quotes correctly as required by POSIX, so do not add quotes.
13643       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13644       ;;
13645     esac |
13646     sort
13647 ) |
13648   sed '
13649      /^ac_cv_env_/b end
13650      t clear
13651      :clear
13652      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13653      t end
13654      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13655      :end' >>confcache
13656 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13657   if test -w "$cache_file"; then
13658     if test "x$cache_file" != "x/dev/null"; then
13659       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13660 $as_echo "$as_me: updating cache $cache_file" >&6;}
13661       if test ! -f "$cache_file" || test -h "$cache_file"; then
13662         cat confcache >"$cache_file"
13663       else
13664         case $cache_file in #(
13665         */* | ?:*)
13666           mv -f confcache "$cache_file"$$ &&
13667           mv -f "$cache_file"$$ "$cache_file" ;; #(
13668         *)
13669           mv -f confcache "$cache_file" ;;
13670         esac
13671       fi
13672     fi
13673   else
13674     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13675 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13676   fi
13677 fi
13678 rm -f confcache
13679
13680
13681 # windowing systems
13682 if test "x$SUPPORT_X11" = "x1"; then :
13683   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13684 #define CLUTTER_WINDOWING_X11 \"x11\"
13685 #define CLUTTER_INPUT_X11 \"x11\""
13686 fi
13687 if test "x$SUPPORT_GDK" = "x1"; then :
13688   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13689 #define CLUTTER_WINDOWING_GDK \"gdk\"
13690 #define CLUTTER_INPUT_GDK \"gdk\""
13691 fi
13692 if test "x$SUPPORT_GLX" = "x1"; then :
13693   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13694 #define CLUTTER_WINDOWING_GLX \"glx\""
13695 fi
13696 if test "x$SUPPORT_EGL" = "x1"; then :
13697   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13698 #define CLUTTER_WINDOWING_EGL \"eglnative\""
13699 fi
13700 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13701   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13702 #define CLUTTER_WINDOWING_WAYLAND \"wayland\""
13703 fi
13704 if test "x$SUPPORT_OSX" = "x1"; then :
13705   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13706 #define CLUTTER_WINDOWING_OSX \"osx\"
13707 #define CLUTTER_INPUT_OSX \"osx\""
13708 fi
13709 if test "x$SUPPORT_WIN32" = "x1"; then :
13710   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13711 #define CLUTTER_WINDOWING_WIN32 \"win32\"
13712 #define CLUTTER_INPUT_WIN32 \"win32\""
13713 fi
13714 if test "x$SUPPORT_CEX100" = "x1"; then :
13715   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13716 #define CLUTTER_WINDOWING_CEX100 \"cex100\""
13717 fi
13718 if test "x$SUPPORT_EVDEV" = "x1"; then :
13719   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13720 #define CLUTTER_INPUT_EVDEV \"evdev\""
13721 fi
13722 if test "x$SUPPORT_TSLIB" = "x1"; then :
13723   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13724 #define CLUTTER_INPUT_TSLIB \"tslib\""
13725 fi
13726 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13727   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13728 #define CLUTTER_INPUT_WAYLAND \"wayland\""
13729 fi
13730
13731 # the 'null' input backend is special
13732 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13733 #define CLUTTER_INPUT_NULL \"null\""
13734
13735
13736
13737 CLUTTER_WINSYS=deprecated
13738
13739 CLUTTER_WINSYS_BASE=deprecated
13740
13741 CLUTTER_STAGE_TYPE=deprecated
13742
13743 CLUTTER_SONAME_INFIX=deprecated
13744
13745 CLUTTER_FLAVOUR=deprecated
13746
13747 CLUTTER_COGL=deprecated
13748
13749 COGL_DRIVER=deprecated
13750
13751
13752 X11_PC_FILES=""
13753 X11_EXTS=""
13754 x11_tests=no
13755
13756 if test "x$SUPPORT_X11" = "x1"; then :
13757
13758         # base X11 includes and libraries
13759         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
13760 $as_echo_n "checking for X11... " >&6; }
13761
13762         # start with pkg-config
13763         if test -n "$PKG_CONFIG" && \
13764     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
13765   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
13766   ac_status=$?
13767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13768   test $ac_status = 0; }; then
13769   have_x11=yes
13770 else
13771   have_x11=no
13772 fi
13773         if test "x$have_x11" = "xyes"; then :
13774
13775                 X11_PC_FILES="x11"
13776
13777                 # we actually need to ask for CFLAGS and LIBS
13778                 X11_CFLAGS=`$PKG_CONFIG --cflags $X11_PC_FILES`
13779                 X11_LIBS=`$PKG_CONFIG --libs $X11_PC_FILES`
13780
13781                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13782 $as_echo "found" >&6; }
13783
13784 else
13785
13786                 # no pkg-config, let's go old school
13787                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13788 $as_echo_n "checking for X... " >&6; }
13789
13790
13791 # Check whether --with-x was given.
13792 if test "${with_x+set}" = set; then :
13793   withval=$with_x;
13794 fi
13795
13796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13797 if test "x$with_x" = xno; then
13798   # The user explicitly disabled X.
13799   have_x=disabled
13800 else
13801   case $x_includes,$x_libraries in #(
13802     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13803     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13804   $as_echo_n "(cached) " >&6
13805 else
13806   # One or both of the vars are not set, and there is no cached value.
13807 ac_x_includes=no ac_x_libraries=no
13808 rm -f -r conftest.dir
13809 if mkdir conftest.dir; then
13810   cd conftest.dir
13811   cat >Imakefile <<'_ACEOF'
13812 incroot:
13813         @echo incroot='${INCROOT}'
13814 usrlibdir:
13815         @echo usrlibdir='${USRLIBDIR}'
13816 libdir:
13817         @echo libdir='${LIBDIR}'
13818 _ACEOF
13819   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13820     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13821     for ac_var in incroot usrlibdir libdir; do
13822       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13823     done
13824     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13825     for ac_extension in a so sl dylib la dll; do
13826       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13827          test -f "$ac_im_libdir/libX11.$ac_extension"; then
13828         ac_im_usrlibdir=$ac_im_libdir; break
13829       fi
13830     done
13831     # Screen out bogus values from the imake configuration.  They are
13832     # bogus both because they are the default anyway, and because
13833     # using them would break gcc on systems where it needs fixed includes.
13834     case $ac_im_incroot in
13835         /usr/include) ac_x_includes= ;;
13836         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13837     esac
13838     case $ac_im_usrlibdir in
13839         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13840         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13841     esac
13842   fi
13843   cd ..
13844   rm -f -r conftest.dir
13845 fi
13846
13847 # Standard set of common directories for X headers.
13848 # Check X11 before X11Rn because it is often a symlink to the current release.
13849 ac_x_header_dirs='
13850 /usr/X11/include
13851 /usr/X11R7/include
13852 /usr/X11R6/include
13853 /usr/X11R5/include
13854 /usr/X11R4/include
13855
13856 /usr/include/X11
13857 /usr/include/X11R7
13858 /usr/include/X11R6
13859 /usr/include/X11R5
13860 /usr/include/X11R4
13861
13862 /usr/local/X11/include
13863 /usr/local/X11R7/include
13864 /usr/local/X11R6/include
13865 /usr/local/X11R5/include
13866 /usr/local/X11R4/include
13867
13868 /usr/local/include/X11
13869 /usr/local/include/X11R7
13870 /usr/local/include/X11R6
13871 /usr/local/include/X11R5
13872 /usr/local/include/X11R4
13873
13874 /usr/X386/include
13875 /usr/x386/include
13876 /usr/XFree86/include/X11
13877
13878 /usr/include
13879 /usr/local/include
13880 /usr/unsupported/include
13881 /usr/athena/include
13882 /usr/local/x11r5/include
13883 /usr/lpp/Xamples/include
13884
13885 /usr/openwin/include
13886 /usr/openwin/share/include'
13887
13888 if test "$ac_x_includes" = no; then
13889   # Guess where to find include files, by looking for Xlib.h.
13890   # First, try using that file with no special directory specified.
13891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h.  */
13893 #include <X11/Xlib.h>
13894 _ACEOF
13895 if ac_fn_c_try_cpp "$LINENO"; then :
13896   # We can compile using X headers with no special include directory.
13897 ac_x_includes=
13898 else
13899   for ac_dir in $ac_x_header_dirs; do
13900   if test -r "$ac_dir/X11/Xlib.h"; then
13901     ac_x_includes=$ac_dir
13902     break
13903   fi
13904 done
13905 fi
13906 rm -f conftest.err conftest.i conftest.$ac_ext
13907 fi # $ac_x_includes = no
13908
13909 if test "$ac_x_libraries" = no; then
13910   # Check for the libraries.
13911   # See if we find them without any special options.
13912   # Don't add to $LIBS permanently.
13913   ac_save_LIBS=$LIBS
13914   LIBS="-lX11 $LIBS"
13915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h.  */
13917 #include <X11/Xlib.h>
13918 int
13919 main ()
13920 {
13921 XrmInitialize ()
13922   ;
13923   return 0;
13924 }
13925 _ACEOF
13926 if ac_fn_c_try_link "$LINENO"; then :
13927   LIBS=$ac_save_LIBS
13928 # We can link X programs with no special library path.
13929 ac_x_libraries=
13930 else
13931   LIBS=$ac_save_LIBS
13932 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13933 do
13934   # Don't even attempt the hair of trying to link an X program!
13935   for ac_extension in a so sl dylib la dll; do
13936     if test -r "$ac_dir/libX11.$ac_extension"; then
13937       ac_x_libraries=$ac_dir
13938       break 2
13939     fi
13940   done
13941 done
13942 fi
13943 rm -f core conftest.err conftest.$ac_objext \
13944     conftest$ac_exeext conftest.$ac_ext
13945 fi # $ac_x_libraries = no
13946
13947 case $ac_x_includes,$ac_x_libraries in #(
13948   no,* | *,no | *\'*)
13949     # Didn't find X, or a directory has "'" in its name.
13950     ac_cv_have_x="have_x=no";; #(
13951   *)
13952     # Record where we found X for the cache.
13953     ac_cv_have_x="have_x=yes\
13954         ac_x_includes='$ac_x_includes'\
13955         ac_x_libraries='$ac_x_libraries'"
13956 esac
13957 fi
13958 ;; #(
13959     *) have_x=yes;;
13960   esac
13961   eval "$ac_cv_have_x"
13962 fi # $with_x != no
13963
13964 if test "$have_x" != yes; then
13965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13966 $as_echo "$have_x" >&6; }
13967   no_x=yes
13968 else
13969   # If each of the values was on the command line, it overrides each guess.
13970   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13971   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13972   # Update the cache value to reflect the command line values.
13973   ac_cv_have_x="have_x=yes\
13974         ac_x_includes='$x_includes'\
13975         ac_x_libraries='$x_libraries'"
13976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13977 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13978 fi
13979
13980
13981                 if test "x$no_x" = "xyes"; then :
13982   as_fn_error $? "No X11 Libraries found" "$LINENO" 5
13983 else
13984
13985                         if test "x$x_includes" != "xNONE" && test -n "$x_includes"; then :
13986   X11_CFLAGS=-I`echo $x_includes | sed -e "s/:/ -I/g"`
13987 fi
13988
13989                         if test "x$x_libraries" != "xNONE" && test -n "$x_libraries"; then :
13990   X11_LIBS=-L`echo $x_libraries | sed -e "s/:/ -L/g"`
13991 fi
13992
13993                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13994 $as_echo "found" >&6; }
13995
13996
13997 fi
13998
13999
14000 fi
14001
14002         # XEXT (required)
14003         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT extension" >&5
14004 $as_echo_n "checking for XEXT extension... " >&6; }
14005         if test -n "$PKG_CONFIG" && \
14006     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
14007   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
14008   ac_status=$?
14009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010   test $ac_status = 0; }; then
14011   have_xext=yes
14012 else
14013   have_xext=no
14014 fi
14015         if test "x$have_xext" = "xyes"; then :
14016
14017
14018 $as_echo "#define HAVE_XEXT 1" >>confdefs.h
14019
14020
14021                 X11_LIBS="$X11_LIBS -lXext"
14022                 X11_PC_FILES="$X11_PC_FILES xext"
14023                 X11_EXTS="$X11_EXTS xext"
14024
14025                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14026 $as_echo "found" >&6; }
14027
14028 else
14029   as_fn_error $? "Not found" "$LINENO" 5
14030
14031 fi
14032
14033         # XFIXES (required)
14034         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES extension >= $XFIXES_REQ_VERSION" >&5
14035 $as_echo_n "checking for XFIXES extension >= $XFIXES_REQ_VERSION... " >&6; }
14036         if test -n "$PKG_CONFIG" && \
14037     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes >= \$XFIXES_REQ_VERSION\""; } >&5
14038   ($PKG_CONFIG --exists --print-errors "xfixes >= $XFIXES_REQ_VERSION") 2>&5
14039   ac_status=$?
14040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14041   test $ac_status = 0; }; then
14042   have_xfixes=yes
14043 else
14044   have_xfixes=no
14045 fi
14046         if test "x$have_xfixes" = "xyes"; then :
14047
14048
14049 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
14050
14051
14052                 X11_LIBS="$X11_LIBS -lXfixes"
14053                 X11_PC_FILES="$X11_PC_FILES xfixes >= $XFIXES_REQ_VERSION"
14054                 X11_EXTS="$X11_EXTS xfixes"
14055
14056                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14057 $as_echo "found" >&6; }
14058
14059 else
14060   as_fn_error $? "Not found" "$LINENO" 5
14061
14062 fi
14063
14064         # XDAMAGE (required)
14065         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE extension" >&5
14066 $as_echo_n "checking for XDAMAGE extension... " >&6; }
14067         if test -n "$PKG_CONFIG" && \
14068     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
14069   ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
14070   ac_status=$?
14071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14072   test $ac_status = 0; }; then
14073   have_xdamage=yes
14074 else
14075   have_xdamage=no
14076 fi
14077         if test "x$have_xdamage" = "xyes"; then :
14078
14079
14080 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
14081
14082
14083                 X11_LIBS="$X11_LIBS -lXdamage"
14084                 X11_PC_FILES="$X11_PC_FILES xdamage"
14085                 X11_EXTS="$X11_EXTS xdamage"
14086
14087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14088 $as_echo "found" >&6; }
14089
14090 else
14091   as_fn_error $? "not found" "$LINENO" 5
14092
14093 fi
14094
14095         # XCOMPOSITE (optional)
14096         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION" >&5
14097 $as_echo_n "checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION... " >&6; }
14098         if test -n "$PKG_CONFIG" && \
14099     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcomposite >= \$XCOMPOSITE_REQ_VERSION\""; } >&5
14100   ($PKG_CONFIG --exists --print-errors "xcomposite >= $XCOMPOSITE_REQ_VERSION") 2>&5
14101   ac_status=$?
14102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14103   test $ac_status = 0; }; then
14104   have_xcomposite=yes
14105 else
14106   have_xcomposite=no
14107 fi
14108         if test "x$have_xcomposite" = "xyes"; then :
14109
14110
14111 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
14112
14113
14114                 X11_LIBS="$X11_LIBS -lXcomposite"
14115                 X11_PC_FILES="$X11_PC_FILES xcomposite >= $XCOMPOSITE_REQ_VERSION"
14116                 X11_EXTS="$X11_EXTS xcomposite"
14117
14118                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14119 $as_echo "found" >&6; }
14120
14121 else
14122   as_fn_error $? "not found" "$LINENO" 5
14123
14124 fi
14125
14126         # X Generic Extensions (optional)
14127         clutter_save_CPPFLAGS="$CPPFLAGS"
14128         CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14129
14130         clutter_save_LIBS="$LIBS"
14131         LIBS="$LIBS $X11_LIBS"
14132
14133         have_xge=no
14134         ac_fn_c_check_func "$LINENO" "XGetEventData" "ac_cv_func_XGetEventData"
14135 if test "x$ac_cv_func_XGetEventData" = xyes; then :
14136
14137
14138 $as_echo "#define HAVE_XGE 1" >>confdefs.h
14139
14140                         have_xge=yes
14141                         X11_EXTS="$X11_EXTS xge"
14142
14143 fi
14144
14145
14146         CPPFLAGS="$clutter_save_CPPFLAGS"
14147         LIBS="$clutter_save_LIBS"
14148
14149         # XI (optional)
14150         # Check whether --enable-xinput was given.
14151 if test "${enable_xinput+set}" = set; then :
14152   enableval=$enable_xinput;
14153 else
14154   enable_xinput=yes
14155 fi
14156
14157
14158         if test "x$enable_xinput" = "xyes"; then :
14159
14160                 if test -n "$PKG_CONFIG" && \
14161     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
14162   ($PKG_CONFIG --exists --print-errors "xi") 2>&5
14163   ac_status=$?
14164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14165   test $ac_status = 0; }; then
14166   have_xinput=yes
14167 else
14168   have_xinput=no
14169 fi
14170
14171 else
14172
14173                 have_xinput=no
14174
14175 fi
14176
14177         case $have_xinput in #(
14178   yes) :
14179
14180                   for ac_header in X11/extensions/XInput2.h
14181 do :
14182   ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
14183 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
14184   cat >>confdefs.h <<_ACEOF
14185 #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
14186 _ACEOF
14187
14188                                      have_xinput2=yes
14189
14190 $as_echo "#define HAVE_XINPUT_2 1" >>confdefs.h
14191
14192
14193 else
14194
14195                                      have_xinput2=no
14196
14197 $as_echo "#define HAVE_XINPUT 1" >>confdefs.h
14198
14199
14200 fi
14201
14202 done
14203
14204
14205                   clutter_save_LIBS="$LIBS"
14206                   LIBS="$LIBS -lXi"
14207
14208                   ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" "ac_cv_func_XIAllowTouchEvents"
14209 if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
14210
14211                                   ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" "ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
14212 "
14213 if test "x$ac_cv_member_XIScrollClassInfo_number" = xyes; then :
14214
14215                                                     have_xinput_2_2=yes
14216
14217 $as_echo "#define HAVE_XINPUT_2_2 1" >>confdefs.h
14218
14219
14220 else
14221   have_xinput_2_2=no
14222 fi
14223
14224 fi
14225
14226
14227                   LIBS="$clutter_save_LIBS"
14228
14229                   X11_LIBS="$X11_LIBS $XINPUT_LIBS"
14230                   X11_PC_FILES="$X11_PC_FILES xi"
14231
14232                   if test "x$have_xinput_2_2" = "xyes"; then :
14233   X11_EXTS="$X11_EXTS xi2.2"
14234 else
14235   X11_EXTS="$X11_EXTS xi2.0"
14236 fi
14237                  ;; #(
14238   no) :
14239     have_xinput2=no ;; #(
14240   *) :
14241     as_fn_error $? "Invalid argument for --enable-xinput" "$LINENO" 5
14242          ;; #(
14243   *) :
14244      ;;
14245 esac
14246
14247         # XKB
14248         clutter_save_CPPFLAGS="$CPPFLAGS"
14249         CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14250
14251         clutter_save_LIBS="$LIBS"
14252         LIBS="$LIBS $X11_LIBS"
14253
14254         have_xkb=no
14255         ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
14256 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
14257
14258
14259 $as_echo "#define HAVE_XKB 1" >>confdefs.h
14260
14261                         have_xkb=yes
14262
14263                         X11_EXTS="$X11_EXTS xkb"
14264
14265 fi
14266
14267
14268         CPPFLAGS="$clutter_save_CPPFLAGS"
14269         LIBS="$clutter_save_LIBS"
14270
14271         x11_tests=yes
14272         BACKEND_PC_FILES="$BACKEND_PC_FILES $X11_PC_FILES"
14273         FLAVOUR_LIBS="$FLAVOUR_LIBS $X11_LIBS"
14274         FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $X11_CFLAGS"
14275
14276
14277 fi
14278
14279  if test "x$have_xinput2" = "xyes"; then
14280   BUILD_XI2_TRUE=
14281   BUILD_XI2_FALSE='#'
14282 else
14283   BUILD_XI2_TRUE='#'
14284   BUILD_XI2_FALSE=
14285 fi
14286
14287  if test "x$x11_tests" = "xyes"; then
14288   X11_TESTS_TRUE=
14289   X11_TESTS_FALSE='#'
14290 else
14291   X11_TESTS_TRUE='#'
14292   X11_TESTS_FALSE=
14293 fi
14294
14295
14296 X11_EXTS=${X11_EXTS#* }
14297
14298 cat >confcache <<\_ACEOF
14299 # This file is a shell script that caches the results of configure
14300 # tests run on this system so they can be shared between configure
14301 # scripts and configure runs, see configure's option --config-cache.
14302 # It is not useful on other systems.  If it contains results you don't
14303 # want to keep, you may remove or edit it.
14304 #
14305 # config.status only pays attention to the cache file if you give it
14306 # the --recheck option to rerun configure.
14307 #
14308 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14309 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14310 # following values.
14311
14312 _ACEOF
14313
14314 # The following way of writing the cache mishandles newlines in values,
14315 # but we know of no workaround that is simple, portable, and efficient.
14316 # So, we kill variables containing newlines.
14317 # Ultrix sh set writes to stderr and can't be redirected directly,
14318 # and sets the high bit in the cache file unless we assign to the vars.
14319 (
14320   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14321     eval ac_val=\$$ac_var
14322     case $ac_val in #(
14323     *${as_nl}*)
14324       case $ac_var in #(
14325       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14326 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14327       esac
14328       case $ac_var in #(
14329       _ | IFS | as_nl) ;; #(
14330       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14331       *) { eval $ac_var=; unset $ac_var;} ;;
14332       esac ;;
14333     esac
14334   done
14335
14336   (set) 2>&1 |
14337     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14338     *${as_nl}ac_space=\ *)
14339       # `set' does not quote correctly, so add quotes: double-quote
14340       # substitution turns \\\\ into \\, and sed turns \\ into \.
14341       sed -n \
14342         "s/'/'\\\\''/g;
14343           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14344       ;; #(
14345     *)
14346       # `set' quotes correctly as required by POSIX, so do not add quotes.
14347       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14348       ;;
14349     esac |
14350     sort
14351 ) |
14352   sed '
14353      /^ac_cv_env_/b end
14354      t clear
14355      :clear
14356      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14357      t end
14358      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14359      :end' >>confcache
14360 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14361   if test -w "$cache_file"; then
14362     if test "x$cache_file" != "x/dev/null"; then
14363       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14364 $as_echo "$as_me: updating cache $cache_file" >&6;}
14365       if test ! -f "$cache_file" || test -h "$cache_file"; then
14366         cat confcache >"$cache_file"
14367       else
14368         case $cache_file in #(
14369         */* | ?:*)
14370           mv -f confcache "$cache_file"$$ &&
14371           mv -f "$cache_file"$$ "$cache_file" ;; #(
14372         *)
14373           mv -f confcache "$cache_file" ;;
14374         esac
14375       fi
14376     fi
14377   else
14378     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14379 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14380   fi
14381 fi
14382 rm -f confcache
14383
14384
14385
14386 # Check whether --enable-gdk-pixbuf was given.
14387 if test "${enable_gdk_pixbuf+set}" = set; then :
14388   enableval=$enable_gdk_pixbuf; enable_pixbuf=$enable_val
14389 else
14390   enable_pixbuf=yes
14391 fi
14392
14393
14394 case $enable_pixbuf in #(
14395   yes) :
14396
14397
14398 pkg_failed=no
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14400 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
14401
14402 if test -n "$GDK_PIXBUF_CFLAGS"; then
14403     pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
14404  elif test -n "$PKG_CONFIG"; then
14405     if test -n "$PKG_CONFIG" && \
14406     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14407   ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14408   ac_status=$?
14409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14410   test $ac_status = 0; }; then
14411   pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
14412 else
14413   pkg_failed=yes
14414 fi
14415  else
14416     pkg_failed=untried
14417 fi
14418 if test -n "$GDK_PIXBUF_LIBS"; then
14419     pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
14420  elif test -n "$PKG_CONFIG"; then
14421     if test -n "$PKG_CONFIG" && \
14422     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14423   ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14424   ac_status=$?
14425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14426   test $ac_status = 0; }; then
14427   pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
14428 else
14429   pkg_failed=yes
14430 fi
14431  else
14432     pkg_failed=untried
14433 fi
14434
14435
14436
14437 if test $pkg_failed = yes; then
14438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14439 $as_echo "no" >&6; }
14440
14441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14442         _pkg_short_errors_supported=yes
14443 else
14444         _pkg_short_errors_supported=no
14445 fi
14446         if test $_pkg_short_errors_supported = yes; then
14447                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
14448         else
14449                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
14450         fi
14451         # Put the nasty error message in config.log where it belongs
14452         echo "$GDK_PIXBUF_PKG_ERRORS" >&5
14453
14454         as_fn_error $? "Package requirements (gdk-pixbuf-2.0) were not met:
14455
14456 $GDK_PIXBUF_PKG_ERRORS
14457
14458 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14459 installed software in a non-standard prefix.
14460
14461 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14462 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14463 See the pkg-config man page for more details." "$LINENO" 5
14464
14465 elif test $pkg_failed = untried; then
14466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14467 $as_echo "no" >&6; }
14468         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14470 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14471 is in your PATH or set the PKG_CONFIG environment variable to the full
14472 path to pkg-config.
14473
14474 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14475 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14476 See the pkg-config man page for more details.
14477
14478 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14479 See \`config.log' for more details" "$LINENO" 5; }
14480
14481 else
14482         GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
14483         GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
14484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14485 $as_echo "yes" >&6; }
14486
14487 fi
14488
14489
14490           pixbuf_tests=yes
14491          ;; #(
14492   no) :
14493
14494           pixbuf_tests=no
14495
14496  ;; #(
14497   *) :
14498      ;;
14499 esac
14500
14501  if test "x$pixbuf_tests" = "xyes"; then
14502   PIXBUF_TESTS_TRUE=
14503   PIXBUF_TESTS_FALSE='#'
14504 else
14505   PIXBUF_TESTS_TRUE='#'
14506   PIXBUF_TESTS_FALSE=
14507 fi
14508
14509
14510
14511
14512 # Check whether --enable-debug was given.
14513 if test "${enable_debug+set}" = set; then :
14514   enableval=$enable_debug;
14515 else
14516   enable_debug=minimum
14517 fi
14518
14519
14520 case $enable_debug in #(
14521   yes) :
14522
14523           test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
14524           CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG"
14525          ;; #(
14526   minimum) :
14527     CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS" ;; #(
14528   no) :
14529     CLUTTER_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" ;; #(
14530   *) :
14531     as_fn_error $? "Unknown argument for --enable-debug" "$LINENO" 5
14532  ;;
14533 esac
14534
14535
14536
14537
14538
14539
14540 # Check whether --enable-deprecated was given.
14541 if test "${enable_deprecated+set}" = set; then :
14542   enableval=$enable_deprecated;
14543 else
14544   enable_deprecated=yes
14545 fi
14546
14547
14548 case $enable_deprecated in #(
14549   no) :
14550
14551           CLUTTER_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DCOGL_DISABLE_DEPRECATED"
14552          ;; #(
14553   yes) :
14554
14555           CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS"
14556          ;; #(
14557   *) :
14558     as_fn_error $? "Unknown argument for --enable-deprecated" "$LINENO" 5
14559  ;;
14560 esac
14561
14562
14563
14564
14565
14566 # Check whether --enable-conformance was given.
14567 if test "${enable_conformance+set}" = set; then :
14568   enableval=$enable_conformance;
14569 else
14570   enable_conformance=yes
14571 fi
14572
14573
14574  if test "x$enable_conformance" = "xyes"; then
14575   BUILD_TESTS_TRUE=
14576   BUILD_TESTS_FALSE='#'
14577 else
14578   BUILD_TESTS_TRUE='#'
14579   BUILD_TESTS_FALSE=
14580 fi
14581
14582
14583
14584
14585 # Check whether --enable-profile was given.
14586 if test "${enable_profile+set}" = set; then :
14587   enableval=$enable_profile;
14588 else
14589   enable_profile=no
14590 fi
14591
14592
14593 case $enable_profile in #(
14594   yes) :
14595
14596           if test "x$GCC" = "xyes"; then :
14597
14598
14599 pkg_failed=no
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROFILE_DEP" >&5
14601 $as_echo_n "checking for PROFILE_DEP... " >&6; }
14602
14603 if test -n "$PROFILE_DEP_CFLAGS"; then
14604     pkg_cv_PROFILE_DEP_CFLAGS="$PROFILE_DEP_CFLAGS"
14605  elif test -n "$PKG_CONFIG"; then
14606     if test -n "$PKG_CONFIG" && \
14607     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14608   ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14609   ac_status=$?
14610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611   test $ac_status = 0; }; then
14612   pkg_cv_PROFILE_DEP_CFLAGS=`$PKG_CONFIG --cflags "uprof-0.3" 2>/dev/null`
14613 else
14614   pkg_failed=yes
14615 fi
14616  else
14617     pkg_failed=untried
14618 fi
14619 if test -n "$PROFILE_DEP_LIBS"; then
14620     pkg_cv_PROFILE_DEP_LIBS="$PROFILE_DEP_LIBS"
14621  elif test -n "$PKG_CONFIG"; then
14622     if test -n "$PKG_CONFIG" && \
14623     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14624   ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14625   ac_status=$?
14626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14627   test $ac_status = 0; }; then
14628   pkg_cv_PROFILE_DEP_LIBS=`$PKG_CONFIG --libs "uprof-0.3" 2>/dev/null`
14629 else
14630   pkg_failed=yes
14631 fi
14632  else
14633     pkg_failed=untried
14634 fi
14635
14636
14637
14638 if test $pkg_failed = yes; then
14639         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14640 $as_echo "no" >&6; }
14641
14642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14643         _pkg_short_errors_supported=yes
14644 else
14645         _pkg_short_errors_supported=no
14646 fi
14647         if test $_pkg_short_errors_supported = yes; then
14648                 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uprof-0.3" 2>&1`
14649         else
14650                 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors "uprof-0.3" 2>&1`
14651         fi
14652         # Put the nasty error message in config.log where it belongs
14653         echo "$PROFILE_DEP_PKG_ERRORS" >&5
14654
14655         as_fn_error $? "Package requirements (uprof-0.3) were not met:
14656
14657 $PROFILE_DEP_PKG_ERRORS
14658
14659 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14660 installed software in a non-standard prefix.
14661
14662 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14663 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14664 See the pkg-config man page for more details." "$LINENO" 5
14665
14666 elif test $pkg_failed = untried; then
14667         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14668 $as_echo "no" >&6; }
14669         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14671 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14672 is in your PATH or set the PKG_CONFIG environment variable to the full
14673 path to pkg-config.
14674
14675 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14676 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14677 See the pkg-config man page for more details.
14678
14679 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14680 See \`config.log' for more details" "$LINENO" 5; }
14681
14682 else
14683         PROFILE_DEP_CFLAGS=$pkg_cv_PROFILE_DEP_CFLAGS
14684         PROFILE_DEP_LIBS=$pkg_cv_PROFILE_DEP_LIBS
14685         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14686 $as_echo "yes" >&6; }
14687
14688 fi
14689                   CLUTTER_PROFILE_CFLAGS="-DCLUTTER_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
14690                   CLUTTER_PROFILE_LDFLAGS="$PROFILE_DEP_LIBS"
14691
14692                   if test "x$enable_debug" = "xyes"; then :
14693   CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"
14694 fi
14695
14696 else
14697
14698                   as_fn_error $? "--enable-profile is currently only supported if using GCC" "$LINENO" 5
14699
14700 fi
14701          ;; #(
14702   no) :
14703
14704           CLUTTER_PROFILE_CFLAGS=""
14705           CLUTTER_PROFILE_LDFLAGS=""
14706          ;; #(
14707   *) :
14708     as_fn_error $? "Invalid value for --enable-profile" "$LINENO" 5
14709  ;; #(
14710   *) :
14711      ;;
14712 esac
14713  if test "x$enable_profile" != "xno"; then
14714   PROFILE_TRUE=
14715   PROFILE_FALSE='#'
14716 else
14717   PROFILE_TRUE='#'
14718   PROFILE_FALSE=
14719 fi
14720
14721
14722
14723
14724
14725 # Extract the first word of "gcov", so it can be a program name with args.
14726 set dummy gcov; ac_word=$2
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14728 $as_echo_n "checking for $ac_word... " >&6; }
14729 if ${ac_cv_path_GCOV+:} false; then :
14730   $as_echo_n "(cached) " >&6
14731 else
14732   case $GCOV in
14733   [\\/]* | ?:[\\/]*)
14734   ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
14735   ;;
14736   *)
14737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14738 for as_dir in $PATH
14739 do
14740   IFS=$as_save_IFS
14741   test -z "$as_dir" && as_dir=.
14742     for ac_exec_ext in '' $ac_executable_extensions; do
14743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14744     ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
14745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14746     break 2
14747   fi
14748 done
14749   done
14750 IFS=$as_save_IFS
14751
14752   test -z "$ac_cv_path_GCOV" && ac_cv_path_GCOV="enable_gcov=no"
14753   ;;
14754 esac
14755 fi
14756 GCOV=$ac_cv_path_GCOV
14757 if test -n "$GCOV"; then
14758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
14759 $as_echo "$GCOV" >&6; }
14760 else
14761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14762 $as_echo "no" >&6; }
14763 fi
14764
14765
14766
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with gcov testing" >&5
14768 $as_echo_n "checking whether to build with gcov testing... " >&6; }
14769
14770 # Check whether --enable-gcov was given.
14771 if test "${enable_gcov+set}" = set; then :
14772   enableval=$enable_gcov;
14773 else
14774   enable_gcov=no
14775 fi
14776
14777
14778 if test "x$enable_gcov" = "xyes" && test "x$GCC" = "xyes"; then :
14779
14780         if test "x$enable_conformance" = "xno"; then :
14781   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&5
14782 $as_echo "$as_me: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&2;}
14783 else
14784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14785 $as_echo "yes" >&6; }
14786
14787 fi
14788
14789         GCOV_CFLAGS="-g -O0 -fprofile-arcs -ftest-coverage"
14790         GCOV_LDFLAGS="-lgcov"
14791
14792 else
14793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794 $as_echo "no" >&6; }
14795
14796 fi
14797
14798  if test "x$enable_gcov" = "xyes"; then
14799   GCOV_ENABLED_TRUE=
14800   GCOV_ENABLED_FALSE='#'
14801 else
14802   GCOV_ENABLED_TRUE='#'
14803   GCOV_ENABLED_FALSE=
14804 fi
14805
14806
14807
14808
14809
14810 # use strict compiler flags only when building from git; the rules for
14811 # distcheck will take care of turning this on when making a release
14812
14813 # Check whether --enable-maintainer-flags was given.
14814 if test "${enable_maintainer_flags+set}" = set; then :
14815   enableval=$enable_maintainer_flags;
14816 else
14817   enable_maintainer_flags=no
14818 fi
14819
14820
14821 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
14822                            -Wall -Wcast-align -Wuninitialized
14823                            -Wno-strict-aliasing -Wempty-body -Wformat
14824                            -Wformat-security -Wformat-nonliteral -Winit-self
14825                            -Wdeclaration-after-statement -Wvla
14826                            -Wpointer-arith -Wmissing-declarations
14827                            -Waggregate-returns -Wcast-align
14828                            -Wredundant-decls"
14829
14830 case $enable_maintainer_flags in #(
14831   yes) :
14832
14833
14834   list=$MAINTAINER_COMPILER_FLAGS
14835   flags_supported=""
14836   flags_unsupported=""
14837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14838 $as_echo_n "checking for supported compiler flags... " >&6; }
14839   for each in $list
14840   do
14841     save_CFLAGS="$CFLAGS"
14842     CFLAGS="$CFLAGS $each"
14843     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h.  */
14845
14846 int
14847 main ()
14848 {
14849
14850   ;
14851   return 0;
14852 }
14853 _ACEOF
14854 if ac_fn_c_try_compile "$LINENO"; then :
14855   flag_ok=yes
14856 else
14857   flag_ok=no
14858 fi
14859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14860     CFLAGS="$save_CFLAGS"
14861
14862     if test "X$flag_ok" = Xyes ; then
14863       flags_supported="$flags_supported $each"
14864     else
14865       flags_unsupported="$flags_unsupported $each"
14866     fi
14867   done
14868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14869 $as_echo "$flags_supported" >&6; }
14870   if test "X$flags_unsupported" != X ; then
14871     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14872 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14873   fi
14874   MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14875
14876          ;; #(
14877   no) :
14878
14879          ;; #(
14880   error) :
14881
14882           MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS -Werror"
14883
14884   list=$MAINTAINER_COMPILER_FLAGS
14885   flags_supported=""
14886   flags_unsupported=""
14887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14888 $as_echo_n "checking for supported compiler flags... " >&6; }
14889   for each in $list
14890   do
14891     save_CFLAGS="$CFLAGS"
14892     CFLAGS="$CFLAGS $each"
14893     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h.  */
14895
14896 int
14897 main ()
14898 {
14899
14900   ;
14901   return 0;
14902 }
14903 _ACEOF
14904 if ac_fn_c_try_compile "$LINENO"; then :
14905   flag_ok=yes
14906 else
14907   flag_ok=no
14908 fi
14909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14910     CFLAGS="$save_CFLAGS"
14911
14912     if test "X$flag_ok" = Xyes ; then
14913       flags_supported="$flags_supported $each"
14914     else
14915       flags_unsupported="$flags_unsupported $each"
14916     fi
14917   done
14918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14919 $as_echo "$flags_supported" >&6; }
14920   if test "X$flags_unsupported" != X ; then
14921     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14922 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14923   fi
14924   MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14925
14926          ;; #(
14927   *) :
14928     as_fn_error $? "Invalid option for --enable-maintainer-flags" "$LINENO" 5
14929  ;; #(
14930   *) :
14931      ;;
14932 esac
14933
14934 # strip leading spaces
14935 MAINTAINER_CFLAGS=${MAINTAINER_CFLAGS#*  }
14936
14937
14938 # strip leading space
14939 BACKEND_PC_FILES=${BACKEND_PC_FILES#* }
14940
14941 # public dependencies, will fill the Requires: field of clutter.pc
14942 CLUTTER_REQUIRES="$CLUTTER_BASE_PC_FILES $BACKEND_PC_FILES"
14943
14944 pkg_failed=no
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS" >&5
14946 $as_echo_n "checking for CLUTTER_DEPS... " >&6; }
14947
14948 if test -n "$CLUTTER_DEPS_CFLAGS"; then
14949     pkg_cv_CLUTTER_DEPS_CFLAGS="$CLUTTER_DEPS_CFLAGS"
14950  elif test -n "$PKG_CONFIG"; then
14951     if test -n "$PKG_CONFIG" && \
14952     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14953   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14954   ac_status=$?
14955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14956   test $ac_status = 0; }; then
14957   pkg_cv_CLUTTER_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES" 2>/dev/null`
14958 else
14959   pkg_failed=yes
14960 fi
14961  else
14962     pkg_failed=untried
14963 fi
14964 if test -n "$CLUTTER_DEPS_LIBS"; then
14965     pkg_cv_CLUTTER_DEPS_LIBS="$CLUTTER_DEPS_LIBS"
14966  elif test -n "$PKG_CONFIG"; then
14967     if test -n "$PKG_CONFIG" && \
14968     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14969   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14970   ac_status=$?
14971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14972   test $ac_status = 0; }; then
14973   pkg_cv_CLUTTER_DEPS_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES" 2>/dev/null`
14974 else
14975   pkg_failed=yes
14976 fi
14977  else
14978     pkg_failed=untried
14979 fi
14980
14981
14982
14983 if test $pkg_failed = yes; then
14984         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14985 $as_echo "no" >&6; }
14986
14987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14988         _pkg_short_errors_supported=yes
14989 else
14990         _pkg_short_errors_supported=no
14991 fi
14992         if test $_pkg_short_errors_supported = yes; then
14993                 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES" 2>&1`
14994         else
14995                 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES" 2>&1`
14996         fi
14997         # Put the nasty error message in config.log where it belongs
14998         echo "$CLUTTER_DEPS_PKG_ERRORS" >&5
14999
15000         as_fn_error $? "Package requirements ($CLUTTER_REQUIRES) were not met:
15001
15002 $CLUTTER_DEPS_PKG_ERRORS
15003
15004 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15005 installed software in a non-standard prefix.
15006
15007 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
15008 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
15009 See the pkg-config man page for more details." "$LINENO" 5
15010
15011 elif test $pkg_failed = untried; then
15012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15013 $as_echo "no" >&6; }
15014         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15016 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15017 is in your PATH or set the PKG_CONFIG environment variable to the full
15018 path to pkg-config.
15019
15020 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
15021 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
15022 See the pkg-config man page for more details.
15023
15024 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15025 See \`config.log' for more details" "$LINENO" 5; }
15026
15027 else
15028         CLUTTER_DEPS_CFLAGS=$pkg_cv_CLUTTER_DEPS_CFLAGS
15029         CLUTTER_DEPS_LIBS=$pkg_cv_CLUTTER_DEPS_LIBS
15030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15031 $as_echo "yes" >&6; }
15032
15033 fi
15034
15035 # private dependencies, will fill the Requires.private: field of clutter.pc
15036 if test "x$CLUTTER_BASE_PC_FILES_PRIVATE" = "x" && test "x$BACKEND_PC_FILES_PRIVATE" = "x"; then :
15037
15038         CLUTTER_REQUIRES_PRIVATE=""
15039         CLUTTER_DEPS_PRIVATE_CFLAGS=""
15040         CLUTTER_DEPS_PRIVATE_LIBS=""
15041
15042 else
15043
15044         CLUTTER_REQUIRES_PRIVATE="$CLUTTER_BASE_PC_FILES_PRIVATE $BACKEND_PC_FILES_PRIVATE"
15045
15046 pkg_failed=no
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS_PRIVATE" >&5
15048 $as_echo_n "checking for CLUTTER_DEPS_PRIVATE... " >&6; }
15049
15050 if test -n "$CLUTTER_DEPS_PRIVATE_CFLAGS"; then
15051     pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS="$CLUTTER_DEPS_PRIVATE_CFLAGS"
15052  elif test -n "$PKG_CONFIG"; then
15053     if test -n "$PKG_CONFIG" && \
15054     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES_PRIVATE\""; } >&5
15055   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
15056   ac_status=$?
15057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15058   test $ac_status = 0; }; then
15059   pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
15060 else
15061   pkg_failed=yes
15062 fi
15063  else
15064     pkg_failed=untried
15065 fi
15066 if test -n "$CLUTTER_DEPS_PRIVATE_LIBS"; then
15067     pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS="$CLUTTER_DEPS_PRIVATE_LIBS"
15068  elif test -n "$PKG_CONFIG"; then
15069     if test -n "$PKG_CONFIG" && \
15070     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES_PRIVATE\""; } >&5
15071   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
15072   ac_status=$?
15073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15074   test $ac_status = 0; }; then
15075   pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
15076 else
15077   pkg_failed=yes
15078 fi
15079  else
15080     pkg_failed=untried
15081 fi
15082
15083
15084
15085 if test $pkg_failed = yes; then
15086         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15087 $as_echo "no" >&6; }
15088
15089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15090         _pkg_short_errors_supported=yes
15091 else
15092         _pkg_short_errors_supported=no
15093 fi
15094         if test $_pkg_short_errors_supported = yes; then
15095                 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15096         else
15097                 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15098         fi
15099         # Put the nasty error message in config.log where it belongs
15100         echo "$CLUTTER_DEPS_PRIVATE_PKG_ERRORS" >&5
15101
15102         as_fn_error $? "Package requirements ($CLUTTER_REQUIRES_PRIVATE) were not met:
15103
15104 $CLUTTER_DEPS_PRIVATE_PKG_ERRORS
15105
15106 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15107 installed software in a non-standard prefix.
15108
15109 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15110 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15111 See the pkg-config man page for more details." "$LINENO" 5
15112
15113 elif test $pkg_failed = untried; then
15114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15115 $as_echo "no" >&6; }
15116         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15118 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15119 is in your PATH or set the PKG_CONFIG environment variable to the full
15120 path to pkg-config.
15121
15122 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15123 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15124 See the pkg-config man page for more details.
15125
15126 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15127 See \`config.log' for more details" "$LINENO" 5; }
15128
15129 else
15130         CLUTTER_DEPS_PRIVATE_CFLAGS=$pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS
15131         CLUTTER_DEPS_PRIVATE_LIBS=$pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS
15132         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15133 $as_echo "yes" >&6; }
15134
15135 fi
15136
15137 fi
15138
15139
15140
15141
15142 CLUTTER_CFLAGS="$FLAVOUR_CFLAGS $CLUTTER_DEPS_CFLAGS $CLUTTER_DEPS_PRIVATE_CFLAGS $CLUTTER_PROFILE_CFLAGS $GLIB_CFLAGS"
15143 CLUTTER_LIBS="$FLAVOUR_LIBS $CLUTTER_DEPS_LIBS $CLUTTER_DEPS_PRIVATE_LIBS $CLUTTER_PROFILE_LDFLAGS $GLIB_LIBS"
15144
15145
15146
15147
15148
15149
15150
15151
15152                 # Check whether --enable-introspection was given.
15153 if test "${enable_introspection+set}" = set; then :
15154   enableval=$enable_introspection;
15155 else
15156   enable_introspection=auto
15157 fi
15158
15159
15160     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15161 $as_echo_n "checking for gobject-introspection... " >&6; }
15162
15163         case $enable_introspection in #(
15164   no) :
15165             found_introspection="no (disabled, use --enable-introspection to enable)"
15166      ;; #(
15167       yes) :
15168             if test -n "$PKG_CONFIG" && \
15169     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15170   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15171   ac_status=$?
15172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15173   test $ac_status = 0; }; then
15174   :
15175 else
15176   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15177 fi
15178         if test -n "$PKG_CONFIG" && \
15179     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15180   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15181   ac_status=$?
15182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15183   test $ac_status = 0; }; then
15184   found_introspection=yes
15185 else
15186   as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build clutter" "$LINENO" 5
15187 fi
15188      ;; #(
15189       auto) :
15190             if test -n "$PKG_CONFIG" && \
15191     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15192   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15193   ac_status=$?
15194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15195   test $ac_status = 0; }; then
15196   found_introspection=yes
15197 else
15198   found_introspection=no
15199 fi
15200      ;; #(
15201   *) :
15202                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15203      ;;
15204 esac
15205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15206 $as_echo "$found_introspection" >&6; }
15207
15208     INTROSPECTION_SCANNER=
15209     INTROSPECTION_COMPILER=
15210     INTROSPECTION_GENERATE=
15211     INTROSPECTION_GIRDIR=
15212     INTROSPECTION_TYPELIBDIR=
15213     if test "x$found_introspection" = "xyes"; then
15214        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15215        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15216        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15217        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15218        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15219        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15220        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15221        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15222     fi
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232      if test "x$found_introspection" = "xyes"; then
15233   HAVE_INTROSPECTION_TRUE=
15234   HAVE_INTROSPECTION_FALSE='#'
15235 else
15236   HAVE_INTROSPECTION_TRUE='#'
15237   HAVE_INTROSPECTION_FALSE=
15238 fi
15239
15240
15241
15242
15243
15244
15245
15246
15247     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15248 set dummy gtkdoc-check; ac_word=$2
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15250 $as_echo_n "checking for $ac_word... " >&6; }
15251 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
15252   $as_echo_n "(cached) " >&6
15253 else
15254   case $GTKDOC_CHECK in
15255   [\\/]* | ?:[\\/]*)
15256   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15257   ;;
15258   *)
15259   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15260 for as_dir in $PATH
15261 do
15262   IFS=$as_save_IFS
15263   test -z "$as_dir" && as_dir=.
15264     for ac_exec_ext in '' $ac_executable_extensions; do
15265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15266     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15268     break 2
15269   fi
15270 done
15271   done
15272 IFS=$as_save_IFS
15273
15274   ;;
15275 esac
15276 fi
15277 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15278 if test -n "$GTKDOC_CHECK"; then
15279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15280 $as_echo "$GTKDOC_CHECK" >&6; }
15281 else
15282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15283 $as_echo "no" >&6; }
15284 fi
15285
15286
15287   for ac_prog in gtkdoc-rebase
15288 do
15289   # Extract the first word of "$ac_prog", so it can be a program name with args.
15290 set dummy $ac_prog; ac_word=$2
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15292 $as_echo_n "checking for $ac_word... " >&6; }
15293 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15294   $as_echo_n "(cached) " >&6
15295 else
15296   case $GTKDOC_REBASE in
15297   [\\/]* | ?:[\\/]*)
15298   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15299   ;;
15300   *)
15301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15302 for as_dir in $PATH
15303 do
15304   IFS=$as_save_IFS
15305   test -z "$as_dir" && as_dir=.
15306     for ac_exec_ext in '' $ac_executable_extensions; do
15307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15308     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15310     break 2
15311   fi
15312 done
15313   done
15314 IFS=$as_save_IFS
15315
15316   ;;
15317 esac
15318 fi
15319 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15320 if test -n "$GTKDOC_REBASE"; then
15321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15322 $as_echo "$GTKDOC_REBASE" >&6; }
15323 else
15324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15325 $as_echo "no" >&6; }
15326 fi
15327
15328
15329   test -n "$GTKDOC_REBASE" && break
15330 done
15331 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15332
15333   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15334 set dummy gtkdoc-mkpdf; ac_word=$2
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15336 $as_echo_n "checking for $ac_word... " >&6; }
15337 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
15338   $as_echo_n "(cached) " >&6
15339 else
15340   case $GTKDOC_MKPDF in
15341   [\\/]* | ?:[\\/]*)
15342   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15343   ;;
15344   *)
15345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15346 for as_dir in $PATH
15347 do
15348   IFS=$as_save_IFS
15349   test -z "$as_dir" && as_dir=.
15350     for ac_exec_ext in '' $ac_executable_extensions; do
15351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15352     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15354     break 2
15355   fi
15356 done
15357   done
15358 IFS=$as_save_IFS
15359
15360   ;;
15361 esac
15362 fi
15363 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15364 if test -n "$GTKDOC_MKPDF"; then
15365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15366 $as_echo "$GTKDOC_MKPDF" >&6; }
15367 else
15368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15369 $as_echo "no" >&6; }
15370 fi
15371
15372
15373
15374
15375 # Check whether --with-html-dir was given.
15376 if test "${with_html_dir+set}" = set; then :
15377   withval=$with_html_dir;
15378 else
15379   with_html_dir='${datadir}/gtk-doc/html'
15380 fi
15381
15382   HTML_DIR="$with_html_dir"
15383
15384
15385     # Check whether --enable-gtk-doc was given.
15386 if test "${enable_gtk_doc+set}" = set; then :
15387   enableval=$enable_gtk_doc;
15388 else
15389   enable_gtk_doc=no
15390 fi
15391
15392
15393   if test x$enable_gtk_doc = xyes; then
15394     if test -n "$PKG_CONFIG" && \
15395     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
15396   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
15397   ac_status=$?
15398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15399   test $ac_status = 0; }; then
15400   :
15401 else
15402   as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
15403 fi
15404         if test "x$PACKAGE_NAME" != "xglib"; then
15405
15406 pkg_failed=no
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
15408 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
15409
15410 if test -n "$GTKDOC_DEPS_CFLAGS"; then
15411     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
15412  elif test -n "$PKG_CONFIG"; then
15413     if test -n "$PKG_CONFIG" && \
15414     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
15415   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15416   ac_status=$?
15417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15418   test $ac_status = 0; }; then
15419   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15420 else
15421   pkg_failed=yes
15422 fi
15423  else
15424     pkg_failed=untried
15425 fi
15426 if test -n "$GTKDOC_DEPS_LIBS"; then
15427     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
15428  elif test -n "$PKG_CONFIG"; then
15429     if test -n "$PKG_CONFIG" && \
15430     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
15431   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15432   ac_status=$?
15433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15434   test $ac_status = 0; }; then
15435   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15436 else
15437   pkg_failed=yes
15438 fi
15439  else
15440     pkg_failed=untried
15441 fi
15442
15443
15444
15445 if test $pkg_failed = yes; then
15446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15447 $as_echo "no" >&6; }
15448
15449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15450         _pkg_short_errors_supported=yes
15451 else
15452         _pkg_short_errors_supported=no
15453 fi
15454         if test $_pkg_short_errors_supported = yes; then
15455                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15456         else
15457                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15458         fi
15459         # Put the nasty error message in config.log where it belongs
15460         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
15461
15462         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
15463
15464 $GTKDOC_DEPS_PKG_ERRORS
15465
15466 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15467 installed software in a non-standard prefix.
15468
15469 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15470 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15471 See the pkg-config man page for more details." "$LINENO" 5
15472
15473 elif test $pkg_failed = untried; then
15474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15475 $as_echo "no" >&6; }
15476         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15478 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15479 is in your PATH or set the PKG_CONFIG environment variable to the full
15480 path to pkg-config.
15481
15482 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15483 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15484 See the pkg-config man page for more details.
15485
15486 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15487 See \`config.log' for more details" "$LINENO" 5; }
15488
15489 else
15490         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
15491         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
15492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15493 $as_echo "yes" >&6; }
15494
15495 fi
15496     fi
15497   fi
15498
15499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15500 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15502 $as_echo "$enable_gtk_doc" >&6; }
15503
15504     # Check whether --enable-gtk-doc-html was given.
15505 if test "${enable_gtk_doc_html+set}" = set; then :
15506   enableval=$enable_gtk_doc_html;
15507 else
15508   enable_gtk_doc_html=yes
15509 fi
15510
15511     # Check whether --enable-gtk-doc-pdf was given.
15512 if test "${enable_gtk_doc_pdf+set}" = set; then :
15513   enableval=$enable_gtk_doc_pdf;
15514 else
15515   enable_gtk_doc_pdf=no
15516 fi
15517
15518
15519   if test -z "$GTKDOC_MKPDF"; then
15520     enable_gtk_doc_pdf=no
15521   fi
15522
15523
15524    if test x$enable_gtk_doc = xyes; then
15525   ENABLE_GTK_DOC_TRUE=
15526   ENABLE_GTK_DOC_FALSE='#'
15527 else
15528   ENABLE_GTK_DOC_TRUE='#'
15529   ENABLE_GTK_DOC_FALSE=
15530 fi
15531
15532    if test x$enable_gtk_doc_html = xyes; then
15533   GTK_DOC_BUILD_HTML_TRUE=
15534   GTK_DOC_BUILD_HTML_FALSE='#'
15535 else
15536   GTK_DOC_BUILD_HTML_TRUE='#'
15537   GTK_DOC_BUILD_HTML_FALSE=
15538 fi
15539
15540    if test x$enable_gtk_doc_pdf = xyes; then
15541   GTK_DOC_BUILD_PDF_TRUE=
15542   GTK_DOC_BUILD_PDF_FALSE='#'
15543 else
15544   GTK_DOC_BUILD_PDF_TRUE='#'
15545   GTK_DOC_BUILD_PDF_FALSE=
15546 fi
15547
15548    if test -n "$LIBTOOL"; then
15549   GTK_DOC_USE_LIBTOOL_TRUE=
15550   GTK_DOC_USE_LIBTOOL_FALSE='#'
15551 else
15552   GTK_DOC_USE_LIBTOOL_TRUE='#'
15553   GTK_DOC_USE_LIBTOOL_FALSE=
15554 fi
15555
15556    if test -n "$GTKDOC_REBASE"; then
15557   GTK_DOC_USE_REBASE_TRUE=
15558   GTK_DOC_USE_REBASE_FALSE='#'
15559 else
15560   GTK_DOC_USE_REBASE_TRUE='#'
15561   GTK_DOC_USE_REBASE_FALSE=
15562 fi
15563
15564
15565
15566 # we don't want to build the documentation from a Git clone unless we
15567 # explicitly tell configure to do so; this allows avoiding to recurse into
15568 # the documentation directory when building Clutter inside Poky for a
15569 # target device that doesn't have gtk-doc installed. for reference
15570 # see: http://bugzilla.openedhand.com/show_bug.cgi?id=1047
15571 #
15572 # we use autogen.sh as it exists only inside the Git clones, and it
15573 # is not packaged into tarballs.
15574  if test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"; then
15575   BUILD_GTK_DOC_TRUE=
15576   BUILD_GTK_DOC_FALSE='#'
15577 else
15578   BUILD_GTK_DOC_TRUE='#'
15579   BUILD_GTK_DOC_FALSE=
15580 fi
15581
15582
15583 # prefixes for fixing gtk-doc references
15584 CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
15585 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
15586 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
15587 COGL_PREFIX="`$PKG_CONFIG --variable=prefix cogl-1.0`"
15588 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
15589
15590
15591
15592
15593
15594
15595
15596 # Check whether --enable-docs was given.
15597 if test "${enable_docs+set}" = set; then :
15598   enableval=$enable_docs; enable_docs=$enableval
15599 else
15600   enable_docs=no
15601 fi
15602
15603
15604 enable_pdfs=no
15605 if test "x$enable_docs" = "xyes"; then :
15606
15607         # Extract the first word of "jw", so it can be a program name with args.
15608 set dummy jw; ac_word=$2
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15610 $as_echo_n "checking for $ac_word... " >&6; }
15611 if ${ac_cv_path_JW+:} false; then :
15612   $as_echo_n "(cached) " >&6
15613 else
15614   case $JW in
15615   [\\/]* | ?:[\\/]*)
15616   ac_cv_path_JW="$JW" # Let the user override the test with a path.
15617   ;;
15618   *)
15619   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15620 for as_dir in $PATH
15621 do
15622   IFS=$as_save_IFS
15623   test -z "$as_dir" && as_dir=.
15624     for ac_exec_ext in '' $ac_executable_extensions; do
15625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15626     ac_cv_path_JW="$as_dir/$ac_word$ac_exec_ext"
15627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15628     break 2
15629   fi
15630 done
15631   done
15632 IFS=$as_save_IFS
15633
15634   test -z "$ac_cv_path_JW" && ac_cv_path_JW="no"
15635   ;;
15636 esac
15637 fi
15638 JW=$ac_cv_path_JW
15639 if test -n "$JW"; then
15640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JW" >&5
15641 $as_echo "$JW" >&6; }
15642 else
15643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15644 $as_echo "no" >&6; }
15645 fi
15646
15647
15648         if test "x$JW" = "xno"; then :
15649
15650                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jw not found; pdf generation has been disabled" >&5
15651 $as_echo "$as_me: WARNING: jw not found; pdf generation has been disabled" >&2;}
15652
15653 else
15654   enable_pdfs=yes
15655 fi
15656
15657         # Extract the first word of "xsltproc", so it can be a program name with args.
15658 set dummy xsltproc; ac_word=$2
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15660 $as_echo_n "checking for $ac_word... " >&6; }
15661 if ${ac_cv_path_XSLTPROC+:} false; then :
15662   $as_echo_n "(cached) " >&6
15663 else
15664   case $XSLTPROC in
15665   [\\/]* | ?:[\\/]*)
15666   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15667   ;;
15668   *)
15669   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15670 for as_dir in $PATH
15671 do
15672   IFS=$as_save_IFS
15673   test -z "$as_dir" && as_dir=.
15674     for ac_exec_ext in '' $ac_executable_extensions; do
15675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15676     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15678     break 2
15679   fi
15680 done
15681   done
15682 IFS=$as_save_IFS
15683
15684   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
15685   ;;
15686 esac
15687 fi
15688 XSLTPROC=$ac_cv_path_XSLTPROC
15689 if test -n "$XSLTPROC"; then
15690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15691 $as_echo "$XSLTPROC" >&6; }
15692 else
15693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15694 $as_echo "no" >&6; }
15695 fi
15696
15697
15698         if test "x$XSLTPROC" = "xno"; then :
15699
15700                 as_fn_error $? "xsltproc not found" "$LINENO" 5
15701
15702 fi
15703
15704
15705 fi
15706
15707  if test "x$enable_docs" = "xyes"; then
15708   ENABLE_DOCS_TRUE=
15709   ENABLE_DOCS_FALSE='#'
15710 else
15711   ENABLE_DOCS_TRUE='#'
15712   ENABLE_DOCS_FALSE=
15713 fi
15714
15715  if test "x$enable_pdfs" = "xyes"; then
15716   ENABLE_PDFS_TRUE=
15717   ENABLE_PDFS_FALSE='#'
15718 else
15719   ENABLE_PDFS_TRUE='#'
15720   ENABLE_PDFS_FALSE=
15721 fi
15722
15723
15724
15725
15726
15727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15728 $as_echo_n "checking whether NLS is requested... " >&6; }
15729     # Check whether --enable-nls was given.
15730 if test "${enable_nls+set}" = set; then :
15731   enableval=$enable_nls; USE_NLS=$enableval
15732 else
15733   USE_NLS=yes
15734 fi
15735
15736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15737 $as_echo "$USE_NLS" >&6; }
15738
15739
15740
15741
15742       GETTEXT_MACRO_VERSION=0.17
15743
15744
15745
15746
15747 # Prepare PATH_SEPARATOR.
15748 # The user is always right.
15749 if test "${PATH_SEPARATOR+set}" != set; then
15750   echo "#! /bin/sh" >conf$$.sh
15751   echo  "exit 0"   >>conf$$.sh
15752   chmod +x conf$$.sh
15753   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15754     PATH_SEPARATOR=';'
15755   else
15756     PATH_SEPARATOR=:
15757   fi
15758   rm -f conf$$.sh
15759 fi
15760
15761 # Find out how to test for executable files. Don't use a zero-byte file,
15762 # as systems may use methods other than mode bits to determine executability.
15763 cat >conf$$.file <<_ASEOF
15764 #! /bin/sh
15765 exit 0
15766 _ASEOF
15767 chmod +x conf$$.file
15768 if test -x conf$$.file >/dev/null 2>&1; then
15769   ac_executable_p="test -x"
15770 else
15771   ac_executable_p="test -f"
15772 fi
15773 rm -f conf$$.file
15774
15775 # Extract the first word of "msgfmt", so it can be a program name with args.
15776 set dummy msgfmt; ac_word=$2
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15778 $as_echo_n "checking for $ac_word... " >&6; }
15779 if ${ac_cv_path_MSGFMT+:} false; then :
15780   $as_echo_n "(cached) " >&6
15781 else
15782   case "$MSGFMT" in
15783   [\\/]* | ?:[\\/]*)
15784     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15785     ;;
15786   *)
15787     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15788     for ac_dir in $PATH; do
15789       IFS="$ac_save_IFS"
15790       test -z "$ac_dir" && ac_dir=.
15791       for ac_exec_ext in '' $ac_executable_extensions; do
15792         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15793           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15794           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15795      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15796             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15797             break 2
15798           fi
15799         fi
15800       done
15801     done
15802     IFS="$ac_save_IFS"
15803   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15804     ;;
15805 esac
15806 fi
15807 MSGFMT="$ac_cv_path_MSGFMT"
15808 if test "$MSGFMT" != ":"; then
15809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15810 $as_echo "$MSGFMT" >&6; }
15811 else
15812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15813 $as_echo "no" >&6; }
15814 fi
15815
15816   # Extract the first word of "gmsgfmt", so it can be a program name with args.
15817 set dummy gmsgfmt; ac_word=$2
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15819 $as_echo_n "checking for $ac_word... " >&6; }
15820 if ${ac_cv_path_GMSGFMT+:} false; then :
15821   $as_echo_n "(cached) " >&6
15822 else
15823   case $GMSGFMT in
15824   [\\/]* | ?:[\\/]*)
15825   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15826   ;;
15827   *)
15828   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15829 for as_dir in $PATH
15830 do
15831   IFS=$as_save_IFS
15832   test -z "$as_dir" && as_dir=.
15833     for ac_exec_ext in '' $ac_executable_extensions; do
15834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15835     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15837     break 2
15838   fi
15839 done
15840   done
15841 IFS=$as_save_IFS
15842
15843   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15844   ;;
15845 esac
15846 fi
15847 GMSGFMT=$ac_cv_path_GMSGFMT
15848 if test -n "$GMSGFMT"; then
15849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15850 $as_echo "$GMSGFMT" >&6; }
15851 else
15852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15853 $as_echo "no" >&6; }
15854 fi
15855
15856
15857
15858     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15859     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15860     *) MSGFMT_015=$MSGFMT ;;
15861   esac
15862
15863   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15864     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15865     *) GMSGFMT_015=$GMSGFMT ;;
15866   esac
15867
15868
15869
15870 # Prepare PATH_SEPARATOR.
15871 # The user is always right.
15872 if test "${PATH_SEPARATOR+set}" != set; then
15873   echo "#! /bin/sh" >conf$$.sh
15874   echo  "exit 0"   >>conf$$.sh
15875   chmod +x conf$$.sh
15876   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15877     PATH_SEPARATOR=';'
15878   else
15879     PATH_SEPARATOR=:
15880   fi
15881   rm -f conf$$.sh
15882 fi
15883
15884 # Find out how to test for executable files. Don't use a zero-byte file,
15885 # as systems may use methods other than mode bits to determine executability.
15886 cat >conf$$.file <<_ASEOF
15887 #! /bin/sh
15888 exit 0
15889 _ASEOF
15890 chmod +x conf$$.file
15891 if test -x conf$$.file >/dev/null 2>&1; then
15892   ac_executable_p="test -x"
15893 else
15894   ac_executable_p="test -f"
15895 fi
15896 rm -f conf$$.file
15897
15898 # Extract the first word of "xgettext", so it can be a program name with args.
15899 set dummy xgettext; ac_word=$2
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15901 $as_echo_n "checking for $ac_word... " >&6; }
15902 if ${ac_cv_path_XGETTEXT+:} false; then :
15903   $as_echo_n "(cached) " >&6
15904 else
15905   case "$XGETTEXT" in
15906   [\\/]* | ?:[\\/]*)
15907     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15908     ;;
15909   *)
15910     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15911     for ac_dir in $PATH; do
15912       IFS="$ac_save_IFS"
15913       test -z "$ac_dir" && ac_dir=.
15914       for ac_exec_ext in '' $ac_executable_extensions; do
15915         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15916           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15917           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15918      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15919             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15920             break 2
15921           fi
15922         fi
15923       done
15924     done
15925     IFS="$ac_save_IFS"
15926   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15927     ;;
15928 esac
15929 fi
15930 XGETTEXT="$ac_cv_path_XGETTEXT"
15931 if test "$XGETTEXT" != ":"; then
15932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15933 $as_echo "$XGETTEXT" >&6; }
15934 else
15935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15936 $as_echo "no" >&6; }
15937 fi
15938
15939     rm -f messages.po
15940
15941     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15942     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15943     *) XGETTEXT_015=$XGETTEXT ;;
15944   esac
15945
15946
15947
15948 # Prepare PATH_SEPARATOR.
15949 # The user is always right.
15950 if test "${PATH_SEPARATOR+set}" != set; then
15951   echo "#! /bin/sh" >conf$$.sh
15952   echo  "exit 0"   >>conf$$.sh
15953   chmod +x conf$$.sh
15954   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15955     PATH_SEPARATOR=';'
15956   else
15957     PATH_SEPARATOR=:
15958   fi
15959   rm -f conf$$.sh
15960 fi
15961
15962 # Find out how to test for executable files. Don't use a zero-byte file,
15963 # as systems may use methods other than mode bits to determine executability.
15964 cat >conf$$.file <<_ASEOF
15965 #! /bin/sh
15966 exit 0
15967 _ASEOF
15968 chmod +x conf$$.file
15969 if test -x conf$$.file >/dev/null 2>&1; then
15970   ac_executable_p="test -x"
15971 else
15972   ac_executable_p="test -f"
15973 fi
15974 rm -f conf$$.file
15975
15976 # Extract the first word of "msgmerge", so it can be a program name with args.
15977 set dummy msgmerge; ac_word=$2
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15979 $as_echo_n "checking for $ac_word... " >&6; }
15980 if ${ac_cv_path_MSGMERGE+:} false; then :
15981   $as_echo_n "(cached) " >&6
15982 else
15983   case "$MSGMERGE" in
15984   [\\/]* | ?:[\\/]*)
15985     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15986     ;;
15987   *)
15988     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15989     for ac_dir in $PATH; do
15990       IFS="$ac_save_IFS"
15991       test -z "$ac_dir" && ac_dir=.
15992       for ac_exec_ext in '' $ac_executable_extensions; do
15993         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15994           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15995           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15996             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15997             break 2
15998           fi
15999         fi
16000       done
16001     done
16002     IFS="$ac_save_IFS"
16003   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16004     ;;
16005 esac
16006 fi
16007 MSGMERGE="$ac_cv_path_MSGMERGE"
16008 if test "$MSGMERGE" != ":"; then
16009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16010 $as_echo "$MSGMERGE" >&6; }
16011 else
16012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16013 $as_echo "no" >&6; }
16014 fi
16015
16016
16017         test -n "$localedir" || localedir='${datadir}/locale'
16018
16019
16020     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16021
16022
16023   ac_config_commands="$ac_config_commands po-directories"
16024
16025
16026
16027       if test "X$prefix" = "XNONE"; then
16028     acl_final_prefix="$ac_default_prefix"
16029   else
16030     acl_final_prefix="$prefix"
16031   fi
16032   if test "X$exec_prefix" = "XNONE"; then
16033     acl_final_exec_prefix='${prefix}'
16034   else
16035     acl_final_exec_prefix="$exec_prefix"
16036   fi
16037   acl_save_prefix="$prefix"
16038   prefix="$acl_final_prefix"
16039   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16040   prefix="$acl_save_prefix"
16041
16042
16043 # Check whether --with-gnu-ld was given.
16044 if test "${with_gnu_ld+set}" = set; then :
16045   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16046 else
16047   with_gnu_ld=no
16048 fi
16049
16050 # Prepare PATH_SEPARATOR.
16051 # The user is always right.
16052 if test "${PATH_SEPARATOR+set}" != set; then
16053   echo "#! /bin/sh" >conf$$.sh
16054   echo  "exit 0"   >>conf$$.sh
16055   chmod +x conf$$.sh
16056   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16057     PATH_SEPARATOR=';'
16058   else
16059     PATH_SEPARATOR=:
16060   fi
16061   rm -f conf$$.sh
16062 fi
16063 ac_prog=ld
16064 if test "$GCC" = yes; then
16065   # Check if gcc -print-prog-name=ld gives a path.
16066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16067 $as_echo_n "checking for ld used by GCC... " >&6; }
16068   case $host in
16069   *-*-mingw*)
16070     # gcc leaves a trailing carriage return which upsets mingw
16071     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16072   *)
16073     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16074   esac
16075   case $ac_prog in
16076     # Accept absolute paths.
16077     [\\/]* | [A-Za-z]:[\\/]*)
16078       re_direlt='/[^/][^/]*/\.\./'
16079       # Canonicalize the path of ld
16080       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16081       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16082         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16083       done
16084       test -z "$LD" && LD="$ac_prog"
16085       ;;
16086   "")
16087     # If it fails, then pretend we aren't using GCC.
16088     ac_prog=ld
16089     ;;
16090   *)
16091     # If it is relative, then search for the first ld in PATH.
16092     with_gnu_ld=unknown
16093     ;;
16094   esac
16095 elif test "$with_gnu_ld" = yes; then
16096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16097 $as_echo_n "checking for GNU ld... " >&6; }
16098 else
16099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16100 $as_echo_n "checking for non-GNU ld... " >&6; }
16101 fi
16102 if ${acl_cv_path_LD+:} false; then :
16103   $as_echo_n "(cached) " >&6
16104 else
16105   if test -z "$LD"; then
16106   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16107   for ac_dir in $PATH; do
16108     test -z "$ac_dir" && ac_dir=.
16109     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16110       acl_cv_path_LD="$ac_dir/$ac_prog"
16111       # Check to see if the program is GNU ld.  I'd rather use --version,
16112       # but apparently some GNU ld's only accept -v.
16113       # Break only if it was the GNU/non-GNU ld that we prefer.
16114       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16115       *GNU* | *'with BFD'*)
16116         test "$with_gnu_ld" != no && break ;;
16117       *)
16118         test "$with_gnu_ld" != yes && break ;;
16119       esac
16120     fi
16121   done
16122   IFS="$ac_save_ifs"
16123 else
16124   acl_cv_path_LD="$LD" # Let the user override the test with a path.
16125 fi
16126 fi
16127
16128 LD="$acl_cv_path_LD"
16129 if test -n "$LD"; then
16130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16131 $as_echo "$LD" >&6; }
16132 else
16133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16135 fi
16136 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16138 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16139 if ${acl_cv_prog_gnu_ld+:} false; then :
16140   $as_echo_n "(cached) " >&6
16141 else
16142   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16143 case `$LD -v 2>&1 </dev/null` in
16144 *GNU* | *'with BFD'*)
16145   acl_cv_prog_gnu_ld=yes ;;
16146 *)
16147   acl_cv_prog_gnu_ld=no ;;
16148 esac
16149 fi
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16151 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16152 with_gnu_ld=$acl_cv_prog_gnu_ld
16153
16154
16155
16156
16157                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16158 $as_echo_n "checking for shared library run path origin... " >&6; }
16159 if ${acl_cv_rpath+:} false; then :
16160   $as_echo_n "(cached) " >&6
16161 else
16162
16163     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16164     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16165     . ./conftest.sh
16166     rm -f ./conftest.sh
16167     acl_cv_rpath=done
16168
16169 fi
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16171 $as_echo "$acl_cv_rpath" >&6; }
16172   wl="$acl_cv_wl"
16173   acl_libext="$acl_cv_libext"
16174   acl_shlibext="$acl_cv_shlibext"
16175   acl_libname_spec="$acl_cv_libname_spec"
16176   acl_library_names_spec="$acl_cv_library_names_spec"
16177   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16178   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16179   acl_hardcode_direct="$acl_cv_hardcode_direct"
16180   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16181     # Check whether --enable-rpath was given.
16182 if test "${enable_rpath+set}" = set; then :
16183   enableval=$enable_rpath; :
16184 else
16185   enable_rpath=yes
16186 fi
16187
16188
16189
16190                   acl_libdirstem=lib
16191   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16192   if test -n "$searchpath"; then
16193     acl_save_IFS="${IFS=        }"; IFS=":"
16194     for searchdir in $searchpath; do
16195       if test -d "$searchdir"; then
16196         case "$searchdir" in
16197           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16198           *) searchdir=`cd "$searchdir" && pwd`
16199              case "$searchdir" in
16200                */lib64 ) acl_libdirstem=lib64 ;;
16201              esac ;;
16202         esac
16203       fi
16204     done
16205     IFS="$acl_save_IFS"
16206   fi
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216     use_additional=yes
16217
16218   acl_save_prefix="$prefix"
16219   prefix="$acl_final_prefix"
16220   acl_save_exec_prefix="$exec_prefix"
16221   exec_prefix="$acl_final_exec_prefix"
16222
16223     eval additional_includedir=\"$includedir\"
16224     eval additional_libdir=\"$libdir\"
16225
16226   exec_prefix="$acl_save_exec_prefix"
16227   prefix="$acl_save_prefix"
16228
16229
16230 # Check whether --with-libiconv-prefix was given.
16231 if test "${with_libiconv_prefix+set}" = set; then :
16232   withval=$with_libiconv_prefix;
16233     if test "X$withval" = "Xno"; then
16234       use_additional=no
16235     else
16236       if test "X$withval" = "X"; then
16237
16238   acl_save_prefix="$prefix"
16239   prefix="$acl_final_prefix"
16240   acl_save_exec_prefix="$exec_prefix"
16241   exec_prefix="$acl_final_exec_prefix"
16242
16243           eval additional_includedir=\"$includedir\"
16244           eval additional_libdir=\"$libdir\"
16245
16246   exec_prefix="$acl_save_exec_prefix"
16247   prefix="$acl_save_prefix"
16248
16249       else
16250         additional_includedir="$withval/include"
16251         additional_libdir="$withval/$acl_libdirstem"
16252       fi
16253     fi
16254
16255 fi
16256
16257       LIBICONV=
16258   LTLIBICONV=
16259   INCICONV=
16260   LIBICONV_PREFIX=
16261   rpathdirs=
16262   ltrpathdirs=
16263   names_already_handled=
16264   names_next_round='iconv '
16265   while test -n "$names_next_round"; do
16266     names_this_round="$names_next_round"
16267     names_next_round=
16268     for name in $names_this_round; do
16269       already_handled=
16270       for n in $names_already_handled; do
16271         if test "$n" = "$name"; then
16272           already_handled=yes
16273           break
16274         fi
16275       done
16276       if test -z "$already_handled"; then
16277         names_already_handled="$names_already_handled $name"
16278                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16279         eval value=\"\$HAVE_LIB$uppername\"
16280         if test -n "$value"; then
16281           if test "$value" = yes; then
16282             eval value=\"\$LIB$uppername\"
16283             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16284             eval value=\"\$LTLIB$uppername\"
16285             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16286           else
16287                                     :
16288           fi
16289         else
16290                               found_dir=
16291           found_la=
16292           found_so=
16293           found_a=
16294           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16295           if test -n "$acl_shlibext"; then
16296             shrext=".$acl_shlibext"             # typically: shrext=.so
16297           else
16298             shrext=
16299           fi
16300           if test $use_additional = yes; then
16301             dir="$additional_libdir"
16302                                     if test -n "$acl_shlibext"; then
16303               if test -f "$dir/$libname$shrext"; then
16304                 found_dir="$dir"
16305                 found_so="$dir/$libname$shrext"
16306               else
16307                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16308                   ver=`(cd "$dir" && \
16309                         for f in "$libname$shrext".*; do echo "$f"; done \
16310                         | sed -e "s,^$libname$shrext\\\\.,," \
16311                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16312                         | sed 1q ) 2>/dev/null`
16313                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16314                     found_dir="$dir"
16315                     found_so="$dir/$libname$shrext.$ver"
16316                   fi
16317                 else
16318                   eval library_names=\"$acl_library_names_spec\"
16319                   for f in $library_names; do
16320                     if test -f "$dir/$f"; then
16321                       found_dir="$dir"
16322                       found_so="$dir/$f"
16323                       break
16324                     fi
16325                   done
16326                 fi
16327               fi
16328             fi
16329                         if test "X$found_dir" = "X"; then
16330               if test -f "$dir/$libname.$acl_libext"; then
16331                 found_dir="$dir"
16332                 found_a="$dir/$libname.$acl_libext"
16333               fi
16334             fi
16335             if test "X$found_dir" != "X"; then
16336               if test -f "$dir/$libname.la"; then
16337                 found_la="$dir/$libname.la"
16338               fi
16339             fi
16340           fi
16341           if test "X$found_dir" = "X"; then
16342             for x in $LDFLAGS $LTLIBICONV; do
16343
16344   acl_save_prefix="$prefix"
16345   prefix="$acl_final_prefix"
16346   acl_save_exec_prefix="$exec_prefix"
16347   exec_prefix="$acl_final_exec_prefix"
16348   eval x=\"$x\"
16349   exec_prefix="$acl_save_exec_prefix"
16350   prefix="$acl_save_prefix"
16351
16352               case "$x" in
16353                 -L*)
16354                   dir=`echo "X$x" | sed -e 's/^X-L//'`
16355                                     if test -n "$acl_shlibext"; then
16356                     if test -f "$dir/$libname$shrext"; then
16357                       found_dir="$dir"
16358                       found_so="$dir/$libname$shrext"
16359                     else
16360                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16361                         ver=`(cd "$dir" && \
16362                               for f in "$libname$shrext".*; do echo "$f"; done \
16363                               | sed -e "s,^$libname$shrext\\\\.,," \
16364                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16365                               | sed 1q ) 2>/dev/null`
16366                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16367                           found_dir="$dir"
16368                           found_so="$dir/$libname$shrext.$ver"
16369                         fi
16370                       else
16371                         eval library_names=\"$acl_library_names_spec\"
16372                         for f in $library_names; do
16373                           if test -f "$dir/$f"; then
16374                             found_dir="$dir"
16375                             found_so="$dir/$f"
16376                             break
16377                           fi
16378                         done
16379                       fi
16380                     fi
16381                   fi
16382                                     if test "X$found_dir" = "X"; then
16383                     if test -f "$dir/$libname.$acl_libext"; then
16384                       found_dir="$dir"
16385                       found_a="$dir/$libname.$acl_libext"
16386                     fi
16387                   fi
16388                   if test "X$found_dir" != "X"; then
16389                     if test -f "$dir/$libname.la"; then
16390                       found_la="$dir/$libname.la"
16391                     fi
16392                   fi
16393                   ;;
16394               esac
16395               if test "X$found_dir" != "X"; then
16396                 break
16397               fi
16398             done
16399           fi
16400           if test "X$found_dir" != "X"; then
16401                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16402             if test "X$found_so" != "X"; then
16403                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16404                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16405               else
16406                                                                                 haveit=
16407                 for x in $ltrpathdirs; do
16408                   if test "X$x" = "X$found_dir"; then
16409                     haveit=yes
16410                     break
16411                   fi
16412                 done
16413                 if test -z "$haveit"; then
16414                   ltrpathdirs="$ltrpathdirs $found_dir"
16415                 fi
16416                                 if test "$acl_hardcode_direct" = yes; then
16417                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16418                 else
16419                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16420                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16421                                                             haveit=
16422                     for x in $rpathdirs; do
16423                       if test "X$x" = "X$found_dir"; then
16424                         haveit=yes
16425                         break
16426                       fi
16427                     done
16428                     if test -z "$haveit"; then
16429                       rpathdirs="$rpathdirs $found_dir"
16430                     fi
16431                   else
16432                                                                                 haveit=
16433                     for x in $LDFLAGS $LIBICONV; do
16434
16435   acl_save_prefix="$prefix"
16436   prefix="$acl_final_prefix"
16437   acl_save_exec_prefix="$exec_prefix"
16438   exec_prefix="$acl_final_exec_prefix"
16439   eval x=\"$x\"
16440   exec_prefix="$acl_save_exec_prefix"
16441   prefix="$acl_save_prefix"
16442
16443                       if test "X$x" = "X-L$found_dir"; then
16444                         haveit=yes
16445                         break
16446                       fi
16447                     done
16448                     if test -z "$haveit"; then
16449                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16450                     fi
16451                     if test "$acl_hardcode_minus_L" != no; then
16452                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16453                     else
16454                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16455                     fi
16456                   fi
16457                 fi
16458               fi
16459             else
16460               if test "X$found_a" != "X"; then
16461                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16462               else
16463                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16464               fi
16465             fi
16466                         additional_includedir=
16467             case "$found_dir" in
16468               */$acl_libdirstem | */$acl_libdirstem/)
16469                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16470                 LIBICONV_PREFIX="$basedir"
16471                 additional_includedir="$basedir/include"
16472                 ;;
16473             esac
16474             if test "X$additional_includedir" != "X"; then
16475                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
16476                 haveit=
16477                 if test "X$additional_includedir" = "X/usr/local/include"; then
16478                   if test -n "$GCC"; then
16479                     case $host_os in
16480                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16481                     esac
16482                   fi
16483                 fi
16484                 if test -z "$haveit"; then
16485                   for x in $CPPFLAGS $INCICONV; do
16486
16487   acl_save_prefix="$prefix"
16488   prefix="$acl_final_prefix"
16489   acl_save_exec_prefix="$exec_prefix"
16490   exec_prefix="$acl_final_exec_prefix"
16491   eval x=\"$x\"
16492   exec_prefix="$acl_save_exec_prefix"
16493   prefix="$acl_save_prefix"
16494
16495                     if test "X$x" = "X-I$additional_includedir"; then
16496                       haveit=yes
16497                       break
16498                     fi
16499                   done
16500                   if test -z "$haveit"; then
16501                     if test -d "$additional_includedir"; then
16502                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16503                     fi
16504                   fi
16505                 fi
16506               fi
16507             fi
16508                         if test -n "$found_la"; then
16509                                                         save_libdir="$libdir"
16510               case "$found_la" in
16511                 */* | *\\*) . "$found_la" ;;
16512                 *) . "./$found_la" ;;
16513               esac
16514               libdir="$save_libdir"
16515                             for dep in $dependency_libs; do
16516                 case "$dep" in
16517                   -L*)
16518                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16519                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16520                       haveit=
16521                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16522                         if test -n "$GCC"; then
16523                           case $host_os in
16524                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16525                           esac
16526                         fi
16527                       fi
16528                       if test -z "$haveit"; then
16529                         haveit=
16530                         for x in $LDFLAGS $LIBICONV; do
16531
16532   acl_save_prefix="$prefix"
16533   prefix="$acl_final_prefix"
16534   acl_save_exec_prefix="$exec_prefix"
16535   exec_prefix="$acl_final_exec_prefix"
16536   eval x=\"$x\"
16537   exec_prefix="$acl_save_exec_prefix"
16538   prefix="$acl_save_prefix"
16539
16540                           if test "X$x" = "X-L$additional_libdir"; then
16541                             haveit=yes
16542                             break
16543                           fi
16544                         done
16545                         if test -z "$haveit"; then
16546                           if test -d "$additional_libdir"; then
16547                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16548                           fi
16549                         fi
16550                         haveit=
16551                         for x in $LDFLAGS $LTLIBICONV; do
16552
16553   acl_save_prefix="$prefix"
16554   prefix="$acl_final_prefix"
16555   acl_save_exec_prefix="$exec_prefix"
16556   exec_prefix="$acl_final_exec_prefix"
16557   eval x=\"$x\"
16558   exec_prefix="$acl_save_exec_prefix"
16559   prefix="$acl_save_prefix"
16560
16561                           if test "X$x" = "X-L$additional_libdir"; then
16562                             haveit=yes
16563                             break
16564                           fi
16565                         done
16566                         if test -z "$haveit"; then
16567                           if test -d "$additional_libdir"; then
16568                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16569                           fi
16570                         fi
16571                       fi
16572                     fi
16573                     ;;
16574                   -R*)
16575                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
16576                     if test "$enable_rpath" != no; then
16577                                                                   haveit=
16578                       for x in $rpathdirs; do
16579                         if test "X$x" = "X$dir"; then
16580                           haveit=yes
16581                           break
16582                         fi
16583                       done
16584                       if test -z "$haveit"; then
16585                         rpathdirs="$rpathdirs $dir"
16586                       fi
16587                                                                   haveit=
16588                       for x in $ltrpathdirs; do
16589                         if test "X$x" = "X$dir"; then
16590                           haveit=yes
16591                           break
16592                         fi
16593                       done
16594                       if test -z "$haveit"; then
16595                         ltrpathdirs="$ltrpathdirs $dir"
16596                       fi
16597                     fi
16598                     ;;
16599                   -l*)
16600                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16601                     ;;
16602                   *.la)
16603                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16604                     ;;
16605                   *)
16606                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16607                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16608                     ;;
16609                 esac
16610               done
16611             fi
16612           else
16613                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16614             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16615           fi
16616         fi
16617       fi
16618     done
16619   done
16620   if test "X$rpathdirs" != "X"; then
16621     if test -n "$acl_hardcode_libdir_separator"; then
16622                         alldirs=
16623       for found_dir in $rpathdirs; do
16624         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16625       done
16626             acl_save_libdir="$libdir"
16627       libdir="$alldirs"
16628       eval flag=\"$acl_hardcode_libdir_flag_spec\"
16629       libdir="$acl_save_libdir"
16630       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16631     else
16632             for found_dir in $rpathdirs; do
16633         acl_save_libdir="$libdir"
16634         libdir="$found_dir"
16635         eval flag=\"$acl_hardcode_libdir_flag_spec\"
16636         libdir="$acl_save_libdir"
16637         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16638       done
16639     fi
16640   fi
16641   if test "X$ltrpathdirs" != "X"; then
16642             for found_dir in $ltrpathdirs; do
16643       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16644     done
16645   fi
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16672 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16673 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16674   $as_echo_n "(cached) " >&6
16675 else
16676   gt_save_LIBS="$LIBS"
16677      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h.  */
16680 #include <CoreFoundation/CFPreferences.h>
16681 int
16682 main ()
16683 {
16684 CFPreferencesCopyAppValue(NULL, NULL)
16685   ;
16686   return 0;
16687 }
16688 _ACEOF
16689 if ac_fn_c_try_link "$LINENO"; then :
16690   gt_cv_func_CFPreferencesCopyAppValue=yes
16691 else
16692   gt_cv_func_CFPreferencesCopyAppValue=no
16693 fi
16694 rm -f core conftest.err conftest.$ac_objext \
16695     conftest$ac_exeext conftest.$ac_ext
16696      LIBS="$gt_save_LIBS"
16697 fi
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16699 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16700   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16701
16702 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16703
16704   fi
16705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16706 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16707 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16708   $as_echo_n "(cached) " >&6
16709 else
16710   gt_save_LIBS="$LIBS"
16711      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h.  */
16714 #include <CoreFoundation/CFLocale.h>
16715 int
16716 main ()
16717 {
16718 CFLocaleCopyCurrent();
16719   ;
16720   return 0;
16721 }
16722 _ACEOF
16723 if ac_fn_c_try_link "$LINENO"; then :
16724   gt_cv_func_CFLocaleCopyCurrent=yes
16725 else
16726   gt_cv_func_CFLocaleCopyCurrent=no
16727 fi
16728 rm -f core conftest.err conftest.$ac_objext \
16729     conftest$ac_exeext conftest.$ac_ext
16730      LIBS="$gt_save_LIBS"
16731 fi
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16733 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16734   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16735
16736 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16737
16738   fi
16739   INTL_MACOSX_LIBS=
16740   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16741     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16742   fi
16743
16744
16745
16746
16747
16748
16749   LIBINTL=
16750   LTLIBINTL=
16751   POSUB=
16752
16753     case " $gt_needs " in
16754     *" need-formatstring-macros "*) gt_api_version=3 ;;
16755     *" need-ngettext "*) gt_api_version=2 ;;
16756     *) gt_api_version=1 ;;
16757   esac
16758   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16759   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16760
16761     if test "$USE_NLS" = "yes"; then
16762     gt_use_preinstalled_gnugettext=no
16763
16764
16765         if test $gt_api_version -ge 3; then
16766           gt_revision_test_code='
16767 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16768 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16769 #endif
16770 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16771 '
16772         else
16773           gt_revision_test_code=
16774         fi
16775         if test $gt_api_version -ge 2; then
16776           gt_expression_test_code=' + * ngettext ("", "", 0)'
16777         else
16778           gt_expression_test_code=
16779         fi
16780
16781         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16782 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16783 if eval \${$gt_func_gnugettext_libc+:} false; then :
16784   $as_echo_n "(cached) " >&6
16785 else
16786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h.  */
16788 #include <libintl.h>
16789 $gt_revision_test_code
16790 extern int _nl_msg_cat_cntr;
16791 extern int *_nl_domain_bindings;
16792 int
16793 main ()
16794 {
16795 bindtextdomain ("", "");
16796 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16797   ;
16798   return 0;
16799 }
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802   eval "$gt_func_gnugettext_libc=yes"
16803 else
16804   eval "$gt_func_gnugettext_libc=no"
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext \
16807     conftest$ac_exeext conftest.$ac_ext
16808 fi
16809 eval ac_res=\$$gt_func_gnugettext_libc
16810                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16811 $as_echo "$ac_res" >&6; }
16812
16813         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16814
16815
16816
16817
16818
16819           am_save_CPPFLAGS="$CPPFLAGS"
16820
16821   for element in $INCICONV; do
16822     haveit=
16823     for x in $CPPFLAGS; do
16824
16825   acl_save_prefix="$prefix"
16826   prefix="$acl_final_prefix"
16827   acl_save_exec_prefix="$exec_prefix"
16828   exec_prefix="$acl_final_exec_prefix"
16829   eval x=\"$x\"
16830   exec_prefix="$acl_save_exec_prefix"
16831   prefix="$acl_save_prefix"
16832
16833       if test "X$x" = "X$element"; then
16834         haveit=yes
16835         break
16836       fi
16837     done
16838     if test -z "$haveit"; then
16839       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16840     fi
16841   done
16842
16843
16844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16845 $as_echo_n "checking for iconv... " >&6; }
16846 if ${am_cv_func_iconv+:} false; then :
16847   $as_echo_n "(cached) " >&6
16848 else
16849
16850     am_cv_func_iconv="no, consider installing GNU libiconv"
16851     am_cv_lib_iconv=no
16852     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h.  */
16854 #include <stdlib.h>
16855 #include <iconv.h>
16856 int
16857 main ()
16858 {
16859 iconv_t cd = iconv_open("","");
16860        iconv(cd,NULL,NULL,NULL,NULL);
16861        iconv_close(cd);
16862   ;
16863   return 0;
16864 }
16865 _ACEOF
16866 if ac_fn_c_try_link "$LINENO"; then :
16867   am_cv_func_iconv=yes
16868 fi
16869 rm -f core conftest.err conftest.$ac_objext \
16870     conftest$ac_exeext conftest.$ac_ext
16871     if test "$am_cv_func_iconv" != yes; then
16872       am_save_LIBS="$LIBS"
16873       LIBS="$LIBS $LIBICONV"
16874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h.  */
16876 #include <stdlib.h>
16877 #include <iconv.h>
16878 int
16879 main ()
16880 {
16881 iconv_t cd = iconv_open("","");
16882          iconv(cd,NULL,NULL,NULL,NULL);
16883          iconv_close(cd);
16884   ;
16885   return 0;
16886 }
16887 _ACEOF
16888 if ac_fn_c_try_link "$LINENO"; then :
16889   am_cv_lib_iconv=yes
16890         am_cv_func_iconv=yes
16891 fi
16892 rm -f core conftest.err conftest.$ac_objext \
16893     conftest$ac_exeext conftest.$ac_ext
16894       LIBS="$am_save_LIBS"
16895     fi
16896
16897 fi
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16899 $as_echo "$am_cv_func_iconv" >&6; }
16900   if test "$am_cv_func_iconv" = yes; then
16901     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16902 $as_echo_n "checking for working iconv... " >&6; }
16903 if ${am_cv_func_iconv_works+:} false; then :
16904   $as_echo_n "(cached) " >&6
16905 else
16906
16907             am_save_LIBS="$LIBS"
16908       if test $am_cv_lib_iconv = yes; then
16909         LIBS="$LIBS $LIBICONV"
16910       fi
16911       if test "$cross_compiling" = yes; then :
16912   case "$host_os" in
16913            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16914            *)            am_cv_func_iconv_works="guessing yes" ;;
16915          esac
16916 else
16917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h.  */
16919
16920 #include <iconv.h>
16921 #include <string.h>
16922 int main ()
16923 {
16924   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16925      returns.  */
16926   {
16927     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16928     if (cd_utf8_to_88591 != (iconv_t)(-1))
16929       {
16930         static const char input[] = "\342\202\254"; /* EURO SIGN */
16931         char buf[10];
16932         const char *inptr = input;
16933         size_t inbytesleft = strlen (input);
16934         char *outptr = buf;
16935         size_t outbytesleft = sizeof (buf);
16936         size_t res = iconv (cd_utf8_to_88591,
16937                             (char **) &inptr, &inbytesleft,
16938                             &outptr, &outbytesleft);
16939         if (res == 0)
16940           return 1;
16941       }
16942   }
16943 #if 0 /* This bug could be worked around by the caller.  */
16944   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
16945   {
16946     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16947     if (cd_88591_to_utf8 != (iconv_t)(-1))
16948       {
16949         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16950         char buf[50];
16951         const char *inptr = input;
16952         size_t inbytesleft = strlen (input);
16953         char *outptr = buf;
16954         size_t outbytesleft = sizeof (buf);
16955         size_t res = iconv (cd_88591_to_utf8,
16956                             (char **) &inptr, &inbytesleft,
16957                             &outptr, &outbytesleft);
16958         if ((int)res > 0)
16959           return 1;
16960       }
16961   }
16962 #endif
16963   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16964      provided.  */
16965   if (/* Try standardized names.  */
16966       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16967       /* Try IRIX, OSF/1 names.  */
16968       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16969       /* Try AIX names.  */
16970       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16971       /* Try HP-UX names.  */
16972       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16973     return 1;
16974   return 0;
16975 }
16976 _ACEOF
16977 if ac_fn_c_try_run "$LINENO"; then :
16978   am_cv_func_iconv_works=yes
16979 else
16980   am_cv_func_iconv_works=no
16981 fi
16982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16983   conftest.$ac_objext conftest.beam conftest.$ac_ext
16984 fi
16985
16986       LIBS="$am_save_LIBS"
16987
16988 fi
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16990 $as_echo "$am_cv_func_iconv_works" >&6; }
16991     case "$am_cv_func_iconv_works" in
16992       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16993       *)   am_func_iconv=yes ;;
16994     esac
16995   else
16996     am_func_iconv=no am_cv_lib_iconv=no
16997   fi
16998   if test "$am_func_iconv" = yes; then
16999
17000 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17001
17002   fi
17003   if test "$am_cv_lib_iconv" = yes; then
17004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17005 $as_echo_n "checking how to link with libiconv... " >&6; }
17006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17007 $as_echo "$LIBICONV" >&6; }
17008   else
17009             CPPFLAGS="$am_save_CPPFLAGS"
17010     LIBICONV=
17011     LTLIBICONV=
17012   fi
17013
17014
17015
17016
17017
17018
17019
17020
17021     use_additional=yes
17022
17023   acl_save_prefix="$prefix"
17024   prefix="$acl_final_prefix"
17025   acl_save_exec_prefix="$exec_prefix"
17026   exec_prefix="$acl_final_exec_prefix"
17027
17028     eval additional_includedir=\"$includedir\"
17029     eval additional_libdir=\"$libdir\"
17030
17031   exec_prefix="$acl_save_exec_prefix"
17032   prefix="$acl_save_prefix"
17033
17034
17035 # Check whether --with-libintl-prefix was given.
17036 if test "${with_libintl_prefix+set}" = set; then :
17037   withval=$with_libintl_prefix;
17038     if test "X$withval" = "Xno"; then
17039       use_additional=no
17040     else
17041       if test "X$withval" = "X"; then
17042
17043   acl_save_prefix="$prefix"
17044   prefix="$acl_final_prefix"
17045   acl_save_exec_prefix="$exec_prefix"
17046   exec_prefix="$acl_final_exec_prefix"
17047
17048           eval additional_includedir=\"$includedir\"
17049           eval additional_libdir=\"$libdir\"
17050
17051   exec_prefix="$acl_save_exec_prefix"
17052   prefix="$acl_save_prefix"
17053
17054       else
17055         additional_includedir="$withval/include"
17056         additional_libdir="$withval/$acl_libdirstem"
17057       fi
17058     fi
17059
17060 fi
17061
17062       LIBINTL=
17063   LTLIBINTL=
17064   INCINTL=
17065   LIBINTL_PREFIX=
17066   rpathdirs=
17067   ltrpathdirs=
17068   names_already_handled=
17069   names_next_round='intl '
17070   while test -n "$names_next_round"; do
17071     names_this_round="$names_next_round"
17072     names_next_round=
17073     for name in $names_this_round; do
17074       already_handled=
17075       for n in $names_already_handled; do
17076         if test "$n" = "$name"; then
17077           already_handled=yes
17078           break
17079         fi
17080       done
17081       if test -z "$already_handled"; then
17082         names_already_handled="$names_already_handled $name"
17083                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17084         eval value=\"\$HAVE_LIB$uppername\"
17085         if test -n "$value"; then
17086           if test "$value" = yes; then
17087             eval value=\"\$LIB$uppername\"
17088             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17089             eval value=\"\$LTLIB$uppername\"
17090             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17091           else
17092                                     :
17093           fi
17094         else
17095                               found_dir=
17096           found_la=
17097           found_so=
17098           found_a=
17099           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17100           if test -n "$acl_shlibext"; then
17101             shrext=".$acl_shlibext"             # typically: shrext=.so
17102           else
17103             shrext=
17104           fi
17105           if test $use_additional = yes; then
17106             dir="$additional_libdir"
17107                                     if test -n "$acl_shlibext"; then
17108               if test -f "$dir/$libname$shrext"; then
17109                 found_dir="$dir"
17110                 found_so="$dir/$libname$shrext"
17111               else
17112                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17113                   ver=`(cd "$dir" && \
17114                         for f in "$libname$shrext".*; do echo "$f"; done \
17115                         | sed -e "s,^$libname$shrext\\\\.,," \
17116                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17117                         | sed 1q ) 2>/dev/null`
17118                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17119                     found_dir="$dir"
17120                     found_so="$dir/$libname$shrext.$ver"
17121                   fi
17122                 else
17123                   eval library_names=\"$acl_library_names_spec\"
17124                   for f in $library_names; do
17125                     if test -f "$dir/$f"; then
17126                       found_dir="$dir"
17127                       found_so="$dir/$f"
17128                       break
17129                     fi
17130                   done
17131                 fi
17132               fi
17133             fi
17134                         if test "X$found_dir" = "X"; then
17135               if test -f "$dir/$libname.$acl_libext"; then
17136                 found_dir="$dir"
17137                 found_a="$dir/$libname.$acl_libext"
17138               fi
17139             fi
17140             if test "X$found_dir" != "X"; then
17141               if test -f "$dir/$libname.la"; then
17142                 found_la="$dir/$libname.la"
17143               fi
17144             fi
17145           fi
17146           if test "X$found_dir" = "X"; then
17147             for x in $LDFLAGS $LTLIBINTL; do
17148
17149   acl_save_prefix="$prefix"
17150   prefix="$acl_final_prefix"
17151   acl_save_exec_prefix="$exec_prefix"
17152   exec_prefix="$acl_final_exec_prefix"
17153   eval x=\"$x\"
17154   exec_prefix="$acl_save_exec_prefix"
17155   prefix="$acl_save_prefix"
17156
17157               case "$x" in
17158                 -L*)
17159                   dir=`echo "X$x" | sed -e 's/^X-L//'`
17160                                     if test -n "$acl_shlibext"; then
17161                     if test -f "$dir/$libname$shrext"; then
17162                       found_dir="$dir"
17163                       found_so="$dir/$libname$shrext"
17164                     else
17165                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17166                         ver=`(cd "$dir" && \
17167                               for f in "$libname$shrext".*; do echo "$f"; done \
17168                               | sed -e "s,^$libname$shrext\\\\.,," \
17169                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17170                               | sed 1q ) 2>/dev/null`
17171                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17172                           found_dir="$dir"
17173                           found_so="$dir/$libname$shrext.$ver"
17174                         fi
17175                       else
17176                         eval library_names=\"$acl_library_names_spec\"
17177                         for f in $library_names; do
17178                           if test -f "$dir/$f"; then
17179                             found_dir="$dir"
17180                             found_so="$dir/$f"
17181                             break
17182                           fi
17183                         done
17184                       fi
17185                     fi
17186                   fi
17187                                     if test "X$found_dir" = "X"; then
17188                     if test -f "$dir/$libname.$acl_libext"; then
17189                       found_dir="$dir"
17190                       found_a="$dir/$libname.$acl_libext"
17191                     fi
17192                   fi
17193                   if test "X$found_dir" != "X"; then
17194                     if test -f "$dir/$libname.la"; then
17195                       found_la="$dir/$libname.la"
17196                     fi
17197                   fi
17198                   ;;
17199               esac
17200               if test "X$found_dir" != "X"; then
17201                 break
17202               fi
17203             done
17204           fi
17205           if test "X$found_dir" != "X"; then
17206                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17207             if test "X$found_so" != "X"; then
17208                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17209                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17210               else
17211                                                                                 haveit=
17212                 for x in $ltrpathdirs; do
17213                   if test "X$x" = "X$found_dir"; then
17214                     haveit=yes
17215                     break
17216                   fi
17217                 done
17218                 if test -z "$haveit"; then
17219                   ltrpathdirs="$ltrpathdirs $found_dir"
17220                 fi
17221                                 if test "$acl_hardcode_direct" = yes; then
17222                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17223                 else
17224                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17225                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17226                                                             haveit=
17227                     for x in $rpathdirs; do
17228                       if test "X$x" = "X$found_dir"; then
17229                         haveit=yes
17230                         break
17231                       fi
17232                     done
17233                     if test -z "$haveit"; then
17234                       rpathdirs="$rpathdirs $found_dir"
17235                     fi
17236                   else
17237                                                                                 haveit=
17238                     for x in $LDFLAGS $LIBINTL; do
17239
17240   acl_save_prefix="$prefix"
17241   prefix="$acl_final_prefix"
17242   acl_save_exec_prefix="$exec_prefix"
17243   exec_prefix="$acl_final_exec_prefix"
17244   eval x=\"$x\"
17245   exec_prefix="$acl_save_exec_prefix"
17246   prefix="$acl_save_prefix"
17247
17248                       if test "X$x" = "X-L$found_dir"; then
17249                         haveit=yes
17250                         break
17251                       fi
17252                     done
17253                     if test -z "$haveit"; then
17254                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17255                     fi
17256                     if test "$acl_hardcode_minus_L" != no; then
17257                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17258                     else
17259                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17260                     fi
17261                   fi
17262                 fi
17263               fi
17264             else
17265               if test "X$found_a" != "X"; then
17266                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17267               else
17268                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17269               fi
17270             fi
17271                         additional_includedir=
17272             case "$found_dir" in
17273               */$acl_libdirstem | */$acl_libdirstem/)
17274                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17275                 LIBINTL_PREFIX="$basedir"
17276                 additional_includedir="$basedir/include"
17277                 ;;
17278             esac
17279             if test "X$additional_includedir" != "X"; then
17280                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17281                 haveit=
17282                 if test "X$additional_includedir" = "X/usr/local/include"; then
17283                   if test -n "$GCC"; then
17284                     case $host_os in
17285                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17286                     esac
17287                   fi
17288                 fi
17289                 if test -z "$haveit"; then
17290                   for x in $CPPFLAGS $INCINTL; do
17291
17292   acl_save_prefix="$prefix"
17293   prefix="$acl_final_prefix"
17294   acl_save_exec_prefix="$exec_prefix"
17295   exec_prefix="$acl_final_exec_prefix"
17296   eval x=\"$x\"
17297   exec_prefix="$acl_save_exec_prefix"
17298   prefix="$acl_save_prefix"
17299
17300                     if test "X$x" = "X-I$additional_includedir"; then
17301                       haveit=yes
17302                       break
17303                     fi
17304                   done
17305                   if test -z "$haveit"; then
17306                     if test -d "$additional_includedir"; then
17307                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17308                     fi
17309                   fi
17310                 fi
17311               fi
17312             fi
17313                         if test -n "$found_la"; then
17314                                                         save_libdir="$libdir"
17315               case "$found_la" in
17316                 */* | *\\*) . "$found_la" ;;
17317                 *) . "./$found_la" ;;
17318               esac
17319               libdir="$save_libdir"
17320                             for dep in $dependency_libs; do
17321                 case "$dep" in
17322                   -L*)
17323                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17324                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17325                       haveit=
17326                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17327                         if test -n "$GCC"; then
17328                           case $host_os in
17329                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17330                           esac
17331                         fi
17332                       fi
17333                       if test -z "$haveit"; then
17334                         haveit=
17335                         for x in $LDFLAGS $LIBINTL; do
17336
17337   acl_save_prefix="$prefix"
17338   prefix="$acl_final_prefix"
17339   acl_save_exec_prefix="$exec_prefix"
17340   exec_prefix="$acl_final_exec_prefix"
17341   eval x=\"$x\"
17342   exec_prefix="$acl_save_exec_prefix"
17343   prefix="$acl_save_prefix"
17344
17345                           if test "X$x" = "X-L$additional_libdir"; then
17346                             haveit=yes
17347                             break
17348                           fi
17349                         done
17350                         if test -z "$haveit"; then
17351                           if test -d "$additional_libdir"; then
17352                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17353                           fi
17354                         fi
17355                         haveit=
17356                         for x in $LDFLAGS $LTLIBINTL; do
17357
17358   acl_save_prefix="$prefix"
17359   prefix="$acl_final_prefix"
17360   acl_save_exec_prefix="$exec_prefix"
17361   exec_prefix="$acl_final_exec_prefix"
17362   eval x=\"$x\"
17363   exec_prefix="$acl_save_exec_prefix"
17364   prefix="$acl_save_prefix"
17365
17366                           if test "X$x" = "X-L$additional_libdir"; then
17367                             haveit=yes
17368                             break
17369                           fi
17370                         done
17371                         if test -z "$haveit"; then
17372                           if test -d "$additional_libdir"; then
17373                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17374                           fi
17375                         fi
17376                       fi
17377                     fi
17378                     ;;
17379                   -R*)
17380                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17381                     if test "$enable_rpath" != no; then
17382                                                                   haveit=
17383                       for x in $rpathdirs; do
17384                         if test "X$x" = "X$dir"; then
17385                           haveit=yes
17386                           break
17387                         fi
17388                       done
17389                       if test -z "$haveit"; then
17390                         rpathdirs="$rpathdirs $dir"
17391                       fi
17392                                                                   haveit=
17393                       for x in $ltrpathdirs; do
17394                         if test "X$x" = "X$dir"; then
17395                           haveit=yes
17396                           break
17397                         fi
17398                       done
17399                       if test -z "$haveit"; then
17400                         ltrpathdirs="$ltrpathdirs $dir"
17401                       fi
17402                     fi
17403                     ;;
17404                   -l*)
17405                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17406                     ;;
17407                   *.la)
17408                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17409                     ;;
17410                   *)
17411                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17412                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17413                     ;;
17414                 esac
17415               done
17416             fi
17417           else
17418                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17419             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17420           fi
17421         fi
17422       fi
17423     done
17424   done
17425   if test "X$rpathdirs" != "X"; then
17426     if test -n "$acl_hardcode_libdir_separator"; then
17427                         alldirs=
17428       for found_dir in $rpathdirs; do
17429         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17430       done
17431             acl_save_libdir="$libdir"
17432       libdir="$alldirs"
17433       eval flag=\"$acl_hardcode_libdir_flag_spec\"
17434       libdir="$acl_save_libdir"
17435       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17436     else
17437             for found_dir in $rpathdirs; do
17438         acl_save_libdir="$libdir"
17439         libdir="$found_dir"
17440         eval flag=\"$acl_hardcode_libdir_flag_spec\"
17441         libdir="$acl_save_libdir"
17442         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17443       done
17444     fi
17445   fi
17446   if test "X$ltrpathdirs" != "X"; then
17447             for found_dir in $ltrpathdirs; do
17448       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17449     done
17450   fi
17451
17452           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17453 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17454 if eval \${$gt_func_gnugettext_libintl+:} false; then :
17455   $as_echo_n "(cached) " >&6
17456 else
17457   gt_save_CPPFLAGS="$CPPFLAGS"
17458             CPPFLAGS="$CPPFLAGS $INCINTL"
17459             gt_save_LIBS="$LIBS"
17460             LIBS="$LIBS $LIBINTL"
17461                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h.  */
17463 #include <libintl.h>
17464 $gt_revision_test_code
17465 extern int _nl_msg_cat_cntr;
17466 extern
17467 #ifdef __cplusplus
17468 "C"
17469 #endif
17470 const char *_nl_expand_alias (const char *);
17471 int
17472 main ()
17473 {
17474 bindtextdomain ("", "");
17475 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17476   ;
17477   return 0;
17478 }
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"; then :
17481   eval "$gt_func_gnugettext_libintl=yes"
17482 else
17483   eval "$gt_func_gnugettext_libintl=no"
17484 fi
17485 rm -f core conftest.err conftest.$ac_objext \
17486     conftest$ac_exeext conftest.$ac_ext
17487                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17488               LIBS="$LIBS $LIBICONV"
17489               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h.  */
17491 #include <libintl.h>
17492 $gt_revision_test_code
17493 extern int _nl_msg_cat_cntr;
17494 extern
17495 #ifdef __cplusplus
17496 "C"
17497 #endif
17498 const char *_nl_expand_alias (const char *);
17499 int
17500 main ()
17501 {
17502 bindtextdomain ("", "");
17503 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17504   ;
17505   return 0;
17506 }
17507 _ACEOF
17508 if ac_fn_c_try_link "$LINENO"; then :
17509   LIBINTL="$LIBINTL $LIBICONV"
17510                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17511                 eval "$gt_func_gnugettext_libintl=yes"
17512
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext \
17515     conftest$ac_exeext conftest.$ac_ext
17516             fi
17517             CPPFLAGS="$gt_save_CPPFLAGS"
17518             LIBS="$gt_save_LIBS"
17519 fi
17520 eval ac_res=\$$gt_func_gnugettext_libintl
17521                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17522 $as_echo "$ac_res" >&6; }
17523         fi
17524
17525                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17526            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17527                 && test "$PACKAGE" != gettext-runtime \
17528                 && test "$PACKAGE" != gettext-tools; }; then
17529           gt_use_preinstalled_gnugettext=yes
17530         else
17531                     LIBINTL=
17532           LTLIBINTL=
17533           INCINTL=
17534         fi
17535
17536
17537
17538     if test -n "$INTL_MACOSX_LIBS"; then
17539       if test "$gt_use_preinstalled_gnugettext" = "yes" \
17540          || test "$nls_cv_use_gnu_gettext" = "yes"; then
17541                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17542         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17543       fi
17544     fi
17545
17546     if test "$gt_use_preinstalled_gnugettext" = "yes" \
17547        || test "$nls_cv_use_gnu_gettext" = "yes"; then
17548
17549 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17550
17551     else
17552       USE_NLS=no
17553     fi
17554   fi
17555
17556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17557 $as_echo_n "checking whether to use NLS... " >&6; }
17558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17559 $as_echo "$USE_NLS" >&6; }
17560   if test "$USE_NLS" = "yes"; then
17561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17562 $as_echo_n "checking where the gettext function comes from... " >&6; }
17563     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17564       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17565         gt_source="external libintl"
17566       else
17567         gt_source="libc"
17568       fi
17569     else
17570       gt_source="included intl directory"
17571     fi
17572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17573 $as_echo "$gt_source" >&6; }
17574   fi
17575
17576   if test "$USE_NLS" = "yes"; then
17577
17578     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17579       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17580         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17581 $as_echo_n "checking how to link with libintl... " >&6; }
17582         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17583 $as_echo "$LIBINTL" >&6; }
17584
17585   for element in $INCINTL; do
17586     haveit=
17587     for x in $CPPFLAGS; do
17588
17589   acl_save_prefix="$prefix"
17590   prefix="$acl_final_prefix"
17591   acl_save_exec_prefix="$exec_prefix"
17592   exec_prefix="$acl_final_exec_prefix"
17593   eval x=\"$x\"
17594   exec_prefix="$acl_save_exec_prefix"
17595   prefix="$acl_save_prefix"
17596
17597       if test "X$x" = "X$element"; then
17598         haveit=yes
17599         break
17600       fi
17601     done
17602     if test -z "$haveit"; then
17603       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17604     fi
17605   done
17606
17607       fi
17608
17609
17610 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17611
17612
17613 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17614
17615     fi
17616
17617         POSUB=po
17618   fi
17619
17620
17621
17622     INTLLIBS="$LIBINTL"
17623
17624
17625
17626
17627
17628
17629
17630 GETTEXT_PACKAGE="clutter-1.0"
17631
17632
17633 cat >>confdefs.h <<_ACEOF
17634 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
17635 _ACEOF
17636
17637
17638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linguas" >&5
17639 $as_echo_n "checking for linguas... " >&6; }
17640  podir="$srcdir/po"
17641  linguas=`cd $podir && ls *.po 2>/dev/null | awk 'BEGIN { FS="."; ORS=" " } { print $1 }'`
17642  if test -f "$podir/LINGUAS.ignore"; then
17643    ALL_LINGUAS="";
17644    ignore_linguas=`sed -n -e 's/^\s\+\|\s\+$//g' -e '/^#/b' -e '/\S/!b' \
17645                        -e 's/\s\+/\n/g' -e p "$podir/LINGUAS.ignore"`;
17646    for lang in $linguas; do
17647      if ! echo "$ignore_linguas" | grep -q "^${lang}$"; then
17648        ALL_LINGUAS="$ALL_LINGUAS $lang";
17649      fi;
17650    done;
17651  else
17652    ALL_LINGUAS="$linguas";
17653  fi;
17654
17655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALL_LINGUAS" >&5
17656 $as_echo "$ALL_LINGUAS" >&6; }
17657
17658
17659
17660 ac_config_files="$ac_config_files Makefile config.h.win32 README build/Makefile build/autotools/Makefile build/mingw/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile clutter/Makefile clutter/clutter-config.h clutter/clutter-version.h clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in clutter/cex100/clutter-cex100.h tests/Makefile tests/accessibility/Makefile tests/conform/Makefile tests/conform/test-launcher.sh tests/data/Makefile tests/interactive/Makefile tests/interactive/wrapper.sh tests/micro-bench/Makefile tests/performance/Makefile doc/Makefile doc/reference/Makefile doc/reference/clutter/Makefile doc/reference/clutter/clutter-docs.xml doc/reference/cally/Makefile doc/reference/cally/cally-docs.xml doc/common/Makefile doc/cookbook/Makefile doc/cookbook/clutter-cookbook.xml doc/cookbook/examples/Makefile po/Makefile.in"
17661
17662
17663 cat >confcache <<\_ACEOF
17664 # This file is a shell script that caches the results of configure
17665 # tests run on this system so they can be shared between configure
17666 # scripts and configure runs, see configure's option --config-cache.
17667 # It is not useful on other systems.  If it contains results you don't
17668 # want to keep, you may remove or edit it.
17669 #
17670 # config.status only pays attention to the cache file if you give it
17671 # the --recheck option to rerun configure.
17672 #
17673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17675 # following values.
17676
17677 _ACEOF
17678
17679 # The following way of writing the cache mishandles newlines in values,
17680 # but we know of no workaround that is simple, portable, and efficient.
17681 # So, we kill variables containing newlines.
17682 # Ultrix sh set writes to stderr and can't be redirected directly,
17683 # and sets the high bit in the cache file unless we assign to the vars.
17684 (
17685   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17686     eval ac_val=\$$ac_var
17687     case $ac_val in #(
17688     *${as_nl}*)
17689       case $ac_var in #(
17690       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17692       esac
17693       case $ac_var in #(
17694       _ | IFS | as_nl) ;; #(
17695       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17696       *) { eval $ac_var=; unset $ac_var;} ;;
17697       esac ;;
17698     esac
17699   done
17700
17701   (set) 2>&1 |
17702     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17703     *${as_nl}ac_space=\ *)
17704       # `set' does not quote correctly, so add quotes: double-quote
17705       # substitution turns \\\\ into \\, and sed turns \\ into \.
17706       sed -n \
17707         "s/'/'\\\\''/g;
17708           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17709       ;; #(
17710     *)
17711       # `set' quotes correctly as required by POSIX, so do not add quotes.
17712       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17713       ;;
17714     esac |
17715     sort
17716 ) |
17717   sed '
17718      /^ac_cv_env_/b end
17719      t clear
17720      :clear
17721      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17722      t end
17723      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17724      :end' >>confcache
17725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17726   if test -w "$cache_file"; then
17727     if test "x$cache_file" != "x/dev/null"; then
17728       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17729 $as_echo "$as_me: updating cache $cache_file" >&6;}
17730       if test ! -f "$cache_file" || test -h "$cache_file"; then
17731         cat confcache >"$cache_file"
17732       else
17733         case $cache_file in #(
17734         */* | ?:*)
17735           mv -f confcache "$cache_file"$$ &&
17736           mv -f "$cache_file"$$ "$cache_file" ;; #(
17737         *)
17738           mv -f confcache "$cache_file" ;;
17739         esac
17740       fi
17741     fi
17742   else
17743     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17745   fi
17746 fi
17747 rm -f confcache
17748
17749 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17750 # Let make expand exec_prefix.
17751 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17752
17753 DEFS=-DHAVE_CONFIG_H
17754
17755 ac_libobjs=
17756 ac_ltlibobjs=
17757 U=
17758 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17759   # 1. Remove the extension, and $U if already installed.
17760   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17761   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17762   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17763   #    will be set to the directory where LIBOBJS objects are built.
17764   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17765   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17766 done
17767 LIBOBJS=$ac_libobjs
17768
17769 LTLIBOBJS=$ac_ltlibobjs
17770
17771
17772  if test -n "$EXEEXT"; then
17773   am__EXEEXT_TRUE=
17774   am__EXEEXT_FALSE='#'
17775 else
17776   am__EXEEXT_TRUE='#'
17777   am__EXEEXT_FALSE=
17778 fi
17779
17780 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17781   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17783 fi
17784 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17785   as_fn_error $? "conditional \"AMDEP\" was never defined.
17786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17787 fi
17788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17789   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17791 fi
17792 if test -z "${OS_QUARTZ_TRUE}" && test -z "${OS_QUARTZ_FALSE}"; then
17793   as_fn_error $? "conditional \"OS_QUARTZ\" was never defined.
17794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17795 fi
17796 if test -z "${OS_GLX_TRUE}" && test -z "${OS_GLX_FALSE}"; then
17797   as_fn_error $? "conditional \"OS_GLX\" was never defined.
17798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17799 fi
17800 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
17801   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
17802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17803 fi
17804 if test -z "${SUPPORT_WAYLAND_COMPOSITOR_TRUE}" && test -z "${SUPPORT_WAYLAND_COMPOSITOR_FALSE}"; then
17805   as_fn_error $? "conditional \"SUPPORT_WAYLAND_COMPOSITOR\" was never defined.
17806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17807 fi
17808 if test -z "${SUPPORT_GLX_TRUE}" && test -z "${SUPPORT_GLX_FALSE}"; then
17809   as_fn_error $? "conditional \"SUPPORT_GLX\" was never defined.
17810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17811 fi
17812 if test -z "${SUPPORT_X11_TRUE}" && test -z "${SUPPORT_X11_FALSE}"; then
17813   as_fn_error $? "conditional \"SUPPORT_X11\" was never defined.
17814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17815 fi
17816 if test -z "${SUPPORT_GDK_TRUE}" && test -z "${SUPPORT_GDK_FALSE}"; then
17817   as_fn_error $? "conditional \"SUPPORT_GDK\" was never defined.
17818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17819 fi
17820 if test -z "${SUPPORT_EGL_TRUE}" && test -z "${SUPPORT_EGL_FALSE}"; then
17821   as_fn_error $? "conditional \"SUPPORT_EGL\" was never defined.
17822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17823 fi
17824 if test -z "${SUPPORT_OSX_TRUE}" && test -z "${SUPPORT_OSX_FALSE}"; then
17825   as_fn_error $? "conditional \"SUPPORT_OSX\" was never defined.
17826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17827 fi
17828 if test -z "${SUPPORT_WIN32_TRUE}" && test -z "${SUPPORT_WIN32_FALSE}"; then
17829   as_fn_error $? "conditional \"SUPPORT_WIN32\" was never defined.
17830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17831 fi
17832 if test -z "${SUPPORT_CEX100_TRUE}" && test -z "${SUPPORT_CEX100_FALSE}"; then
17833   as_fn_error $? "conditional \"SUPPORT_CEX100\" was never defined.
17834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17835 fi
17836 if test -z "${SUPPORT_WAYLAND_TRUE}" && test -z "${SUPPORT_WAYLAND_FALSE}"; then
17837   as_fn_error $? "conditional \"SUPPORT_WAYLAND\" was never defined.
17838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17839 fi
17840 if test -z "${USE_COGL_TRUE}" && test -z "${USE_COGL_FALSE}"; then
17841   as_fn_error $? "conditional \"USE_COGL\" was never defined.
17842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17843 fi
17844 if test -z "${USE_TSLIB_TRUE}" && test -z "${USE_TSLIB_FALSE}"; then
17845   as_fn_error $? "conditional \"USE_TSLIB\" was never defined.
17846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17847 fi
17848 if test -z "${USE_EVDEV_TRUE}" && test -z "${USE_EVDEV_FALSE}"; then
17849   as_fn_error $? "conditional \"USE_EVDEV\" was never defined.
17850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17851 fi
17852 if test -z "${USE_GLD_TRUE}" && test -z "${USE_GLD_FALSE}"; then
17853   as_fn_error $? "conditional \"USE_GLD\" was never defined.
17854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17855 fi
17856 if test -z "${NEED_XKB_UTILS_TRUE}" && test -z "${NEED_XKB_UTILS_FALSE}"; then
17857   as_fn_error $? "conditional \"NEED_XKB_UTILS\" was never defined.
17858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17859 fi
17860 if test -z "${BUILD_XI2_TRUE}" && test -z "${BUILD_XI2_FALSE}"; then
17861   as_fn_error $? "conditional \"BUILD_XI2\" was never defined.
17862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17863 fi
17864 if test -z "${X11_TESTS_TRUE}" && test -z "${X11_TESTS_FALSE}"; then
17865   as_fn_error $? "conditional \"X11_TESTS\" was never defined.
17866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17867 fi
17868 if test -z "${PIXBUF_TESTS_TRUE}" && test -z "${PIXBUF_TESTS_FALSE}"; then
17869   as_fn_error $? "conditional \"PIXBUF_TESTS\" was never defined.
17870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17871 fi
17872 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
17873   as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
17874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17875 fi
17876 if test -z "${PROFILE_TRUE}" && test -z "${PROFILE_FALSE}"; then
17877   as_fn_error $? "conditional \"PROFILE\" was never defined.
17878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17879 fi
17880 if test -z "${GCOV_ENABLED_TRUE}" && test -z "${GCOV_ENABLED_FALSE}"; then
17881   as_fn_error $? "conditional \"GCOV_ENABLED\" was never defined.
17882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17883 fi
17884 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17885   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17887 fi
17888 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17889   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17891 fi
17892 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17893   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17895 fi
17896 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17897   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17899 fi
17900 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17901   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17903 fi
17904 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
17905   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
17906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17907 fi
17908 if test -z "${BUILD_GTK_DOC_TRUE}" && test -z "${BUILD_GTK_DOC_FALSE}"; then
17909   as_fn_error $? "conditional \"BUILD_GTK_DOC\" was never defined.
17910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17911 fi
17912 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
17913   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
17914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17915 fi
17916 if test -z "${ENABLE_PDFS_TRUE}" && test -z "${ENABLE_PDFS_FALSE}"; then
17917   as_fn_error $? "conditional \"ENABLE_PDFS\" was never defined.
17918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17919 fi
17920
17921 : "${CONFIG_STATUS=./config.status}"
17922 ac_write_fail=0
17923 ac_clean_files_save=$ac_clean_files
17924 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17926 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17927 as_write_fail=0
17928 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17929 #! $SHELL
17930 # Generated by $as_me.
17931 # Run this file to recreate the current configuration.
17932 # Compiler output produced by configure, useful for debugging
17933 # configure, is in config.log if it exists.
17934
17935 debug=false
17936 ac_cs_recheck=false
17937 ac_cs_silent=false
17938
17939 SHELL=\${CONFIG_SHELL-$SHELL}
17940 export SHELL
17941 _ASEOF
17942 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17943 ## -------------------- ##
17944 ## M4sh Initialization. ##
17945 ## -------------------- ##
17946
17947 # Be more Bourne compatible
17948 DUALCASE=1; export DUALCASE # for MKS sh
17949 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17950   emulate sh
17951   NULLCMD=:
17952   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17953   # is contrary to our usage.  Disable this feature.
17954   alias -g '${1+"$@"}'='"$@"'
17955   setopt NO_GLOB_SUBST
17956 else
17957   case `(set -o) 2>/dev/null` in #(
17958   *posix*) :
17959     set -o posix ;; #(
17960   *) :
17961      ;;
17962 esac
17963 fi
17964
17965
17966 as_nl='
17967 '
17968 export as_nl
17969 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17970 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17973 # Prefer a ksh shell builtin over an external printf program on Solaris,
17974 # but without wasting forks for bash or zsh.
17975 if test -z "$BASH_VERSION$ZSH_VERSION" \
17976     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17977   as_echo='print -r --'
17978   as_echo_n='print -rn --'
17979 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17980   as_echo='printf %s\n'
17981   as_echo_n='printf %s'
17982 else
17983   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17984     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17985     as_echo_n='/usr/ucb/echo -n'
17986   else
17987     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17988     as_echo_n_body='eval
17989       arg=$1;
17990       case $arg in #(
17991       *"$as_nl"*)
17992         expr "X$arg" : "X\\(.*\\)$as_nl";
17993         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17994       esac;
17995       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17996     '
17997     export as_echo_n_body
17998     as_echo_n='sh -c $as_echo_n_body as_echo'
17999   fi
18000   export as_echo_body
18001   as_echo='sh -c $as_echo_body as_echo'
18002 fi
18003
18004 # The user is always right.
18005 if test "${PATH_SEPARATOR+set}" != set; then
18006   PATH_SEPARATOR=:
18007   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18008     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18009       PATH_SEPARATOR=';'
18010   }
18011 fi
18012
18013
18014 # IFS
18015 # We need space, tab and new line, in precisely that order.  Quoting is
18016 # there to prevent editors from complaining about space-tab.
18017 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18018 # splitting by setting IFS to empty value.)
18019 IFS=" ""        $as_nl"
18020
18021 # Find who we are.  Look in the path if we contain no directory separator.
18022 as_myself=
18023 case $0 in #((
18024   *[\\/]* ) as_myself=$0 ;;
18025   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18026 for as_dir in $PATH
18027 do
18028   IFS=$as_save_IFS
18029   test -z "$as_dir" && as_dir=.
18030     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18031   done
18032 IFS=$as_save_IFS
18033
18034      ;;
18035 esac
18036 # We did not find ourselves, most probably we were run as `sh COMMAND'
18037 # in which case we are not to be found in the path.
18038 if test "x$as_myself" = x; then
18039   as_myself=$0
18040 fi
18041 if test ! -f "$as_myself"; then
18042   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18043   exit 1
18044 fi
18045
18046 # Unset variables that we do not need and which cause bugs (e.g. in
18047 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18048 # suppresses any "Segmentation fault" message there.  '((' could
18049 # trigger a bug in pdksh 5.2.14.
18050 for as_var in BASH_ENV ENV MAIL MAILPATH
18051 do eval test x\${$as_var+set} = xset \
18052   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18053 done
18054 PS1='$ '
18055 PS2='> '
18056 PS4='+ '
18057
18058 # NLS nuisances.
18059 LC_ALL=C
18060 export LC_ALL
18061 LANGUAGE=C
18062 export LANGUAGE
18063
18064 # CDPATH.
18065 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18066
18067
18068 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18069 # ----------------------------------------
18070 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18071 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18072 # script with STATUS, using 1 if that was 0.
18073 as_fn_error ()
18074 {
18075   as_status=$1; test $as_status -eq 0 && as_status=1
18076   if test "$4"; then
18077     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18078     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18079   fi
18080   $as_echo "$as_me: error: $2" >&2
18081   as_fn_exit $as_status
18082 } # as_fn_error
18083
18084
18085 # as_fn_set_status STATUS
18086 # -----------------------
18087 # Set $? to STATUS, without forking.
18088 as_fn_set_status ()
18089 {
18090   return $1
18091 } # as_fn_set_status
18092
18093 # as_fn_exit STATUS
18094 # -----------------
18095 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18096 as_fn_exit ()
18097 {
18098   set +e
18099   as_fn_set_status $1
18100   exit $1
18101 } # as_fn_exit
18102
18103 # as_fn_unset VAR
18104 # ---------------
18105 # Portably unset VAR.
18106 as_fn_unset ()
18107 {
18108   { eval $1=; unset $1;}
18109 }
18110 as_unset=as_fn_unset
18111 # as_fn_append VAR VALUE
18112 # ----------------------
18113 # Append the text in VALUE to the end of the definition contained in VAR. Take
18114 # advantage of any shell optimizations that allow amortized linear growth over
18115 # repeated appends, instead of the typical quadratic growth present in naive
18116 # implementations.
18117 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18118   eval 'as_fn_append ()
18119   {
18120     eval $1+=\$2
18121   }'
18122 else
18123   as_fn_append ()
18124   {
18125     eval $1=\$$1\$2
18126   }
18127 fi # as_fn_append
18128
18129 # as_fn_arith ARG...
18130 # ------------------
18131 # Perform arithmetic evaluation on the ARGs, and store the result in the
18132 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18133 # must be portable across $(()) and expr.
18134 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18135   eval 'as_fn_arith ()
18136   {
18137     as_val=$(( $* ))
18138   }'
18139 else
18140   as_fn_arith ()
18141   {
18142     as_val=`expr "$@" || test $? -eq 1`
18143   }
18144 fi # as_fn_arith
18145
18146
18147 if expr a : '\(a\)' >/dev/null 2>&1 &&
18148    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18149   as_expr=expr
18150 else
18151   as_expr=false
18152 fi
18153
18154 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18155   as_basename=basename
18156 else
18157   as_basename=false
18158 fi
18159
18160 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18161   as_dirname=dirname
18162 else
18163   as_dirname=false
18164 fi
18165
18166 as_me=`$as_basename -- "$0" ||
18167 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18168          X"$0" : 'X\(//\)$' \| \
18169          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18170 $as_echo X/"$0" |
18171     sed '/^.*\/\([^/][^/]*\)\/*$/{
18172             s//\1/
18173             q
18174           }
18175           /^X\/\(\/\/\)$/{
18176             s//\1/
18177             q
18178           }
18179           /^X\/\(\/\).*/{
18180             s//\1/
18181             q
18182           }
18183           s/.*/./; q'`
18184
18185 # Avoid depending upon Character Ranges.
18186 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18187 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18188 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18189 as_cr_digits='0123456789'
18190 as_cr_alnum=$as_cr_Letters$as_cr_digits
18191
18192 ECHO_C= ECHO_N= ECHO_T=
18193 case `echo -n x` in #(((((
18194 -n*)
18195   case `echo 'xy\c'` in
18196   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18197   xy)  ECHO_C='\c';;
18198   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18199        ECHO_T=' ';;
18200   esac;;
18201 *)
18202   ECHO_N='-n';;
18203 esac
18204
18205 rm -f conf$$ conf$$.exe conf$$.file
18206 if test -d conf$$.dir; then
18207   rm -f conf$$.dir/conf$$.file
18208 else
18209   rm -f conf$$.dir
18210   mkdir conf$$.dir 2>/dev/null
18211 fi
18212 if (echo >conf$$.file) 2>/dev/null; then
18213   if ln -s conf$$.file conf$$ 2>/dev/null; then
18214     as_ln_s='ln -s'
18215     # ... but there are two gotchas:
18216     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18217     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18218     # In both cases, we have to default to `cp -p'.
18219     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18220       as_ln_s='cp -p'
18221   elif ln conf$$.file conf$$ 2>/dev/null; then
18222     as_ln_s=ln
18223   else
18224     as_ln_s='cp -p'
18225   fi
18226 else
18227   as_ln_s='cp -p'
18228 fi
18229 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18230 rmdir conf$$.dir 2>/dev/null
18231
18232
18233 # as_fn_mkdir_p
18234 # -------------
18235 # Create "$as_dir" as a directory, including parents if necessary.
18236 as_fn_mkdir_p ()
18237 {
18238
18239   case $as_dir in #(
18240   -*) as_dir=./$as_dir;;
18241   esac
18242   test -d "$as_dir" || eval $as_mkdir_p || {
18243     as_dirs=
18244     while :; do
18245       case $as_dir in #(
18246       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18247       *) as_qdir=$as_dir;;
18248       esac
18249       as_dirs="'$as_qdir' $as_dirs"
18250       as_dir=`$as_dirname -- "$as_dir" ||
18251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18252          X"$as_dir" : 'X\(//\)[^/]' \| \
18253          X"$as_dir" : 'X\(//\)$' \| \
18254          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18255 $as_echo X"$as_dir" |
18256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18257             s//\1/
18258             q
18259           }
18260           /^X\(\/\/\)[^/].*/{
18261             s//\1/
18262             q
18263           }
18264           /^X\(\/\/\)$/{
18265             s//\1/
18266             q
18267           }
18268           /^X\(\/\).*/{
18269             s//\1/
18270             q
18271           }
18272           s/.*/./; q'`
18273       test -d "$as_dir" && break
18274     done
18275     test -z "$as_dirs" || eval "mkdir $as_dirs"
18276   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18277
18278
18279 } # as_fn_mkdir_p
18280 if mkdir -p . 2>/dev/null; then
18281   as_mkdir_p='mkdir -p "$as_dir"'
18282 else
18283   test -d ./-p && rmdir ./-p
18284   as_mkdir_p=false
18285 fi
18286
18287 if test -x / >/dev/null 2>&1; then
18288   as_test_x='test -x'
18289 else
18290   if ls -dL / >/dev/null 2>&1; then
18291     as_ls_L_option=L
18292   else
18293     as_ls_L_option=
18294   fi
18295   as_test_x='
18296     eval sh -c '\''
18297       if test -d "$1"; then
18298         test -d "$1/.";
18299       else
18300         case $1 in #(
18301         -*)set "./$1";;
18302         esac;
18303         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18304         ???[sx]*):;;*)false;;esac;fi
18305     '\'' sh
18306   '
18307 fi
18308 as_executable_p=$as_test_x
18309
18310 # Sed expression to map a string onto a valid CPP name.
18311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18312
18313 # Sed expression to map a string onto a valid variable name.
18314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18315
18316
18317 exec 6>&1
18318 ## ----------------------------------- ##
18319 ## Main body of $CONFIG_STATUS script. ##
18320 ## ----------------------------------- ##
18321 _ASEOF
18322 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18323
18324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18325 # Save the log message, to keep $0 and so on meaningful, and to
18326 # report actual input values of CONFIG_FILES etc. instead of their
18327 # values after options handling.
18328 ac_log="
18329 This file was extended by clutter $as_me 1.10.4, which was
18330 generated by GNU Autoconf 2.68.  Invocation command line was
18331
18332   CONFIG_FILES    = $CONFIG_FILES
18333   CONFIG_HEADERS  = $CONFIG_HEADERS
18334   CONFIG_LINKS    = $CONFIG_LINKS
18335   CONFIG_COMMANDS = $CONFIG_COMMANDS
18336   $ $0 $@
18337
18338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18339 "
18340
18341 _ACEOF
18342
18343 case $ac_config_files in *"
18344 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18345 esac
18346
18347 case $ac_config_headers in *"
18348 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18349 esac
18350
18351
18352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18353 # Files that config.status was made for.
18354 config_files="$ac_config_files"
18355 config_headers="$ac_config_headers"
18356 config_commands="$ac_config_commands"
18357
18358 _ACEOF
18359
18360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18361 ac_cs_usage="\
18362 \`$as_me' instantiates files and other configuration actions
18363 from templates according to the current configuration.  Unless the files
18364 and actions are specified as TAGs, all are instantiated by default.
18365
18366 Usage: $0 [OPTION]... [TAG]...
18367
18368   -h, --help       print this help, then exit
18369   -V, --version    print version number and configuration settings, then exit
18370       --config     print configuration, then exit
18371   -q, --quiet, --silent
18372                    do not print progress messages
18373   -d, --debug      don't remove temporary files
18374       --recheck    update $as_me by reconfiguring in the same conditions
18375       --file=FILE[:TEMPLATE]
18376                    instantiate the configuration file FILE
18377       --header=FILE[:TEMPLATE]
18378                    instantiate the configuration header FILE
18379
18380 Configuration files:
18381 $config_files
18382
18383 Configuration headers:
18384 $config_headers
18385
18386 Configuration commands:
18387 $config_commands
18388
18389 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
18390 clutter home page: <http://www.clutter-project.org>."
18391
18392 _ACEOF
18393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18394 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18395 ac_cs_version="\\
18396 clutter config.status 1.10.4
18397 configured by $0, generated by GNU Autoconf 2.68,
18398   with options \\"\$ac_cs_config\\"
18399
18400 Copyright (C) 2010 Free Software Foundation, Inc.
18401 This config.status script is free software; the Free Software Foundation
18402 gives unlimited permission to copy, distribute and modify it."
18403
18404 ac_pwd='$ac_pwd'
18405 srcdir='$srcdir'
18406 INSTALL='$INSTALL'
18407 MKDIR_P='$MKDIR_P'
18408 AWK='$AWK'
18409 test -n "\$AWK" || AWK=awk
18410 _ACEOF
18411
18412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18413 # The default lists apply if the user does not specify any file.
18414 ac_need_defaults=:
18415 while test $# != 0
18416 do
18417   case $1 in
18418   --*=?*)
18419     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18420     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18421     ac_shift=:
18422     ;;
18423   --*=)
18424     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18425     ac_optarg=
18426     ac_shift=:
18427     ;;
18428   *)
18429     ac_option=$1
18430     ac_optarg=$2
18431     ac_shift=shift
18432     ;;
18433   esac
18434
18435   case $ac_option in
18436   # Handling of the options.
18437   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18438     ac_cs_recheck=: ;;
18439   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18440     $as_echo "$ac_cs_version"; exit ;;
18441   --config | --confi | --conf | --con | --co | --c )
18442     $as_echo "$ac_cs_config"; exit ;;
18443   --debug | --debu | --deb | --de | --d | -d )
18444     debug=: ;;
18445   --file | --fil | --fi | --f )
18446     $ac_shift
18447     case $ac_optarg in
18448     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18449     '') as_fn_error $? "missing file argument" ;;
18450     esac
18451     as_fn_append CONFIG_FILES " '$ac_optarg'"
18452     ac_need_defaults=false;;
18453   --header | --heade | --head | --hea )
18454     $ac_shift
18455     case $ac_optarg in
18456     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18457     esac
18458     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18459     ac_need_defaults=false;;
18460   --he | --h)
18461     # Conflict between --help and --header
18462     as_fn_error $? "ambiguous option: \`$1'
18463 Try \`$0 --help' for more information.";;
18464   --help | --hel | -h )
18465     $as_echo "$ac_cs_usage"; exit ;;
18466   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18467   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18468     ac_cs_silent=: ;;
18469
18470   # This is an error.
18471   -*) as_fn_error $? "unrecognized option: \`$1'
18472 Try \`$0 --help' for more information." ;;
18473
18474   *) as_fn_append ac_config_targets " $1"
18475      ac_need_defaults=false ;;
18476
18477   esac
18478   shift
18479 done
18480
18481 ac_configure_extra_args=
18482
18483 if $ac_cs_silent; then
18484   exec 6>/dev/null
18485   ac_configure_extra_args="$ac_configure_extra_args --silent"
18486 fi
18487
18488 _ACEOF
18489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18490 if \$ac_cs_recheck; then
18491   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18492   shift
18493   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18494   CONFIG_SHELL='$SHELL'
18495   export CONFIG_SHELL
18496   exec "\$@"
18497 fi
18498
18499 _ACEOF
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18501 exec 5>>config.log
18502 {
18503   echo
18504   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18505 ## Running $as_me. ##
18506 _ASBOX
18507   $as_echo "$ac_log"
18508 } >&5
18509
18510 _ACEOF
18511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18512 #
18513 # INIT-COMMANDS
18514 #
18515 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18516
18517
18518 # The HP-UX ksh and POSIX shell print the target directory to stdout
18519 # if CDPATH is set.
18520 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18521
18522 sed_quote_subst='$sed_quote_subst'
18523 double_quote_subst='$double_quote_subst'
18524 delay_variable_subst='$delay_variable_subst'
18525 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18526 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18527 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18528 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18529 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18530 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18531 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18532 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18533 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18534 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18535 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18536 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18537 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18538 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18539 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18540 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18541 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18542 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18543 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18544 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18545 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18546 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18547 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18548 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18549 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18550 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18551 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18552 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18553 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18554 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18555 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18556 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18557 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18558 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18559 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18560 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18561 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18562 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18563 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18564 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18565 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18566 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18567 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18568 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18569 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18570 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18571 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18572 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18573 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18574 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18575 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18576 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18577 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18578 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18579 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18580 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18581 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"`'
18582 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18583 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18584 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18585 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18586 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18587 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18588 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18589 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18590 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18591 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18592 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18593 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18594 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18595 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18596 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18597 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18598 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18599 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18600 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18601 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18602 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18603 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18604 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18605 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18606 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18607 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18608 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18609 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18610 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18611 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18612 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18613 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18614 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18615 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18616 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18617 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18618 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18619 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18620 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18621 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18622 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18623 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18624 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18625 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18626 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18627 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18628 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18629 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18630 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18631 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18632 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18633 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18634 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18635 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18636 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18637 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18638 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18639 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18640 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18641 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18642 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18643 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18644 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18645 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18646 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18647 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18648 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18649 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18650 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18651 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18652 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18653 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18654 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18655
18656 LTCC='$LTCC'
18657 LTCFLAGS='$LTCFLAGS'
18658 compiler='$compiler_DEFAULT'
18659
18660 # A function that is used when there is no print builtin or printf.
18661 func_fallback_echo ()
18662 {
18663   eval 'cat <<_LTECHO_EOF
18664 \$1
18665 _LTECHO_EOF'
18666 }
18667
18668 # Quote evaled strings.
18669 for var in SHELL \
18670 ECHO \
18671 PATH_SEPARATOR \
18672 SED \
18673 GREP \
18674 EGREP \
18675 FGREP \
18676 LD \
18677 NM \
18678 LN_S \
18679 lt_SP2NL \
18680 lt_NL2SP \
18681 reload_flag \
18682 OBJDUMP \
18683 deplibs_check_method \
18684 file_magic_cmd \
18685 file_magic_glob \
18686 want_nocaseglob \
18687 DLLTOOL \
18688 sharedlib_from_linklib_cmd \
18689 AR \
18690 AR_FLAGS \
18691 archiver_list_spec \
18692 STRIP \
18693 RANLIB \
18694 CC \
18695 CFLAGS \
18696 compiler \
18697 lt_cv_sys_global_symbol_pipe \
18698 lt_cv_sys_global_symbol_to_cdecl \
18699 lt_cv_sys_global_symbol_to_c_name_address \
18700 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18701 nm_file_list_spec \
18702 lt_prog_compiler_no_builtin_flag \
18703 lt_prog_compiler_pic \
18704 lt_prog_compiler_wl \
18705 lt_prog_compiler_static \
18706 lt_cv_prog_compiler_c_o \
18707 need_locks \
18708 MANIFEST_TOOL \
18709 DSYMUTIL \
18710 NMEDIT \
18711 LIPO \
18712 OTOOL \
18713 OTOOL64 \
18714 shrext_cmds \
18715 export_dynamic_flag_spec \
18716 whole_archive_flag_spec \
18717 compiler_needs_object \
18718 with_gnu_ld \
18719 allow_undefined_flag \
18720 no_undefined_flag \
18721 hardcode_libdir_flag_spec \
18722 hardcode_libdir_separator \
18723 exclude_expsyms \
18724 include_expsyms \
18725 file_list_spec \
18726 variables_saved_for_relink \
18727 libname_spec \
18728 library_names_spec \
18729 soname_spec \
18730 install_override_mode \
18731 finish_eval \
18732 old_striplib \
18733 striplib; do
18734     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18735     *[\\\\\\\`\\"\\\$]*)
18736       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18737       ;;
18738     *)
18739       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18740       ;;
18741     esac
18742 done
18743
18744 # Double-quote double-evaled strings.
18745 for var in reload_cmds \
18746 old_postinstall_cmds \
18747 old_postuninstall_cmds \
18748 old_archive_cmds \
18749 extract_expsyms_cmds \
18750 old_archive_from_new_cmds \
18751 old_archive_from_expsyms_cmds \
18752 archive_cmds \
18753 archive_expsym_cmds \
18754 module_cmds \
18755 module_expsym_cmds \
18756 export_symbols_cmds \
18757 prelink_cmds \
18758 postlink_cmds \
18759 postinstall_cmds \
18760 postuninstall_cmds \
18761 finish_cmds \
18762 sys_lib_search_path_spec \
18763 sys_lib_dlsearch_path_spec; do
18764     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18765     *[\\\\\\\`\\"\\\$]*)
18766       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18767       ;;
18768     *)
18769       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18770       ;;
18771     esac
18772 done
18773
18774 ac_aux_dir='$ac_aux_dir'
18775 xsi_shell='$xsi_shell'
18776 lt_shell_append='$lt_shell_append'
18777
18778 # See if we are running on zsh, and set the options which allow our
18779 # commands through without removal of \ escapes INIT.
18780 if test -n "\${ZSH_VERSION+set}" ; then
18781    setopt NO_GLOB_SUBST
18782 fi
18783
18784
18785     PACKAGE='$PACKAGE'
18786     VERSION='$VERSION'
18787     TIMESTAMP='$TIMESTAMP'
18788     RM='$RM'
18789     ofile='$ofile'
18790
18791
18792
18793 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18794     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18795     # from automake < 1.5.
18796     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18797     # Capture the value of LINGUAS because we need it to compute CATALOGS.
18798     LINGUAS="${LINGUAS-%UNSET%}"
18799
18800
18801 _ACEOF
18802
18803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18804
18805 # Handling of arguments.
18806 for ac_config_target in $ac_config_targets
18807 do
18808   case $ac_config_target in
18809     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18810     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18811     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18812     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18813     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18814     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
18815     "README") CONFIG_FILES="$CONFIG_FILES README" ;;
18816     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
18817     "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
18818     "build/mingw/Makefile") CONFIG_FILES="$CONFIG_FILES build/mingw/Makefile" ;;
18819     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
18820     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
18821     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
18822     "clutter/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Makefile" ;;
18823     "clutter/clutter-config.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-config.h" ;;
18824     "clutter/clutter-version.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-version.h" ;;
18825     "clutter/clutter-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in" ;;
18826     "clutter/cally/cally-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in" ;;
18827     "clutter/cex100/clutter-cex100.h") CONFIG_FILES="$CONFIG_FILES clutter/cex100/clutter-cex100.h" ;;
18828     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18829     "tests/accessibility/Makefile") CONFIG_FILES="$CONFIG_FILES tests/accessibility/Makefile" ;;
18830     "tests/conform/Makefile") CONFIG_FILES="$CONFIG_FILES tests/conform/Makefile" ;;
18831     "tests/conform/test-launcher.sh") CONFIG_FILES="$CONFIG_FILES tests/conform/test-launcher.sh" ;;
18832     "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
18833     "tests/interactive/Makefile") CONFIG_FILES="$CONFIG_FILES tests/interactive/Makefile" ;;
18834     "tests/interactive/wrapper.sh") CONFIG_FILES="$CONFIG_FILES tests/interactive/wrapper.sh" ;;
18835     "tests/micro-bench/Makefile") CONFIG_FILES="$CONFIG_FILES tests/micro-bench/Makefile" ;;
18836     "tests/performance/Makefile") CONFIG_FILES="$CONFIG_FILES tests/performance/Makefile" ;;
18837     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18838     "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
18839     "doc/reference/clutter/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/Makefile" ;;
18840     "doc/reference/clutter/clutter-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/clutter-docs.xml" ;;
18841     "doc/reference/cally/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/Makefile" ;;
18842     "doc/reference/cally/cally-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/cally-docs.xml" ;;
18843     "doc/common/Makefile") CONFIG_FILES="$CONFIG_FILES doc/common/Makefile" ;;
18844     "doc/cookbook/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/Makefile" ;;
18845     "doc/cookbook/clutter-cookbook.xml") CONFIG_FILES="$CONFIG_FILES doc/cookbook/clutter-cookbook.xml" ;;
18846     "doc/cookbook/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/examples/Makefile" ;;
18847     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18848
18849   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18850   esac
18851 done
18852
18853
18854 # If the user did not use the arguments to specify the items to instantiate,
18855 # then the envvar interface is used.  Set only those that are not.
18856 # We use the long form for the default assignment because of an extremely
18857 # bizarre bug on SunOS 4.1.3.
18858 if $ac_need_defaults; then
18859   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18860   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18861   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18862 fi
18863
18864 # Have a temporary directory for convenience.  Make it in the build tree
18865 # simply because there is no reason against having it here, and in addition,
18866 # creating and moving files from /tmp can sometimes cause problems.
18867 # Hook for its removal unless debugging.
18868 # Note that there is a small window in which the directory will not be cleaned:
18869 # after its creation but before its name has been assigned to `$tmp'.
18870 $debug ||
18871 {
18872   tmp= ac_tmp=
18873   trap 'exit_status=$?
18874   : "${ac_tmp:=$tmp}"
18875   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18876 ' 0
18877   trap 'as_fn_exit 1' 1 2 13 15
18878 }
18879 # Create a (secure) tmp directory for tmp files.
18880
18881 {
18882   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18883   test -d "$tmp"
18884 }  ||
18885 {
18886   tmp=./conf$$-$RANDOM
18887   (umask 077 && mkdir "$tmp")
18888 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18889 ac_tmp=$tmp
18890
18891 # Set up the scripts for CONFIG_FILES section.
18892 # No need to generate them if there are no CONFIG_FILES.
18893 # This happens for instance with `./config.status config.h'.
18894 if test -n "$CONFIG_FILES"; then
18895
18896
18897 ac_cr=`echo X | tr X '\015'`
18898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18899 # But we know of no other shell where ac_cr would be empty at this
18900 # point, so we can use a bashism as a fallback.
18901 if test "x$ac_cr" = x; then
18902   eval ac_cr=\$\'\\r\'
18903 fi
18904 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18906   ac_cs_awk_cr='\\r'
18907 else
18908   ac_cs_awk_cr=$ac_cr
18909 fi
18910
18911 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18912 _ACEOF
18913
18914
18915 {
18916   echo "cat >conf$$subs.awk <<_ACEOF" &&
18917   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18918   echo "_ACEOF"
18919 } >conf$$subs.sh ||
18920   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18922 ac_delim='%!_!# '
18923 for ac_last_try in false false false false false :; do
18924   . ./conf$$subs.sh ||
18925     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18926
18927   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18928   if test $ac_delim_n = $ac_delim_num; then
18929     break
18930   elif $ac_last_try; then
18931     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18932   else
18933     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18934   fi
18935 done
18936 rm -f conf$$subs.sh
18937
18938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18939 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18940 _ACEOF
18941 sed -n '
18942 h
18943 s/^/S["/; s/!.*/"]=/
18944 p
18945 g
18946 s/^[^!]*!//
18947 :repl
18948 t repl
18949 s/'"$ac_delim"'$//
18950 t delim
18951 :nl
18952 h
18953 s/\(.\{148\}\)..*/\1/
18954 t more1
18955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18956 p
18957 n
18958 b repl
18959 :more1
18960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18961 p
18962 g
18963 s/.\{148\}//
18964 t nl
18965 :delim
18966 h
18967 s/\(.\{148\}\)..*/\1/
18968 t more2
18969 s/["\\]/\\&/g; s/^/"/; s/$/"/
18970 p
18971 b
18972 :more2
18973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18974 p
18975 g
18976 s/.\{148\}//
18977 t delim
18978 ' <conf$$subs.awk | sed '
18979 /^[^""]/{
18980   N
18981   s/\n//
18982 }
18983 ' >>$CONFIG_STATUS || ac_write_fail=1
18984 rm -f conf$$subs.awk
18985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18986 _ACAWK
18987 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18988   for (key in S) S_is_set[key] = 1
18989   FS = "\a"
18990
18991 }
18992 {
18993   line = $ 0
18994   nfields = split(line, field, "@")
18995   substed = 0
18996   len = length(field[1])
18997   for (i = 2; i < nfields; i++) {
18998     key = field[i]
18999     keylen = length(key)
19000     if (S_is_set[key]) {
19001       value = S[key]
19002       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19003       len += length(value) + length(field[++i])
19004       substed = 1
19005     } else
19006       len += 1 + keylen
19007   }
19008
19009   print line
19010 }
19011
19012 _ACAWK
19013 _ACEOF
19014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19015 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19016   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19017 else
19018   cat
19019 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19020   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19021 _ACEOF
19022
19023 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19024 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19025 # trailing colons and then remove the whole line if VPATH becomes empty
19026 # (actually we leave an empty line to preserve line numbers).
19027 if test "x$srcdir" = x.; then
19028   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19029 h
19030 s///
19031 s/^/:/
19032 s/[      ]*$/:/
19033 s/:\$(srcdir):/:/g
19034 s/:\${srcdir}:/:/g
19035 s/:@srcdir@:/:/g
19036 s/^:*//
19037 s/:*$//
19038 x
19039 s/\(=[   ]*\).*/\1/
19040 G
19041 s/\n//
19042 s/^[^=]*=[       ]*$//
19043 }'
19044 fi
19045
19046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19047 fi # test -n "$CONFIG_FILES"
19048
19049 # Set up the scripts for CONFIG_HEADERS section.
19050 # No need to generate them if there are no CONFIG_HEADERS.
19051 # This happens for instance with `./config.status Makefile'.
19052 if test -n "$CONFIG_HEADERS"; then
19053 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19054 BEGIN {
19055 _ACEOF
19056
19057 # Transform confdefs.h into an awk script `defines.awk', embedded as
19058 # here-document in config.status, that substitutes the proper values into
19059 # config.h.in to produce config.h.
19060
19061 # Create a delimiter string that does not exist in confdefs.h, to ease
19062 # handling of long lines.
19063 ac_delim='%!_!# '
19064 for ac_last_try in false false :; do
19065   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19066   if test -z "$ac_tt"; then
19067     break
19068   elif $ac_last_try; then
19069     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19070   else
19071     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19072   fi
19073 done
19074
19075 # For the awk script, D is an array of macro values keyed by name,
19076 # likewise P contains macro parameters if any.  Preserve backslash
19077 # newline sequences.
19078
19079 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19080 sed -n '
19081 s/.\{148\}/&'"$ac_delim"'/g
19082 t rset
19083 :rset
19084 s/^[     ]*#[    ]*define[       ][      ]*/ /
19085 t def
19086 d
19087 :def
19088 s/\\$//
19089 t bsnl
19090 s/["\\]/\\&/g
19091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19092 D["\1"]=" \3"/p
19093 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19094 d
19095 :bsnl
19096 s/["\\]/\\&/g
19097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19098 D["\1"]=" \3\\\\\\n"\\/p
19099 t cont
19100 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19101 t cont
19102 d
19103 :cont
19104 n
19105 s/.\{148\}/&'"$ac_delim"'/g
19106 t clear
19107 :clear
19108 s/\\$//
19109 t bsnlc
19110 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19111 d
19112 :bsnlc
19113 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19114 b cont
19115 ' <confdefs.h | sed '
19116 s/'"$ac_delim"'/"\\\
19117 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19118
19119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19120   for (key in D) D_is_set[key] = 1
19121   FS = "\a"
19122 }
19123 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19124   line = \$ 0
19125   split(line, arg, " ")
19126   if (arg[1] == "#") {
19127     defundef = arg[2]
19128     mac1 = arg[3]
19129   } else {
19130     defundef = substr(arg[1], 2)
19131     mac1 = arg[2]
19132   }
19133   split(mac1, mac2, "(") #)
19134   macro = mac2[1]
19135   prefix = substr(line, 1, index(line, defundef) - 1)
19136   if (D_is_set[macro]) {
19137     # Preserve the white space surrounding the "#".
19138     print prefix "define", macro P[macro] D[macro]
19139     next
19140   } else {
19141     # Replace #undef with comments.  This is necessary, for example,
19142     # in the case of _POSIX_SOURCE, which is predefined and required
19143     # on some systems where configure will not decide to define it.
19144     if (defundef == "undef") {
19145       print "/*", prefix defundef, macro, "*/"
19146       next
19147     }
19148   }
19149 }
19150 { print }
19151 _ACAWK
19152 _ACEOF
19153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19154   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19155 fi # test -n "$CONFIG_HEADERS"
19156
19157
19158 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19159 shift
19160 for ac_tag
19161 do
19162   case $ac_tag in
19163   :[FHLC]) ac_mode=$ac_tag; continue;;
19164   esac
19165   case $ac_mode$ac_tag in
19166   :[FHL]*:*);;
19167   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19168   :[FH]-) ac_tag=-:-;;
19169   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19170   esac
19171   ac_save_IFS=$IFS
19172   IFS=:
19173   set x $ac_tag
19174   IFS=$ac_save_IFS
19175   shift
19176   ac_file=$1
19177   shift
19178
19179   case $ac_mode in
19180   :L) ac_source=$1;;
19181   :[FH])
19182     ac_file_inputs=
19183     for ac_f
19184     do
19185       case $ac_f in
19186       -) ac_f="$ac_tmp/stdin";;
19187       *) # Look for the file first in the build tree, then in the source tree
19188          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19189          # because $ac_f cannot contain `:'.
19190          test -f "$ac_f" ||
19191            case $ac_f in
19192            [\\/$]*) false;;
19193            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19194            esac ||
19195            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19196       esac
19197       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19198       as_fn_append ac_file_inputs " '$ac_f'"
19199     done
19200
19201     # Let's still pretend it is `configure' which instantiates (i.e., don't
19202     # use $as_me), people would be surprised to read:
19203     #    /* config.h.  Generated by config.status.  */
19204     configure_input='Generated from '`
19205           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19206         `' by configure.'
19207     if test x"$ac_file" != x-; then
19208       configure_input="$ac_file.  $configure_input"
19209       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19210 $as_echo "$as_me: creating $ac_file" >&6;}
19211     fi
19212     # Neutralize special characters interpreted by sed in replacement strings.
19213     case $configure_input in #(
19214     *\&* | *\|* | *\\* )
19215        ac_sed_conf_input=`$as_echo "$configure_input" |
19216        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19217     *) ac_sed_conf_input=$configure_input;;
19218     esac
19219
19220     case $ac_tag in
19221     *:-:* | *:-) cat >"$ac_tmp/stdin" \
19222       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19223     esac
19224     ;;
19225   esac
19226
19227   ac_dir=`$as_dirname -- "$ac_file" ||
19228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19229          X"$ac_file" : 'X\(//\)[^/]' \| \
19230          X"$ac_file" : 'X\(//\)$' \| \
19231          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19232 $as_echo X"$ac_file" |
19233     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19234             s//\1/
19235             q
19236           }
19237           /^X\(\/\/\)[^/].*/{
19238             s//\1/
19239             q
19240           }
19241           /^X\(\/\/\)$/{
19242             s//\1/
19243             q
19244           }
19245           /^X\(\/\).*/{
19246             s//\1/
19247             q
19248           }
19249           s/.*/./; q'`
19250   as_dir="$ac_dir"; as_fn_mkdir_p
19251   ac_builddir=.
19252
19253 case "$ac_dir" in
19254 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19255 *)
19256   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19257   # A ".." for each directory in $ac_dir_suffix.
19258   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19259   case $ac_top_builddir_sub in
19260   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19261   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19262   esac ;;
19263 esac
19264 ac_abs_top_builddir=$ac_pwd
19265 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19266 # for backward compatibility:
19267 ac_top_builddir=$ac_top_build_prefix
19268
19269 case $srcdir in
19270   .)  # We are building in place.
19271     ac_srcdir=.
19272     ac_top_srcdir=$ac_top_builddir_sub
19273     ac_abs_top_srcdir=$ac_pwd ;;
19274   [\\/]* | ?:[\\/]* )  # Absolute name.
19275     ac_srcdir=$srcdir$ac_dir_suffix;
19276     ac_top_srcdir=$srcdir
19277     ac_abs_top_srcdir=$srcdir ;;
19278   *) # Relative name.
19279     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19280     ac_top_srcdir=$ac_top_build_prefix$srcdir
19281     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19282 esac
19283 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19284
19285
19286   case $ac_mode in
19287   :F)
19288   #
19289   # CONFIG_FILE
19290   #
19291
19292   case $INSTALL in
19293   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19294   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19295   esac
19296   ac_MKDIR_P=$MKDIR_P
19297   case $MKDIR_P in
19298   [\\/$]* | ?:[\\/]* ) ;;
19299   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19300   esac
19301 _ACEOF
19302
19303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19304 # If the template does not know about datarootdir, expand it.
19305 # FIXME: This hack should be removed a few years after 2.60.
19306 ac_datarootdir_hack=; ac_datarootdir_seen=
19307 ac_sed_dataroot='
19308 /datarootdir/ {
19309   p
19310   q
19311 }
19312 /@datadir@/p
19313 /@docdir@/p
19314 /@infodir@/p
19315 /@localedir@/p
19316 /@mandir@/p'
19317 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19318 *datarootdir*) ac_datarootdir_seen=yes;;
19319 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19320   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19321 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19322 _ACEOF
19323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19324   ac_datarootdir_hack='
19325   s&@datadir@&$datadir&g
19326   s&@docdir@&$docdir&g
19327   s&@infodir@&$infodir&g
19328   s&@localedir@&$localedir&g
19329   s&@mandir@&$mandir&g
19330   s&\\\${datarootdir}&$datarootdir&g' ;;
19331 esac
19332 _ACEOF
19333
19334 # Neutralize VPATH when `$srcdir' = `.'.
19335 # Shell code in configure.ac might set extrasub.
19336 # FIXME: do we really want to maintain this feature?
19337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19338 ac_sed_extra="$ac_vpsub
19339 $extrasub
19340 _ACEOF
19341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19342 :t
19343 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19344 s|@configure_input@|$ac_sed_conf_input|;t t
19345 s&@top_builddir@&$ac_top_builddir_sub&;t t
19346 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19347 s&@srcdir@&$ac_srcdir&;t t
19348 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19349 s&@top_srcdir@&$ac_top_srcdir&;t t
19350 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19351 s&@builddir@&$ac_builddir&;t t
19352 s&@abs_builddir@&$ac_abs_builddir&;t t
19353 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19354 s&@INSTALL@&$ac_INSTALL&;t t
19355 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19356 $ac_datarootdir_hack
19357 "
19358 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19359   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19360
19361 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19362   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19363   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19364       "$ac_tmp/out"`; test -z "$ac_out"; } &&
19365   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19366 which seems to be undefined.  Please make sure it is defined" >&5
19367 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19368 which seems to be undefined.  Please make sure it is defined" >&2;}
19369
19370   rm -f "$ac_tmp/stdin"
19371   case $ac_file in
19372   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19373   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19374   esac \
19375   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19376  ;;
19377   :H)
19378   #
19379   # CONFIG_HEADER
19380   #
19381   if test x"$ac_file" != x-; then
19382     {
19383       $as_echo "/* $configure_input  */" \
19384       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19385     } >"$ac_tmp/config.h" \
19386       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19387     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19388       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19389 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19390     else
19391       rm -f "$ac_file"
19392       mv "$ac_tmp/config.h" "$ac_file" \
19393         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19394     fi
19395   else
19396     $as_echo "/* $configure_input  */" \
19397       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19398       || as_fn_error $? "could not create -" "$LINENO" 5
19399   fi
19400 # Compute "$ac_file"'s index in $config_headers.
19401 _am_arg="$ac_file"
19402 _am_stamp_count=1
19403 for _am_header in $config_headers :; do
19404   case $_am_header in
19405     $_am_arg | $_am_arg:* )
19406       break ;;
19407     * )
19408       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19409   esac
19410 done
19411 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19412 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19413          X"$_am_arg" : 'X\(//\)[^/]' \| \
19414          X"$_am_arg" : 'X\(//\)$' \| \
19415          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19416 $as_echo X"$_am_arg" |
19417     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19418             s//\1/
19419             q
19420           }
19421           /^X\(\/\/\)[^/].*/{
19422             s//\1/
19423             q
19424           }
19425           /^X\(\/\/\)$/{
19426             s//\1/
19427             q
19428           }
19429           /^X\(\/\).*/{
19430             s//\1/
19431             q
19432           }
19433           s/.*/./; q'`/stamp-h$_am_stamp_count
19434  ;;
19435
19436   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19437 $as_echo "$as_me: executing $ac_file commands" >&6;}
19438  ;;
19439   esac
19440
19441
19442   case $ac_file$ac_mode in
19443     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19444   # Autoconf 2.62 quotes --file arguments for eval, but not when files
19445   # are listed without --file.  Let's play safe and only enable the eval
19446   # if we detect the quoting.
19447   case $CONFIG_FILES in
19448   *\'*) eval set x "$CONFIG_FILES" ;;
19449   *)   set x $CONFIG_FILES ;;
19450   esac
19451   shift
19452   for mf
19453   do
19454     # Strip MF so we end up with the name of the file.
19455     mf=`echo "$mf" | sed -e 's/:.*$//'`
19456     # Check whether this is an Automake generated Makefile or not.
19457     # We used to match only the files named `Makefile.in', but
19458     # some people rename them; so instead we look at the file content.
19459     # Grep'ing the first line is not enough: some people post-process
19460     # each Makefile.in and add a new line on top of each file to say so.
19461     # Grep'ing the whole file is not good either: AIX grep has a line
19462     # limit of 2048, but all sed's we know have understand at least 4000.
19463     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19464       dirpart=`$as_dirname -- "$mf" ||
19465 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19466          X"$mf" : 'X\(//\)[^/]' \| \
19467          X"$mf" : 'X\(//\)$' \| \
19468          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19469 $as_echo X"$mf" |
19470     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19471             s//\1/
19472             q
19473           }
19474           /^X\(\/\/\)[^/].*/{
19475             s//\1/
19476             q
19477           }
19478           /^X\(\/\/\)$/{
19479             s//\1/
19480             q
19481           }
19482           /^X\(\/\).*/{
19483             s//\1/
19484             q
19485           }
19486           s/.*/./; q'`
19487     else
19488       continue
19489     fi
19490     # Extract the definition of DEPDIR, am__include, and am__quote
19491     # from the Makefile without running `make'.
19492     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19493     test -z "$DEPDIR" && continue
19494     am__include=`sed -n 's/^am__include = //p' < "$mf"`
19495     test -z "am__include" && continue
19496     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19497     # When using ansi2knr, U may be empty or an underscore; expand it
19498     U=`sed -n 's/^U = //p' < "$mf"`
19499     # Find all dependency output files, they are included files with
19500     # $(DEPDIR) in their names.  We invoke sed twice because it is the
19501     # simplest approach to changing $(DEPDIR) to its actual value in the
19502     # expansion.
19503     for file in `sed -n "
19504       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19505          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19506       # Make sure the directory exists.
19507       test -f "$dirpart/$file" && continue
19508       fdir=`$as_dirname -- "$file" ||
19509 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19510          X"$file" : 'X\(//\)[^/]' \| \
19511          X"$file" : 'X\(//\)$' \| \
19512          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19513 $as_echo X"$file" |
19514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19515             s//\1/
19516             q
19517           }
19518           /^X\(\/\/\)[^/].*/{
19519             s//\1/
19520             q
19521           }
19522           /^X\(\/\/\)$/{
19523             s//\1/
19524             q
19525           }
19526           /^X\(\/\).*/{
19527             s//\1/
19528             q
19529           }
19530           s/.*/./; q'`
19531       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19532       # echo "creating $dirpart/$file"
19533       echo '# dummy' > "$dirpart/$file"
19534     done
19535   done
19536 }
19537  ;;
19538     "libtool":C)
19539
19540     # See if we are running on zsh, and set the options which allow our
19541     # commands through without removal of \ escapes.
19542     if test -n "${ZSH_VERSION+set}" ; then
19543       setopt NO_GLOB_SUBST
19544     fi
19545
19546     cfgfile="${ofile}T"
19547     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19548     $RM "$cfgfile"
19549
19550     cat <<_LT_EOF >> "$cfgfile"
19551 #! $SHELL
19552
19553 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19554 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19555 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19556 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19557 #
19558 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19559 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19560 #                 Foundation, Inc.
19561 #   Written by Gordon Matzigkeit, 1996
19562 #
19563 #   This file is part of GNU Libtool.
19564 #
19565 # GNU Libtool is free software; you can redistribute it and/or
19566 # modify it under the terms of the GNU General Public License as
19567 # published by the Free Software Foundation; either version 2 of
19568 # the License, or (at your option) any later version.
19569 #
19570 # As a special exception to the GNU General Public License,
19571 # if you distribute this file as part of a program or library that
19572 # is built using GNU Libtool, you may include this file under the
19573 # same distribution terms that you use for the rest of that program.
19574 #
19575 # GNU Libtool is distributed in the hope that it will be useful,
19576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19578 # GNU General Public License for more details.
19579 #
19580 # You should have received a copy of the GNU General Public License
19581 # along with GNU Libtool; see the file COPYING.  If not, a copy
19582 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19583 # obtained by writing to the Free Software Foundation, Inc.,
19584 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19585
19586
19587 # The names of the tagged configurations supported by this script.
19588 available_tags=""
19589
19590 # ### BEGIN LIBTOOL CONFIG
19591
19592 # Which release of libtool.m4 was used?
19593 macro_version=$macro_version
19594 macro_revision=$macro_revision
19595
19596 # Whether or not to build static libraries.
19597 build_old_libs=$enable_static
19598
19599 # Whether or not to build shared libraries.
19600 build_libtool_libs=$enable_shared
19601
19602 # What type of objects to build.
19603 pic_mode=$pic_mode
19604
19605 # Whether or not to optimize for fast installation.
19606 fast_install=$enable_fast_install
19607
19608 # Shell to use when invoking shell scripts.
19609 SHELL=$lt_SHELL
19610
19611 # An echo program that protects backslashes.
19612 ECHO=$lt_ECHO
19613
19614 # The PATH separator for the build system.
19615 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19616
19617 # The host system.
19618 host_alias=$host_alias
19619 host=$host
19620 host_os=$host_os
19621
19622 # The build system.
19623 build_alias=$build_alias
19624 build=$build
19625 build_os=$build_os
19626
19627 # A sed program that does not truncate output.
19628 SED=$lt_SED
19629
19630 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19631 Xsed="\$SED -e 1s/^X//"
19632
19633 # A grep program that handles long lines.
19634 GREP=$lt_GREP
19635
19636 # An ERE matcher.
19637 EGREP=$lt_EGREP
19638
19639 # A literal string matcher.
19640 FGREP=$lt_FGREP
19641
19642 # A BSD- or MS-compatible name lister.
19643 NM=$lt_NM
19644
19645 # Whether we need soft or hard links.
19646 LN_S=$lt_LN_S
19647
19648 # What is the maximum length of a command?
19649 max_cmd_len=$max_cmd_len
19650
19651 # Object file suffix (normally "o").
19652 objext=$ac_objext
19653
19654 # Executable file suffix (normally "").
19655 exeext=$exeext
19656
19657 # whether the shell understands "unset".
19658 lt_unset=$lt_unset
19659
19660 # turn spaces into newlines.
19661 SP2NL=$lt_lt_SP2NL
19662
19663 # turn newlines into spaces.
19664 NL2SP=$lt_lt_NL2SP
19665
19666 # convert \$build file names to \$host format.
19667 to_host_file_cmd=$lt_cv_to_host_file_cmd
19668
19669 # convert \$build files to toolchain format.
19670 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19671
19672 # An object symbol dumper.
19673 OBJDUMP=$lt_OBJDUMP
19674
19675 # Method to check whether dependent libraries are shared objects.
19676 deplibs_check_method=$lt_deplibs_check_method
19677
19678 # Command to use when deplibs_check_method = "file_magic".
19679 file_magic_cmd=$lt_file_magic_cmd
19680
19681 # How to find potential files when deplibs_check_method = "file_magic".
19682 file_magic_glob=$lt_file_magic_glob
19683
19684 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19685 want_nocaseglob=$lt_want_nocaseglob
19686
19687 # DLL creation program.
19688 DLLTOOL=$lt_DLLTOOL
19689
19690 # Command to associate shared and link libraries.
19691 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19692
19693 # The archiver.
19694 AR=$lt_AR
19695
19696 # Flags to create an archive.
19697 AR_FLAGS=$lt_AR_FLAGS
19698
19699 # How to feed a file listing to the archiver.
19700 archiver_list_spec=$lt_archiver_list_spec
19701
19702 # A symbol stripping program.
19703 STRIP=$lt_STRIP
19704
19705 # Commands used to install an old-style archive.
19706 RANLIB=$lt_RANLIB
19707 old_postinstall_cmds=$lt_old_postinstall_cmds
19708 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19709
19710 # Whether to use a lock for old archive extraction.
19711 lock_old_archive_extraction=$lock_old_archive_extraction
19712
19713 # A C compiler.
19714 LTCC=$lt_CC
19715
19716 # LTCC compiler flags.
19717 LTCFLAGS=$lt_CFLAGS
19718
19719 # Take the output of nm and produce a listing of raw symbols and C names.
19720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19721
19722 # Transform the output of nm in a proper C declaration.
19723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19724
19725 # Transform the output of nm in a C name address pair.
19726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19727
19728 # Transform the output of nm in a C name address pair when lib prefix is needed.
19729 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19730
19731 # Specify filename containing input files for \$NM.
19732 nm_file_list_spec=$lt_nm_file_list_spec
19733
19734 # The root where to search for dependent libraries,and in which our libraries should be installed.
19735 lt_sysroot=$lt_sysroot
19736
19737 # The name of the directory that contains temporary libtool files.
19738 objdir=$objdir
19739
19740 # Used to examine libraries when file_magic_cmd begins with "file".
19741 MAGIC_CMD=$MAGIC_CMD
19742
19743 # Must we lock files when doing compilation?
19744 need_locks=$lt_need_locks
19745
19746 # Manifest tool.
19747 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19748
19749 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19750 DSYMUTIL=$lt_DSYMUTIL
19751
19752 # Tool to change global to local symbols on Mac OS X.
19753 NMEDIT=$lt_NMEDIT
19754
19755 # Tool to manipulate fat objects and archives on Mac OS X.
19756 LIPO=$lt_LIPO
19757
19758 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19759 OTOOL=$lt_OTOOL
19760
19761 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19762 OTOOL64=$lt_OTOOL64
19763
19764 # Old archive suffix (normally "a").
19765 libext=$libext
19766
19767 # Shared library suffix (normally ".so").
19768 shrext_cmds=$lt_shrext_cmds
19769
19770 # The commands to extract the exported symbol list from a shared archive.
19771 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19772
19773 # Variables whose values should be saved in libtool wrapper scripts and
19774 # restored at link time.
19775 variables_saved_for_relink=$lt_variables_saved_for_relink
19776
19777 # Do we need the "lib" prefix for modules?
19778 need_lib_prefix=$need_lib_prefix
19779
19780 # Do we need a version for libraries?
19781 need_version=$need_version
19782
19783 # Library versioning type.
19784 version_type=$version_type
19785
19786 # Shared library runtime path variable.
19787 runpath_var=$runpath_var
19788
19789 # Shared library path variable.
19790 shlibpath_var=$shlibpath_var
19791
19792 # Is shlibpath searched before the hard-coded library search path?
19793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19794
19795 # Format of library name prefix.
19796 libname_spec=$lt_libname_spec
19797
19798 # List of archive names.  First name is the real one, the rest are links.
19799 # The last name is the one that the linker finds with -lNAME
19800 library_names_spec=$lt_library_names_spec
19801
19802 # The coded name of the library, if different from the real name.
19803 soname_spec=$lt_soname_spec
19804
19805 # Permission mode override for installation of shared libraries.
19806 install_override_mode=$lt_install_override_mode
19807
19808 # Command to use after installation of a shared archive.
19809 postinstall_cmds=$lt_postinstall_cmds
19810
19811 # Command to use after uninstallation of a shared archive.
19812 postuninstall_cmds=$lt_postuninstall_cmds
19813
19814 # Commands used to finish a libtool library installation in a directory.
19815 finish_cmds=$lt_finish_cmds
19816
19817 # As "finish_cmds", except a single script fragment to be evaled but
19818 # not shown.
19819 finish_eval=$lt_finish_eval
19820
19821 # Whether we should hardcode library paths into libraries.
19822 hardcode_into_libs=$hardcode_into_libs
19823
19824 # Compile-time system search path for libraries.
19825 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19826
19827 # Run-time system search path for libraries.
19828 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19829
19830 # Whether dlopen is supported.
19831 dlopen_support=$enable_dlopen
19832
19833 # Whether dlopen of programs is supported.
19834 dlopen_self=$enable_dlopen_self
19835
19836 # Whether dlopen of statically linked programs is supported.
19837 dlopen_self_static=$enable_dlopen_self_static
19838
19839 # Commands to strip libraries.
19840 old_striplib=$lt_old_striplib
19841 striplib=$lt_striplib
19842
19843
19844 # The linker used to build libraries.
19845 LD=$lt_LD
19846
19847 # How to create reloadable object files.
19848 reload_flag=$lt_reload_flag
19849 reload_cmds=$lt_reload_cmds
19850
19851 # Commands used to build an old-style archive.
19852 old_archive_cmds=$lt_old_archive_cmds
19853
19854 # A language specific compiler.
19855 CC=$lt_compiler
19856
19857 # Is the compiler the GNU compiler?
19858 with_gcc=$GCC
19859
19860 # Compiler flag to turn off builtin functions.
19861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19862
19863 # Additional compiler flags for building library objects.
19864 pic_flag=$lt_lt_prog_compiler_pic
19865
19866 # How to pass a linker flag through the compiler.
19867 wl=$lt_lt_prog_compiler_wl
19868
19869 # Compiler flag to prevent dynamic linking.
19870 link_static_flag=$lt_lt_prog_compiler_static
19871
19872 # Does compiler simultaneously support -c and -o options?
19873 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19874
19875 # Whether or not to add -lc for building shared libraries.
19876 build_libtool_need_lc=$archive_cmds_need_lc
19877
19878 # Whether or not to disallow shared libs when runtime libs are static.
19879 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19880
19881 # Compiler flag to allow reflexive dlopens.
19882 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19883
19884 # Compiler flag to generate shared objects directly from archives.
19885 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19886
19887 # Whether the compiler copes with passing no objects directly.
19888 compiler_needs_object=$lt_compiler_needs_object
19889
19890 # Create an old-style archive from a shared archive.
19891 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19892
19893 # Create a temporary old-style archive to link instead of a shared archive.
19894 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19895
19896 # Commands used to build a shared archive.
19897 archive_cmds=$lt_archive_cmds
19898 archive_expsym_cmds=$lt_archive_expsym_cmds
19899
19900 # Commands used to build a loadable module if different from building
19901 # a shared archive.
19902 module_cmds=$lt_module_cmds
19903 module_expsym_cmds=$lt_module_expsym_cmds
19904
19905 # Whether we are building with GNU ld or not.
19906 with_gnu_ld=$lt_with_gnu_ld
19907
19908 # Flag that allows shared libraries with undefined symbols to be built.
19909 allow_undefined_flag=$lt_allow_undefined_flag
19910
19911 # Flag that enforces no undefined symbols.
19912 no_undefined_flag=$lt_no_undefined_flag
19913
19914 # Flag to hardcode \$libdir into a binary during linking.
19915 # This must work even if \$libdir does not exist
19916 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19917
19918 # Whether we need a single "-rpath" flag with a separated argument.
19919 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19920
19921 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19922 # DIR into the resulting binary.
19923 hardcode_direct=$hardcode_direct
19924
19925 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19926 # DIR into the resulting binary and the resulting library dependency is
19927 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19928 # library is relocated.
19929 hardcode_direct_absolute=$hardcode_direct_absolute
19930
19931 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19932 # into the resulting binary.
19933 hardcode_minus_L=$hardcode_minus_L
19934
19935 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19936 # into the resulting binary.
19937 hardcode_shlibpath_var=$hardcode_shlibpath_var
19938
19939 # Set to "yes" if building a shared library automatically hardcodes DIR
19940 # into the library and all subsequent libraries and executables linked
19941 # against it.
19942 hardcode_automatic=$hardcode_automatic
19943
19944 # Set to yes if linker adds runtime paths of dependent libraries
19945 # to runtime path list.
19946 inherit_rpath=$inherit_rpath
19947
19948 # Whether libtool must link a program against all its dependency libraries.
19949 link_all_deplibs=$link_all_deplibs
19950
19951 # Set to "yes" if exported symbols are required.
19952 always_export_symbols=$always_export_symbols
19953
19954 # The commands to list exported symbols.
19955 export_symbols_cmds=$lt_export_symbols_cmds
19956
19957 # Symbols that should not be listed in the preloaded symbols.
19958 exclude_expsyms=$lt_exclude_expsyms
19959
19960 # Symbols that must always be exported.
19961 include_expsyms=$lt_include_expsyms
19962
19963 # Commands necessary for linking programs (against libraries) with templates.
19964 prelink_cmds=$lt_prelink_cmds
19965
19966 # Commands necessary for finishing linking programs.
19967 postlink_cmds=$lt_postlink_cmds
19968
19969 # Specify filename containing input files.
19970 file_list_spec=$lt_file_list_spec
19971
19972 # How to hardcode a shared library path into an executable.
19973 hardcode_action=$hardcode_action
19974
19975 # ### END LIBTOOL CONFIG
19976
19977 _LT_EOF
19978
19979   case $host_os in
19980   aix3*)
19981     cat <<\_LT_EOF >> "$cfgfile"
19982 # AIX sometimes has problems with the GCC collect2 program.  For some
19983 # reason, if we set the COLLECT_NAMES environment variable, the problems
19984 # vanish in a puff of smoke.
19985 if test "X${COLLECT_NAMES+set}" != Xset; then
19986   COLLECT_NAMES=
19987   export COLLECT_NAMES
19988 fi
19989 _LT_EOF
19990     ;;
19991   esac
19992
19993
19994 ltmain="$ac_aux_dir/ltmain.sh"
19995
19996
19997   # We use sed instead of cat because bash on DJGPP gets confused if
19998   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19999   # text mode, it properly converts lines to CR/LF.  This bash problem
20000   # is reportedly fixed, but why not run on old versions too?
20001   sed '$q' "$ltmain" >> "$cfgfile" \
20002      || (rm -f "$cfgfile"; exit 1)
20003
20004   if test x"$xsi_shell" = xyes; then
20005   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20006 func_dirname ()\
20007 {\
20008 \    case ${1} in\
20009 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20010 \      *  ) func_dirname_result="${3}" ;;\
20011 \    esac\
20012 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20013   && mv -f "$cfgfile.tmp" "$cfgfile" \
20014     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20015 test 0 -eq $? || _lt_function_replace_fail=:
20016
20017
20018   sed -e '/^func_basename ()$/,/^} # func_basename /c\
20019 func_basename ()\
20020 {\
20021 \    func_basename_result="${1##*/}"\
20022 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20023   && mv -f "$cfgfile.tmp" "$cfgfile" \
20024     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20025 test 0 -eq $? || _lt_function_replace_fail=:
20026
20027
20028   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20029 func_dirname_and_basename ()\
20030 {\
20031 \    case ${1} in\
20032 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20033 \      *  ) func_dirname_result="${3}" ;;\
20034 \    esac\
20035 \    func_basename_result="${1##*/}"\
20036 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20037   && mv -f "$cfgfile.tmp" "$cfgfile" \
20038     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20039 test 0 -eq $? || _lt_function_replace_fail=:
20040
20041
20042   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20043 func_stripname ()\
20044 {\
20045 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20046 \    # positional parameters, so assign one to ordinary parameter first.\
20047 \    func_stripname_result=${3}\
20048 \    func_stripname_result=${func_stripname_result#"${1}"}\
20049 \    func_stripname_result=${func_stripname_result%"${2}"}\
20050 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20051   && mv -f "$cfgfile.tmp" "$cfgfile" \
20052     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20053 test 0 -eq $? || _lt_function_replace_fail=:
20054
20055
20056   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20057 func_split_long_opt ()\
20058 {\
20059 \    func_split_long_opt_name=${1%%=*}\
20060 \    func_split_long_opt_arg=${1#*=}\
20061 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20062   && mv -f "$cfgfile.tmp" "$cfgfile" \
20063     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20064 test 0 -eq $? || _lt_function_replace_fail=:
20065
20066
20067   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20068 func_split_short_opt ()\
20069 {\
20070 \    func_split_short_opt_arg=${1#??}\
20071 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20072 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20073   && mv -f "$cfgfile.tmp" "$cfgfile" \
20074     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20075 test 0 -eq $? || _lt_function_replace_fail=:
20076
20077
20078   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20079 func_lo2o ()\
20080 {\
20081 \    case ${1} in\
20082 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20083 \      *)    func_lo2o_result=${1} ;;\
20084 \    esac\
20085 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20086   && mv -f "$cfgfile.tmp" "$cfgfile" \
20087     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20088 test 0 -eq $? || _lt_function_replace_fail=:
20089
20090
20091   sed -e '/^func_xform ()$/,/^} # func_xform /c\
20092 func_xform ()\
20093 {\
20094     func_xform_result=${1%.*}.lo\
20095 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20096   && mv -f "$cfgfile.tmp" "$cfgfile" \
20097     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20098 test 0 -eq $? || _lt_function_replace_fail=:
20099
20100
20101   sed -e '/^func_arith ()$/,/^} # func_arith /c\
20102 func_arith ()\
20103 {\
20104     func_arith_result=$(( $* ))\
20105 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20106   && mv -f "$cfgfile.tmp" "$cfgfile" \
20107     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20108 test 0 -eq $? || _lt_function_replace_fail=:
20109
20110
20111   sed -e '/^func_len ()$/,/^} # func_len /c\
20112 func_len ()\
20113 {\
20114     func_len_result=${#1}\
20115 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20116   && mv -f "$cfgfile.tmp" "$cfgfile" \
20117     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20118 test 0 -eq $? || _lt_function_replace_fail=:
20119
20120 fi
20121
20122 if test x"$lt_shell_append" = xyes; then
20123   sed -e '/^func_append ()$/,/^} # func_append /c\
20124 func_append ()\
20125 {\
20126     eval "${1}+=\\${2}"\
20127 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20128   && mv -f "$cfgfile.tmp" "$cfgfile" \
20129     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20130 test 0 -eq $? || _lt_function_replace_fail=:
20131
20132
20133   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20134 func_append_quoted ()\
20135 {\
20136 \    func_quote_for_eval "${2}"\
20137 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20138 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20139   && mv -f "$cfgfile.tmp" "$cfgfile" \
20140     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20141 test 0 -eq $? || _lt_function_replace_fail=:
20142
20143
20144   # Save a `func_append' function call where possible by direct use of '+='
20145   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20146     && mv -f "$cfgfile.tmp" "$cfgfile" \
20147       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20148   test 0 -eq $? || _lt_function_replace_fail=:
20149 else
20150   # Save a `func_append' function call even when '+=' is not available
20151   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20152     && mv -f "$cfgfile.tmp" "$cfgfile" \
20153       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20154   test 0 -eq $? || _lt_function_replace_fail=:
20155 fi
20156
20157 if test x"$_lt_function_replace_fail" = x":"; then
20158   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20159 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20160 fi
20161
20162
20163    mv -f "$cfgfile" "$ofile" ||
20164     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20165   chmod +x "$ofile"
20166
20167  ;;
20168     "po-directories":C)
20169     for ac_file in $CONFIG_FILES; do
20170       # Support "outfile[:infile[:infile...]]"
20171       case "$ac_file" in
20172         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20173       esac
20174       # PO directories have a Makefile.in generated from Makefile.in.in.
20175       case "$ac_file" in */Makefile.in)
20176         # Adjust a relative srcdir.
20177         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20178         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20179         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20180         # In autoconf-2.13 it is called $ac_given_srcdir.
20181         # In autoconf-2.50 it is called $srcdir.
20182         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20183         case "$ac_given_srcdir" in
20184           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20185           /*) top_srcdir="$ac_given_srcdir" ;;
20186           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
20187         esac
20188         # Treat a directory as a PO directory if and only if it has a
20189         # POTFILES.in file. This allows packages to have multiple PO
20190         # directories under different names or in different locations.
20191         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20192           rm -f "$ac_dir/POTFILES"
20193           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20194           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20195           POMAKEFILEDEPS="POTFILES.in"
20196           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20197           # on $ac_dir but don't depend on user-specified configuration
20198           # parameters.
20199           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20200             # The LINGUAS file contains the set of available languages.
20201             if test -n "$OBSOLETE_ALL_LINGUAS"; then
20202               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20203             fi
20204             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20205             # Hide the ALL_LINGUAS assigment from automake < 1.5.
20206             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20207             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20208           else
20209             # The set of available languages was given in configure.in.
20210             # Hide the ALL_LINGUAS assigment from automake < 1.5.
20211             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20212           fi
20213           # Compute POFILES
20214           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20215           # Compute UPDATEPOFILES
20216           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20217           # Compute DUMMYPOFILES
20218           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20219           # Compute GMOFILES
20220           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20221           case "$ac_given_srcdir" in
20222             .) srcdirpre= ;;
20223             *) srcdirpre='$(srcdir)/' ;;
20224           esac
20225           POFILES=
20226           UPDATEPOFILES=
20227           DUMMYPOFILES=
20228           GMOFILES=
20229           for lang in $ALL_LINGUAS; do
20230             POFILES="$POFILES $srcdirpre$lang.po"
20231             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20232             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20233             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20234           done
20235           # CATALOGS depends on both $ac_dir and the user's LINGUAS
20236           # environment variable.
20237           INST_LINGUAS=
20238           if test -n "$ALL_LINGUAS"; then
20239             for presentlang in $ALL_LINGUAS; do
20240               useit=no
20241               if test "%UNSET%" != "$LINGUAS"; then
20242                 desiredlanguages="$LINGUAS"
20243               else
20244                 desiredlanguages="$ALL_LINGUAS"
20245               fi
20246               for desiredlang in $desiredlanguages; do
20247                 # Use the presentlang catalog if desiredlang is
20248                 #   a. equal to presentlang, or
20249                 #   b. a variant of presentlang (because in this case,
20250                 #      presentlang can be used as a fallback for messages
20251                 #      which are not translated in the desiredlang catalog).
20252                 case "$desiredlang" in
20253                   "$presentlang"*) useit=yes;;
20254                 esac
20255               done
20256               if test $useit = yes; then
20257                 INST_LINGUAS="$INST_LINGUAS $presentlang"
20258               fi
20259             done
20260           fi
20261           CATALOGS=
20262           if test -n "$INST_LINGUAS"; then
20263             for lang in $INST_LINGUAS; do
20264               CATALOGS="$CATALOGS $lang.gmo"
20265             done
20266           fi
20267           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20268           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
20269           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20270             if test -f "$f"; then
20271               case "$f" in
20272                 *.orig | *.bak | *~) ;;
20273                 *) cat "$f" >> "$ac_dir/Makefile" ;;
20274               esac
20275             fi
20276           done
20277         fi
20278         ;;
20279       esac
20280     done ;;
20281
20282   esac
20283 done # for ac_tag
20284
20285
20286 as_fn_exit 0
20287 _ACEOF
20288 ac_clean_files=$ac_clean_files_save
20289
20290 test $ac_write_fail = 0 ||
20291   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20292
20293
20294 # configure is writing to config.log, and then calls config.status.
20295 # config.status does its own redirection, appending to config.log.
20296 # Unfortunately, on DOS this fails, as config.log is still kept open
20297 # by configure, so config.status won't be able to write to it; its
20298 # output is simply discarded.  So we exec the FD to /dev/null,
20299 # effectively closing config.log, so it can be properly (re)opened and
20300 # appended to by config.status.  When coming back to configure, we
20301 # need to make the FD available again.
20302 if test "$no_create" != yes; then
20303   ac_cs_success=:
20304   ac_config_status_args=
20305   test "$silent" = yes &&
20306     ac_config_status_args="$ac_config_status_args --quiet"
20307   exec 5>/dev/null
20308   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20309   exec 5>>config.log
20310   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20311   # would make configure fail if this is the last instruction.
20312   $ac_cs_success || as_fn_exit 1
20313 fi
20314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20315   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20317 fi
20318
20319
20320
20321 echo ""
20322 echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})"
20323
20324 # Global flags
20325 echo ""
20326 echo " • Global:"
20327 echo "        Prefix: ${prefix}"
20328 echo "        Libdir: ${libdir}"
20329 echo "        Sysconfdir: ${sysconfdir}"
20330
20331 # Compiler/Debug related flags
20332 echo ""
20333 echo " • Compiler options:"
20334 echo "        Clutter debug level: ${enable_debug}"
20335 echo "        Compiler flags: ${CFLAGS} ${MAINTAINER_CFLAGS}"
20336 echo "        Profiling enabled: ${enable_profile}"
20337 echo "        Enable coverage tests: ${enable_gcov}"
20338 echo "        Enable deprecated symbols: ${enable_deprecated}"
20339
20340 # Documentation
20341 echo ""
20342 echo " • Documentation:"
20343 echo "        Build API Reference: ${enable_gtk_doc}"
20344 echo "        Build Additional Documentation: ${enable_docs} (Generate PDF: ${enable_pdfs})"
20345
20346 # Miscellaneous
20347 echo ""
20348 echo " • Extra:"
20349 echo "        Build introspection data: ${enable_introspection}"
20350 echo "        Build conformance test suite: ${enable_conformance}"
20351 echo "        Build X11-specific tests: ${x11_tests}"
20352 echo "        Build tests using GDK-Pixbuf: ${pixbuf_tests}"
20353
20354 # Clutter backend related flags
20355 echo ""
20356 echo " • Clutter Backends:"
20357
20358 if test "x$experimental_backend" = "xno"; then
20359 echo "        Windowing systems: ${CLUTTER_BACKENDS}"
20360 else
20361 echo "        Windowing systems: ${CLUTTER_BACKENDS} (WARNING: Experimental backends enabled)"
20362 fi
20363
20364 if test "x$experimental_input_backend" = "xno"; then
20365 echo "        Input backends: ${CLUTTER_INPUT_BACKENDS}"
20366 else
20367 echo "        Input backends: ${CLUTTER_INPUT_BACKENDS} (WARNING: Experimental backends enabled)"
20368 fi
20369
20370 if test "x$SUPPORT_X11" = "x1"; then
20371 echo ""
20372 echo "     - X11 backend options:"
20373 echo "        Enabled extensions: ${X11_EXTS}"
20374 fi
20375
20376 if test "x$SUPPORT_CEX100" = "x1"; then
20377 echo ""
20378 echo "     - CEx100 backend options (WARNING: Experimental):"
20379 echo "        libGDL include prefix: ${CLUTTER_CEX100_LIBGDL_PREFIX}"
20380 fi
20381
20382 if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
20383 echo ""
20384 echo "     - Wayland compositor support enabled (WARNING: Experimental)"
20385 fi
20386
20387 echo ""
20388
20389 # General warning about experimental features
20390 if test "x$experimental_backend" = "xyes"; then
20391 echo ""
20392 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
20393 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20394 echo ""
20395 echo "  The stability of your build might be affected by one or more"
20396 echo "  experimental backends or experimental and unsupported features"
20397 echo ""
20398 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20399 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
20400 echo ""
20401 fi