cleanup specfile for packaging
[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.0.
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.0'
575 PACKAGE_STRING='clutter 1.10.0'
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 AMDEPBACKSLASH
810 AMDEP_FALSE
811 AMDEP_TRUE
812 am__quote
813 am__include
814 DEPDIR
815 OBJEXT
816 EXEEXT
817 ac_ct_CC
818 CPPFLAGS
819 LDFLAGS
820 CFLAGS
821 CC
822 OS_WIN32_FALSE
823 OS_WIN32_TRUE
824 host_os
825 host_vendor
826 host_cpu
827 host
828 build_os
829 build_vendor
830 build_cpu
831 build
832 SED
833 CLUTTER_LT_VERSION
834 CLUTTER_LT_REVISION
835 CLUTTER_LT_CURRENT
836 CLUTTER_RELEASE_STATUS
837 CLUTTER_API_VERSION_AM
838 CLUTTER_API_VERSION
839 CLUTTER_VERSION
840 CLUTTER_MICRO_VERSION
841 CLUTTER_MINOR_VERSION
842 CLUTTER_MAJOR_VERSION
843 AM_BACKSLASH
844 AM_DEFAULT_VERBOSITY
845 am__untar
846 am__tar
847 AMTAR
848 am__leading_dot
849 SET_MAKE
850 AWK
851 mkdir_p
852 MKDIR_P
853 INSTALL_STRIP_PROGRAM
854 STRIP
855 install_sh
856 MAKEINFO
857 AUTOHEADER
858 AUTOMAKE
859 AUTOCONF
860 ACLOCAL
861 VERSION
862 PACKAGE
863 CYGPATH_W
864 am__isrc
865 INSTALL_DATA
866 INSTALL_SCRIPT
867 INSTALL_PROGRAM
868 target_alias
869 host_alias
870 build_alias
871 LIBS
872 ECHO_T
873 ECHO_N
874 ECHO_C
875 DEFS
876 mandir
877 localedir
878 libdir
879 psdir
880 pdfdir
881 dvidir
882 htmldir
883 infodir
884 docdir
885 oldincludedir
886 includedir
887 localstatedir
888 sharedstatedir
889 sysconfdir
890 datadir
891 datarootdir
892 libexecdir
893 sbindir
894 bindir
895 program_transform_name
896 prefix
897 exec_prefix
898 PACKAGE_URL
899 PACKAGE_BUGREPORT
900 PACKAGE_STRING
901 PACKAGE_VERSION
902 PACKAGE_TARNAME
903 PACKAGE_NAME
904 PATH_SEPARATOR
905 SHELL'
906 ac_subst_files=''
907 ac_user_opts='
908 enable_option_checking
909 enable_silent_rules
910 enable_dependency_tracking
911 enable_static
912 enable_shared
913 with_pic
914 enable_fast_install
915 with_gnu_ld
916 with_sysroot
917 enable_libtool_lock
918 enable_glibtest
919 enable_Bsymbolic
920 enable_x11_backend
921 enable_win32_backend
922 enable_quartz_backend
923 enable_gdk_backend
924 enable_wayland_backend
925 enable_egl_backend
926 enable_cex100_backend
927 enable_wayland_compositor
928 enable_tslib_input
929 enable_evdev_input
930 with_x
931 enable_xinput
932 enable_gdk_pixbuf
933 enable_debug
934 enable_deprecated
935 enable_conformance
936 enable_profile
937 enable_gcov
938 enable_maintainer_flags
939 enable_introspection
940 with_html_dir
941 enable_gtk_doc
942 enable_gtk_doc_html
943 enable_gtk_doc_pdf
944 enable_docs
945 enable_nls
946 enable_rpath
947 with_libiconv_prefix
948 with_libintl_prefix
949 '
950       ac_precious_vars='build_alias
951 host_alias
952 target_alias
953 CC
954 CFLAGS
955 LDFLAGS
956 LIBS
957 CPPFLAGS
958 CPP
959 PKG_CONFIG
960 PKG_CONFIG_PATH
961 PKG_CONFIG_LIBDIR
962 TSLIB_CFLAGS
963 TSLIB_LIBS
964 EVDEV_CFLAGS
965 EVDEV_LIBS
966 XMKMF
967 GDK_PIXBUF_CFLAGS
968 GDK_PIXBUF_LIBS
969 PROFILE_DEP_CFLAGS
970 PROFILE_DEP_LIBS
971 CLUTTER_DEPS_CFLAGS
972 CLUTTER_DEPS_LIBS
973 CLUTTER_DEPS_PRIVATE_CFLAGS
974 CLUTTER_DEPS_PRIVATE_LIBS
975 GTKDOC_DEPS_CFLAGS
976 GTKDOC_DEPS_LIBS'
977
978
979 # Initialize some variables set by options.
980 ac_init_help=
981 ac_init_version=false
982 ac_unrecognized_opts=
983 ac_unrecognized_sep=
984 # The variables have the same names as the options, with
985 # dashes changed to underlines.
986 cache_file=/dev/null
987 exec_prefix=NONE
988 no_create=
989 no_recursion=
990 prefix=NONE
991 program_prefix=NONE
992 program_suffix=NONE
993 program_transform_name=s,x,x,
994 silent=
995 site=
996 srcdir=
997 verbose=
998 x_includes=NONE
999 x_libraries=NONE
1000
1001 # Installation directory options.
1002 # These are left unexpanded so users can "make install exec_prefix=/foo"
1003 # and all the variables that are supposed to be based on exec_prefix
1004 # by default will actually change.
1005 # Use braces instead of parens because sh, perl, etc. also accept them.
1006 # (The list follows the same order as the GNU Coding Standards.)
1007 bindir='${exec_prefix}/bin'
1008 sbindir='${exec_prefix}/sbin'
1009 libexecdir='${exec_prefix}/libexec'
1010 datarootdir='${prefix}/share'
1011 datadir='${datarootdir}'
1012 sysconfdir='${prefix}/etc'
1013 sharedstatedir='${prefix}/com'
1014 localstatedir='${prefix}/var'
1015 includedir='${prefix}/include'
1016 oldincludedir='/usr/include'
1017 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1018 infodir='${datarootdir}/info'
1019 htmldir='${docdir}'
1020 dvidir='${docdir}'
1021 pdfdir='${docdir}'
1022 psdir='${docdir}'
1023 libdir='${exec_prefix}/lib'
1024 localedir='${datarootdir}/locale'
1025 mandir='${datarootdir}/man'
1026
1027 ac_prev=
1028 ac_dashdash=
1029 for ac_option
1030 do
1031   # If the previous option needs an argument, assign it.
1032   if test -n "$ac_prev"; then
1033     eval $ac_prev=\$ac_option
1034     ac_prev=
1035     continue
1036   fi
1037
1038   case $ac_option in
1039   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1040   *=)   ac_optarg= ;;
1041   *)    ac_optarg=yes ;;
1042   esac
1043
1044   # Accept the important Cygnus configure options, so we can diagnose typos.
1045
1046   case $ac_dashdash$ac_option in
1047   --)
1048     ac_dashdash=yes ;;
1049
1050   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1051     ac_prev=bindir ;;
1052   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1053     bindir=$ac_optarg ;;
1054
1055   -build | --build | --buil | --bui | --bu)
1056     ac_prev=build_alias ;;
1057   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1058     build_alias=$ac_optarg ;;
1059
1060   -cache-file | --cache-file | --cache-fil | --cache-fi \
1061   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1062     ac_prev=cache_file ;;
1063   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1064   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1065     cache_file=$ac_optarg ;;
1066
1067   --config-cache | -C)
1068     cache_file=config.cache ;;
1069
1070   -datadir | --datadir | --datadi | --datad)
1071     ac_prev=datadir ;;
1072   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1073     datadir=$ac_optarg ;;
1074
1075   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1076   | --dataroo | --dataro | --datar)
1077     ac_prev=datarootdir ;;
1078   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1079   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1080     datarootdir=$ac_optarg ;;
1081
1082   -disable-* | --disable-*)
1083     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1084     # Reject names that are not valid shell variable names.
1085     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086       as_fn_error $? "invalid feature name: $ac_useropt"
1087     ac_useropt_orig=$ac_useropt
1088     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089     case $ac_user_opts in
1090       *"
1091 "enable_$ac_useropt"
1092 "*) ;;
1093       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1094          ac_unrecognized_sep=', ';;
1095     esac
1096     eval enable_$ac_useropt=no ;;
1097
1098   -docdir | --docdir | --docdi | --doc | --do)
1099     ac_prev=docdir ;;
1100   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1101     docdir=$ac_optarg ;;
1102
1103   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1104     ac_prev=dvidir ;;
1105   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1106     dvidir=$ac_optarg ;;
1107
1108   -enable-* | --enable-*)
1109     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1110     # Reject names that are not valid shell variable names.
1111     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112       as_fn_error $? "invalid feature name: $ac_useropt"
1113     ac_useropt_orig=$ac_useropt
1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115     case $ac_user_opts in
1116       *"
1117 "enable_$ac_useropt"
1118 "*) ;;
1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1120          ac_unrecognized_sep=', ';;
1121     esac
1122     eval enable_$ac_useropt=\$ac_optarg ;;
1123
1124   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1125   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1126   | --exec | --exe | --ex)
1127     ac_prev=exec_prefix ;;
1128   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1129   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1130   | --exec=* | --exe=* | --ex=*)
1131     exec_prefix=$ac_optarg ;;
1132
1133   -gas | --gas | --ga | --g)
1134     # Obsolete; use --with-gas.
1135     with_gas=yes ;;
1136
1137   -help | --help | --hel | --he | -h)
1138     ac_init_help=long ;;
1139   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1140     ac_init_help=recursive ;;
1141   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1142     ac_init_help=short ;;
1143
1144   -host | --host | --hos | --ho)
1145     ac_prev=host_alias ;;
1146   -host=* | --host=* | --hos=* | --ho=*)
1147     host_alias=$ac_optarg ;;
1148
1149   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1150     ac_prev=htmldir ;;
1151   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1152   | --ht=*)
1153     htmldir=$ac_optarg ;;
1154
1155   -includedir | --includedir | --includedi | --included | --include \
1156   | --includ | --inclu | --incl | --inc)
1157     ac_prev=includedir ;;
1158   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1159   | --includ=* | --inclu=* | --incl=* | --inc=*)
1160     includedir=$ac_optarg ;;
1161
1162   -infodir | --infodir | --infodi | --infod | --info | --inf)
1163     ac_prev=infodir ;;
1164   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1165     infodir=$ac_optarg ;;
1166
1167   -libdir | --libdir | --libdi | --libd)
1168     ac_prev=libdir ;;
1169   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1170     libdir=$ac_optarg ;;
1171
1172   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1173   | --libexe | --libex | --libe)
1174     ac_prev=libexecdir ;;
1175   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1176   | --libexe=* | --libex=* | --libe=*)
1177     libexecdir=$ac_optarg ;;
1178
1179   -localedir | --localedir | --localedi | --localed | --locale)
1180     ac_prev=localedir ;;
1181   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1182     localedir=$ac_optarg ;;
1183
1184   -localstatedir | --localstatedir | --localstatedi | --localstated \
1185   | --localstate | --localstat | --localsta | --localst | --locals)
1186     ac_prev=localstatedir ;;
1187   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1188   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1189     localstatedir=$ac_optarg ;;
1190
1191   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1192     ac_prev=mandir ;;
1193   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1194     mandir=$ac_optarg ;;
1195
1196   -nfp | --nfp | --nf)
1197     # Obsolete; use --without-fp.
1198     with_fp=no ;;
1199
1200   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1201   | --no-cr | --no-c | -n)
1202     no_create=yes ;;
1203
1204   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1205   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1206     no_recursion=yes ;;
1207
1208   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1209   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1210   | --oldin | --oldi | --old | --ol | --o)
1211     ac_prev=oldincludedir ;;
1212   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1213   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1214   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1215     oldincludedir=$ac_optarg ;;
1216
1217   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1218     ac_prev=prefix ;;
1219   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1220     prefix=$ac_optarg ;;
1221
1222   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1223   | --program-pre | --program-pr | --program-p)
1224     ac_prev=program_prefix ;;
1225   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1226   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1227     program_prefix=$ac_optarg ;;
1228
1229   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1230   | --program-suf | --program-su | --program-s)
1231     ac_prev=program_suffix ;;
1232   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1233   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1234     program_suffix=$ac_optarg ;;
1235
1236   -program-transform-name | --program-transform-name \
1237   | --program-transform-nam | --program-transform-na \
1238   | --program-transform-n | --program-transform- \
1239   | --program-transform | --program-transfor \
1240   | --program-transfo | --program-transf \
1241   | --program-trans | --program-tran \
1242   | --progr-tra | --program-tr | --program-t)
1243     ac_prev=program_transform_name ;;
1244   -program-transform-name=* | --program-transform-name=* \
1245   | --program-transform-nam=* | --program-transform-na=* \
1246   | --program-transform-n=* | --program-transform-=* \
1247   | --program-transform=* | --program-transfor=* \
1248   | --program-transfo=* | --program-transf=* \
1249   | --program-trans=* | --program-tran=* \
1250   | --progr-tra=* | --program-tr=* | --program-t=*)
1251     program_transform_name=$ac_optarg ;;
1252
1253   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1254     ac_prev=pdfdir ;;
1255   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1256     pdfdir=$ac_optarg ;;
1257
1258   -psdir | --psdir | --psdi | --psd | --ps)
1259     ac_prev=psdir ;;
1260   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1261     psdir=$ac_optarg ;;
1262
1263   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264   | -silent | --silent | --silen | --sile | --sil)
1265     silent=yes ;;
1266
1267   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1268     ac_prev=sbindir ;;
1269   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1270   | --sbi=* | --sb=*)
1271     sbindir=$ac_optarg ;;
1272
1273   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1274   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1275   | --sharedst | --shareds | --shared | --share | --shar \
1276   | --sha | --sh)
1277     ac_prev=sharedstatedir ;;
1278   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1279   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1280   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1281   | --sha=* | --sh=*)
1282     sharedstatedir=$ac_optarg ;;
1283
1284   -site | --site | --sit)
1285     ac_prev=site ;;
1286   -site=* | --site=* | --sit=*)
1287     site=$ac_optarg ;;
1288
1289   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1290     ac_prev=srcdir ;;
1291   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1292     srcdir=$ac_optarg ;;
1293
1294   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1295   | --syscon | --sysco | --sysc | --sys | --sy)
1296     ac_prev=sysconfdir ;;
1297   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1298   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1299     sysconfdir=$ac_optarg ;;
1300
1301   -target | --target | --targe | --targ | --tar | --ta | --t)
1302     ac_prev=target_alias ;;
1303   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1304     target_alias=$ac_optarg ;;
1305
1306   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1307     verbose=yes ;;
1308
1309   -version | --version | --versio | --versi | --vers | -V)
1310     ac_init_version=: ;;
1311
1312   -with-* | --with-*)
1313     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1314     # Reject names that are not valid shell variable names.
1315     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316       as_fn_error $? "invalid package name: $ac_useropt"
1317     ac_useropt_orig=$ac_useropt
1318     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319     case $ac_user_opts in
1320       *"
1321 "with_$ac_useropt"
1322 "*) ;;
1323       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1324          ac_unrecognized_sep=', ';;
1325     esac
1326     eval with_$ac_useropt=\$ac_optarg ;;
1327
1328   -without-* | --without-*)
1329     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1330     # Reject names that are not valid shell variable names.
1331     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332       as_fn_error $? "invalid package name: $ac_useropt"
1333     ac_useropt_orig=$ac_useropt
1334     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335     case $ac_user_opts in
1336       *"
1337 "with_$ac_useropt"
1338 "*) ;;
1339       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1340          ac_unrecognized_sep=', ';;
1341     esac
1342     eval with_$ac_useropt=no ;;
1343
1344   --x)
1345     # Obsolete; use --with-x.
1346     with_x=yes ;;
1347
1348   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1349   | --x-incl | --x-inc | --x-in | --x-i)
1350     ac_prev=x_includes ;;
1351   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1352   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1353     x_includes=$ac_optarg ;;
1354
1355   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1356   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1357     ac_prev=x_libraries ;;
1358   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1359   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1360     x_libraries=$ac_optarg ;;
1361
1362   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1363 Try \`$0 --help' for more information"
1364     ;;
1365
1366   *=*)
1367     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1368     # Reject names that are not valid shell variable names.
1369     case $ac_envvar in #(
1370       '' | [0-9]* | *[!_$as_cr_alnum]* )
1371       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1372     esac
1373     eval $ac_envvar=\$ac_optarg
1374     export $ac_envvar ;;
1375
1376   *)
1377     # FIXME: should be removed in autoconf 3.0.
1378     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1379     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1381     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1382     ;;
1383
1384   esac
1385 done
1386
1387 if test -n "$ac_prev"; then
1388   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1389   as_fn_error $? "missing argument to $ac_option"
1390 fi
1391
1392 if test -n "$ac_unrecognized_opts"; then
1393   case $enable_option_checking in
1394     no) ;;
1395     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1396     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1397   esac
1398 fi
1399
1400 # Check all directory arguments for consistency.
1401 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1402                 datadir sysconfdir sharedstatedir localstatedir includedir \
1403                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1404                 libdir localedir mandir
1405 do
1406   eval ac_val=\$$ac_var
1407   # Remove trailing slashes.
1408   case $ac_val in
1409     */ )
1410       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1411       eval $ac_var=\$ac_val;;
1412   esac
1413   # Be sure to have absolute directory names.
1414   case $ac_val in
1415     [\\/$]* | ?:[\\/]* )  continue;;
1416     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1417   esac
1418   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1419 done
1420
1421 # There might be people who depend on the old broken behavior: `$host'
1422 # used to hold the argument of --host etc.
1423 # FIXME: To remove some day.
1424 build=$build_alias
1425 host=$host_alias
1426 target=$target_alias
1427
1428 # FIXME: To remove some day.
1429 if test "x$host_alias" != x; then
1430   if test "x$build_alias" = x; then
1431     cross_compiling=maybe
1432     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1433     If a cross compiler is detected then cross compile mode will be used" >&2
1434   elif test "x$build_alias" != "x$host_alias"; then
1435     cross_compiling=yes
1436   fi
1437 fi
1438
1439 ac_tool_prefix=
1440 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1441
1442 test "$silent" = yes && exec 6>/dev/null
1443
1444
1445 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1446 ac_ls_di=`ls -di .` &&
1447 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1448   as_fn_error $? "working directory cannot be determined"
1449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1450   as_fn_error $? "pwd does not report name of working directory"
1451
1452
1453 # Find the source files, if location was not specified.
1454 if test -z "$srcdir"; then
1455   ac_srcdir_defaulted=yes
1456   # Try the directory containing this script, then the parent directory.
1457   ac_confdir=`$as_dirname -- "$as_myself" ||
1458 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459          X"$as_myself" : 'X\(//\)[^/]' \| \
1460          X"$as_myself" : 'X\(//\)$' \| \
1461          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1462 $as_echo X"$as_myself" |
1463     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1464             s//\1/
1465             q
1466           }
1467           /^X\(\/\/\)[^/].*/{
1468             s//\1/
1469             q
1470           }
1471           /^X\(\/\/\)$/{
1472             s//\1/
1473             q
1474           }
1475           /^X\(\/\).*/{
1476             s//\1/
1477             q
1478           }
1479           s/.*/./; q'`
1480   srcdir=$ac_confdir
1481   if test ! -r "$srcdir/$ac_unique_file"; then
1482     srcdir=..
1483   fi
1484 else
1485   ac_srcdir_defaulted=no
1486 fi
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1488   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1489   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1490 fi
1491 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1492 ac_abs_confdir=`(
1493         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1494         pwd)`
1495 # When building in place, set srcdir=.
1496 if test "$ac_abs_confdir" = "$ac_pwd"; then
1497   srcdir=.
1498 fi
1499 # Remove unnecessary trailing slashes from srcdir.
1500 # Double slashes in file names in object file debugging info
1501 # mess up M-x gdb in Emacs.
1502 case $srcdir in
1503 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1504 esac
1505 for ac_var in $ac_precious_vars; do
1506   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1507   eval ac_env_${ac_var}_value=\$${ac_var}
1508   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1509   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1510 done
1511
1512 #
1513 # Report the --help message.
1514 #
1515 if test "$ac_init_help" = "long"; then
1516   # Omit some internal or obsolete options to make the list less imposing.
1517   # This message is too long to be a string in the A/UX 3.1 sh.
1518   cat <<_ACEOF
1519 \`configure' configures clutter 1.10.0 to adapt to many kinds of systems.
1520
1521 Usage: $0 [OPTION]... [VAR=VALUE]...
1522
1523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1524 VAR=VALUE.  See below for descriptions of some of the useful variables.
1525
1526 Defaults for the options are specified in brackets.
1527
1528 Configuration:
1529   -h, --help              display this help and exit
1530       --help=short        display options specific to this package
1531       --help=recursive    display the short help of all the included packages
1532   -V, --version           display version information and exit
1533   -q, --quiet, --silent   do not print \`checking ...' messages
1534       --cache-file=FILE   cache test results in FILE [disabled]
1535   -C, --config-cache      alias for \`--cache-file=config.cache'
1536   -n, --no-create         do not create output files
1537       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1538
1539 Installation directories:
1540   --prefix=PREFIX         install architecture-independent files in PREFIX
1541                           [$ac_default_prefix]
1542   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1543                           [PREFIX]
1544
1545 By default, \`make install' will install all the files in
1546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1548 for instance \`--prefix=\$HOME'.
1549
1550 For better control, use the options below.
1551
1552 Fine tuning of the installation directories:
1553   --bindir=DIR            user executables [EPREFIX/bin]
1554   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1555   --libexecdir=DIR        program executables [EPREFIX/libexec]
1556   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1557   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1558   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1559   --libdir=DIR            object code libraries [EPREFIX/lib]
1560   --includedir=DIR        C header files [PREFIX/include]
1561   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1562   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1563   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1564   --infodir=DIR           info documentation [DATAROOTDIR/info]
1565   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1566   --mandir=DIR            man documentation [DATAROOTDIR/man]
1567   --docdir=DIR            documentation root [DATAROOTDIR/doc/clutter]
1568   --htmldir=DIR           html documentation [DOCDIR]
1569   --dvidir=DIR            dvi documentation [DOCDIR]
1570   --pdfdir=DIR            pdf documentation [DOCDIR]
1571   --psdir=DIR             ps documentation [DOCDIR]
1572 _ACEOF
1573
1574   cat <<\_ACEOF
1575
1576 Program names:
1577   --program-prefix=PREFIX            prepend PREFIX to installed program names
1578   --program-suffix=SUFFIX            append SUFFIX to installed program names
1579   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1580
1581 X features:
1582   --x-includes=DIR    X include files are in DIR
1583   --x-libraries=DIR   X library files are in DIR
1584
1585 System types:
1586   --build=BUILD     configure for building on BUILD [guessed]
1587   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1588 _ACEOF
1589 fi
1590
1591 if test -n "$ac_init_help"; then
1592   case $ac_init_help in
1593      short | recursive ) echo "Configuration of clutter 1.10.0:";;
1594    esac
1595   cat <<\_ACEOF
1596
1597 Optional Features:
1598   --disable-option-checking  ignore unrecognized --enable/--with options
1599   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1600   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1601   --enable-silent-rules          less verbose build output (undo: `make V=1')
1602   --disable-silent-rules         verbose build output (undo: `make V=0')
1603   --disable-dependency-tracking  speeds up one-time build
1604   --enable-dependency-tracking   do not reject slow dependency extractors
1605   --enable-static[=PKGS]  build static libraries [default=no]
1606   --enable-shared[=PKGS]  build shared libraries [default=yes]
1607   --enable-fast-install[=PKGS]
1608                           optimize for fast installation [default=yes]
1609   --disable-libtool-lock  avoid locking (might break parallel builds)
1610   --disable-glibtest      do not try to compile and run a test GLIB program
1611   --disable-Bsymbolic     Avoid linking with -Bsymbolic
1612   --enable-x11-backend=[yes/no]
1613                           Enable the X11 backend (default=check)
1614   --enable-win32-backend=[yes/no]
1615                           Enable the Windows backend (default=check)
1616   --enable-quartz-backend=[yes/no]
1617                           Enable the OS X backend (default=check)
1618   --enable-gdk-backend=[yes/no]
1619                           Enable the GDK backend (default=check)
1620   --enable-wayland-backend=[yes/no]
1621                           Enable the Wayland client backend (default=no)
1622   --enable-egl-backend=[yes/no]
1623                           Enable the EGL framebuffer backend (default=no)
1624   --enable-cex100-backend=[yes/no]
1625                           Enable the CEx100 backend (default=no)
1626   --enable-wayland-compositor=[yes/no]
1627                           Enable Wayland compositor features (default=no)
1628   --enable-tslib-input=[yes/no]
1629                           Enable TSLib for input events (default=no)
1630   --enable-evdev-input=[yes/no]
1631                           Enable evdev for input events (default=no)
1632   --enable-xinput         Use the XI X extension
1633   --enable-gdk-pixbuf=[no/yes]
1634                           Enable tests using GDK-Pixbuf [default=yes]
1635   --enable-debug=[no/minimum/yes]
1636                           Control Clutter debugging level [default=minimum]
1637   --enable-deprecated=[no/yes]
1638                           Whether deprecated symbols should be disabled when
1639                           compiling Clutter [default=yes]
1640   --enable-conformance=[no/yes]
1641                           Build conformance test suite [default=yes]
1642   --enable-profile=[no/yes]
1643                           Turn on profiling support. yes; All profiling probe
1644                           points are compiled in and may be runtime enabled.
1645                           no; No profiling support will built into clutter.
1646                           [default=no]
1647   --enable-gcov           Whether to enable coverage testing (requires gcc and
1648                           gcov)
1649   --enable-maintainer-flags=[no/yes/error]
1650                           Use strict compiler flags [default=no]
1651   --enable-introspection=[no/auto/yes]
1652                           Enable introspection for this build
1653   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1654   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1655   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1656   --enable-docs=[no/yes]  Build optional documentation; requires xsltproc and
1657                           jw.
1658   --disable-nls           do not use Native Language Support
1659   --disable-rpath         do not hardcode runtime library paths
1660
1661 Optional Packages:
1662   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1663   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1664   --with-pic              try to use only PIC/non-PIC objects [default=use
1665                           both]
1666   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1667   --with-sysroot=DIR Search for dependent libraries within DIR
1668                         (or the compiler's sysroot if not specified).
1669   --with-x                use the X Window System
1670   --with-html-dir=PATH    path to installed docs
1671   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1672   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1673   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1674   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1675   --without-libintl-prefix     don't search for libintl in includedir and libdir
1676
1677 Some influential environment variables:
1678   CC          C compiler command
1679   CFLAGS      C compiler flags
1680   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1681               nonstandard directory <lib dir>
1682   LIBS        libraries to pass to the linker, e.g. -l<library>
1683   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1684               you have headers in a nonstandard directory <include dir>
1685   CPP         C preprocessor
1686   PKG_CONFIG  path to pkg-config utility
1687   PKG_CONFIG_PATH
1688               directories to add to pkg-config's search path
1689   PKG_CONFIG_LIBDIR
1690               path overriding pkg-config's built-in search path
1691   TSLIB_CFLAGS
1692               C compiler flags for TSLIB, overriding pkg-config
1693   TSLIB_LIBS  linker flags for TSLIB, overriding pkg-config
1694   EVDEV_CFLAGS
1695               C compiler flags for EVDEV, overriding pkg-config
1696   EVDEV_LIBS  linker flags for EVDEV, overriding pkg-config
1697   XMKMF       Path to xmkmf, Makefile generator for X Window System
1698   GDK_PIXBUF_CFLAGS
1699               C compiler flags for GDK_PIXBUF, overriding pkg-config
1700   GDK_PIXBUF_LIBS
1701               linker flags for GDK_PIXBUF, overriding pkg-config
1702   PROFILE_DEP_CFLAGS
1703               C compiler flags for PROFILE_DEP, overriding pkg-config
1704   PROFILE_DEP_LIBS
1705               linker flags for PROFILE_DEP, overriding pkg-config
1706   CLUTTER_DEPS_CFLAGS
1707               C compiler flags for CLUTTER_DEPS, overriding pkg-config
1708   CLUTTER_DEPS_LIBS
1709               linker flags for CLUTTER_DEPS, overriding pkg-config
1710   CLUTTER_DEPS_PRIVATE_CFLAGS
1711               C compiler flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1712   CLUTTER_DEPS_PRIVATE_LIBS
1713               linker flags for CLUTTER_DEPS_PRIVATE, overriding pkg-config
1714   GTKDOC_DEPS_CFLAGS
1715               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1716   GTKDOC_DEPS_LIBS
1717               linker flags for GTKDOC_DEPS, overriding pkg-config
1718
1719 Use these variables to override the choices made by `configure' or to help
1720 it to find libraries and programs with nonstandard names/locations.
1721
1722 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
1723 clutter home page: <http://www.clutter-project.org>.
1724 _ACEOF
1725 ac_status=$?
1726 fi
1727
1728 if test "$ac_init_help" = "recursive"; then
1729   # If there are subdirs, report their specific --help.
1730   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1731     test -d "$ac_dir" ||
1732       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1733       continue
1734     ac_builddir=.
1735
1736 case "$ac_dir" in
1737 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1738 *)
1739   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1740   # A ".." for each directory in $ac_dir_suffix.
1741   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1742   case $ac_top_builddir_sub in
1743   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1744   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1745   esac ;;
1746 esac
1747 ac_abs_top_builddir=$ac_pwd
1748 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1749 # for backward compatibility:
1750 ac_top_builddir=$ac_top_build_prefix
1751
1752 case $srcdir in
1753   .)  # We are building in place.
1754     ac_srcdir=.
1755     ac_top_srcdir=$ac_top_builddir_sub
1756     ac_abs_top_srcdir=$ac_pwd ;;
1757   [\\/]* | ?:[\\/]* )  # Absolute name.
1758     ac_srcdir=$srcdir$ac_dir_suffix;
1759     ac_top_srcdir=$srcdir
1760     ac_abs_top_srcdir=$srcdir ;;
1761   *) # Relative name.
1762     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1763     ac_top_srcdir=$ac_top_build_prefix$srcdir
1764     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1765 esac
1766 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1767
1768     cd "$ac_dir" || { ac_status=$?; continue; }
1769     # Check for guested configure.
1770     if test -f "$ac_srcdir/configure.gnu"; then
1771       echo &&
1772       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1773     elif test -f "$ac_srcdir/configure"; then
1774       echo &&
1775       $SHELL "$ac_srcdir/configure" --help=recursive
1776     else
1777       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1778     fi || ac_status=$?
1779     cd "$ac_pwd" || { ac_status=$?; break; }
1780   done
1781 fi
1782
1783 test -n "$ac_init_help" && exit $ac_status
1784 if $ac_init_version; then
1785   cat <<\_ACEOF
1786 clutter configure 1.10.0
1787 generated by GNU Autoconf 2.68
1788
1789 Copyright (C) 2010 Free Software Foundation, Inc.
1790 This configure script is free software; the Free Software Foundation
1791 gives unlimited permission to copy, distribute and modify it.
1792 _ACEOF
1793   exit
1794 fi
1795
1796 ## ------------------------ ##
1797 ## Autoconf initialization. ##
1798 ## ------------------------ ##
1799
1800 # ac_fn_c_try_compile LINENO
1801 # --------------------------
1802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_compile ()
1804 {
1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806   rm -f conftest.$ac_objext
1807   if { { ac_try="$ac_compile"
1808 case "(($ac_try" in
1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810   *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814   (eval "$ac_compile") 2>conftest.err
1815   ac_status=$?
1816   if test -s conftest.err; then
1817     grep -v '^ *+' conftest.err >conftest.er1
1818     cat conftest.er1 >&5
1819     mv -f conftest.er1 conftest.err
1820   fi
1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822   test $ac_status = 0; } && {
1823          test -z "$ac_c_werror_flag" ||
1824          test ! -s conftest.err
1825        } && test -s conftest.$ac_objext; then :
1826   ac_retval=0
1827 else
1828   $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831         ac_retval=1
1832 fi
1833   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834   as_fn_set_status $ac_retval
1835
1836 } # ac_fn_c_try_compile
1837
1838 # ac_fn_c_try_cpp LINENO
1839 # ----------------------
1840 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_cpp ()
1842 {
1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844   if { { ac_try="$ac_cpp conftest.$ac_ext"
1845 case "(($ac_try" in
1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847   *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1852   ac_status=$?
1853   if test -s conftest.err; then
1854     grep -v '^ *+' conftest.err >conftest.er1
1855     cat conftest.er1 >&5
1856     mv -f conftest.er1 conftest.err
1857   fi
1858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859   test $ac_status = 0; } > conftest.i && {
1860          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861          test ! -s conftest.err
1862        }; then :
1863   ac_retval=0
1864 else
1865   $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1867
1868     ac_retval=1
1869 fi
1870   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871   as_fn_set_status $ac_retval
1872
1873 } # ac_fn_c_try_cpp
1874
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1879 # accordingly.
1880 ac_fn_c_check_header_mongrel ()
1881 {
1882   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883   if eval \${$3+:} false; then :
1884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887   $as_echo_n "(cached) " >&6
1888 fi
1889 eval ac_res=\$$3
1890                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 else
1893   # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h.  */
1898 $4
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902   ac_header_compiler=yes
1903 else
1904   ac_header_compiler=no
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1909
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h.  */
1915 #include <$2>
1916 _ACEOF
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918   ac_header_preproc=yes
1919 else
1920   ac_header_preproc=no
1921 fi
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1925
1926 # So?  What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1928   yes:no: )
1929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1933     ;;
1934   no:yes:* )
1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945 ( $as_echo "## ---------------------------------------------------------------------- ##
1946 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=clutter ##
1947 ## ---------------------------------------------------------------------- ##"
1948      ) | sed "s/^/$as_me: WARNING:     /" >&2
1949     ;;
1950 esac
1951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954   $as_echo_n "(cached) " >&6
1955 else
1956   eval "$3=\$ac_header_compiler"
1957 fi
1958 eval ac_res=\$$3
1959                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961 fi
1962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
1964 } # ac_fn_c_check_header_mongrel
1965
1966 # ac_fn_c_try_run LINENO
1967 # ----------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969 # that executables *can* be run.
1970 ac_fn_c_try_run ()
1971 {
1972   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973   if { { ac_try="$ac_link"
1974 case "(($ac_try" in
1975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976   *) ac_try_echo=$ac_try;;
1977 esac
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980   (eval "$ac_link") 2>&5
1981   ac_status=$?
1982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1984   { { case "(($ac_try" in
1985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986   *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990   (eval "$ac_try") 2>&5
1991   ac_status=$?
1992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993   test $ac_status = 0; }; }; then :
1994   ac_retval=0
1995 else
1996   $as_echo "$as_me: program exited with status $ac_status" >&5
1997        $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
1999
2000        ac_retval=$ac_status
2001 fi
2002   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004   as_fn_set_status $ac_retval
2005
2006 } # ac_fn_c_try_run
2007
2008 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2009 # -------------------------------------------------------
2010 # Tests whether HEADER exists and can be compiled using the include files in
2011 # INCLUDES, setting the cache variable VAR accordingly.
2012 ac_fn_c_check_header_compile ()
2013 {
2014   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018   $as_echo_n "(cached) " >&6
2019 else
2020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h.  */
2022 $4
2023 #include <$2>
2024 _ACEOF
2025 if ac_fn_c_try_compile "$LINENO"; then :
2026   eval "$3=yes"
2027 else
2028   eval "$3=no"
2029 fi
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 fi
2032 eval ac_res=\$$3
2033                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 $as_echo "$ac_res" >&6; }
2035   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036
2037 } # ac_fn_c_check_header_compile
2038
2039 # ac_fn_c_try_link LINENO
2040 # -----------------------
2041 # Try to link conftest.$ac_ext, and return whether this succeeded.
2042 ac_fn_c_try_link ()
2043 {
2044   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045   rm -f conftest.$ac_objext conftest$ac_exeext
2046   if { { ac_try="$ac_link"
2047 case "(($ac_try" in
2048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049   *) ac_try_echo=$ac_try;;
2050 esac
2051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052 $as_echo "$ac_try_echo"; } >&5
2053   (eval "$ac_link") 2>conftest.err
2054   ac_status=$?
2055   if test -s conftest.err; then
2056     grep -v '^ *+' conftest.err >conftest.er1
2057     cat conftest.er1 >&5
2058     mv -f conftest.er1 conftest.err
2059   fi
2060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061   test $ac_status = 0; } && {
2062          test -z "$ac_c_werror_flag" ||
2063          test ! -s conftest.err
2064        } && test -s conftest$ac_exeext && {
2065          test "$cross_compiling" = yes ||
2066          $as_test_x conftest$ac_exeext
2067        }; then :
2068   ac_retval=0
2069 else
2070   $as_echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.$ac_ext >&5
2072
2073         ac_retval=1
2074 fi
2075   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2076   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2077   # interfere with the next link command; also delete a directory that is
2078   # left behind by Apple's compiler.  We do this before executing the actions.
2079   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2080   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081   as_fn_set_status $ac_retval
2082
2083 } # ac_fn_c_try_link
2084
2085 # ac_fn_c_check_func LINENO FUNC VAR
2086 # ----------------------------------
2087 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2088 ac_fn_c_check_func ()
2089 {
2090   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2092 $as_echo_n "checking for $2... " >&6; }
2093 if eval \${$3+:} false; then :
2094   $as_echo_n "(cached) " >&6
2095 else
2096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h.  */
2098 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2100 #define $2 innocuous_$2
2101
2102 /* System header to define __stub macros and hopefully few prototypes,
2103     which can conflict with char $2 (); below.
2104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2105     <limits.h> exists even on freestanding compilers.  */
2106
2107 #ifdef __STDC__
2108 # include <limits.h>
2109 #else
2110 # include <assert.h>
2111 #endif
2112
2113 #undef $2
2114
2115 /* Override any GCC internal prototype to avoid an error.
2116    Use char because int might match the return type of a GCC
2117    builtin and then its argument prototype would still apply.  */
2118 #ifdef __cplusplus
2119 extern "C"
2120 #endif
2121 char $2 ();
2122 /* The GNU C library defines this for functions which it implements
2123     to always fail with ENOSYS.  Some functions are actually named
2124     something starting with __ and the normal name is an alias.  */
2125 #if defined __stub_$2 || defined __stub___$2
2126 choke me
2127 #endif
2128
2129 int
2130 main ()
2131 {
2132 return $2 ();
2133   ;
2134   return 0;
2135 }
2136 _ACEOF
2137 if ac_fn_c_try_link "$LINENO"; then :
2138   eval "$3=yes"
2139 else
2140   eval "$3=no"
2141 fi
2142 rm -f core conftest.err conftest.$ac_objext \
2143     conftest$ac_exeext conftest.$ac_ext
2144 fi
2145 eval ac_res=\$$3
2146                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 $as_echo "$ac_res" >&6; }
2148   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149
2150 } # ac_fn_c_check_func
2151
2152 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2153 # ----------------------------------------------------
2154 # Tries to find if the field MEMBER exists in type AGGR, after including
2155 # INCLUDES, setting cache variable VAR accordingly.
2156 ac_fn_c_check_member ()
2157 {
2158   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2160 $as_echo_n "checking for $2.$3... " >&6; }
2161 if eval \${$4+:} false; then :
2162   $as_echo_n "(cached) " >&6
2163 else
2164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h.  */
2166 $5
2167 int
2168 main ()
2169 {
2170 static $2 ac_aggr;
2171 if (ac_aggr.$3)
2172 return 0;
2173   ;
2174   return 0;
2175 }
2176 _ACEOF
2177 if ac_fn_c_try_compile "$LINENO"; then :
2178   eval "$4=yes"
2179 else
2180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h.  */
2182 $5
2183 int
2184 main ()
2185 {
2186 static $2 ac_aggr;
2187 if (sizeof ac_aggr.$3)
2188 return 0;
2189   ;
2190   return 0;
2191 }
2192 _ACEOF
2193 if ac_fn_c_try_compile "$LINENO"; then :
2194   eval "$4=yes"
2195 else
2196   eval "$4=no"
2197 fi
2198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2199 fi
2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2201 fi
2202 eval ac_res=\$$4
2203                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2205   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2206
2207 } # ac_fn_c_check_member
2208 cat >config.log <<_ACEOF
2209 This file contains any messages produced by compilers while
2210 running configure, to aid debugging if configure makes a mistake.
2211
2212 It was created by clutter $as_me 1.10.0, which was
2213 generated by GNU Autoconf 2.68.  Invocation command line was
2214
2215   $ $0 $@
2216
2217 _ACEOF
2218 exec 5>>config.log
2219 {
2220 cat <<_ASUNAME
2221 ## --------- ##
2222 ## Platform. ##
2223 ## --------- ##
2224
2225 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2226 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2227 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2228 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2229 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2230
2231 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2232 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2233
2234 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2235 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2236 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2237 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2238 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2239 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2240 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2241
2242 _ASUNAME
2243
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2246 do
2247   IFS=$as_save_IFS
2248   test -z "$as_dir" && as_dir=.
2249     $as_echo "PATH: $as_dir"
2250   done
2251 IFS=$as_save_IFS
2252
2253 } >&5
2254
2255 cat >&5 <<_ACEOF
2256
2257
2258 ## ----------- ##
2259 ## Core tests. ##
2260 ## ----------- ##
2261
2262 _ACEOF
2263
2264
2265 # Keep a trace of the command line.
2266 # Strip out --no-create and --no-recursion so they do not pile up.
2267 # Strip out --silent because we don't want to record it for future runs.
2268 # Also quote any args containing shell meta-characters.
2269 # Make two passes to allow for proper duplicate-argument suppression.
2270 ac_configure_args=
2271 ac_configure_args0=
2272 ac_configure_args1=
2273 ac_must_keep_next=false
2274 for ac_pass in 1 2
2275 do
2276   for ac_arg
2277   do
2278     case $ac_arg in
2279     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2280     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2281     | -silent | --silent | --silen | --sile | --sil)
2282       continue ;;
2283     *\'*)
2284       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2285     esac
2286     case $ac_pass in
2287     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2288     2)
2289       as_fn_append ac_configure_args1 " '$ac_arg'"
2290       if test $ac_must_keep_next = true; then
2291         ac_must_keep_next=false # Got value, back to normal.
2292       else
2293         case $ac_arg in
2294           *=* | --config-cache | -C | -disable-* | --disable-* \
2295           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2296           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2297           | -with-* | --with-* | -without-* | --without-* | --x)
2298             case "$ac_configure_args0 " in
2299               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2300             esac
2301             ;;
2302           -* ) ac_must_keep_next=true ;;
2303         esac
2304       fi
2305       as_fn_append ac_configure_args " '$ac_arg'"
2306       ;;
2307     esac
2308   done
2309 done
2310 { ac_configure_args0=; unset ac_configure_args0;}
2311 { ac_configure_args1=; unset ac_configure_args1;}
2312
2313 # When interrupted or exit'd, cleanup temporary files, and complete
2314 # config.log.  We remove comments because anyway the quotes in there
2315 # would cause problems or look ugly.
2316 # WARNING: Use '\'' to represent an apostrophe within the trap.
2317 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2318 trap 'exit_status=$?
2319   # Save into config.log some information that might help in debugging.
2320   {
2321     echo
2322
2323     $as_echo "## ---------------- ##
2324 ## Cache variables. ##
2325 ## ---------------- ##"
2326     echo
2327     # The following way of writing the cache mishandles newlines in values,
2328 (
2329   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2330     eval ac_val=\$$ac_var
2331     case $ac_val in #(
2332     *${as_nl}*)
2333       case $ac_var in #(
2334       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2336       esac
2337       case $ac_var in #(
2338       _ | IFS | as_nl) ;; #(
2339       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2340       *) { eval $ac_var=; unset $ac_var;} ;;
2341       esac ;;
2342     esac
2343   done
2344   (set) 2>&1 |
2345     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2346     *${as_nl}ac_space=\ *)
2347       sed -n \
2348         "s/'\''/'\''\\\\'\'''\''/g;
2349           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2350       ;; #(
2351     *)
2352       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2353       ;;
2354     esac |
2355     sort
2356 )
2357     echo
2358
2359     $as_echo "## ----------------- ##
2360 ## Output variables. ##
2361 ## ----------------- ##"
2362     echo
2363     for ac_var in $ac_subst_vars
2364     do
2365       eval ac_val=\$$ac_var
2366       case $ac_val in
2367       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2368       esac
2369       $as_echo "$ac_var='\''$ac_val'\''"
2370     done | sort
2371     echo
2372
2373     if test -n "$ac_subst_files"; then
2374       $as_echo "## ------------------- ##
2375 ## File substitutions. ##
2376 ## ------------------- ##"
2377       echo
2378       for ac_var in $ac_subst_files
2379       do
2380         eval ac_val=\$$ac_var
2381         case $ac_val in
2382         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2383         esac
2384         $as_echo "$ac_var='\''$ac_val'\''"
2385       done | sort
2386       echo
2387     fi
2388
2389     if test -s confdefs.h; then
2390       $as_echo "## ----------- ##
2391 ## confdefs.h. ##
2392 ## ----------- ##"
2393       echo
2394       cat confdefs.h
2395       echo
2396     fi
2397     test "$ac_signal" != 0 &&
2398       $as_echo "$as_me: caught signal $ac_signal"
2399     $as_echo "$as_me: exit $exit_status"
2400   } >&5
2401   rm -f core *.core core.conftest.* &&
2402     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2403     exit $exit_status
2404 ' 0
2405 for ac_signal in 1 2 13 15; do
2406   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2407 done
2408 ac_signal=0
2409
2410 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2411 rm -f -r conftest* confdefs.h
2412
2413 $as_echo "/* confdefs.h */" > confdefs.h
2414
2415 # Predefined preprocessor variables.
2416
2417 cat >>confdefs.h <<_ACEOF
2418 #define PACKAGE_NAME "$PACKAGE_NAME"
2419 _ACEOF
2420
2421 cat >>confdefs.h <<_ACEOF
2422 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2423 _ACEOF
2424
2425 cat >>confdefs.h <<_ACEOF
2426 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2427 _ACEOF
2428
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_STRING "$PACKAGE_STRING"
2431 _ACEOF
2432
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2435 _ACEOF
2436
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_URL "$PACKAGE_URL"
2439 _ACEOF
2440
2441
2442 # Let the site file select an alternate cache file if it wants to.
2443 # Prefer an explicitly selected file to automatically selected ones.
2444 ac_site_file1=NONE
2445 ac_site_file2=NONE
2446 if test -n "$CONFIG_SITE"; then
2447   # We do not want a PATH search for config.site.
2448   case $CONFIG_SITE in #((
2449     -*)  ac_site_file1=./$CONFIG_SITE;;
2450     */*) ac_site_file1=$CONFIG_SITE;;
2451     *)   ac_site_file1=./$CONFIG_SITE;;
2452   esac
2453 elif test "x$prefix" != xNONE; then
2454   ac_site_file1=$prefix/share/config.site
2455   ac_site_file2=$prefix/etc/config.site
2456 else
2457   ac_site_file1=$ac_default_prefix/share/config.site
2458   ac_site_file2=$ac_default_prefix/etc/config.site
2459 fi
2460 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2461 do
2462   test "x$ac_site_file" = xNONE && continue
2463   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2464     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2465 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2466     sed 's/^/| /' "$ac_site_file" >&5
2467     . "$ac_site_file" \
2468       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error $? "failed to load site script $ac_site_file
2471 See \`config.log' for more details" "$LINENO" 5; }
2472   fi
2473 done
2474
2475 if test -r "$cache_file"; then
2476   # Some versions of bash will fail to source /dev/null (special files
2477   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2478   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2479     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2480 $as_echo "$as_me: loading cache $cache_file" >&6;}
2481     case $cache_file in
2482       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2483       *)                      . "./$cache_file";;
2484     esac
2485   fi
2486 else
2487   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2488 $as_echo "$as_me: creating cache $cache_file" >&6;}
2489   >$cache_file
2490 fi
2491
2492 gt_needs="$gt_needs "
2493 # Check that the precious variables saved in the cache have kept the same
2494 # value.
2495 ac_cache_corrupted=false
2496 for ac_var in $ac_precious_vars; do
2497   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2498   eval ac_new_set=\$ac_env_${ac_var}_set
2499   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2500   eval ac_new_val=\$ac_env_${ac_var}_value
2501   case $ac_old_set,$ac_new_set in
2502     set,)
2503       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2504 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2505       ac_cache_corrupted=: ;;
2506     ,set)
2507       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2508 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2509       ac_cache_corrupted=: ;;
2510     ,);;
2511     *)
2512       if test "x$ac_old_val" != "x$ac_new_val"; then
2513         # differences in whitespace do not lead to failure.
2514         ac_old_val_w=`echo x $ac_old_val`
2515         ac_new_val_w=`echo x $ac_new_val`
2516         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2517           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2518 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2519           ac_cache_corrupted=:
2520         else
2521           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2522 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2523           eval $ac_var=\$ac_old_val
2524         fi
2525         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2526 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2527         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2528 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2529       fi;;
2530   esac
2531   # Pass precious variables to config.status.
2532   if test "$ac_new_set" = set; then
2533     case $ac_new_val in
2534     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2535     *) ac_arg=$ac_var=$ac_new_val ;;
2536     esac
2537     case " $ac_configure_args " in
2538       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2539       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2540     esac
2541   fi
2542 done
2543 if $ac_cache_corrupted; then
2544   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2547 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2548   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2549 fi
2550 ## -------------------- ##
2551 ## Main body of script. ##
2552 ## -------------------- ##
2553
2554 ac_ext=c
2555 ac_cpp='$CPP $CPPFLAGS'
2556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2559
2560
2561
2562
2563 ac_config_headers="$ac_config_headers config.h"
2564
2565 ac_aux_dir=
2566 for ac_dir in build "$srcdir"/build; do
2567   if test -f "$ac_dir/install-sh"; then
2568     ac_aux_dir=$ac_dir
2569     ac_install_sh="$ac_aux_dir/install-sh -c"
2570     break
2571   elif test -f "$ac_dir/install.sh"; then
2572     ac_aux_dir=$ac_dir
2573     ac_install_sh="$ac_aux_dir/install.sh -c"
2574     break
2575   elif test -f "$ac_dir/shtool"; then
2576     ac_aux_dir=$ac_dir
2577     ac_install_sh="$ac_aux_dir/shtool install -c"
2578     break
2579   fi
2580 done
2581 if test -z "$ac_aux_dir"; then
2582   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2583 fi
2584
2585 # These three variables are undocumented and unsupported,
2586 # and are intended to be withdrawn in a future Autoconf release.
2587 # They can cause serious problems if a builder's source tree is in a directory
2588 # whose full name contains unusual characters.
2589 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2590 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2591 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2592
2593
2594
2595
2596 am__api_version='1.11'
2597
2598 # Find a good install program.  We prefer a C program (faster),
2599 # so one script is as good as another.  But avoid the broken or
2600 # incompatible versions:
2601 # SysV /etc/install, /usr/sbin/install
2602 # SunOS /usr/etc/install
2603 # IRIX /sbin/install
2604 # AIX /bin/install
2605 # AmigaOS /C/install, which installs bootblocks on floppy discs
2606 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2609 # OS/2's system install, which has a completely different semantic
2610 # ./install, which can be erroneously created by make from ./install.sh.
2611 # Reject install programs that cannot install multiple files.
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2613 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2614 if test -z "$INSTALL"; then
2615 if ${ac_cv_path_install+:} false; then :
2616   $as_echo_n "(cached) " >&6
2617 else
2618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623     # Account for people who put trailing slashes in PATH elements.
2624 case $as_dir/ in #((
2625   ./ | .// | /[cC]/* | \
2626   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2627   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2628   /usr/ucb/* ) ;;
2629   *)
2630     # OSF1 and SCO ODT 3.0 have their own names for install.
2631     # Don't use installbsd from OSF since it installs stuff as root
2632     # by default.
2633     for ac_prog in ginstall scoinst install; do
2634       for ac_exec_ext in '' $ac_executable_extensions; do
2635         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2636           if test $ac_prog = install &&
2637             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2638             # AIX install.  It has an incompatible calling convention.
2639             :
2640           elif test $ac_prog = install &&
2641             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2642             # program-specific install script used by HP pwplus--don't use.
2643             :
2644           else
2645             rm -rf conftest.one conftest.two conftest.dir
2646             echo one > conftest.one
2647             echo two > conftest.two
2648             mkdir conftest.dir
2649             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2650               test -s conftest.one && test -s conftest.two &&
2651               test -s conftest.dir/conftest.one &&
2652               test -s conftest.dir/conftest.two
2653             then
2654               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2655               break 3
2656             fi
2657           fi
2658         fi
2659       done
2660     done
2661     ;;
2662 esac
2663
2664   done
2665 IFS=$as_save_IFS
2666
2667 rm -rf conftest.one conftest.two conftest.dir
2668
2669 fi
2670   if test "${ac_cv_path_install+set}" = set; then
2671     INSTALL=$ac_cv_path_install
2672   else
2673     # As a last resort, use the slow shell script.  Don't cache a
2674     # value for INSTALL within a source directory, because that will
2675     # break other packages using the cache if that directory is
2676     # removed, or if the value is a relative name.
2677     INSTALL=$ac_install_sh
2678   fi
2679 fi
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2681 $as_echo "$INSTALL" >&6; }
2682
2683 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2684 # It thinks the first close brace ends the variable substitution.
2685 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2686
2687 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2688
2689 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2690
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2692 $as_echo_n "checking whether build environment is sane... " >&6; }
2693 # Just in case
2694 sleep 1
2695 echo timestamp > conftest.file
2696 # Reject unsafe characters in $srcdir or the absolute working directory
2697 # name.  Accept space and tab only in the latter.
2698 am_lf='
2699 '
2700 case `pwd` in
2701   *[\\\"\#\$\&\'\`$am_lf]*)
2702     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2703 esac
2704 case $srcdir in
2705   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2706     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2707 esac
2708
2709 # Do `set' in a subshell so we don't clobber the current shell's
2710 # arguments.  Must try -L first in case configure is actually a
2711 # symlink; some systems play weird games with the mod time of symlinks
2712 # (eg FreeBSD returns the mod time of the symlink's containing
2713 # directory).
2714 if (
2715    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2716    if test "$*" = "X"; then
2717       # -L didn't work.
2718       set X `ls -t "$srcdir/configure" conftest.file`
2719    fi
2720    rm -f conftest.file
2721    if test "$*" != "X $srcdir/configure conftest.file" \
2722       && test "$*" != "X conftest.file $srcdir/configure"; then
2723
2724       # If neither matched, then we have a broken ls.  This can happen
2725       # if, for instance, CONFIG_SHELL is bash and it inherits a
2726       # broken ls alias from the environment.  This has actually
2727       # happened.  Such a system could not be considered "sane".
2728       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2729 alias in your environment" "$LINENO" 5
2730    fi
2731
2732    test "$2" = conftest.file
2733    )
2734 then
2735    # Ok.
2736    :
2737 else
2738    as_fn_error $? "newly created file is older than distributed files!
2739 Check your system clock" "$LINENO" 5
2740 fi
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2742 $as_echo "yes" >&6; }
2743 test "$program_prefix" != NONE &&
2744   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2745 # Use a double $ so make ignores it.
2746 test "$program_suffix" != NONE &&
2747   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2748 # Double any \ or $.
2749 # By default was `s,x,x', remove it if useless.
2750 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2751 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2752
2753 # expand $ac_aux_dir to an absolute path
2754 am_aux_dir=`cd $ac_aux_dir && pwd`
2755
2756 if test x"${MISSING+set}" != xset; then
2757   case $am_aux_dir in
2758   *\ * | *\     *)
2759     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2760   *)
2761     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2762   esac
2763 fi
2764 # Use eval to expand $SHELL
2765 if eval "$MISSING --run true"; then
2766   am_missing_run="$MISSING --run "
2767 else
2768   am_missing_run=
2769   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2770 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2771 fi
2772
2773 if test x"${install_sh}" != xset; then
2774   case $am_aux_dir in
2775   *\ * | *\     *)
2776     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2777   *)
2778     install_sh="\${SHELL} $am_aux_dir/install-sh"
2779   esac
2780 fi
2781
2782 # Installed binaries are usually stripped using `strip' when the user
2783 # run `make install-strip'.  However `strip' might not be the right
2784 # tool to use in cross-compilation environments, therefore Automake
2785 # will honor the `STRIP' environment variable to overrule this program.
2786 if test "$cross_compiling" != no; then
2787   if test -n "$ac_tool_prefix"; then
2788   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2789 set dummy ${ac_tool_prefix}strip; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_STRIP+:} false; then :
2793   $as_echo_n "(cached) " >&6
2794 else
2795   if test -n "$STRIP"; then
2796   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2797 else
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 for as_dir in $PATH
2800 do
2801   IFS=$as_save_IFS
2802   test -z "$as_dir" && as_dir=.
2803     for ac_exec_ext in '' $ac_executable_extensions; do
2804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807     break 2
2808   fi
2809 done
2810   done
2811 IFS=$as_save_IFS
2812
2813 fi
2814 fi
2815 STRIP=$ac_cv_prog_STRIP
2816 if test -n "$STRIP"; then
2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2818 $as_echo "$STRIP" >&6; }
2819 else
2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2822 fi
2823
2824
2825 fi
2826 if test -z "$ac_cv_prog_STRIP"; then
2827   ac_ct_STRIP=$STRIP
2828   # Extract the first word of "strip", so it can be a program name with args.
2829 set dummy strip; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2833   $as_echo_n "(cached) " >&6
2834 else
2835   if test -n "$ac_ct_STRIP"; then
2836   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2837 else
2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839 for as_dir in $PATH
2840 do
2841   IFS=$as_save_IFS
2842   test -z "$as_dir" && as_dir=.
2843     for ac_exec_ext in '' $ac_executable_extensions; do
2844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845     ac_cv_prog_ac_ct_STRIP="strip"
2846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847     break 2
2848   fi
2849 done
2850   done
2851 IFS=$as_save_IFS
2852
2853 fi
2854 fi
2855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2856 if test -n "$ac_ct_STRIP"; then
2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2858 $as_echo "$ac_ct_STRIP" >&6; }
2859 else
2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2862 fi
2863
2864   if test "x$ac_ct_STRIP" = x; then
2865     STRIP=":"
2866   else
2867     case $cross_compiling:$ac_tool_warned in
2868 yes:)
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2872 esac
2873     STRIP=$ac_ct_STRIP
2874   fi
2875 else
2876   STRIP="$ac_cv_prog_STRIP"
2877 fi
2878
2879 fi
2880 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2881
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2883 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2884 if test -z "$MKDIR_P"; then
2885   if ${ac_cv_path_mkdir+:} false; then :
2886   $as_echo_n "(cached) " >&6
2887 else
2888   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2890 do
2891   IFS=$as_save_IFS
2892   test -z "$as_dir" && as_dir=.
2893     for ac_prog in mkdir gmkdir; do
2894          for ac_exec_ext in '' $ac_executable_extensions; do
2895            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2896            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2897              'mkdir (GNU coreutils) '* | \
2898              'mkdir (coreutils) '* | \
2899              'mkdir (fileutils) '4.1*)
2900                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2901                break 3;;
2902            esac
2903          done
2904        done
2905   done
2906 IFS=$as_save_IFS
2907
2908 fi
2909
2910   test -d ./--version && rmdir ./--version
2911   if test "${ac_cv_path_mkdir+set}" = set; then
2912     MKDIR_P="$ac_cv_path_mkdir -p"
2913   else
2914     # As a last resort, use the slow shell script.  Don't cache a
2915     # value for MKDIR_P within a source directory, because that will
2916     # break other packages using the cache if that directory is
2917     # removed, or if the value is a relative name.
2918     MKDIR_P="$ac_install_sh -d"
2919   fi
2920 fi
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2922 $as_echo "$MKDIR_P" >&6; }
2923
2924 mkdir_p="$MKDIR_P"
2925 case $mkdir_p in
2926   [\\/$]* | ?:[\\/]*) ;;
2927   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2928 esac
2929
2930 for ac_prog in gawk mawk nawk awk
2931 do
2932   # Extract the first word of "$ac_prog", so it can be a program name with args.
2933 set dummy $ac_prog; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_AWK+:} false; then :
2937   $as_echo_n "(cached) " >&6
2938 else
2939   if test -n "$AWK"; then
2940   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2941 else
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 for as_dir in $PATH
2944 do
2945   IFS=$as_save_IFS
2946   test -z "$as_dir" && as_dir=.
2947     for ac_exec_ext in '' $ac_executable_extensions; do
2948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949     ac_cv_prog_AWK="$ac_prog"
2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951     break 2
2952   fi
2953 done
2954   done
2955 IFS=$as_save_IFS
2956
2957 fi
2958 fi
2959 AWK=$ac_cv_prog_AWK
2960 if test -n "$AWK"; then
2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2962 $as_echo "$AWK" >&6; }
2963 else
2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2966 fi
2967
2968
2969   test -n "$AWK" && break
2970 done
2971
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2973 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2974 set x ${MAKE-make}
2975 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2976 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2977   $as_echo_n "(cached) " >&6
2978 else
2979   cat >conftest.make <<\_ACEOF
2980 SHELL = /bin/sh
2981 all:
2982         @echo '@@@%%%=$(MAKE)=@@@%%%'
2983 _ACEOF
2984 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2985 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2986   *@@@%%%=?*=@@@%%%*)
2987     eval ac_cv_prog_make_${ac_make}_set=yes;;
2988   *)
2989     eval ac_cv_prog_make_${ac_make}_set=no;;
2990 esac
2991 rm -f conftest.make
2992 fi
2993 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2995 $as_echo "yes" >&6; }
2996   SET_MAKE=
2997 else
2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000   SET_MAKE="MAKE=${MAKE-make}"
3001 fi
3002
3003 rm -rf .tst 2>/dev/null
3004 mkdir .tst 2>/dev/null
3005 if test -d .tst; then
3006   am__leading_dot=.
3007 else
3008   am__leading_dot=_
3009 fi
3010 rmdir .tst 2>/dev/null
3011
3012 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3013   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3014   # is not polluted with repeated "-I."
3015   am__isrc=' -I$(srcdir)'
3016   # test to see if srcdir already configured
3017   if test -f $srcdir/config.status; then
3018     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3019   fi
3020 fi
3021
3022 # test whether we have cygpath
3023 if test -z "$CYGPATH_W"; then
3024   if (cygpath --version) >/dev/null 2>/dev/null; then
3025     CYGPATH_W='cygpath -w'
3026   else
3027     CYGPATH_W=echo
3028   fi
3029 fi
3030
3031
3032 # Define the identity of the package.
3033  PACKAGE='clutter'
3034  VERSION='1.10.0'
3035
3036
3037 # Some tools Automake needs.
3038
3039 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3040
3041
3042 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3043
3044
3045 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3046
3047
3048 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3049
3050
3051 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3052
3053 # We need awk for the "check" target.  The system "awk" is bad on
3054 # some platforms.
3055 # Always define AMTAR for backward compatibility.
3056
3057 AMTAR=${AMTAR-"${am_missing_run}tar"}
3058
3059
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3061 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3062 # Loop over all known methods to create a tar archive until one works.
3063 _am_tools='gnutar plaintar pax cpio none'
3064 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3065 # Do not fold the above two line into one, because Tru64 sh and
3066 # Solaris sh will not grok spaces in the rhs of `-'.
3067 for _am_tool in $_am_tools
3068 do
3069   case $_am_tool in
3070   gnutar)
3071     for _am_tar in tar gnutar gtar;
3072     do
3073       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3074    ($_am_tar --version) >&5 2>&5
3075    ac_status=$?
3076    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077    (exit $ac_status); } && break
3078     done
3079     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3080     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3081     am__untar="$_am_tar -xf -"
3082     ;;
3083   plaintar)
3084     # Must skip GNU tar: if it does not support --format= it doesn't create
3085     # ustar tarball either.
3086     (tar --version) >/dev/null 2>&1 && continue
3087     am__tar='tar chf - "$$tardir"'
3088     am__tar_='tar chf - "$tardir"'
3089     am__untar='tar xf -'
3090     ;;
3091   pax)
3092     am__tar='pax -L -x ustar -w "$$tardir"'
3093     am__tar_='pax -L -x ustar -w "$tardir"'
3094     am__untar='pax -r'
3095     ;;
3096   cpio)
3097     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3098     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3099     am__untar='cpio -i -H ustar -d'
3100     ;;
3101   none)
3102     am__tar=false
3103     am__tar_=false
3104     am__untar=false
3105     ;;
3106   esac
3107
3108   # If the value was cached, stop now.  We just wanted to have am__tar
3109   # and am__untar set.
3110   test -n "${am_cv_prog_tar_ustar}" && break
3111
3112   # tar/untar a dummy directory, and stop if the command works
3113   rm -rf conftest.dir
3114   mkdir conftest.dir
3115   echo GrepMe > conftest.dir/file
3116   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3117    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3118    ac_status=$?
3119    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120    (exit $ac_status); }
3121   rm -rf conftest.dir
3122   if test -s conftest.tar; then
3123     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3124    ($am__untar <conftest.tar) >&5 2>&5
3125    ac_status=$?
3126    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127    (exit $ac_status); }
3128     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3129   fi
3130 done
3131 rm -rf conftest.dir
3132
3133 if ${am_cv_prog_tar_ustar+:} false; then :
3134   $as_echo_n "(cached) " >&6
3135 else
3136   am_cv_prog_tar_ustar=$_am_tool
3137 fi
3138
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3140 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3141
3142
3143
3144
3145
3146 # Check whether --enable-silent-rules was given.
3147 if test "${enable_silent_rules+set}" = set; then :
3148   enableval=$enable_silent_rules;
3149 fi
3150
3151 case $enable_silent_rules in
3152 yes) AM_DEFAULT_VERBOSITY=0;;
3153 no)  AM_DEFAULT_VERBOSITY=1;;
3154 *)   AM_DEFAULT_VERBOSITY=0;;
3155 esac
3156 AM_BACKSLASH='\'
3157
3158
3159 CLUTTER_MAJOR_VERSION=1
3160
3161 CLUTTER_MINOR_VERSION=10
3162
3163 CLUTTER_MICRO_VERSION=0
3164
3165 CLUTTER_VERSION=1.10.0
3166
3167 CLUTTER_API_VERSION=1.0
3168
3169 CLUTTER_API_VERSION_AM=$CLUTTER_MAJOR_VERSION\_0
3170
3171 CLUTTER_RELEASE_STATUS=release
3172
3173
3174
3175
3176
3177 CLUTTER_LT_CURRENT=1000
3178 CLUTTER_LT_REV=0
3179 CLUTTER_LT_AGE=1000
3180 CLUTTER_LT_VERSION="$CLUTTER_LT_CURRENT:$CLUTTER_LT_REV:$CLUTTER_LT_AGE"
3181 CLUTTER_LT_LDFLAGS="-version-info $CLUTTER_LT_VERSION"
3182 CLUTTER_LT_CURRENT=1000
3183
3184 CLUTTER_LT_REVISION=0
3185
3186 CLUTTER_LT_VERSION=$CLUTTER_LT_VERSION
3187
3188
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3190 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3191 if ${ac_cv_path_SED+:} false; then :
3192   $as_echo_n "(cached) " >&6
3193 else
3194             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3195      for ac_i in 1 2 3 4 5 6 7; do
3196        ac_script="$ac_script$as_nl$ac_script"
3197      done
3198      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3199      { ac_script=; unset ac_script;}
3200      if test -z "$SED"; then
3201   ac_path_SED_found=false
3202   # Loop through the user's path and test for each of PROGNAME-LIST
3203   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3205 do
3206   IFS=$as_save_IFS
3207   test -z "$as_dir" && as_dir=.
3208     for ac_prog in sed gsed; do
3209     for ac_exec_ext in '' $ac_executable_extensions; do
3210       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3211       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3212 # Check for GNU ac_path_SED and select it if it is found.
3213   # Check for GNU $ac_path_SED
3214 case `"$ac_path_SED" --version 2>&1` in
3215 *GNU*)
3216   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3217 *)
3218   ac_count=0
3219   $as_echo_n 0123456789 >"conftest.in"
3220   while :
3221   do
3222     cat "conftest.in" "conftest.in" >"conftest.tmp"
3223     mv "conftest.tmp" "conftest.in"
3224     cp "conftest.in" "conftest.nl"
3225     $as_echo '' >> "conftest.nl"
3226     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3227     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3228     as_fn_arith $ac_count + 1 && ac_count=$as_val
3229     if test $ac_count -gt ${ac_path_SED_max-0}; then
3230       # Best one so far, save it but keep looking for a better one
3231       ac_cv_path_SED="$ac_path_SED"
3232       ac_path_SED_max=$ac_count
3233     fi
3234     # 10*(2^10) chars as input seems more than enough
3235     test $ac_count -gt 10 && break
3236   done
3237   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3238 esac
3239
3240       $ac_path_SED_found && break 3
3241     done
3242   done
3243   done
3244 IFS=$as_save_IFS
3245   if test -z "$ac_cv_path_SED"; then
3246     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3247   fi
3248 else
3249   ac_cv_path_SED=$SED
3250 fi
3251
3252 fi
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3254 $as_echo "$ac_cv_path_SED" >&6; }
3255  SED="$ac_cv_path_SED"
3256   rm -f conftest.sed
3257
3258
3259
3260 # Make sure we can run config.sub.
3261 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3262   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3263
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3265 $as_echo_n "checking build system type... " >&6; }
3266 if ${ac_cv_build+:} false; then :
3267   $as_echo_n "(cached) " >&6
3268 else
3269   ac_build_alias=$build_alias
3270 test "x$ac_build_alias" = x &&
3271   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3272 test "x$ac_build_alias" = x &&
3273   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3274 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3275   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3276
3277 fi
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3279 $as_echo "$ac_cv_build" >&6; }
3280 case $ac_cv_build in
3281 *-*-*) ;;
3282 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3283 esac
3284 build=$ac_cv_build
3285 ac_save_IFS=$IFS; IFS='-'
3286 set x $ac_cv_build
3287 shift
3288 build_cpu=$1
3289 build_vendor=$2
3290 shift; shift
3291 # Remember, the first character of IFS is used to create $*,
3292 # except with old shells:
3293 build_os=$*
3294 IFS=$ac_save_IFS
3295 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3296
3297
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3299 $as_echo_n "checking host system type... " >&6; }
3300 if ${ac_cv_host+:} false; then :
3301   $as_echo_n "(cached) " >&6
3302 else
3303   if test "x$host_alias" = x; then
3304   ac_cv_host=$ac_cv_build
3305 else
3306   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3307     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3308 fi
3309
3310 fi
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3312 $as_echo "$ac_cv_host" >&6; }
3313 case $ac_cv_host in
3314 *-*-*) ;;
3315 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3316 esac
3317 host=$ac_cv_host
3318 ac_save_IFS=$IFS; IFS='-'
3319 set x $ac_cv_host
3320 shift
3321 host_cpu=$1
3322 host_vendor=$2
3323 shift; shift
3324 # Remember, the first character of IFS is used to create $*,
3325 # except with old shells:
3326 host_os=$*
3327 IFS=$ac_save_IFS
3328 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3329
3330
3331
3332 platform_win32=no
3333 platform_quartz=no
3334 platform_linux=no
3335
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for some Win32 platform" >&5
3337 $as_echo_n "checking if building for some Win32 platform... " >&6; }
3338 case $host in #(
3339   *-*-mingw*|*-*-cygwin*) :
3340
3341           CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined"
3342           platform_win32=yes
3343          ;; #(
3344   *-*-linux*) :
3345
3346           platform_linux=yes
3347          ;; #(
3348   *) :
3349
3350  ;;
3351 esac
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
3353 $as_echo "$platform_win32" >&6; }
3354
3355  if test "$platform_win32" = "yes"; then
3356   OS_WIN32_TRUE=
3357   OS_WIN32_FALSE='#'
3358 else
3359   OS_WIN32_TRUE='#'
3360   OS_WIN32_FALSE=
3361 fi
3362
3363
3364 DEPDIR="${am__leading_dot}deps"
3365
3366 ac_config_commands="$ac_config_commands depfiles"
3367
3368
3369 am_make=${MAKE-make}
3370 cat > confinc << 'END'
3371 am__doit:
3372         @echo this is the am__doit target
3373 .PHONY: am__doit
3374 END
3375 # If we don't find an include directive, just comment out the code.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3378 am__include="#"
3379 am__quote=
3380 _am_result=none
3381 # First try GNU make style include.
3382 echo "include confinc" > confmf
3383 # Ignore all kinds of additional output from `make'.
3384 case `$am_make -s -f confmf 2> /dev/null` in #(
3385 *the\ am__doit\ target*)
3386   am__include=include
3387   am__quote=
3388   _am_result=GNU
3389   ;;
3390 esac
3391 # Now try BSD make style include.
3392 if test "$am__include" = "#"; then
3393    echo '.include "confinc"' > confmf
3394    case `$am_make -s -f confmf 2> /dev/null` in #(
3395    *the\ am__doit\ target*)
3396      am__include=.include
3397      am__quote="\""
3398      _am_result=BSD
3399      ;;
3400    esac
3401 fi
3402
3403
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3405 $as_echo "$_am_result" >&6; }
3406 rm -f confinc confmf
3407
3408 # Check whether --enable-dependency-tracking was given.
3409 if test "${enable_dependency_tracking+set}" = set; then :
3410   enableval=$enable_dependency_tracking;
3411 fi
3412
3413 if test "x$enable_dependency_tracking" != xno; then
3414   am_depcomp="$ac_aux_dir/depcomp"
3415   AMDEPBACKSLASH='\'
3416 fi
3417  if test "x$enable_dependency_tracking" != xno; then
3418   AMDEP_TRUE=
3419   AMDEP_FALSE='#'
3420 else
3421   AMDEP_TRUE='#'
3422   AMDEP_FALSE=
3423 fi
3424
3425
3426 ac_ext=c
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3431 if test -n "$ac_tool_prefix"; then
3432   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3433 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_CC+:} false; then :
3437   $as_echo_n "(cached) " >&6
3438 else
3439   if test -n "$CC"; then
3440   ac_cv_prog_CC="$CC" # Let the user override the test.
3441 else
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443 for as_dir in $PATH
3444 do
3445   IFS=$as_save_IFS
3446   test -z "$as_dir" && as_dir=.
3447     for ac_exec_ext in '' $ac_executable_extensions; do
3448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3449     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451     break 2
3452   fi
3453 done
3454   done
3455 IFS=$as_save_IFS
3456
3457 fi
3458 fi
3459 CC=$ac_cv_prog_CC
3460 if test -n "$CC"; then
3461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462 $as_echo "$CC" >&6; }
3463 else
3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3466 fi
3467
3468
3469 fi
3470 if test -z "$ac_cv_prog_CC"; then
3471   ac_ct_CC=$CC
3472   # Extract the first word of "gcc", so it can be a program name with args.
3473 set dummy gcc; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3477   $as_echo_n "(cached) " >&6
3478 else
3479   if test -n "$ac_ct_CC"; then
3480   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3481 else
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3484 do
3485   IFS=$as_save_IFS
3486   test -z "$as_dir" && as_dir=.
3487     for ac_exec_ext in '' $ac_executable_extensions; do
3488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3489     ac_cv_prog_ac_ct_CC="gcc"
3490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491     break 2
3492   fi
3493 done
3494   done
3495 IFS=$as_save_IFS
3496
3497 fi
3498 fi
3499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3502 $as_echo "$ac_ct_CC" >&6; }
3503 else
3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3506 fi
3507
3508   if test "x$ac_ct_CC" = x; then
3509     CC=""
3510   else
3511     case $cross_compiling:$ac_tool_warned in
3512 yes:)
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515 ac_tool_warned=yes ;;
3516 esac
3517     CC=$ac_ct_CC
3518   fi
3519 else
3520   CC="$ac_cv_prog_CC"
3521 fi
3522
3523 if test -z "$CC"; then
3524           if test -n "$ac_tool_prefix"; then
3525     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3526 set dummy ${ac_tool_prefix}cc; ac_word=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_CC+:} false; then :
3530   $as_echo_n "(cached) " >&6
3531 else
3532   if test -n "$CC"; then
3533   ac_cv_prog_CC="$CC" # Let the user override the test.
3534 else
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 for as_dir in $PATH
3537 do
3538   IFS=$as_save_IFS
3539   test -z "$as_dir" && as_dir=.
3540     for ac_exec_ext in '' $ac_executable_extensions; do
3541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3542     ac_cv_prog_CC="${ac_tool_prefix}cc"
3543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3544     break 2
3545   fi
3546 done
3547   done
3548 IFS=$as_save_IFS
3549
3550 fi
3551 fi
3552 CC=$ac_cv_prog_CC
3553 if test -n "$CC"; then
3554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3556 else
3557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 fi
3560
3561
3562   fi
3563 fi
3564 if test -z "$CC"; then
3565   # Extract the first word of "cc", so it can be a program name with args.
3566 set dummy cc; ac_word=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if ${ac_cv_prog_CC+:} false; then :
3570   $as_echo_n "(cached) " >&6
3571 else
3572   if test -n "$CC"; then
3573   ac_cv_prog_CC="$CC" # Let the user override the test.
3574 else
3575   ac_prog_rejected=no
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 for as_dir in $PATH
3578 do
3579   IFS=$as_save_IFS
3580   test -z "$as_dir" && as_dir=.
3581     for ac_exec_ext in '' $ac_executable_extensions; do
3582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3584        ac_prog_rejected=yes
3585        continue
3586      fi
3587     ac_cv_prog_CC="cc"
3588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589     break 2
3590   fi
3591 done
3592   done
3593 IFS=$as_save_IFS
3594
3595 if test $ac_prog_rejected = yes; then
3596   # We found a bogon in the path, so make sure we never use it.
3597   set dummy $ac_cv_prog_CC
3598   shift
3599   if test $# != 0; then
3600     # We chose a different compiler from the bogus one.
3601     # However, it has the same basename, so the bogon will be chosen
3602     # first if we set CC to just the basename; use the full file name.
3603     shift
3604     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3605   fi
3606 fi
3607 fi
3608 fi
3609 CC=$ac_cv_prog_CC
3610 if test -n "$CC"; then
3611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3613 else
3614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3616 fi
3617
3618
3619 fi
3620 if test -z "$CC"; then
3621   if test -n "$ac_tool_prefix"; then
3622   for ac_prog in cl.exe
3623   do
3624     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CC+:} false; then :
3629   $as_echo_n "(cached) " >&6
3630 else
3631   if test -n "$CC"; then
3632   ac_cv_prog_CC="$CC" # Let the user override the test.
3633 else
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH
3636 do
3637   IFS=$as_save_IFS
3638   test -z "$as_dir" && as_dir=.
3639     for ac_exec_ext in '' $ac_executable_extensions; do
3640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643     break 2
3644   fi
3645 done
3646   done
3647 IFS=$as_save_IFS
3648
3649 fi
3650 fi
3651 CC=$ac_cv_prog_CC
3652 if test -n "$CC"; then
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3654 $as_echo "$CC" >&6; }
3655 else
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 fi
3659
3660
3661     test -n "$CC" && break
3662   done
3663 fi
3664 if test -z "$CC"; then
3665   ac_ct_CC=$CC
3666   for ac_prog in cl.exe
3667 do
3668   # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3673   $as_echo_n "(cached) " >&6
3674 else
3675   if test -n "$ac_ct_CC"; then
3676   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3680 do
3681   IFS=$as_save_IFS
3682   test -z "$as_dir" && as_dir=.
3683     for ac_exec_ext in '' $ac_executable_extensions; do
3684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685     ac_cv_prog_ac_ct_CC="$ac_prog"
3686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687     break 2
3688   fi
3689 done
3690   done
3691 IFS=$as_save_IFS
3692
3693 fi
3694 fi
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 $as_echo "$ac_ct_CC" >&6; }
3699 else
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3702 fi
3703
3704
3705   test -n "$ac_ct_CC" && break
3706 done
3707
3708   if test "x$ac_ct_CC" = x; then
3709     CC=""
3710   else
3711     case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717     CC=$ac_ct_CC
3718   fi
3719 fi
3720
3721 fi
3722
3723
3724 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "no acceptable C compiler found in \$PATH
3727 See \`config.log' for more details" "$LINENO" 5; }
3728
3729 # Provide some information about the compiler.
3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3731 set X $ac_compile
3732 ac_compiler=$2
3733 for ac_option in --version -v -V -qversion; do
3734   { { ac_try="$ac_compiler $ac_option >&5"
3735 case "(($ac_try" in
3736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737   *) ac_try_echo=$ac_try;;
3738 esac
3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
3741   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3742   ac_status=$?
3743   if test -s conftest.err; then
3744     sed '10a\
3745 ... rest of stderr output deleted ...
3746          10q' conftest.err >conftest.er1
3747     cat conftest.er1 >&5
3748   fi
3749   rm -f conftest.er1 conftest.err
3750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751   test $ac_status = 0; }
3752 done
3753
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h.  */
3756
3757 int
3758 main ()
3759 {
3760
3761   ;
3762   return 0;
3763 }
3764 _ACEOF
3765 ac_clean_files_save=$ac_clean_files
3766 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3767 # Try to create an executable without -o first, disregard a.out.
3768 # It will help us diagnose broken compilers, and finding out an intuition
3769 # of exeext.
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3771 $as_echo_n "checking whether the C compiler works... " >&6; }
3772 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3773
3774 # The possible output files:
3775 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3776
3777 ac_rmfiles=
3778 for ac_file in $ac_files
3779 do
3780   case $ac_file in
3781     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3782     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3783   esac
3784 done
3785 rm -f $ac_rmfiles
3786
3787 if { { ac_try="$ac_link_default"
3788 case "(($ac_try" in
3789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790   *) ac_try_echo=$ac_try;;
3791 esac
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794   (eval "$ac_link_default") 2>&5
3795   ac_status=$?
3796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797   test $ac_status = 0; }; then :
3798   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3799 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3800 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3801 # so that the user can short-circuit this test for compilers unknown to
3802 # Autoconf.
3803 for ac_file in $ac_files ''
3804 do
3805   test -f "$ac_file" || continue
3806   case $ac_file in
3807     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3808         ;;
3809     [ab].out )
3810         # We found the default executable, but exeext='' is most
3811         # certainly right.
3812         break;;
3813     *.* )
3814         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3815         then :; else
3816            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3817         fi
3818         # We set ac_cv_exeext here because the later test for it is not
3819         # safe: cross compilers may not add the suffix if given an `-o'
3820         # argument, so we may need to know it at that point already.
3821         # Even if this section looks crufty: it has the advantage of
3822         # actually working.
3823         break;;
3824     * )
3825         break;;
3826   esac
3827 done
3828 test "$ac_cv_exeext" = no && ac_cv_exeext=
3829
3830 else
3831   ac_file=''
3832 fi
3833 if test -z "$ac_file"; then :
3834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836 $as_echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3838
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error 77 "C compiler cannot create executables
3842 See \`config.log' for more details" "$LINENO" 5; }
3843 else
3844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3845 $as_echo "yes" >&6; }
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3848 $as_echo_n "checking for C compiler default output file name... " >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
3851 ac_exeext=$ac_cv_exeext
3852
3853 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3854 ac_clean_files=$ac_clean_files_save
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3856 $as_echo_n "checking for suffix of executables... " >&6; }
3857 if { { ac_try="$ac_link"
3858 case "(($ac_try" in
3859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860   *) ac_try_echo=$ac_try;;
3861 esac
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864   (eval "$ac_link") 2>&5
3865   ac_status=$?
3866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867   test $ac_status = 0; }; then :
3868   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3869 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3870 # work properly (i.e., refer to `conftest.exe'), while it won't with
3871 # `rm'.
3872 for ac_file in conftest.exe conftest conftest.*; do
3873   test -f "$ac_file" || continue
3874   case $ac_file in
3875     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3876     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3877           break;;
3878     * ) break;;
3879   esac
3880 done
3881 else
3882   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3885 See \`config.log' for more details" "$LINENO" 5; }
3886 fi
3887 rm -f conftest conftest$ac_cv_exeext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3889 $as_echo "$ac_cv_exeext" >&6; }
3890
3891 rm -f conftest.$ac_ext
3892 EXEEXT=$ac_cv_exeext
3893 ac_exeext=$EXEEXT
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h.  */
3896 #include <stdio.h>
3897 int
3898 main ()
3899 {
3900 FILE *f = fopen ("conftest.out", "w");
3901  return ferror (f) || fclose (f) != 0;
3902
3903   ;
3904   return 0;
3905 }
3906 _ACEOF
3907 ac_clean_files="$ac_clean_files conftest.out"
3908 # Check that the compiler produces executables we can run.  If not, either
3909 # the compiler is broken, or we cross compile.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3911 $as_echo_n "checking whether we are cross compiling... " >&6; }
3912 if test "$cross_compiling" != yes; then
3913   { { ac_try="$ac_link"
3914 case "(($ac_try" in
3915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916   *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920   (eval "$ac_link") 2>&5
3921   ac_status=$?
3922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923   test $ac_status = 0; }
3924   if { ac_try='./conftest$ac_cv_exeext'
3925   { { case "(($ac_try" in
3926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927   *) ac_try_echo=$ac_try;;
3928 esac
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931   (eval "$ac_try") 2>&5
3932   ac_status=$?
3933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934   test $ac_status = 0; }; }; then
3935     cross_compiling=no
3936   else
3937     if test "$cross_compiling" = maybe; then
3938         cross_compiling=yes
3939     else
3940         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942 as_fn_error $? "cannot run C compiled programs.
3943 If you meant to cross compile, use \`--host'.
3944 See \`config.log' for more details" "$LINENO" 5; }
3945     fi
3946   fi
3947 fi
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3949 $as_echo "$cross_compiling" >&6; }
3950
3951 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3952 ac_clean_files=$ac_clean_files_save
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3954 $as_echo_n "checking for suffix of object files... " >&6; }
3955 if ${ac_cv_objext+:} false; then :
3956   $as_echo_n "(cached) " >&6
3957 else
3958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h.  */
3960
3961 int
3962 main ()
3963 {
3964
3965   ;
3966   return 0;
3967 }
3968 _ACEOF
3969 rm -f conftest.o conftest.obj
3970 if { { ac_try="$ac_compile"
3971 case "(($ac_try" in
3972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973   *) ac_try_echo=$ac_try;;
3974 esac
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977   (eval "$ac_compile") 2>&5
3978   ac_status=$?
3979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980   test $ac_status = 0; }; then :
3981   for ac_file in conftest.o conftest.obj conftest.*; do
3982   test -f "$ac_file" || continue;
3983   case $ac_file in
3984     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3985     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3986        break;;
3987   esac
3988 done
3989 else
3990   $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3992
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error $? "cannot compute suffix of object files: cannot compile
3996 See \`config.log' for more details" "$LINENO" 5; }
3997 fi
3998 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3999 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4001 $as_echo "$ac_cv_objext" >&6; }
4002 OBJEXT=$ac_cv_objext
4003 ac_objext=$OBJEXT
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4005 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4006 if ${ac_cv_c_compiler_gnu+:} false; then :
4007   $as_echo_n "(cached) " >&6
4008 else
4009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h.  */
4011
4012 int
4013 main ()
4014 {
4015 #ifndef __GNUC__
4016        choke me
4017 #endif
4018
4019   ;
4020   return 0;
4021 }
4022 _ACEOF
4023 if ac_fn_c_try_compile "$LINENO"; then :
4024   ac_compiler_gnu=yes
4025 else
4026   ac_compiler_gnu=no
4027 fi
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4030
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4033 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4034 if test $ac_compiler_gnu = yes; then
4035   GCC=yes
4036 else
4037   GCC=
4038 fi
4039 ac_test_CFLAGS=${CFLAGS+set}
4040 ac_save_CFLAGS=$CFLAGS
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4042 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4043 if ${ac_cv_prog_cc_g+:} false; then :
4044   $as_echo_n "(cached) " >&6
4045 else
4046   ac_save_c_werror_flag=$ac_c_werror_flag
4047    ac_c_werror_flag=yes
4048    ac_cv_prog_cc_g=no
4049    CFLAGS="-g"
4050    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h.  */
4052
4053 int
4054 main ()
4055 {
4056
4057   ;
4058   return 0;
4059 }
4060 _ACEOF
4061 if ac_fn_c_try_compile "$LINENO"; then :
4062   ac_cv_prog_cc_g=yes
4063 else
4064   CFLAGS=""
4065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h.  */
4067
4068 int
4069 main ()
4070 {
4071
4072   ;
4073   return 0;
4074 }
4075 _ACEOF
4076 if ac_fn_c_try_compile "$LINENO"; then :
4077
4078 else
4079   ac_c_werror_flag=$ac_save_c_werror_flag
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 fi
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4096 fi
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4098 fi
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100    ac_c_werror_flag=$ac_save_c_werror_flag
4101 fi
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4103 $as_echo "$ac_cv_prog_cc_g" >&6; }
4104 if test "$ac_test_CFLAGS" = set; then
4105   CFLAGS=$ac_save_CFLAGS
4106 elif test $ac_cv_prog_cc_g = yes; then
4107   if test "$GCC" = yes; then
4108     CFLAGS="-g -O2"
4109   else
4110     CFLAGS="-g"
4111   fi
4112 else
4113   if test "$GCC" = yes; then
4114     CFLAGS="-O2"
4115   else
4116     CFLAGS=
4117   fi
4118 fi
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4120 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4121 if ${ac_cv_prog_cc_c89+:} false; then :
4122   $as_echo_n "(cached) " >&6
4123 else
4124   ac_cv_prog_cc_c89=no
4125 ac_save_CC=$CC
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h.  */
4128 #include <stdarg.h>
4129 #include <stdio.h>
4130 #include <sys/types.h>
4131 #include <sys/stat.h>
4132 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4133 struct buf { int x; };
4134 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4135 static char *e (p, i)
4136      char **p;
4137      int i;
4138 {
4139   return p[i];
4140 }
4141 static char *f (char * (*g) (char **, int), char **p, ...)
4142 {
4143   char *s;
4144   va_list v;
4145   va_start (v,p);
4146   s = g (p, va_arg (v,int));
4147   va_end (v);
4148   return s;
4149 }
4150
4151 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4152    function prototypes and stuff, but not '\xHH' hex character constants.
4153    These don't provoke an error unfortunately, instead are silently treated
4154    as 'x'.  The following induces an error, until -std is added to get
4155    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4156    array size at least.  It's necessary to write '\x00'==0 to get something
4157    that's true only with -std.  */
4158 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4159
4160 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4161    inside strings and character constants.  */
4162 #define FOO(x) 'x'
4163 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4164
4165 int test (int i, double x);
4166 struct s1 {int (*f) (int a);};
4167 struct s2 {int (*f) (double a);};
4168 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4169 int argc;
4170 char **argv;
4171 int
4172 main ()
4173 {
4174 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4175   ;
4176   return 0;
4177 }
4178 _ACEOF
4179 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4180         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4181 do
4182   CC="$ac_save_CC $ac_arg"
4183   if ac_fn_c_try_compile "$LINENO"; then :
4184   ac_cv_prog_cc_c89=$ac_arg
4185 fi
4186 rm -f core conftest.err conftest.$ac_objext
4187   test "x$ac_cv_prog_cc_c89" != "xno" && break
4188 done
4189 rm -f conftest.$ac_ext
4190 CC=$ac_save_CC
4191
4192 fi
4193 # AC_CACHE_VAL
4194 case "x$ac_cv_prog_cc_c89" in
4195   x)
4196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4197 $as_echo "none needed" >&6; } ;;
4198   xno)
4199     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4200 $as_echo "unsupported" >&6; } ;;
4201   *)
4202     CC="$CC $ac_cv_prog_cc_c89"
4203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4204 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4205 esac
4206 if test "x$ac_cv_prog_cc_c89" != xno; then :
4207
4208 fi
4209
4210 ac_ext=c
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4215
4216 depcc="$CC"   am_compiler_list=
4217
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4219 $as_echo_n "checking dependency style of $depcc... " >&6; }
4220 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4221   $as_echo_n "(cached) " >&6
4222 else
4223   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4224   # We make a subdir and do the tests there.  Otherwise we can end up
4225   # making bogus files that we don't know about and never remove.  For
4226   # instance it was reported that on HP-UX the gcc test will end up
4227   # making a dummy file named `D' -- because `-MD' means `put the output
4228   # in D'.
4229   mkdir conftest.dir
4230   # Copy depcomp to subdir because otherwise we won't find it if we're
4231   # using a relative directory.
4232   cp "$am_depcomp" conftest.dir
4233   cd conftest.dir
4234   # We will build objects and dependencies in a subdirectory because
4235   # it helps to detect inapplicable dependency modes.  For instance
4236   # both Tru64's cc and ICC support -MD to output dependencies as a
4237   # side effect of compilation, but ICC will put the dependencies in
4238   # the current directory while Tru64 will put them in the object
4239   # directory.
4240   mkdir sub
4241
4242   am_cv_CC_dependencies_compiler_type=none
4243   if test "$am_compiler_list" = ""; then
4244      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4245   fi
4246   am__universal=false
4247   case " $depcc " in #(
4248      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4249      esac
4250
4251   for depmode in $am_compiler_list; do
4252     # Setup a source with many dependencies, because some compilers
4253     # like to wrap large dependency lists on column 80 (with \), and
4254     # we should not choose a depcomp mode which is confused by this.
4255     #
4256     # We need to recreate these files for each test, as the compiler may
4257     # overwrite some of them when testing with obscure command lines.
4258     # This happens at least with the AIX C compiler.
4259     : > sub/conftest.c
4260     for i in 1 2 3 4 5 6; do
4261       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4262       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4263       # Solaris 8's {/usr,}/bin/sh.
4264       touch sub/conftst$i.h
4265     done
4266     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4267
4268     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4269     # mode.  It turns out that the SunPro C++ compiler does not properly
4270     # handle `-M -o', and we need to detect this.  Also, some Intel
4271     # versions had trouble with output in subdirs
4272     am__obj=sub/conftest.${OBJEXT-o}
4273     am__minus_obj="-o $am__obj"
4274     case $depmode in
4275     gcc)
4276       # This depmode causes a compiler race in universal mode.
4277       test "$am__universal" = false || continue
4278       ;;
4279     nosideeffect)
4280       # after this tag, mechanisms are not by side-effect, so they'll
4281       # only be used when explicitly requested
4282       if test "x$enable_dependency_tracking" = xyes; then
4283         continue
4284       else
4285         break
4286       fi
4287       ;;
4288     msvisualcpp | msvcmsys)
4289       # This compiler won't grok `-c -o', but also, the minuso test has
4290       # not run yet.  These depmodes are late enough in the game, and
4291       # so weak that their functioning should not be impacted.
4292       am__obj=conftest.${OBJEXT-o}
4293       am__minus_obj=
4294       ;;
4295     none) break ;;
4296     esac
4297     if depmode=$depmode \
4298        source=sub/conftest.c object=$am__obj \
4299        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4300        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4301          >/dev/null 2>conftest.err &&
4302        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4303        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4304        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4305        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4306       # icc doesn't choke on unknown options, it will just issue warnings
4307       # or remarks (even with -Werror).  So we grep stderr for any message
4308       # that says an option was ignored or not supported.
4309       # When given -MP, icc 7.0 and 7.1 complain thusly:
4310       #   icc: Command line warning: ignoring option '-M'; no argument required
4311       # The diagnosis changed in icc 8.0:
4312       #   icc: Command line remark: option '-MP' not supported
4313       if (grep 'ignoring option' conftest.err ||
4314           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4315         am_cv_CC_dependencies_compiler_type=$depmode
4316         break
4317       fi
4318     fi
4319   done
4320
4321   cd ..
4322   rm -rf conftest.dir
4323 else
4324   am_cv_CC_dependencies_compiler_type=none
4325 fi
4326
4327 fi
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4329 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4330 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4331
4332  if
4333   test "x$enable_dependency_tracking" != xno \
4334   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4335   am__fastdepCC_TRUE=
4336   am__fastdepCC_FALSE='#'
4337 else
4338   am__fastdepCC_TRUE='#'
4339   am__fastdepCC_FALSE=
4340 fi
4341
4342
4343
4344 ac_ext=c
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4350 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4351 # On Suns, sometimes $CPP names a directory.
4352 if test -n "$CPP" && test -d "$CPP"; then
4353   CPP=
4354 fi
4355 if test -z "$CPP"; then
4356   if ${ac_cv_prog_CPP+:} false; then :
4357   $as_echo_n "(cached) " >&6
4358 else
4359       # Double quotes because CPP needs to be expanded
4360     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4361     do
4362       ac_preproc_ok=false
4363 for ac_c_preproc_warn_flag in '' yes
4364 do
4365   # Use a header file that comes with gcc, so configuring glibc
4366   # with a fresh cross-compiler works.
4367   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4368   # <limits.h> exists even on freestanding compilers.
4369   # On the NeXT, cc -E runs the code through the compiler's parser,
4370   # not just through cpp. "Syntax error" is here to catch this case.
4371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h.  */
4373 #ifdef __STDC__
4374 # include <limits.h>
4375 #else
4376 # include <assert.h>
4377 #endif
4378                      Syntax error
4379 _ACEOF
4380 if ac_fn_c_try_cpp "$LINENO"; then :
4381
4382 else
4383   # Broken: fails on valid input.
4384 continue
4385 fi
4386 rm -f conftest.err conftest.i conftest.$ac_ext
4387
4388   # OK, works on sane cases.  Now check whether nonexistent headers
4389   # can be detected and how.
4390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h.  */
4392 #include <ac_nonexistent.h>
4393 _ACEOF
4394 if ac_fn_c_try_cpp "$LINENO"; then :
4395   # Broken: success on invalid input.
4396 continue
4397 else
4398   # Passes both tests.
4399 ac_preproc_ok=:
4400 break
4401 fi
4402 rm -f conftest.err conftest.i conftest.$ac_ext
4403
4404 done
4405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4406 rm -f conftest.i conftest.err conftest.$ac_ext
4407 if $ac_preproc_ok; then :
4408   break
4409 fi
4410
4411     done
4412     ac_cv_prog_CPP=$CPP
4413
4414 fi
4415   CPP=$ac_cv_prog_CPP
4416 else
4417   ac_cv_prog_CPP=$CPP
4418 fi
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4420 $as_echo "$CPP" >&6; }
4421 ac_preproc_ok=false
4422 for ac_c_preproc_warn_flag in '' yes
4423 do
4424   # Use a header file that comes with gcc, so configuring glibc
4425   # with a fresh cross-compiler works.
4426   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4427   # <limits.h> exists even on freestanding compilers.
4428   # On the NeXT, cc -E runs the code through the compiler's parser,
4429   # not just through cpp. "Syntax error" is here to catch this case.
4430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h.  */
4432 #ifdef __STDC__
4433 # include <limits.h>
4434 #else
4435 # include <assert.h>
4436 #endif
4437                      Syntax error
4438 _ACEOF
4439 if ac_fn_c_try_cpp "$LINENO"; then :
4440
4441 else
4442   # Broken: fails on valid input.
4443 continue
4444 fi
4445 rm -f conftest.err conftest.i conftest.$ac_ext
4446
4447   # OK, works on sane cases.  Now check whether nonexistent headers
4448   # can be detected and how.
4449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h.  */
4451 #include <ac_nonexistent.h>
4452 _ACEOF
4453 if ac_fn_c_try_cpp "$LINENO"; then :
4454   # Broken: success on invalid input.
4455 continue
4456 else
4457   # Passes both tests.
4458 ac_preproc_ok=:
4459 break
4460 fi
4461 rm -f conftest.err conftest.i conftest.$ac_ext
4462
4463 done
4464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4465 rm -f conftest.i conftest.err conftest.$ac_ext
4466 if $ac_preproc_ok; then :
4467
4468 else
4469   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4472 See \`config.log' for more details" "$LINENO" 5; }
4473 fi
4474
4475 ac_ext=c
4476 ac_cpp='$CPP $CPPFLAGS'
4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480
4481
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4483 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4484 if ${ac_cv_path_GREP+:} false; then :
4485   $as_echo_n "(cached) " >&6
4486 else
4487   if test -z "$GREP"; then
4488   ac_path_GREP_found=false
4489   # Loop through the user's path and test for each of PROGNAME-LIST
4490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4492 do
4493   IFS=$as_save_IFS
4494   test -z "$as_dir" && as_dir=.
4495     for ac_prog in grep ggrep; do
4496     for ac_exec_ext in '' $ac_executable_extensions; do
4497       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4498       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4499 # Check for GNU ac_path_GREP and select it if it is found.
4500   # Check for GNU $ac_path_GREP
4501 case `"$ac_path_GREP" --version 2>&1` in
4502 *GNU*)
4503   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4504 *)
4505   ac_count=0
4506   $as_echo_n 0123456789 >"conftest.in"
4507   while :
4508   do
4509     cat "conftest.in" "conftest.in" >"conftest.tmp"
4510     mv "conftest.tmp" "conftest.in"
4511     cp "conftest.in" "conftest.nl"
4512     $as_echo 'GREP' >> "conftest.nl"
4513     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4514     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4515     as_fn_arith $ac_count + 1 && ac_count=$as_val
4516     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4517       # Best one so far, save it but keep looking for a better one
4518       ac_cv_path_GREP="$ac_path_GREP"
4519       ac_path_GREP_max=$ac_count
4520     fi
4521     # 10*(2^10) chars as input seems more than enough
4522     test $ac_count -gt 10 && break
4523   done
4524   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525 esac
4526
4527       $ac_path_GREP_found && break 3
4528     done
4529   done
4530   done
4531 IFS=$as_save_IFS
4532   if test -z "$ac_cv_path_GREP"; then
4533     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4534   fi
4535 else
4536   ac_cv_path_GREP=$GREP
4537 fi
4538
4539 fi
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4541 $as_echo "$ac_cv_path_GREP" >&6; }
4542  GREP="$ac_cv_path_GREP"
4543
4544
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4546 $as_echo_n "checking for egrep... " >&6; }
4547 if ${ac_cv_path_EGREP+:} false; then :
4548   $as_echo_n "(cached) " >&6
4549 else
4550   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4551    then ac_cv_path_EGREP="$GREP -E"
4552    else
4553      if test -z "$EGREP"; then
4554   ac_path_EGREP_found=false
4555   # Loop through the user's path and test for each of PROGNAME-LIST
4556   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4558 do
4559   IFS=$as_save_IFS
4560   test -z "$as_dir" && as_dir=.
4561     for ac_prog in egrep; do
4562     for ac_exec_ext in '' $ac_executable_extensions; do
4563       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4564       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4565 # Check for GNU ac_path_EGREP and select it if it is found.
4566   # Check for GNU $ac_path_EGREP
4567 case `"$ac_path_EGREP" --version 2>&1` in
4568 *GNU*)
4569   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4570 *)
4571   ac_count=0
4572   $as_echo_n 0123456789 >"conftest.in"
4573   while :
4574   do
4575     cat "conftest.in" "conftest.in" >"conftest.tmp"
4576     mv "conftest.tmp" "conftest.in"
4577     cp "conftest.in" "conftest.nl"
4578     $as_echo 'EGREP' >> "conftest.nl"
4579     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581     as_fn_arith $ac_count + 1 && ac_count=$as_val
4582     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4583       # Best one so far, save it but keep looking for a better one
4584       ac_cv_path_EGREP="$ac_path_EGREP"
4585       ac_path_EGREP_max=$ac_count
4586     fi
4587     # 10*(2^10) chars as input seems more than enough
4588     test $ac_count -gt 10 && break
4589   done
4590   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4591 esac
4592
4593       $ac_path_EGREP_found && break 3
4594     done
4595   done
4596   done
4597 IFS=$as_save_IFS
4598   if test -z "$ac_cv_path_EGREP"; then
4599     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4600   fi
4601 else
4602   ac_cv_path_EGREP=$EGREP
4603 fi
4604
4605    fi
4606 fi
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4608 $as_echo "$ac_cv_path_EGREP" >&6; }
4609  EGREP="$ac_cv_path_EGREP"
4610
4611
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4613 $as_echo_n "checking for ANSI C header files... " >&6; }
4614 if ${ac_cv_header_stdc+:} false; then :
4615   $as_echo_n "(cached) " >&6
4616 else
4617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h.  */
4619 #include <stdlib.h>
4620 #include <stdarg.h>
4621 #include <string.h>
4622 #include <float.h>
4623
4624 int
4625 main ()
4626 {
4627
4628   ;
4629   return 0;
4630 }
4631 _ACEOF
4632 if ac_fn_c_try_compile "$LINENO"; then :
4633   ac_cv_header_stdc=yes
4634 else
4635   ac_cv_header_stdc=no
4636 fi
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638
4639 if test $ac_cv_header_stdc = yes; then
4640   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h.  */
4643 #include <string.h>
4644
4645 _ACEOF
4646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4647   $EGREP "memchr" >/dev/null 2>&1; then :
4648
4649 else
4650   ac_cv_header_stdc=no
4651 fi
4652 rm -f conftest*
4653
4654 fi
4655
4656 if test $ac_cv_header_stdc = yes; then
4657   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h.  */
4660 #include <stdlib.h>
4661
4662 _ACEOF
4663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4664   $EGREP "free" >/dev/null 2>&1; then :
4665
4666 else
4667   ac_cv_header_stdc=no
4668 fi
4669 rm -f conftest*
4670
4671 fi
4672
4673 if test $ac_cv_header_stdc = yes; then
4674   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4675   if test "$cross_compiling" = yes; then :
4676   :
4677 else
4678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h.  */
4680 #include <ctype.h>
4681 #include <stdlib.h>
4682 #if ((' ' & 0x0FF) == 0x020)
4683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4685 #else
4686 # define ISLOWER(c) \
4687                    (('a' <= (c) && (c) <= 'i') \
4688                      || ('j' <= (c) && (c) <= 'r') \
4689                      || ('s' <= (c) && (c) <= 'z'))
4690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4691 #endif
4692
4693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4694 int
4695 main ()
4696 {
4697   int i;
4698   for (i = 0; i < 256; i++)
4699     if (XOR (islower (i), ISLOWER (i))
4700         || toupper (i) != TOUPPER (i))
4701       return 2;
4702   return 0;
4703 }
4704 _ACEOF
4705 if ac_fn_c_try_run "$LINENO"; then :
4706
4707 else
4708   ac_cv_header_stdc=no
4709 fi
4710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4711   conftest.$ac_objext conftest.beam conftest.$ac_ext
4712 fi
4713
4714 fi
4715 fi
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4717 $as_echo "$ac_cv_header_stdc" >&6; }
4718 if test $ac_cv_header_stdc = yes; then
4719
4720 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4721
4722 fi
4723
4724 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4725 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4726                   inttypes.h stdint.h unistd.h
4727 do :
4728   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4730 "
4731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4732   cat >>confdefs.h <<_ACEOF
4733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4734 _ACEOF
4735
4736 fi
4737
4738 done
4739
4740
4741 ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
4742 if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
4743   platform_quartz=yes
4744 else
4745   platform_quartz=no
4746 fi
4747
4748
4749  if test "$platform_quartz" = "yes"; then
4750   OS_QUARTZ_TRUE=
4751   OS_QUARTZ_FALSE='#'
4752 else
4753   OS_QUARTZ_TRUE='#'
4754   OS_QUARTZ_FALSE=
4755 fi
4756
4757
4758 ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
4759 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
4760   platform_glx=yes
4761 else
4762   platform_glx=no
4763 fi
4764
4765
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
4767 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
4768 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
4769   $as_echo_n "(cached) " >&6
4770 else
4771   ac_check_lib_save_LIBS=$LIBS
4772 LIBS="-lGL  $LIBS"
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h.  */
4775
4776 /* Override any GCC internal prototype to avoid an error.
4777    Use char because int might match the return type of a GCC
4778    builtin and then its argument prototype would still apply.  */
4779 #ifdef __cplusplus
4780 extern "C"
4781 #endif
4782 char glXCreateContext ();
4783 int
4784 main ()
4785 {
4786 return glXCreateContext ();
4787   ;
4788   return 0;
4789 }
4790 _ACEOF
4791 if ac_fn_c_try_link "$LINENO"; then :
4792   ac_cv_lib_GL_glXCreateContext=yes
4793 else
4794   ac_cv_lib_GL_glXCreateContext=no
4795 fi
4796 rm -f core conftest.err conftest.$ac_objext \
4797     conftest$ac_exeext conftest.$ac_ext
4798 LIBS=$ac_check_lib_save_LIBS
4799 fi
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
4801 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
4802 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
4803   platform_glx=yes
4804 else
4805   platform_glx=no
4806 fi
4807
4808  if test "$platform_glx" = "yes"; then
4809   OS_GLX_TRUE=
4810   OS_GLX_FALSE='#'
4811 else
4812   OS_GLX_TRUE='#'
4813   OS_GLX_FALSE=
4814 fi
4815
4816  if test "$platform_linux" = "yes"; then
4817   OS_LINUX_TRUE=
4818   OS_LINUX_FALSE='#'
4819 else
4820   OS_LINUX_TRUE='#'
4821   OS_LINUX_FALSE=
4822 fi
4823
4824
4825
4826
4827 cat >confcache <<\_ACEOF
4828 # This file is a shell script that caches the results of configure
4829 # tests run on this system so they can be shared between configure
4830 # scripts and configure runs, see configure's option --config-cache.
4831 # It is not useful on other systems.  If it contains results you don't
4832 # want to keep, you may remove or edit it.
4833 #
4834 # config.status only pays attention to the cache file if you give it
4835 # the --recheck option to rerun configure.
4836 #
4837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4839 # following values.
4840
4841 _ACEOF
4842
4843 # The following way of writing the cache mishandles newlines in values,
4844 # but we know of no workaround that is simple, portable, and efficient.
4845 # So, we kill variables containing newlines.
4846 # Ultrix sh set writes to stderr and can't be redirected directly,
4847 # and sets the high bit in the cache file unless we assign to the vars.
4848 (
4849   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4850     eval ac_val=\$$ac_var
4851     case $ac_val in #(
4852     *${as_nl}*)
4853       case $ac_var in #(
4854       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4856       esac
4857       case $ac_var in #(
4858       _ | IFS | as_nl) ;; #(
4859       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4860       *) { eval $ac_var=; unset $ac_var;} ;;
4861       esac ;;
4862     esac
4863   done
4864
4865   (set) 2>&1 |
4866     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4867     *${as_nl}ac_space=\ *)
4868       # `set' does not quote correctly, so add quotes: double-quote
4869       # substitution turns \\\\ into \\, and sed turns \\ into \.
4870       sed -n \
4871         "s/'/'\\\\''/g;
4872           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4873       ;; #(
4874     *)
4875       # `set' quotes correctly as required by POSIX, so do not add quotes.
4876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4877       ;;
4878     esac |
4879     sort
4880 ) |
4881   sed '
4882      /^ac_cv_env_/b end
4883      t clear
4884      :clear
4885      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4886      t end
4887      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4888      :end' >>confcache
4889 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4890   if test -w "$cache_file"; then
4891     if test "x$cache_file" != "x/dev/null"; then
4892       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4893 $as_echo "$as_me: updating cache $cache_file" >&6;}
4894       if test ! -f "$cache_file" || test -h "$cache_file"; then
4895         cat confcache >"$cache_file"
4896       else
4897         case $cache_file in #(
4898         */* | ?:*)
4899           mv -f confcache "$cache_file"$$ &&
4900           mv -f "$cache_file"$$ "$cache_file" ;; #(
4901         *)
4902           mv -f confcache "$cache_file" ;;
4903         esac
4904       fi
4905     fi
4906   else
4907     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4908 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4909   fi
4910 fi
4911 rm -f confcache
4912
4913
4914 # Checks for programs.
4915 if test "x$CC" != xcc; then
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4917 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4918 else
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4920 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4921 fi
4922 set dummy $CC; ac_cc=`$as_echo "$2" |
4923                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4924 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4925   $as_echo_n "(cached) " >&6
4926 else
4927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h.  */
4929
4930 int
4931 main ()
4932 {
4933
4934   ;
4935   return 0;
4936 }
4937 _ACEOF
4938 # Make sure it works both with $CC and with simple cc.
4939 # We do the test twice because some compilers refuse to overwrite an
4940 # existing .o file with -o, though they will create one.
4941 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4942 rm -f conftest2.*
4943 if { { case "(($ac_try" in
4944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4945   *) ac_try_echo=$ac_try;;
4946 esac
4947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4948 $as_echo "$ac_try_echo"; } >&5
4949   (eval "$ac_try") 2>&5
4950   ac_status=$?
4951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4952   test $ac_status = 0; } &&
4953    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955   *) ac_try_echo=$ac_try;;
4956 esac
4957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4958 $as_echo "$ac_try_echo"; } >&5
4959   (eval "$ac_try") 2>&5
4960   ac_status=$?
4961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4962   test $ac_status = 0; };
4963 then
4964   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4965   if test "x$CC" != xcc; then
4966     # Test first that cc exists at all.
4967     if { ac_try='cc -c conftest.$ac_ext >&5'
4968   { { case "(($ac_try" in
4969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970   *) ac_try_echo=$ac_try;;
4971 esac
4972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4973 $as_echo "$ac_try_echo"; } >&5
4974   (eval "$ac_try") 2>&5
4975   ac_status=$?
4976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4977   test $ac_status = 0; }; }; then
4978       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4979       rm -f conftest2.*
4980       if { { case "(($ac_try" in
4981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982   *) ac_try_echo=$ac_try;;
4983 esac
4984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4985 $as_echo "$ac_try_echo"; } >&5
4986   (eval "$ac_try") 2>&5
4987   ac_status=$?
4988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4989   test $ac_status = 0; } &&
4990          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992   *) ac_try_echo=$ac_try;;
4993 esac
4994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4995 $as_echo "$ac_try_echo"; } >&5
4996   (eval "$ac_try") 2>&5
4997   ac_status=$?
4998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4999   test $ac_status = 0; };
5000       then
5001         # cc works too.
5002         :
5003       else
5004         # cc exists but doesn't like -o.
5005         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5006       fi
5007     fi
5008   fi
5009 else
5010   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5011 fi
5012 rm -f core conftest*
5013
5014 fi
5015 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5017 $as_echo "yes" >&6; }
5018 else
5019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5021
5022 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5023
5024 fi
5025
5026 # FIXME: we rely on the cache variable name because
5027 # there is no other way.
5028 set dummy $CC
5029 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5030 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5031 if test "$am_t" != yes; then
5032    # Losing compiler, so override with the script.
5033    # FIXME: It is wrong to rewrite CC.
5034    # But if we don't then we get into trouble of one sort or another.
5035    # A longer-term fix would be to have automake use am__CC in this case,
5036    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5037    CC="$am_aux_dir/compile $CC"
5038 fi
5039
5040
5041
5042 # require libtool >= 2.2
5043
5044 case `pwd` in
5045   *\ * | *\     *)
5046     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5047 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5048 esac
5049
5050
5051
5052 macro_version='2.4'
5053 macro_revision='1.3293'
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067 ltmain="$ac_aux_dir/ltmain.sh"
5068
5069 # Backslashify metacharacters that are still active within
5070 # double-quoted strings.
5071 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5072
5073 # Same as above, but do not quote variable references.
5074 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5075
5076 # Sed substitution to delay expansion of an escaped shell variable in a
5077 # double_quote_subst'ed string.
5078 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5079
5080 # Sed substitution to delay expansion of an escaped single quote.
5081 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5082
5083 # Sed substitution to avoid accidental globbing in evaled expressions
5084 no_glob_subst='s/\*/\\\*/g'
5085
5086 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5087 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5088 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5089
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5091 $as_echo_n "checking how to print strings... " >&6; }
5092 # Test print first, because it will be a builtin if present.
5093 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5094    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5095   ECHO='print -r --'
5096 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5097   ECHO='printf %s\n'
5098 else
5099   # Use this function as a fallback that always works.
5100   func_fallback_echo ()
5101   {
5102     eval 'cat <<_LTECHO_EOF
5103 $1
5104 _LTECHO_EOF'
5105   }
5106   ECHO='func_fallback_echo'
5107 fi
5108
5109 # func_echo_all arg...
5110 # Invoke $ECHO with all args, space-separated.
5111 func_echo_all ()
5112 {
5113     $ECHO ""
5114 }
5115
5116 case "$ECHO" in
5117   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5118 $as_echo "printf" >&6; } ;;
5119   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5120 $as_echo "print -r" >&6; } ;;
5121   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5122 $as_echo "cat" >&6; } ;;
5123 esac
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5139 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5140 if ${ac_cv_path_SED+:} false; then :
5141   $as_echo_n "(cached) " >&6
5142 else
5143             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5144      for ac_i in 1 2 3 4 5 6 7; do
5145        ac_script="$ac_script$as_nl$ac_script"
5146      done
5147      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5148      { ac_script=; unset ac_script;}
5149      if test -z "$SED"; then
5150   ac_path_SED_found=false
5151   # Loop through the user's path and test for each of PROGNAME-LIST
5152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5154 do
5155   IFS=$as_save_IFS
5156   test -z "$as_dir" && as_dir=.
5157     for ac_prog in sed gsed; do
5158     for ac_exec_ext in '' $ac_executable_extensions; do
5159       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5160       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5161 # Check for GNU ac_path_SED and select it if it is found.
5162   # Check for GNU $ac_path_SED
5163 case `"$ac_path_SED" --version 2>&1` in
5164 *GNU*)
5165   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5166 *)
5167   ac_count=0
5168   $as_echo_n 0123456789 >"conftest.in"
5169   while :
5170   do
5171     cat "conftest.in" "conftest.in" >"conftest.tmp"
5172     mv "conftest.tmp" "conftest.in"
5173     cp "conftest.in" "conftest.nl"
5174     $as_echo '' >> "conftest.nl"
5175     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5176     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5177     as_fn_arith $ac_count + 1 && ac_count=$as_val
5178     if test $ac_count -gt ${ac_path_SED_max-0}; then
5179       # Best one so far, save it but keep looking for a better one
5180       ac_cv_path_SED="$ac_path_SED"
5181       ac_path_SED_max=$ac_count
5182     fi
5183     # 10*(2^10) chars as input seems more than enough
5184     test $ac_count -gt 10 && break
5185   done
5186   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5187 esac
5188
5189       $ac_path_SED_found && break 3
5190     done
5191   done
5192   done
5193 IFS=$as_save_IFS
5194   if test -z "$ac_cv_path_SED"; then
5195     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5196   fi
5197 else
5198   ac_cv_path_SED=$SED
5199 fi
5200
5201 fi
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5203 $as_echo "$ac_cv_path_SED" >&6; }
5204  SED="$ac_cv_path_SED"
5205   rm -f conftest.sed
5206
5207 test -z "$SED" && SED=sed
5208 Xsed="$SED -e 1s/^X//"
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5221 $as_echo_n "checking for fgrep... " >&6; }
5222 if ${ac_cv_path_FGREP+:} false; then :
5223   $as_echo_n "(cached) " >&6
5224 else
5225   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5226    then ac_cv_path_FGREP="$GREP -F"
5227    else
5228      if test -z "$FGREP"; then
5229   ac_path_FGREP_found=false
5230   # Loop through the user's path and test for each of PROGNAME-LIST
5231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5233 do
5234   IFS=$as_save_IFS
5235   test -z "$as_dir" && as_dir=.
5236     for ac_prog in fgrep; do
5237     for ac_exec_ext in '' $ac_executable_extensions; do
5238       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5239       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5240 # Check for GNU ac_path_FGREP and select it if it is found.
5241   # Check for GNU $ac_path_FGREP
5242 case `"$ac_path_FGREP" --version 2>&1` in
5243 *GNU*)
5244   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5245 *)
5246   ac_count=0
5247   $as_echo_n 0123456789 >"conftest.in"
5248   while :
5249   do
5250     cat "conftest.in" "conftest.in" >"conftest.tmp"
5251     mv "conftest.tmp" "conftest.in"
5252     cp "conftest.in" "conftest.nl"
5253     $as_echo 'FGREP' >> "conftest.nl"
5254     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5256     as_fn_arith $ac_count + 1 && ac_count=$as_val
5257     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5258       # Best one so far, save it but keep looking for a better one
5259       ac_cv_path_FGREP="$ac_path_FGREP"
5260       ac_path_FGREP_max=$ac_count
5261     fi
5262     # 10*(2^10) chars as input seems more than enough
5263     test $ac_count -gt 10 && break
5264   done
5265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5266 esac
5267
5268       $ac_path_FGREP_found && break 3
5269     done
5270   done
5271   done
5272 IFS=$as_save_IFS
5273   if test -z "$ac_cv_path_FGREP"; then
5274     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5275   fi
5276 else
5277   ac_cv_path_FGREP=$FGREP
5278 fi
5279
5280    fi
5281 fi
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5283 $as_echo "$ac_cv_path_FGREP" >&6; }
5284  FGREP="$ac_cv_path_FGREP"
5285
5286
5287 test -z "$GREP" && GREP=grep
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307 # Check whether --with-gnu-ld was given.
5308 if test "${with_gnu_ld+set}" = set; then :
5309   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5310 else
5311   with_gnu_ld=no
5312 fi
5313
5314 ac_prog=ld
5315 if test "$GCC" = yes; then
5316   # Check if gcc -print-prog-name=ld gives a path.
5317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5318 $as_echo_n "checking for ld used by $CC... " >&6; }
5319   case $host in
5320   *-*-mingw*)
5321     # gcc leaves a trailing carriage return which upsets mingw
5322     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5323   *)
5324     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5325   esac
5326   case $ac_prog in
5327     # Accept absolute paths.
5328     [\\/]* | ?:[\\/]*)
5329       re_direlt='/[^/][^/]*/\.\./'
5330       # Canonicalize the pathname of ld
5331       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5332       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5333         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5334       done
5335       test -z "$LD" && LD="$ac_prog"
5336       ;;
5337   "")
5338     # If it fails, then pretend we aren't using GCC.
5339     ac_prog=ld
5340     ;;
5341   *)
5342     # If it is relative, then search for the first ld in PATH.
5343     with_gnu_ld=unknown
5344     ;;
5345   esac
5346 elif test "$with_gnu_ld" = yes; then
5347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5348 $as_echo_n "checking for GNU ld... " >&6; }
5349 else
5350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5351 $as_echo_n "checking for non-GNU ld... " >&6; }
5352 fi
5353 if ${lt_cv_path_LD+:} false; then :
5354   $as_echo_n "(cached) " >&6
5355 else
5356   if test -z "$LD"; then
5357   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5358   for ac_dir in $PATH; do
5359     IFS="$lt_save_ifs"
5360     test -z "$ac_dir" && ac_dir=.
5361     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5362       lt_cv_path_LD="$ac_dir/$ac_prog"
5363       # Check to see if the program is GNU ld.  I'd rather use --version,
5364       # but apparently some variants of GNU ld only accept -v.
5365       # Break only if it was the GNU/non-GNU ld that we prefer.
5366       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5367       *GNU* | *'with BFD'*)
5368         test "$with_gnu_ld" != no && break
5369         ;;
5370       *)
5371         test "$with_gnu_ld" != yes && break
5372         ;;
5373       esac
5374     fi
5375   done
5376   IFS="$lt_save_ifs"
5377 else
5378   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5379 fi
5380 fi
5381
5382 LD="$lt_cv_path_LD"
5383 if test -n "$LD"; then
5384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5385 $as_echo "$LD" >&6; }
5386 else
5387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5389 fi
5390 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5392 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5393 if ${lt_cv_prog_gnu_ld+:} false; then :
5394   $as_echo_n "(cached) " >&6
5395 else
5396   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5397 case `$LD -v 2>&1 </dev/null` in
5398 *GNU* | *'with BFD'*)
5399   lt_cv_prog_gnu_ld=yes
5400   ;;
5401 *)
5402   lt_cv_prog_gnu_ld=no
5403   ;;
5404 esac
5405 fi
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5407 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5408 with_gnu_ld=$lt_cv_prog_gnu_ld
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5419 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5420 if ${lt_cv_path_NM+:} false; then :
5421   $as_echo_n "(cached) " >&6
5422 else
5423   if test -n "$NM"; then
5424   # Let the user override the test.
5425   lt_cv_path_NM="$NM"
5426 else
5427   lt_nm_to_check="${ac_tool_prefix}nm"
5428   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5429     lt_nm_to_check="$lt_nm_to_check nm"
5430   fi
5431   for lt_tmp_nm in $lt_nm_to_check; do
5432     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5433     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5434       IFS="$lt_save_ifs"
5435       test -z "$ac_dir" && ac_dir=.
5436       tmp_nm="$ac_dir/$lt_tmp_nm"
5437       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5438         # Check to see if the nm accepts a BSD-compat flag.
5439         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5440         #   nm: unknown option "B" ignored
5441         # Tru64's nm complains that /dev/null is an invalid object file
5442         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5443         */dev/null* | *'Invalid file or object type'*)
5444           lt_cv_path_NM="$tmp_nm -B"
5445           break
5446           ;;
5447         *)
5448           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5449           */dev/null*)
5450             lt_cv_path_NM="$tmp_nm -p"
5451             break
5452             ;;
5453           *)
5454             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5455             continue # so that we can try to find one that supports BSD flags
5456             ;;
5457           esac
5458           ;;
5459         esac
5460       fi
5461     done
5462     IFS="$lt_save_ifs"
5463   done
5464   : ${lt_cv_path_NM=no}
5465 fi
5466 fi
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5468 $as_echo "$lt_cv_path_NM" >&6; }
5469 if test "$lt_cv_path_NM" != "no"; then
5470   NM="$lt_cv_path_NM"
5471 else
5472   # Didn't find any BSD compatible name lister, look for dumpbin.
5473   if test -n "$DUMPBIN"; then :
5474     # Let the user override the test.
5475   else
5476     if test -n "$ac_tool_prefix"; then
5477   for ac_prog in dumpbin "link -dump"
5478   do
5479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_DUMPBIN+:} false; then :
5484   $as_echo_n "(cached) " >&6
5485 else
5486   if test -n "$DUMPBIN"; then
5487   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5488 else
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 for as_dir in $PATH
5491 do
5492   IFS=$as_save_IFS
5493   test -z "$as_dir" && as_dir=.
5494     for ac_exec_ext in '' $ac_executable_extensions; do
5495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5496     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498     break 2
5499   fi
5500 done
5501   done
5502 IFS=$as_save_IFS
5503
5504 fi
5505 fi
5506 DUMPBIN=$ac_cv_prog_DUMPBIN
5507 if test -n "$DUMPBIN"; then
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5509 $as_echo "$DUMPBIN" >&6; }
5510 else
5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5513 fi
5514
5515
5516     test -n "$DUMPBIN" && break
5517   done
5518 fi
5519 if test -z "$DUMPBIN"; then
5520   ac_ct_DUMPBIN=$DUMPBIN
5521   for ac_prog in dumpbin "link -dump"
5522 do
5523   # Extract the first word of "$ac_prog", so it can be a program name with args.
5524 set dummy $ac_prog; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5528   $as_echo_n "(cached) " >&6
5529 else
5530   if test -n "$ac_ct_DUMPBIN"; then
5531   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5535 do
5536   IFS=$as_save_IFS
5537   test -z "$as_dir" && as_dir=.
5538     for ac_exec_ext in '' $ac_executable_extensions; do
5539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542     break 2
5543   fi
5544 done
5545   done
5546 IFS=$as_save_IFS
5547
5548 fi
5549 fi
5550 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5551 if test -n "$ac_ct_DUMPBIN"; then
5552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5553 $as_echo "$ac_ct_DUMPBIN" >&6; }
5554 else
5555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5557 fi
5558
5559
5560   test -n "$ac_ct_DUMPBIN" && break
5561 done
5562
5563   if test "x$ac_ct_DUMPBIN" = x; then
5564     DUMPBIN=":"
5565   else
5566     case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5570 ac_tool_warned=yes ;;
5571 esac
5572     DUMPBIN=$ac_ct_DUMPBIN
5573   fi
5574 fi
5575
5576     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5577     *COFF*)
5578       DUMPBIN="$DUMPBIN -symbols"
5579       ;;
5580     *)
5581       DUMPBIN=:
5582       ;;
5583     esac
5584   fi
5585
5586   if test "$DUMPBIN" != ":"; then
5587     NM="$DUMPBIN"
5588   fi
5589 fi
5590 test -z "$NM" && NM=nm
5591
5592
5593
5594
5595
5596
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5598 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5599 if ${lt_cv_nm_interface+:} false; then :
5600   $as_echo_n "(cached) " >&6
5601 else
5602   lt_cv_nm_interface="BSD nm"
5603   echo "int some_variable = 0;" > conftest.$ac_ext
5604   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5605   (eval "$ac_compile" 2>conftest.err)
5606   cat conftest.err >&5
5607   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5608   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5609   cat conftest.err >&5
5610   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5611   cat conftest.out >&5
5612   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5613     lt_cv_nm_interface="MS dumpbin"
5614   fi
5615   rm -f conftest*
5616 fi
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5618 $as_echo "$lt_cv_nm_interface" >&6; }
5619
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5621 $as_echo_n "checking whether ln -s works... " >&6; }
5622 LN_S=$as_ln_s
5623 if test "$LN_S" = "ln -s"; then
5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5625 $as_echo "yes" >&6; }
5626 else
5627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5628 $as_echo "no, using $LN_S" >&6; }
5629 fi
5630
5631 # find the maximum length of command line arguments
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5633 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5634 if ${lt_cv_sys_max_cmd_len+:} false; then :
5635   $as_echo_n "(cached) " >&6
5636 else
5637     i=0
5638   teststring="ABCD"
5639
5640   case $build_os in
5641   msdosdjgpp*)
5642     # On DJGPP, this test can blow up pretty badly due to problems in libc
5643     # (any single argument exceeding 2000 bytes causes a buffer overrun
5644     # during glob expansion).  Even if it were fixed, the result of this
5645     # check would be larger than it should be.
5646     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5647     ;;
5648
5649   gnu*)
5650     # Under GNU Hurd, this test is not required because there is
5651     # no limit to the length of command line arguments.
5652     # Libtool will interpret -1 as no limit whatsoever
5653     lt_cv_sys_max_cmd_len=-1;
5654     ;;
5655
5656   cygwin* | mingw* | cegcc*)
5657     # On Win9x/ME, this test blows up -- it succeeds, but takes
5658     # about 5 minutes as the teststring grows exponentially.
5659     # Worse, since 9x/ME are not pre-emptively multitasking,
5660     # you end up with a "frozen" computer, even though with patience
5661     # the test eventually succeeds (with a max line length of 256k).
5662     # Instead, let's just punt: use the minimum linelength reported by
5663     # all of the supported platforms: 8192 (on NT/2K/XP).
5664     lt_cv_sys_max_cmd_len=8192;
5665     ;;
5666
5667   mint*)
5668     # On MiNT this can take a long time and run out of memory.
5669     lt_cv_sys_max_cmd_len=8192;
5670     ;;
5671
5672   amigaos*)
5673     # On AmigaOS with pdksh, this test takes hours, literally.
5674     # So we just punt and use a minimum line length of 8192.
5675     lt_cv_sys_max_cmd_len=8192;
5676     ;;
5677
5678   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5679     # This has been around since 386BSD, at least.  Likely further.
5680     if test -x /sbin/sysctl; then
5681       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5682     elif test -x /usr/sbin/sysctl; then
5683       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5684     else
5685       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5686     fi
5687     # And add a safety zone
5688     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5690     ;;
5691
5692   interix*)
5693     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5694     lt_cv_sys_max_cmd_len=196608
5695     ;;
5696
5697   osf*)
5698     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5699     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5700     # nice to cause kernel panics so lets avoid the loop below.
5701     # First set a reasonable default.
5702     lt_cv_sys_max_cmd_len=16384
5703     #
5704     if test -x /sbin/sysconfig; then
5705       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5706         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5707       esac
5708     fi
5709     ;;
5710   sco3.2v5*)
5711     lt_cv_sys_max_cmd_len=102400
5712     ;;
5713   sysv5* | sco5v6* | sysv4.2uw2*)
5714     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5715     if test -n "$kargmax"; then
5716       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5717     else
5718       lt_cv_sys_max_cmd_len=32768
5719     fi
5720     ;;
5721   *)
5722     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5723     if test -n "$lt_cv_sys_max_cmd_len"; then
5724       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5725       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5726     else
5727       # Make teststring a little bigger before we do anything with it.
5728       # a 1K string should be a reasonable start.
5729       for i in 1 2 3 4 5 6 7 8 ; do
5730         teststring=$teststring$teststring
5731       done
5732       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5733       # If test is not a shell built-in, we'll probably end up computing a
5734       # maximum length that is only half of the actual maximum length, but
5735       # we can't tell.
5736       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5737                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5738               test $i != 17 # 1/2 MB should be enough
5739       do
5740         i=`expr $i + 1`
5741         teststring=$teststring$teststring
5742       done
5743       # Only check the string length outside the loop.
5744       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5745       teststring=
5746       # Add a significant safety factor because C++ compilers can tack on
5747       # massive amounts of additional arguments before passing them to the
5748       # linker.  It appears as though 1/2 is a usable value.
5749       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5750     fi
5751     ;;
5752   esac
5753
5754 fi
5755
5756 if test -n $lt_cv_sys_max_cmd_len ; then
5757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5758 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5759 else
5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5761 $as_echo "none" >&6; }
5762 fi
5763 max_cmd_len=$lt_cv_sys_max_cmd_len
5764
5765
5766
5767
5768
5769
5770 : ${CP="cp -f"}
5771 : ${MV="mv -f"}
5772 : ${RM="rm -f"}
5773
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5775 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5776 # Try some XSI features
5777 xsi_shell=no
5778 ( _lt_dummy="a/b/c"
5779   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5780       = c,a/b,b/c, \
5781     && eval 'test $(( 1 + 1 )) -eq 2 \
5782     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5783   && xsi_shell=yes
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5785 $as_echo "$xsi_shell" >&6; }
5786
5787
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5789 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5790 lt_shell_append=no
5791 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5792     >/dev/null 2>&1 \
5793   && lt_shell_append=yes
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5795 $as_echo "$lt_shell_append" >&6; }
5796
5797
5798 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5799   lt_unset=unset
5800 else
5801   lt_unset=false
5802 fi
5803
5804
5805
5806
5807
5808 # test EBCDIC or ASCII
5809 case `echo X|tr X '\101'` in
5810  A) # ASCII based system
5811     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5812   lt_SP2NL='tr \040 \012'
5813   lt_NL2SP='tr \015\012 \040\040'
5814   ;;
5815  *) # EBCDIC based system
5816   lt_SP2NL='tr \100 \n'
5817   lt_NL2SP='tr \r\n \100\100'
5818   ;;
5819 esac
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5830 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5831 if ${lt_cv_to_host_file_cmd+:} false; then :
5832   $as_echo_n "(cached) " >&6
5833 else
5834   case $host in
5835   *-*-mingw* )
5836     case $build in
5837       *-*-mingw* ) # actually msys
5838         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5839         ;;
5840       *-*-cygwin* )
5841         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5842         ;;
5843       * ) # otherwise, assume *nix
5844         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5845         ;;
5846     esac
5847     ;;
5848   *-*-cygwin* )
5849     case $build in
5850       *-*-mingw* ) # actually msys
5851         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5852         ;;
5853       *-*-cygwin* )
5854         lt_cv_to_host_file_cmd=func_convert_file_noop
5855         ;;
5856       * ) # otherwise, assume *nix
5857         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5858         ;;
5859     esac
5860     ;;
5861   * ) # unhandled hosts (and "normal" native builds)
5862     lt_cv_to_host_file_cmd=func_convert_file_noop
5863     ;;
5864 esac
5865
5866 fi
5867
5868 to_host_file_cmd=$lt_cv_to_host_file_cmd
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5870 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5871
5872
5873
5874
5875
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5877 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5878 if ${lt_cv_to_tool_file_cmd+:} false; then :
5879   $as_echo_n "(cached) " >&6
5880 else
5881   #assume ordinary cross tools, or native build.
5882 lt_cv_to_tool_file_cmd=func_convert_file_noop
5883 case $host in
5884   *-*-mingw* )
5885     case $build in
5886       *-*-mingw* ) # actually msys
5887         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5888         ;;
5889     esac
5890     ;;
5891 esac
5892
5893 fi
5894
5895 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5897 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5898
5899
5900
5901
5902
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5904 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5905 if ${lt_cv_ld_reload_flag+:} false; then :
5906   $as_echo_n "(cached) " >&6
5907 else
5908   lt_cv_ld_reload_flag='-r'
5909 fi
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5911 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5912 reload_flag=$lt_cv_ld_reload_flag
5913 case $reload_flag in
5914 "" | " "*) ;;
5915 *) reload_flag=" $reload_flag" ;;
5916 esac
5917 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5918 case $host_os in
5919   cygwin* | mingw* | pw32* | cegcc*)
5920     if test "$GCC" != yes; then
5921       reload_cmds=false
5922     fi
5923     ;;
5924   darwin*)
5925     if test "$GCC" = yes; then
5926       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5927     else
5928       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5929     fi
5930     ;;
5931 esac
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941 if test -n "$ac_tool_prefix"; then
5942   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5943 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_OBJDUMP+:} false; then :
5947   $as_echo_n "(cached) " >&6
5948 else
5949   if test -n "$OBJDUMP"; then
5950   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5951 else
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH
5954 do
5955   IFS=$as_save_IFS
5956   test -z "$as_dir" && as_dir=.
5957     for ac_exec_ext in '' $ac_executable_extensions; do
5958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961     break 2
5962   fi
5963 done
5964   done
5965 IFS=$as_save_IFS
5966
5967 fi
5968 fi
5969 OBJDUMP=$ac_cv_prog_OBJDUMP
5970 if test -n "$OBJDUMP"; then
5971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5972 $as_echo "$OBJDUMP" >&6; }
5973 else
5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5976 fi
5977
5978
5979 fi
5980 if test -z "$ac_cv_prog_OBJDUMP"; then
5981   ac_ct_OBJDUMP=$OBJDUMP
5982   # Extract the first word of "objdump", so it can be a program name with args.
5983 set dummy objdump; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5987   $as_echo_n "(cached) " >&6
5988 else
5989   if test -n "$ac_ct_OBJDUMP"; then
5990   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5994 do
5995   IFS=$as_save_IFS
5996   test -z "$as_dir" && as_dir=.
5997     for ac_exec_ext in '' $ac_executable_extensions; do
5998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5999     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001     break 2
6002   fi
6003 done
6004   done
6005 IFS=$as_save_IFS
6006
6007 fi
6008 fi
6009 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6010 if test -n "$ac_ct_OBJDUMP"; then
6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6012 $as_echo "$ac_ct_OBJDUMP" >&6; }
6013 else
6014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6016 fi
6017
6018   if test "x$ac_ct_OBJDUMP" = x; then
6019     OBJDUMP="false"
6020   else
6021     case $cross_compiling:$ac_tool_warned in
6022 yes:)
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6025 ac_tool_warned=yes ;;
6026 esac
6027     OBJDUMP=$ac_ct_OBJDUMP
6028   fi
6029 else
6030   OBJDUMP="$ac_cv_prog_OBJDUMP"
6031 fi
6032
6033 test -z "$OBJDUMP" && OBJDUMP=objdump
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6044 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6045 if ${lt_cv_deplibs_check_method+:} false; then :
6046   $as_echo_n "(cached) " >&6
6047 else
6048   lt_cv_file_magic_cmd='$MAGIC_CMD'
6049 lt_cv_file_magic_test_file=
6050 lt_cv_deplibs_check_method='unknown'
6051 # Need to set the preceding variable on all platforms that support
6052 # interlibrary dependencies.
6053 # 'none' -- dependencies not supported.
6054 # `unknown' -- same as none, but documents that we really don't know.
6055 # 'pass_all' -- all dependencies passed with no checks.
6056 # 'test_compile' -- check by making test program.
6057 # 'file_magic [[regex]]' -- check by looking for files in library path
6058 # which responds to the $file_magic_cmd with a given extended regex.
6059 # If you have `file' or equivalent on your system and you're not sure
6060 # whether `pass_all' will *always* work, you probably want this one.
6061
6062 case $host_os in
6063 aix[4-9]*)
6064   lt_cv_deplibs_check_method=pass_all
6065   ;;
6066
6067 beos*)
6068   lt_cv_deplibs_check_method=pass_all
6069   ;;
6070
6071 bsdi[45]*)
6072   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6073   lt_cv_file_magic_cmd='/usr/bin/file -L'
6074   lt_cv_file_magic_test_file=/shlib/libc.so
6075   ;;
6076
6077 cygwin*)
6078   # func_win32_libid is a shell function defined in ltmain.sh
6079   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6080   lt_cv_file_magic_cmd='func_win32_libid'
6081   ;;
6082
6083 mingw* | pw32*)
6084   # Base MSYS/MinGW do not provide the 'file' command needed by
6085   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6086   # unless we find 'file', for example because we are cross-compiling.
6087   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6088   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6089     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6090     lt_cv_file_magic_cmd='func_win32_libid'
6091   else
6092     # Keep this pattern in sync with the one in func_win32_libid.
6093     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6094     lt_cv_file_magic_cmd='$OBJDUMP -f'
6095   fi
6096   ;;
6097
6098 cegcc*)
6099   # use the weaker test based on 'objdump'. See mingw*.
6100   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6101   lt_cv_file_magic_cmd='$OBJDUMP -f'
6102   ;;
6103
6104 darwin* | rhapsody*)
6105   lt_cv_deplibs_check_method=pass_all
6106   ;;
6107
6108 freebsd* | dragonfly*)
6109   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6110     case $host_cpu in
6111     i*86 )
6112       # Not sure whether the presence of OpenBSD here was a mistake.
6113       # Let's accept both of them until this is cleared up.
6114       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6115       lt_cv_file_magic_cmd=/usr/bin/file
6116       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6117       ;;
6118     esac
6119   else
6120     lt_cv_deplibs_check_method=pass_all
6121   fi
6122   ;;
6123
6124 gnu*)
6125   lt_cv_deplibs_check_method=pass_all
6126   ;;
6127
6128 haiku*)
6129   lt_cv_deplibs_check_method=pass_all
6130   ;;
6131
6132 hpux10.20* | hpux11*)
6133   lt_cv_file_magic_cmd=/usr/bin/file
6134   case $host_cpu in
6135   ia64*)
6136     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6137     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6138     ;;
6139   hppa*64*)
6140     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]'
6141     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6142     ;;
6143   *)
6144     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6145     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6146     ;;
6147   esac
6148   ;;
6149
6150 interix[3-9]*)
6151   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6152   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6153   ;;
6154
6155 irix5* | irix6* | nonstopux*)
6156   case $LD in
6157   *-32|*"-32 ") libmagic=32-bit;;
6158   *-n32|*"-n32 ") libmagic=N32;;
6159   *-64|*"-64 ") libmagic=64-bit;;
6160   *) libmagic=never-match;;
6161   esac
6162   lt_cv_deplibs_check_method=pass_all
6163   ;;
6164
6165 # This must be Linux ELF.
6166 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6167   lt_cv_deplibs_check_method=pass_all
6168   ;;
6169
6170 netbsd*)
6171   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6172     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6173   else
6174     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6175   fi
6176   ;;
6177
6178 newos6*)
6179   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6180   lt_cv_file_magic_cmd=/usr/bin/file
6181   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6182   ;;
6183
6184 *nto* | *qnx*)
6185   lt_cv_deplibs_check_method=pass_all
6186   ;;
6187
6188 openbsd*)
6189   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6190     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6191   else
6192     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6193   fi
6194   ;;
6195
6196 osf3* | osf4* | osf5*)
6197   lt_cv_deplibs_check_method=pass_all
6198   ;;
6199
6200 rdos*)
6201   lt_cv_deplibs_check_method=pass_all
6202   ;;
6203
6204 solaris*)
6205   lt_cv_deplibs_check_method=pass_all
6206   ;;
6207
6208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6209   lt_cv_deplibs_check_method=pass_all
6210   ;;
6211
6212 sysv4 | sysv4.3*)
6213   case $host_vendor in
6214   motorola)
6215     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]'
6216     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6217     ;;
6218   ncr)
6219     lt_cv_deplibs_check_method=pass_all
6220     ;;
6221   sequent)
6222     lt_cv_file_magic_cmd='/bin/file'
6223     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6224     ;;
6225   sni)
6226     lt_cv_file_magic_cmd='/bin/file'
6227     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6228     lt_cv_file_magic_test_file=/lib/libc.so
6229     ;;
6230   siemens)
6231     lt_cv_deplibs_check_method=pass_all
6232     ;;
6233   pc)
6234     lt_cv_deplibs_check_method=pass_all
6235     ;;
6236   esac
6237   ;;
6238
6239 tpf*)
6240   lt_cv_deplibs_check_method=pass_all
6241   ;;
6242 esac
6243
6244 fi
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6246 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6247
6248 file_magic_glob=
6249 want_nocaseglob=no
6250 if test "$build" = "$host"; then
6251   case $host_os in
6252   mingw* | pw32*)
6253     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6254       want_nocaseglob=yes
6255     else
6256       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6257     fi
6258     ;;
6259   esac
6260 fi
6261
6262 file_magic_cmd=$lt_cv_file_magic_cmd
6263 deplibs_check_method=$lt_cv_deplibs_check_method
6264 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287 if test -n "$ac_tool_prefix"; then
6288   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6289 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_prog_DLLTOOL+:} false; then :
6293   $as_echo_n "(cached) " >&6
6294 else
6295   if test -n "$DLLTOOL"; then
6296   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6297 else
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $PATH
6300 do
6301   IFS=$as_save_IFS
6302   test -z "$as_dir" && as_dir=.
6303     for ac_exec_ext in '' $ac_executable_extensions; do
6304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307     break 2
6308   fi
6309 done
6310   done
6311 IFS=$as_save_IFS
6312
6313 fi
6314 fi
6315 DLLTOOL=$ac_cv_prog_DLLTOOL
6316 if test -n "$DLLTOOL"; then
6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6318 $as_echo "$DLLTOOL" >&6; }
6319 else
6320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6322 fi
6323
6324
6325 fi
6326 if test -z "$ac_cv_prog_DLLTOOL"; then
6327   ac_ct_DLLTOOL=$DLLTOOL
6328   # Extract the first word of "dlltool", so it can be a program name with args.
6329 set dummy dlltool; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331 $as_echo_n "checking for $ac_word... " >&6; }
6332 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6333   $as_echo_n "(cached) " >&6
6334 else
6335   if test -n "$ac_ct_DLLTOOL"; then
6336   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6337 else
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH
6340 do
6341   IFS=$as_save_IFS
6342   test -z "$as_dir" && as_dir=.
6343     for ac_exec_ext in '' $ac_executable_extensions; do
6344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347     break 2
6348   fi
6349 done
6350   done
6351 IFS=$as_save_IFS
6352
6353 fi
6354 fi
6355 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6356 if test -n "$ac_ct_DLLTOOL"; then
6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6358 $as_echo "$ac_ct_DLLTOOL" >&6; }
6359 else
6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6361 $as_echo "no" >&6; }
6362 fi
6363
6364   if test "x$ac_ct_DLLTOOL" = x; then
6365     DLLTOOL="false"
6366   else
6367     case $cross_compiling:$ac_tool_warned in
6368 yes:)
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6371 ac_tool_warned=yes ;;
6372 esac
6373     DLLTOOL=$ac_ct_DLLTOOL
6374   fi
6375 else
6376   DLLTOOL="$ac_cv_prog_DLLTOOL"
6377 fi
6378
6379 test -z "$DLLTOOL" && DLLTOOL=dlltool
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6391 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6392 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6393   $as_echo_n "(cached) " >&6
6394 else
6395   lt_cv_sharedlib_from_linklib_cmd='unknown'
6396
6397 case $host_os in
6398 cygwin* | mingw* | pw32* | cegcc*)
6399   # two different shell functions defined in ltmain.sh
6400   # decide which to use based on capabilities of $DLLTOOL
6401   case `$DLLTOOL --help 2>&1` in
6402   *--identify-strict*)
6403     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6404     ;;
6405   *)
6406     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6407     ;;
6408   esac
6409   ;;
6410 *)
6411   # fallback: assume linklib IS sharedlib
6412   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6413   ;;
6414 esac
6415
6416 fi
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6418 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6419 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6420 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6421
6422
6423
6424
6425
6426
6427
6428 if test -n "$ac_tool_prefix"; then
6429   for ac_prog in ar
6430   do
6431     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_AR+:} false; then :
6436   $as_echo_n "(cached) " >&6
6437 else
6438   if test -n "$AR"; then
6439   ac_cv_prog_AR="$AR" # Let the user override the test.
6440 else
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 for as_dir in $PATH
6443 do
6444   IFS=$as_save_IFS
6445   test -z "$as_dir" && as_dir=.
6446     for ac_exec_ext in '' $ac_executable_extensions; do
6447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6448     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450     break 2
6451   fi
6452 done
6453   done
6454 IFS=$as_save_IFS
6455
6456 fi
6457 fi
6458 AR=$ac_cv_prog_AR
6459 if test -n "$AR"; then
6460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6461 $as_echo "$AR" >&6; }
6462 else
6463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6465 fi
6466
6467
6468     test -n "$AR" && break
6469   done
6470 fi
6471 if test -z "$AR"; then
6472   ac_ct_AR=$AR
6473   for ac_prog in ar
6474 do
6475   # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6480   $as_echo_n "(cached) " >&6
6481 else
6482   if test -n "$ac_ct_AR"; then
6483   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6487 do
6488   IFS=$as_save_IFS
6489   test -z "$as_dir" && as_dir=.
6490     for ac_exec_ext in '' $ac_executable_extensions; do
6491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492     ac_cv_prog_ac_ct_AR="$ac_prog"
6493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494     break 2
6495   fi
6496 done
6497   done
6498 IFS=$as_save_IFS
6499
6500 fi
6501 fi
6502 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6503 if test -n "$ac_ct_AR"; then
6504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6505 $as_echo "$ac_ct_AR" >&6; }
6506 else
6507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6509 fi
6510
6511
6512   test -n "$ac_ct_AR" && break
6513 done
6514
6515   if test "x$ac_ct_AR" = x; then
6516     AR="false"
6517   else
6518     case $cross_compiling:$ac_tool_warned in
6519 yes:)
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522 ac_tool_warned=yes ;;
6523 esac
6524     AR=$ac_ct_AR
6525   fi
6526 fi
6527
6528 : ${AR=ar}
6529 : ${AR_FLAGS=cru}
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6542 $as_echo_n "checking for archiver @FILE support... " >&6; }
6543 if ${lt_cv_ar_at_file+:} false; then :
6544   $as_echo_n "(cached) " >&6
6545 else
6546   lt_cv_ar_at_file=no
6547    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h.  */
6549
6550 int
6551 main ()
6552 {
6553
6554   ;
6555   return 0;
6556 }
6557 _ACEOF
6558 if ac_fn_c_try_compile "$LINENO"; then :
6559   echo conftest.$ac_objext > conftest.lst
6560       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6561       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6562   (eval $lt_ar_try) 2>&5
6563   ac_status=$?
6564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565   test $ac_status = 0; }
6566       if test "$ac_status" -eq 0; then
6567         # Ensure the archiver fails upon bogus file names.
6568         rm -f conftest.$ac_objext libconftest.a
6569         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6570   (eval $lt_ar_try) 2>&5
6571   ac_status=$?
6572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6573   test $ac_status = 0; }
6574         if test "$ac_status" -ne 0; then
6575           lt_cv_ar_at_file=@
6576         fi
6577       fi
6578       rm -f conftest.* libconftest.a
6579
6580 fi
6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6582
6583 fi
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6585 $as_echo "$lt_cv_ar_at_file" >&6; }
6586
6587 if test "x$lt_cv_ar_at_file" = xno; then
6588   archiver_list_spec=
6589 else
6590   archiver_list_spec=$lt_cv_ar_at_file
6591 fi
6592
6593
6594
6595
6596
6597
6598
6599 if test -n "$ac_tool_prefix"; then
6600   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6601 set dummy ${ac_tool_prefix}strip; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_STRIP+:} false; then :
6605   $as_echo_n "(cached) " >&6
6606 else
6607   if test -n "$STRIP"; then
6608   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6612 do
6613   IFS=$as_save_IFS
6614   test -z "$as_dir" && as_dir=.
6615     for ac_exec_ext in '' $ac_executable_extensions; do
6616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619     break 2
6620   fi
6621 done
6622   done
6623 IFS=$as_save_IFS
6624
6625 fi
6626 fi
6627 STRIP=$ac_cv_prog_STRIP
6628 if test -n "$STRIP"; then
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6630 $as_echo "$STRIP" >&6; }
6631 else
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6634 fi
6635
6636
6637 fi
6638 if test -z "$ac_cv_prog_STRIP"; then
6639   ac_ct_STRIP=$STRIP
6640   # Extract the first word of "strip", so it can be a program name with args.
6641 set dummy strip; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6645   $as_echo_n "(cached) " >&6
6646 else
6647   if test -n "$ac_ct_STRIP"; then
6648   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6649 else
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 for as_dir in $PATH
6652 do
6653   IFS=$as_save_IFS
6654   test -z "$as_dir" && as_dir=.
6655     for ac_exec_ext in '' $ac_executable_extensions; do
6656   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6657     ac_cv_prog_ac_ct_STRIP="strip"
6658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659     break 2
6660   fi
6661 done
6662   done
6663 IFS=$as_save_IFS
6664
6665 fi
6666 fi
6667 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6668 if test -n "$ac_ct_STRIP"; then
6669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6670 $as_echo "$ac_ct_STRIP" >&6; }
6671 else
6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6674 fi
6675
6676   if test "x$ac_ct_STRIP" = x; then
6677     STRIP=":"
6678   else
6679     case $cross_compiling:$ac_tool_warned in
6680 yes:)
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6683 ac_tool_warned=yes ;;
6684 esac
6685     STRIP=$ac_ct_STRIP
6686   fi
6687 else
6688   STRIP="$ac_cv_prog_STRIP"
6689 fi
6690
6691 test -z "$STRIP" && STRIP=:
6692
6693
6694
6695
6696
6697
6698 if test -n "$ac_tool_prefix"; then
6699   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6700 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if ${ac_cv_prog_RANLIB+:} false; then :
6704   $as_echo_n "(cached) " >&6
6705 else
6706   if test -n "$RANLIB"; then
6707   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6708 else
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 for as_dir in $PATH
6711 do
6712   IFS=$as_save_IFS
6713   test -z "$as_dir" && as_dir=.
6714     for ac_exec_ext in '' $ac_executable_extensions; do
6715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718     break 2
6719   fi
6720 done
6721   done
6722 IFS=$as_save_IFS
6723
6724 fi
6725 fi
6726 RANLIB=$ac_cv_prog_RANLIB
6727 if test -n "$RANLIB"; then
6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6729 $as_echo "$RANLIB" >&6; }
6730 else
6731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6733 fi
6734
6735
6736 fi
6737 if test -z "$ac_cv_prog_RANLIB"; then
6738   ac_ct_RANLIB=$RANLIB
6739   # Extract the first word of "ranlib", so it can be a program name with args.
6740 set dummy ranlib; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6744   $as_echo_n "(cached) " >&6
6745 else
6746   if test -n "$ac_ct_RANLIB"; then
6747   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6748 else
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 for as_dir in $PATH
6751 do
6752   IFS=$as_save_IFS
6753   test -z "$as_dir" && as_dir=.
6754     for ac_exec_ext in '' $ac_executable_extensions; do
6755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756     ac_cv_prog_ac_ct_RANLIB="ranlib"
6757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758     break 2
6759   fi
6760 done
6761   done
6762 IFS=$as_save_IFS
6763
6764 fi
6765 fi
6766 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6767 if test -n "$ac_ct_RANLIB"; then
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6769 $as_echo "$ac_ct_RANLIB" >&6; }
6770 else
6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6773 fi
6774
6775   if test "x$ac_ct_RANLIB" = x; then
6776     RANLIB=":"
6777   else
6778     case $cross_compiling:$ac_tool_warned in
6779 yes:)
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6782 ac_tool_warned=yes ;;
6783 esac
6784     RANLIB=$ac_ct_RANLIB
6785   fi
6786 else
6787   RANLIB="$ac_cv_prog_RANLIB"
6788 fi
6789
6790 test -z "$RANLIB" && RANLIB=:
6791
6792
6793
6794
6795
6796
6797 # Determine commands to create old-style static archives.
6798 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6799 old_postinstall_cmds='chmod 644 $oldlib'
6800 old_postuninstall_cmds=
6801
6802 if test -n "$RANLIB"; then
6803   case $host_os in
6804   openbsd*)
6805     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6806     ;;
6807   *)
6808     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6809     ;;
6810   esac
6811   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6812 fi
6813
6814 case $host_os in
6815   darwin*)
6816     lock_old_archive_extraction=yes ;;
6817   *)
6818     lock_old_archive_extraction=no ;;
6819 esac
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859 # If no C compiler was specified, use CC.
6860 LTCC=${LTCC-"$CC"}
6861
6862 # If no C compiler flags were specified, use CFLAGS.
6863 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6864
6865 # Allow CC to be a program name with arguments.
6866 compiler=$CC
6867
6868
6869 # Check for command to grab the raw symbol name followed by C symbol from nm.
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6871 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6872 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6873   $as_echo_n "(cached) " >&6
6874 else
6875
6876 # These are sane defaults that work on at least a few old systems.
6877 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6878
6879 # Character class describing NM global symbol codes.
6880 symcode='[BCDEGRST]'
6881
6882 # Regexp to match symbols that can be accessed directly from C.
6883 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6884
6885 # Define system-specific variables.
6886 case $host_os in
6887 aix*)
6888   symcode='[BCDT]'
6889   ;;
6890 cygwin* | mingw* | pw32* | cegcc*)
6891   symcode='[ABCDGISTW]'
6892   ;;
6893 hpux*)
6894   if test "$host_cpu" = ia64; then
6895     symcode='[ABCDEGRST]'
6896   fi
6897   ;;
6898 irix* | nonstopux*)
6899   symcode='[BCDEGRST]'
6900   ;;
6901 osf*)
6902   symcode='[BCDEGQRST]'
6903   ;;
6904 solaris*)
6905   symcode='[BDRT]'
6906   ;;
6907 sco3.2v5*)
6908   symcode='[DT]'
6909   ;;
6910 sysv4.2uw2*)
6911   symcode='[DT]'
6912   ;;
6913 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6914   symcode='[ABDT]'
6915   ;;
6916 sysv4)
6917   symcode='[DFNSTU]'
6918   ;;
6919 esac
6920
6921 # If we're using GNU nm, then use its standard symbol codes.
6922 case `$NM -V 2>&1` in
6923 *GNU* | *'with BFD'*)
6924   symcode='[ABCDGIRSTW]' ;;
6925 esac
6926
6927 # Transform an extracted symbol line into a proper C declaration.
6928 # Some systems (esp. on ia64) link data and code symbols differently,
6929 # so use this general approach.
6930 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6931
6932 # Transform an extracted symbol line into symbol name and symbol address
6933 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6934 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'"
6935
6936 # Handle CRLF in mingw tool chain
6937 opt_cr=
6938 case $build_os in
6939 mingw*)
6940   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6941   ;;
6942 esac
6943
6944 # Try without a prefix underscore, then with it.
6945 for ac_symprfx in "" "_"; do
6946
6947   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6948   symxfrm="\\1 $ac_symprfx\\2 \\2"
6949
6950   # Write the raw and C identifiers.
6951   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6952     # Fake it for dumpbin and say T for any non-static function
6953     # and D for any global variable.
6954     # Also find C++ and __fastcall symbols from MSVC++,
6955     # which start with @ or ?.
6956     lt_cv_sys_global_symbol_pipe="$AWK '"\
6957 "     {last_section=section; section=\$ 3};"\
6958 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6959 "     \$ 0!~/External *\|/{next};"\
6960 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6961 "     {if(hide[section]) next};"\
6962 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6963 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6964 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6965 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6966 "     ' prfx=^$ac_symprfx"
6967   else
6968     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6969   fi
6970   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6971
6972   # Check to see that the pipe works correctly.
6973   pipe_works=no
6974
6975   rm -f conftest*
6976   cat > conftest.$ac_ext <<_LT_EOF
6977 #ifdef __cplusplus
6978 extern "C" {
6979 #endif
6980 char nm_test_var;
6981 void nm_test_func(void);
6982 void nm_test_func(void){}
6983 #ifdef __cplusplus
6984 }
6985 #endif
6986 int main(){nm_test_var='a';nm_test_func();return(0);}
6987 _LT_EOF
6988
6989   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6990   (eval $ac_compile) 2>&5
6991   ac_status=$?
6992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993   test $ac_status = 0; }; then
6994     # Now try to grab the symbols.
6995     nlist=conftest.nm
6996     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6997   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6998   ac_status=$?
6999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000   test $ac_status = 0; } && test -s "$nlist"; then
7001       # Try sorting and uniquifying the output.
7002       if sort "$nlist" | uniq > "$nlist"T; then
7003         mv -f "$nlist"T "$nlist"
7004       else
7005         rm -f "$nlist"T
7006       fi
7007
7008       # Make sure that we snagged all the symbols we need.
7009       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7010         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7011           cat <<_LT_EOF > conftest.$ac_ext
7012 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7013 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7014 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7015    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7016 # define LT_DLSYM_CONST
7017 #elif defined(__osf__)
7018 /* This system does not cope well with relocations in const data.  */
7019 # define LT_DLSYM_CONST
7020 #else
7021 # define LT_DLSYM_CONST const
7022 #endif
7023
7024 #ifdef __cplusplus
7025 extern "C" {
7026 #endif
7027
7028 _LT_EOF
7029           # Now generate the symbol file.
7030           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7031
7032           cat <<_LT_EOF >> conftest.$ac_ext
7033
7034 /* The mapping between symbol names and symbols.  */
7035 LT_DLSYM_CONST struct {
7036   const char *name;
7037   void       *address;
7038 }
7039 lt__PROGRAM__LTX_preloaded_symbols[] =
7040 {
7041   { "@PROGRAM@", (void *) 0 },
7042 _LT_EOF
7043           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7044           cat <<\_LT_EOF >> conftest.$ac_ext
7045   {0, (void *) 0}
7046 };
7047
7048 /* This works around a problem in FreeBSD linker */
7049 #ifdef FREEBSD_WORKAROUND
7050 static const void *lt_preloaded_setup() {
7051   return lt__PROGRAM__LTX_preloaded_symbols;
7052 }
7053 #endif
7054
7055 #ifdef __cplusplus
7056 }
7057 #endif
7058 _LT_EOF
7059           # Now try linking the two files.
7060           mv conftest.$ac_objext conftstm.$ac_objext
7061           lt_globsym_save_LIBS=$LIBS
7062           lt_globsym_save_CFLAGS=$CFLAGS
7063           LIBS="conftstm.$ac_objext"
7064           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7065           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7066   (eval $ac_link) 2>&5
7067   ac_status=$?
7068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7069   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7070             pipe_works=yes
7071           fi
7072           LIBS=$lt_globsym_save_LIBS
7073           CFLAGS=$lt_globsym_save_CFLAGS
7074         else
7075           echo "cannot find nm_test_func in $nlist" >&5
7076         fi
7077       else
7078         echo "cannot find nm_test_var in $nlist" >&5
7079       fi
7080     else
7081       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7082     fi
7083   else
7084     echo "$progname: failed program was:" >&5
7085     cat conftest.$ac_ext >&5
7086   fi
7087   rm -rf conftest* conftst*
7088
7089   # Do not use the global_symbol_pipe unless it works.
7090   if test "$pipe_works" = yes; then
7091     break
7092   else
7093     lt_cv_sys_global_symbol_pipe=
7094   fi
7095 done
7096
7097 fi
7098
7099 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7100   lt_cv_sys_global_symbol_to_cdecl=
7101 fi
7102 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7104 $as_echo "failed" >&6; }
7105 else
7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7107 $as_echo "ok" >&6; }
7108 fi
7109
7110 # Response file support.
7111 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7112   nm_file_list_spec='@'
7113 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7114   nm_file_list_spec='@'
7115 fi
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7144 $as_echo_n "checking for sysroot... " >&6; }
7145
7146 # Check whether --with-sysroot was given.
7147 if test "${with_sysroot+set}" = set; then :
7148   withval=$with_sysroot;
7149 else
7150   with_sysroot=no
7151 fi
7152
7153
7154 lt_sysroot=
7155 case ${with_sysroot} in #(
7156  yes)
7157    if test "$GCC" = yes; then
7158      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7159    fi
7160    ;; #(
7161  /*)
7162    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7163    ;; #(
7164  no|'')
7165    ;; #(
7166  *)
7167    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7168 $as_echo "${with_sysroot}" >&6; }
7169    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7170    ;;
7171 esac
7172
7173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7174 $as_echo "${lt_sysroot:-no}" >&6; }
7175
7176
7177
7178
7179
7180 # Check whether --enable-libtool-lock was given.
7181 if test "${enable_libtool_lock+set}" = set; then :
7182   enableval=$enable_libtool_lock;
7183 fi
7184
7185 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7186
7187 # Some flags need to be propagated to the compiler or linker for good
7188 # libtool support.
7189 case $host in
7190 ia64-*-hpux*)
7191   # Find out which ABI we are using.
7192   echo 'int i;' > conftest.$ac_ext
7193   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194   (eval $ac_compile) 2>&5
7195   ac_status=$?
7196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197   test $ac_status = 0; }; then
7198     case `/usr/bin/file conftest.$ac_objext` in
7199       *ELF-32*)
7200         HPUX_IA64_MODE="32"
7201         ;;
7202       *ELF-64*)
7203         HPUX_IA64_MODE="64"
7204         ;;
7205     esac
7206   fi
7207   rm -rf conftest*
7208   ;;
7209 *-*-irix6*)
7210   # Find out which ABI we are using.
7211   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7212   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213   (eval $ac_compile) 2>&5
7214   ac_status=$?
7215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216   test $ac_status = 0; }; then
7217     if test "$lt_cv_prog_gnu_ld" = yes; then
7218       case `/usr/bin/file conftest.$ac_objext` in
7219         *32-bit*)
7220           LD="${LD-ld} -melf32bsmip"
7221           ;;
7222         *N32*)
7223           LD="${LD-ld} -melf32bmipn32"
7224           ;;
7225         *64-bit*)
7226           LD="${LD-ld} -melf64bmip"
7227         ;;
7228       esac
7229     else
7230       case `/usr/bin/file conftest.$ac_objext` in
7231         *32-bit*)
7232           LD="${LD-ld} -32"
7233           ;;
7234         *N32*)
7235           LD="${LD-ld} -n32"
7236           ;;
7237         *64-bit*)
7238           LD="${LD-ld} -64"
7239           ;;
7240       esac
7241     fi
7242   fi
7243   rm -rf conftest*
7244   ;;
7245
7246 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7247 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7248   # Find out which ABI we are using.
7249   echo 'int i;' > 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     case `/usr/bin/file conftest.o` in
7256       *32-bit*)
7257         case $host in
7258           x86_64-*kfreebsd*-gnu)
7259             LD="${LD-ld} -m elf_i386_fbsd"
7260             ;;
7261           x86_64-*linux*)
7262             LD="${LD-ld} -m elf_i386"
7263             ;;
7264           ppc64-*linux*|powerpc64-*linux*)
7265             LD="${LD-ld} -m elf32ppclinux"
7266             ;;
7267           s390x-*linux*)
7268             LD="${LD-ld} -m elf_s390"
7269             ;;
7270           sparc64-*linux*)
7271             LD="${LD-ld} -m elf32_sparc"
7272             ;;
7273         esac
7274         ;;
7275       *64-bit*)
7276         case $host in
7277           x86_64-*kfreebsd*-gnu)
7278             LD="${LD-ld} -m elf_x86_64_fbsd"
7279             ;;
7280           x86_64-*linux*)
7281             LD="${LD-ld} -m elf_x86_64"
7282             ;;
7283           ppc*-*linux*|powerpc*-*linux*)
7284             LD="${LD-ld} -m elf64ppc"
7285             ;;
7286           s390*-*linux*|s390*-*tpf*)
7287             LD="${LD-ld} -m elf64_s390"
7288             ;;
7289           sparc*-*linux*)
7290             LD="${LD-ld} -m elf64_sparc"
7291             ;;
7292         esac
7293         ;;
7294     esac
7295   fi
7296   rm -rf conftest*
7297   ;;
7298
7299 *-*-sco3.2v5*)
7300   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7301   SAVE_CFLAGS="$CFLAGS"
7302   CFLAGS="$CFLAGS -belf"
7303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7304 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7305 if ${lt_cv_cc_needs_belf+:} false; then :
7306   $as_echo_n "(cached) " >&6
7307 else
7308   ac_ext=c
7309 ac_cpp='$CPP $CPPFLAGS'
7310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7313
7314      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h.  */
7316
7317 int
7318 main ()
7319 {
7320
7321   ;
7322   return 0;
7323 }
7324 _ACEOF
7325 if ac_fn_c_try_link "$LINENO"; then :
7326   lt_cv_cc_needs_belf=yes
7327 else
7328   lt_cv_cc_needs_belf=no
7329 fi
7330 rm -f core conftest.err conftest.$ac_objext \
7331     conftest$ac_exeext conftest.$ac_ext
7332      ac_ext=c
7333 ac_cpp='$CPP $CPPFLAGS'
7334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7337
7338 fi
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7340 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7341   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7342     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7343     CFLAGS="$SAVE_CFLAGS"
7344   fi
7345   ;;
7346 sparc*-*solaris*)
7347   # Find out which ABI we are using.
7348   echo 'int i;' > conftest.$ac_ext
7349   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350   (eval $ac_compile) 2>&5
7351   ac_status=$?
7352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7353   test $ac_status = 0; }; then
7354     case `/usr/bin/file conftest.o` in
7355     *64-bit*)
7356       case $lt_cv_prog_gnu_ld in
7357       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7358       *)
7359         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7360           LD="${LD-ld} -64"
7361         fi
7362         ;;
7363       esac
7364       ;;
7365     esac
7366   fi
7367   rm -rf conftest*
7368   ;;
7369 esac
7370
7371 need_locks="$enable_libtool_lock"
7372
7373 if test -n "$ac_tool_prefix"; then
7374   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7375 set dummy ${ac_tool_prefix}mt; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7379   $as_echo_n "(cached) " >&6
7380 else
7381   if test -n "$MANIFEST_TOOL"; then
7382   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7383 else
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 for as_dir in $PATH
7386 do
7387   IFS=$as_save_IFS
7388   test -z "$as_dir" && as_dir=.
7389     for ac_exec_ext in '' $ac_executable_extensions; do
7390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7391     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393     break 2
7394   fi
7395 done
7396   done
7397 IFS=$as_save_IFS
7398
7399 fi
7400 fi
7401 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7402 if test -n "$MANIFEST_TOOL"; then
7403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7404 $as_echo "$MANIFEST_TOOL" >&6; }
7405 else
7406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7408 fi
7409
7410
7411 fi
7412 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7413   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7414   # Extract the first word of "mt", so it can be a program name with args.
7415 set dummy mt; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7419   $as_echo_n "(cached) " >&6
7420 else
7421   if test -n "$ac_ct_MANIFEST_TOOL"; then
7422   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7426 do
7427   IFS=$as_save_IFS
7428   test -z "$as_dir" && as_dir=.
7429     for ac_exec_ext in '' $ac_executable_extensions; do
7430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433     break 2
7434   fi
7435 done
7436   done
7437 IFS=$as_save_IFS
7438
7439 fi
7440 fi
7441 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7442 if test -n "$ac_ct_MANIFEST_TOOL"; then
7443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7444 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7445 else
7446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7448 fi
7449
7450   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7451     MANIFEST_TOOL=":"
7452   else
7453     case $cross_compiling:$ac_tool_warned in
7454 yes:)
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457 ac_tool_warned=yes ;;
7458 esac
7459     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7460   fi
7461 else
7462   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7463 fi
7464
7465 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7467 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7468 if ${lt_cv_path_mainfest_tool+:} false; then :
7469   $as_echo_n "(cached) " >&6
7470 else
7471   lt_cv_path_mainfest_tool=no
7472   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7473   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7474   cat conftest.err >&5
7475   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7476     lt_cv_path_mainfest_tool=yes
7477   fi
7478   rm -f conftest*
7479 fi
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7481 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7482 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7483   MANIFEST_TOOL=:
7484 fi
7485
7486
7487
7488
7489
7490
7491   case $host_os in
7492     rhapsody* | darwin*)
7493     if test -n "$ac_tool_prefix"; then
7494   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7495 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497 $as_echo_n "checking for $ac_word... " >&6; }
7498 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7499   $as_echo_n "(cached) " >&6
7500 else
7501   if test -n "$DSYMUTIL"; then
7502   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7503 else
7504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505 for as_dir in $PATH
7506 do
7507   IFS=$as_save_IFS
7508   test -z "$as_dir" && as_dir=.
7509     for ac_exec_ext in '' $ac_executable_extensions; do
7510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7511     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513     break 2
7514   fi
7515 done
7516   done
7517 IFS=$as_save_IFS
7518
7519 fi
7520 fi
7521 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7522 if test -n "$DSYMUTIL"; then
7523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7524 $as_echo "$DSYMUTIL" >&6; }
7525 else
7526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527 $as_echo "no" >&6; }
7528 fi
7529
7530
7531 fi
7532 if test -z "$ac_cv_prog_DSYMUTIL"; then
7533   ac_ct_DSYMUTIL=$DSYMUTIL
7534   # Extract the first word of "dsymutil", so it can be a program name with args.
7535 set dummy dsymutil; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7539   $as_echo_n "(cached) " >&6
7540 else
7541   if test -n "$ac_ct_DSYMUTIL"; then
7542   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7543 else
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 for as_dir in $PATH
7546 do
7547   IFS=$as_save_IFS
7548   test -z "$as_dir" && as_dir=.
7549     for ac_exec_ext in '' $ac_executable_extensions; do
7550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553     break 2
7554   fi
7555 done
7556   done
7557 IFS=$as_save_IFS
7558
7559 fi
7560 fi
7561 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7562 if test -n "$ac_ct_DSYMUTIL"; then
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7564 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7565 else
7566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7568 fi
7569
7570   if test "x$ac_ct_DSYMUTIL" = x; then
7571     DSYMUTIL=":"
7572   else
7573     case $cross_compiling:$ac_tool_warned in
7574 yes:)
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7577 ac_tool_warned=yes ;;
7578 esac
7579     DSYMUTIL=$ac_ct_DSYMUTIL
7580   fi
7581 else
7582   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7583 fi
7584
7585     if test -n "$ac_tool_prefix"; then
7586   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7587 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_NMEDIT+:} false; then :
7591   $as_echo_n "(cached) " >&6
7592 else
7593   if test -n "$NMEDIT"; then
7594   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7595 else
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 for as_dir in $PATH
7598 do
7599   IFS=$as_save_IFS
7600   test -z "$as_dir" && as_dir=.
7601     for ac_exec_ext in '' $ac_executable_extensions; do
7602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605     break 2
7606   fi
7607 done
7608   done
7609 IFS=$as_save_IFS
7610
7611 fi
7612 fi
7613 NMEDIT=$ac_cv_prog_NMEDIT
7614 if test -n "$NMEDIT"; then
7615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7616 $as_echo "$NMEDIT" >&6; }
7617 else
7618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7620 fi
7621
7622
7623 fi
7624 if test -z "$ac_cv_prog_NMEDIT"; then
7625   ac_ct_NMEDIT=$NMEDIT
7626   # Extract the first word of "nmedit", so it can be a program name with args.
7627 set dummy nmedit; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7631   $as_echo_n "(cached) " >&6
7632 else
7633   if test -n "$ac_ct_NMEDIT"; then
7634   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7635 else
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 for as_dir in $PATH
7638 do
7639   IFS=$as_save_IFS
7640   test -z "$as_dir" && as_dir=.
7641     for ac_exec_ext in '' $ac_executable_extensions; do
7642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645     break 2
7646   fi
7647 done
7648   done
7649 IFS=$as_save_IFS
7650
7651 fi
7652 fi
7653 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7654 if test -n "$ac_ct_NMEDIT"; then
7655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7656 $as_echo "$ac_ct_NMEDIT" >&6; }
7657 else
7658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7660 fi
7661
7662   if test "x$ac_ct_NMEDIT" = x; then
7663     NMEDIT=":"
7664   else
7665     case $cross_compiling:$ac_tool_warned in
7666 yes:)
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7669 ac_tool_warned=yes ;;
7670 esac
7671     NMEDIT=$ac_ct_NMEDIT
7672   fi
7673 else
7674   NMEDIT="$ac_cv_prog_NMEDIT"
7675 fi
7676
7677     if test -n "$ac_tool_prefix"; then
7678   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7679 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7681 $as_echo_n "checking for $ac_word... " >&6; }
7682 if ${ac_cv_prog_LIPO+:} false; then :
7683   $as_echo_n "(cached) " >&6
7684 else
7685   if test -n "$LIPO"; then
7686   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7687 else
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689 for as_dir in $PATH
7690 do
7691   IFS=$as_save_IFS
7692   test -z "$as_dir" && as_dir=.
7693     for ac_exec_ext in '' $ac_executable_extensions; do
7694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7697     break 2
7698   fi
7699 done
7700   done
7701 IFS=$as_save_IFS
7702
7703 fi
7704 fi
7705 LIPO=$ac_cv_prog_LIPO
7706 if test -n "$LIPO"; then
7707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7708 $as_echo "$LIPO" >&6; }
7709 else
7710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711 $as_echo "no" >&6; }
7712 fi
7713
7714
7715 fi
7716 if test -z "$ac_cv_prog_LIPO"; then
7717   ac_ct_LIPO=$LIPO
7718   # Extract the first word of "lipo", so it can be a program name with args.
7719 set dummy lipo; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721 $as_echo_n "checking for $ac_word... " >&6; }
7722 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7723   $as_echo_n "(cached) " >&6
7724 else
7725   if test -n "$ac_ct_LIPO"; then
7726   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7727 else
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 for as_dir in $PATH
7730 do
7731   IFS=$as_save_IFS
7732   test -z "$as_dir" && as_dir=.
7733     for ac_exec_ext in '' $ac_executable_extensions; do
7734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735     ac_cv_prog_ac_ct_LIPO="lipo"
7736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737     break 2
7738   fi
7739 done
7740   done
7741 IFS=$as_save_IFS
7742
7743 fi
7744 fi
7745 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7746 if test -n "$ac_ct_LIPO"; then
7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7748 $as_echo "$ac_ct_LIPO" >&6; }
7749 else
7750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7752 fi
7753
7754   if test "x$ac_ct_LIPO" = x; then
7755     LIPO=":"
7756   else
7757     case $cross_compiling:$ac_tool_warned in
7758 yes:)
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7761 ac_tool_warned=yes ;;
7762 esac
7763     LIPO=$ac_ct_LIPO
7764   fi
7765 else
7766   LIPO="$ac_cv_prog_LIPO"
7767 fi
7768
7769     if test -n "$ac_tool_prefix"; then
7770   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7771 set dummy ${ac_tool_prefix}otool; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773 $as_echo_n "checking for $ac_word... " >&6; }
7774 if ${ac_cv_prog_OTOOL+:} false; then :
7775   $as_echo_n "(cached) " >&6
7776 else
7777   if test -n "$OTOOL"; then
7778   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7779 else
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7781 for as_dir in $PATH
7782 do
7783   IFS=$as_save_IFS
7784   test -z "$as_dir" && as_dir=.
7785     for ac_exec_ext in '' $ac_executable_extensions; do
7786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7789     break 2
7790   fi
7791 done
7792   done
7793 IFS=$as_save_IFS
7794
7795 fi
7796 fi
7797 OTOOL=$ac_cv_prog_OTOOL
7798 if test -n "$OTOOL"; then
7799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7800 $as_echo "$OTOOL" >&6; }
7801 else
7802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7804 fi
7805
7806
7807 fi
7808 if test -z "$ac_cv_prog_OTOOL"; then
7809   ac_ct_OTOOL=$OTOOL
7810   # Extract the first word of "otool", so it can be a program name with args.
7811 set dummy otool; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 $as_echo_n "checking for $ac_word... " >&6; }
7814 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7815   $as_echo_n "(cached) " >&6
7816 else
7817   if test -n "$ac_ct_OTOOL"; then
7818   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7819 else
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821 for as_dir in $PATH
7822 do
7823   IFS=$as_save_IFS
7824   test -z "$as_dir" && as_dir=.
7825     for ac_exec_ext in '' $ac_executable_extensions; do
7826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827     ac_cv_prog_ac_ct_OTOOL="otool"
7828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7829     break 2
7830   fi
7831 done
7832   done
7833 IFS=$as_save_IFS
7834
7835 fi
7836 fi
7837 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7838 if test -n "$ac_ct_OTOOL"; then
7839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7840 $as_echo "$ac_ct_OTOOL" >&6; }
7841 else
7842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7844 fi
7845
7846   if test "x$ac_ct_OTOOL" = x; then
7847     OTOOL=":"
7848   else
7849     case $cross_compiling:$ac_tool_warned in
7850 yes:)
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7853 ac_tool_warned=yes ;;
7854 esac
7855     OTOOL=$ac_ct_OTOOL
7856   fi
7857 else
7858   OTOOL="$ac_cv_prog_OTOOL"
7859 fi
7860
7861     if test -n "$ac_tool_prefix"; then
7862   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7863 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7865 $as_echo_n "checking for $ac_word... " >&6; }
7866 if ${ac_cv_prog_OTOOL64+:} false; then :
7867   $as_echo_n "(cached) " >&6
7868 else
7869   if test -n "$OTOOL64"; then
7870   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7871 else
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 for as_dir in $PATH
7874 do
7875   IFS=$as_save_IFS
7876   test -z "$as_dir" && as_dir=.
7877     for ac_exec_ext in '' $ac_executable_extensions; do
7878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7879     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881     break 2
7882   fi
7883 done
7884   done
7885 IFS=$as_save_IFS
7886
7887 fi
7888 fi
7889 OTOOL64=$ac_cv_prog_OTOOL64
7890 if test -n "$OTOOL64"; then
7891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7892 $as_echo "$OTOOL64" >&6; }
7893 else
7894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7896 fi
7897
7898
7899 fi
7900 if test -z "$ac_cv_prog_OTOOL64"; then
7901   ac_ct_OTOOL64=$OTOOL64
7902   # Extract the first word of "otool64", so it can be a program name with args.
7903 set dummy otool64; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7905 $as_echo_n "checking for $ac_word... " >&6; }
7906 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7907   $as_echo_n "(cached) " >&6
7908 else
7909   if test -n "$ac_ct_OTOOL64"; then
7910   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7911 else
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 for as_dir in $PATH
7914 do
7915   IFS=$as_save_IFS
7916   test -z "$as_dir" && as_dir=.
7917     for ac_exec_ext in '' $ac_executable_extensions; do
7918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7919     ac_cv_prog_ac_ct_OTOOL64="otool64"
7920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921     break 2
7922   fi
7923 done
7924   done
7925 IFS=$as_save_IFS
7926
7927 fi
7928 fi
7929 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7930 if test -n "$ac_ct_OTOOL64"; then
7931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7932 $as_echo "$ac_ct_OTOOL64" >&6; }
7933 else
7934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 $as_echo "no" >&6; }
7936 fi
7937
7938   if test "x$ac_ct_OTOOL64" = x; then
7939     OTOOL64=":"
7940   else
7941     case $cross_compiling:$ac_tool_warned in
7942 yes:)
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7945 ac_tool_warned=yes ;;
7946 esac
7947     OTOOL64=$ac_ct_OTOOL64
7948   fi
7949 else
7950   OTOOL64="$ac_cv_prog_OTOOL64"
7951 fi
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7980 $as_echo_n "checking for -single_module linker flag... " >&6; }
7981 if ${lt_cv_apple_cc_single_mod+:} false; then :
7982   $as_echo_n "(cached) " >&6
7983 else
7984   lt_cv_apple_cc_single_mod=no
7985       if test -z "${LT_MULTI_MODULE}"; then
7986         # By default we will add the -single_module flag. You can override
7987         # by either setting the environment variable LT_MULTI_MODULE
7988         # non-empty at configure time, or by adding -multi_module to the
7989         # link flags.
7990         rm -rf libconftest.dylib*
7991         echo "int foo(void){return 1;}" > conftest.c
7992         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7993 -dynamiclib -Wl,-single_module conftest.c" >&5
7994         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7995           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7996         _lt_result=$?
7997         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7998           lt_cv_apple_cc_single_mod=yes
7999         else
8000           cat conftest.err >&5
8001         fi
8002         rm -rf libconftest.dylib*
8003         rm -f conftest.*
8004       fi
8005 fi
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8007 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8008     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8009 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8010 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8011   $as_echo_n "(cached) " >&6
8012 else
8013   lt_cv_ld_exported_symbols_list=no
8014       save_LDFLAGS=$LDFLAGS
8015       echo "_main" > conftest.sym
8016       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h.  */
8019
8020 int
8021 main ()
8022 {
8023
8024   ;
8025   return 0;
8026 }
8027 _ACEOF
8028 if ac_fn_c_try_link "$LINENO"; then :
8029   lt_cv_ld_exported_symbols_list=yes
8030 else
8031   lt_cv_ld_exported_symbols_list=no
8032 fi
8033 rm -f core conftest.err conftest.$ac_objext \
8034     conftest$ac_exeext conftest.$ac_ext
8035         LDFLAGS="$save_LDFLAGS"
8036
8037 fi
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8039 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8041 $as_echo_n "checking for -force_load linker flag... " >&6; }
8042 if ${lt_cv_ld_force_load+:} false; then :
8043   $as_echo_n "(cached) " >&6
8044 else
8045   lt_cv_ld_force_load=no
8046       cat > conftest.c << _LT_EOF
8047 int forced_loaded() { return 2;}
8048 _LT_EOF
8049       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8050       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8051       echo "$AR cru libconftest.a conftest.o" >&5
8052       $AR cru libconftest.a conftest.o 2>&5
8053       echo "$RANLIB libconftest.a" >&5
8054       $RANLIB libconftest.a 2>&5
8055       cat > conftest.c << _LT_EOF
8056 int main() { return 0;}
8057 _LT_EOF
8058       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8059       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8060       _lt_result=$?
8061       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8062         lt_cv_ld_force_load=yes
8063       else
8064         cat conftest.err >&5
8065       fi
8066         rm -f conftest.err libconftest.a conftest conftest.c
8067         rm -rf conftest.dSYM
8068
8069 fi
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8071 $as_echo "$lt_cv_ld_force_load" >&6; }
8072     case $host_os in
8073     rhapsody* | darwin1.[012])
8074       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8075     darwin1.*)
8076       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8077     darwin*) # darwin 5.x on
8078       # if running on 10.5 or later, the deployment target defaults
8079       # to the OS version, if on x86, and 10.4, the deployment
8080       # target defaults to 10.4. Don't you love it?
8081       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8082         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8083           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8084         10.[012]*)
8085           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8086         10.*)
8087           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8088       esac
8089     ;;
8090   esac
8091     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8092       _lt_dar_single_mod='$single_module'
8093     fi
8094     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8095       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8096     else
8097       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8098     fi
8099     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8100       _lt_dsymutil='~$DSYMUTIL $lib || :'
8101     else
8102       _lt_dsymutil=
8103     fi
8104     ;;
8105   esac
8106
8107 for ac_header in dlfcn.h
8108 do :
8109   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8110 "
8111 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8112   cat >>confdefs.h <<_ACEOF
8113 #define HAVE_DLFCN_H 1
8114 _ACEOF
8115
8116 fi
8117
8118 done
8119
8120
8121
8122
8123
8124 # Set options
8125 # Check whether --enable-static was given.
8126 if test "${enable_static+set}" = set; then :
8127   enableval=$enable_static; p=${PACKAGE-default}
8128     case $enableval in
8129     yes) enable_static=yes ;;
8130     no) enable_static=no ;;
8131     *)
8132      enable_static=no
8133       # Look at the argument we got.  We use all the common list separators.
8134       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8135       for pkg in $enableval; do
8136         IFS="$lt_save_ifs"
8137         if test "X$pkg" = "X$p"; then
8138           enable_static=yes
8139         fi
8140       done
8141       IFS="$lt_save_ifs"
8142       ;;
8143     esac
8144 else
8145   enable_static=no
8146 fi
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157         enable_dlopen=no
8158
8159
8160   enable_win32_dll=no
8161
8162
8163             # Check whether --enable-shared was given.
8164 if test "${enable_shared+set}" = set; then :
8165   enableval=$enable_shared; p=${PACKAGE-default}
8166     case $enableval in
8167     yes) enable_shared=yes ;;
8168     no) enable_shared=no ;;
8169     *)
8170       enable_shared=no
8171       # Look at the argument we got.  We use all the common list separators.
8172       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8173       for pkg in $enableval; do
8174         IFS="$lt_save_ifs"
8175         if test "X$pkg" = "X$p"; then
8176           enable_shared=yes
8177         fi
8178       done
8179       IFS="$lt_save_ifs"
8180       ;;
8181     esac
8182 else
8183   enable_shared=yes
8184 fi
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196 # Check whether --with-pic was given.
8197 if test "${with_pic+set}" = set; then :
8198   withval=$with_pic; pic_mode="$withval"
8199 else
8200   pic_mode=default
8201 fi
8202
8203
8204 test -z "$pic_mode" && pic_mode=default
8205
8206
8207
8208
8209
8210
8211
8212   # Check whether --enable-fast-install was given.
8213 if test "${enable_fast_install+set}" = set; then :
8214   enableval=$enable_fast_install; p=${PACKAGE-default}
8215     case $enableval in
8216     yes) enable_fast_install=yes ;;
8217     no) enable_fast_install=no ;;
8218     *)
8219       enable_fast_install=no
8220       # Look at the argument we got.  We use all the common list separators.
8221       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8222       for pkg in $enableval; do
8223         IFS="$lt_save_ifs"
8224         if test "X$pkg" = "X$p"; then
8225           enable_fast_install=yes
8226         fi
8227       done
8228       IFS="$lt_save_ifs"
8229       ;;
8230     esac
8231 else
8232   enable_fast_install=yes
8233 fi
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245 # This can be used to rebuild libtool when needed
8246 LIBTOOL_DEPS="$ltmain"
8247
8248 # Always use our own libtool.
8249 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276 test -z "$LN_S" && LN_S="ln -s"
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291 if test -n "${ZSH_VERSION+set}" ; then
8292    setopt NO_GLOB_SUBST
8293 fi
8294
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8296 $as_echo_n "checking for objdir... " >&6; }
8297 if ${lt_cv_objdir+:} false; then :
8298   $as_echo_n "(cached) " >&6
8299 else
8300   rm -f .libs 2>/dev/null
8301 mkdir .libs 2>/dev/null
8302 if test -d .libs; then
8303   lt_cv_objdir=.libs
8304 else
8305   # MS-DOS does not allow filenames that begin with a dot.
8306   lt_cv_objdir=_libs
8307 fi
8308 rmdir .libs 2>/dev/null
8309 fi
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8311 $as_echo "$lt_cv_objdir" >&6; }
8312 objdir=$lt_cv_objdir
8313
8314
8315
8316
8317
8318 cat >>confdefs.h <<_ACEOF
8319 #define LT_OBJDIR "$lt_cv_objdir/"
8320 _ACEOF
8321
8322
8323
8324
8325 case $host_os in
8326 aix3*)
8327   # AIX sometimes has problems with the GCC collect2 program.  For some
8328   # reason, if we set the COLLECT_NAMES environment variable, the problems
8329   # vanish in a puff of smoke.
8330   if test "X${COLLECT_NAMES+set}" != Xset; then
8331     COLLECT_NAMES=
8332     export COLLECT_NAMES
8333   fi
8334   ;;
8335 esac
8336
8337 # Global variables:
8338 ofile=libtool
8339 can_build_shared=yes
8340
8341 # All known linkers require a `.a' archive for static linking (except MSVC,
8342 # which needs '.lib').
8343 libext=a
8344
8345 with_gnu_ld="$lt_cv_prog_gnu_ld"
8346
8347 old_CC="$CC"
8348 old_CFLAGS="$CFLAGS"
8349
8350 # Set sane defaults for various variables
8351 test -z "$CC" && CC=cc
8352 test -z "$LTCC" && LTCC=$CC
8353 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8354 test -z "$LD" && LD=ld
8355 test -z "$ac_objext" && ac_objext=o
8356
8357 for cc_temp in $compiler""; do
8358   case $cc_temp in
8359     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8360     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8361     \-*) ;;
8362     *) break;;
8363   esac
8364 done
8365 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8366
8367
8368 # Only perform the check for file, if the check method requires it
8369 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8370 case $deplibs_check_method in
8371 file_magic*)
8372   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8374 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8375 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8376   $as_echo_n "(cached) " >&6
8377 else
8378   case $MAGIC_CMD in
8379 [\\/*] |  ?:[\\/]*)
8380   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8381   ;;
8382 *)
8383   lt_save_MAGIC_CMD="$MAGIC_CMD"
8384   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8385   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8386   for ac_dir in $ac_dummy; do
8387     IFS="$lt_save_ifs"
8388     test -z "$ac_dir" && ac_dir=.
8389     if test -f $ac_dir/${ac_tool_prefix}file; then
8390       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8391       if test -n "$file_magic_test_file"; then
8392         case $deplibs_check_method in
8393         "file_magic "*)
8394           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8395           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8397             $EGREP "$file_magic_regex" > /dev/null; then
8398             :
8399           else
8400             cat <<_LT_EOF 1>&2
8401
8402 *** Warning: the command libtool uses to detect shared libraries,
8403 *** $file_magic_cmd, produces output that libtool cannot recognize.
8404 *** The result is that libtool may fail to recognize shared libraries
8405 *** as such.  This will affect the creation of libtool libraries that
8406 *** depend on shared libraries, but programs linked with such libtool
8407 *** libraries will work regardless of this problem.  Nevertheless, you
8408 *** may want to report the problem to your system manager and/or to
8409 *** bug-libtool@gnu.org
8410
8411 _LT_EOF
8412           fi ;;
8413         esac
8414       fi
8415       break
8416     fi
8417   done
8418   IFS="$lt_save_ifs"
8419   MAGIC_CMD="$lt_save_MAGIC_CMD"
8420   ;;
8421 esac
8422 fi
8423
8424 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8425 if test -n "$MAGIC_CMD"; then
8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8427 $as_echo "$MAGIC_CMD" >&6; }
8428 else
8429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8431 fi
8432
8433
8434
8435
8436
8437 if test -z "$lt_cv_path_MAGIC_CMD"; then
8438   if test -n "$ac_tool_prefix"; then
8439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8440 $as_echo_n "checking for file... " >&6; }
8441 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   case $MAGIC_CMD in
8445 [\\/*] |  ?:[\\/]*)
8446   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8447   ;;
8448 *)
8449   lt_save_MAGIC_CMD="$MAGIC_CMD"
8450   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8451   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8452   for ac_dir in $ac_dummy; do
8453     IFS="$lt_save_ifs"
8454     test -z "$ac_dir" && ac_dir=.
8455     if test -f $ac_dir/file; then
8456       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8457       if test -n "$file_magic_test_file"; then
8458         case $deplibs_check_method in
8459         "file_magic "*)
8460           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8461           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8462           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8463             $EGREP "$file_magic_regex" > /dev/null; then
8464             :
8465           else
8466             cat <<_LT_EOF 1>&2
8467
8468 *** Warning: the command libtool uses to detect shared libraries,
8469 *** $file_magic_cmd, produces output that libtool cannot recognize.
8470 *** The result is that libtool may fail to recognize shared libraries
8471 *** as such.  This will affect the creation of libtool libraries that
8472 *** depend on shared libraries, but programs linked with such libtool
8473 *** libraries will work regardless of this problem.  Nevertheless, you
8474 *** may want to report the problem to your system manager and/or to
8475 *** bug-libtool@gnu.org
8476
8477 _LT_EOF
8478           fi ;;
8479         esac
8480       fi
8481       break
8482     fi
8483   done
8484   IFS="$lt_save_ifs"
8485   MAGIC_CMD="$lt_save_MAGIC_CMD"
8486   ;;
8487 esac
8488 fi
8489
8490 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8491 if test -n "$MAGIC_CMD"; then
8492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8493 $as_echo "$MAGIC_CMD" >&6; }
8494 else
8495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8497 fi
8498
8499
8500   else
8501     MAGIC_CMD=:
8502   fi
8503 fi
8504
8505   fi
8506   ;;
8507 esac
8508
8509 # Use C for the default configuration in the libtool script
8510
8511 lt_save_CC="$CC"
8512 ac_ext=c
8513 ac_cpp='$CPP $CPPFLAGS'
8514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8517
8518
8519 # Source file extension for C test sources.
8520 ac_ext=c
8521
8522 # Object file extension for compiled C test sources.
8523 objext=o
8524 objext=$objext
8525
8526 # Code to be used in simple compile tests
8527 lt_simple_compile_test_code="int some_variable = 0;"
8528
8529 # Code to be used in simple link tests
8530 lt_simple_link_test_code='int main(){return(0);}'
8531
8532
8533
8534
8535
8536
8537
8538 # If no C compiler was specified, use CC.
8539 LTCC=${LTCC-"$CC"}
8540
8541 # If no C compiler flags were specified, use CFLAGS.
8542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8543
8544 # Allow CC to be a program name with arguments.
8545 compiler=$CC
8546
8547 # Save the default compiler, since it gets overwritten when the other
8548 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8549 compiler_DEFAULT=$CC
8550
8551 # save warnings/boilerplate of simple test code
8552 ac_outfile=conftest.$ac_objext
8553 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8554 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8555 _lt_compiler_boilerplate=`cat conftest.err`
8556 $RM conftest*
8557
8558 ac_outfile=conftest.$ac_objext
8559 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8560 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8561 _lt_linker_boilerplate=`cat conftest.err`
8562 $RM -r conftest*
8563
8564
8565 ## CAVEAT EMPTOR:
8566 ## There is no encapsulation within the following macros, do not change
8567 ## the running order or otherwise move them around unless you know exactly
8568 ## what you are doing...
8569 if test -n "$compiler"; then
8570
8571 lt_prog_compiler_no_builtin_flag=
8572
8573 if test "$GCC" = yes; then
8574   case $cc_basename in
8575   nvcc*)
8576     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8577   *)
8578     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8579   esac
8580
8581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8582 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8583 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8584   $as_echo_n "(cached) " >&6
8585 else
8586   lt_cv_prog_compiler_rtti_exceptions=no
8587    ac_outfile=conftest.$ac_objext
8588    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8589    lt_compiler_flag="-fno-rtti -fno-exceptions"
8590    # Insert the option either (1) after the last *FLAGS variable, or
8591    # (2) before a word containing "conftest.", or (3) at the end.
8592    # Note that $ac_compile itself does not contain backslashes and begins
8593    # with a dollar sign (not a hyphen), so the echo should work correctly.
8594    # The option is referenced via a variable to avoid confusing sed.
8595    lt_compile=`echo "$ac_compile" | $SED \
8596    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8597    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8598    -e 's:$: $lt_compiler_flag:'`
8599    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8600    (eval "$lt_compile" 2>conftest.err)
8601    ac_status=$?
8602    cat conftest.err >&5
8603    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604    if (exit $ac_status) && test -s "$ac_outfile"; then
8605      # The compiler can only warn and ignore the option if not recognized
8606      # So say no if there are warnings other than the usual output.
8607      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8608      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8609      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8610        lt_cv_prog_compiler_rtti_exceptions=yes
8611      fi
8612    fi
8613    $RM conftest*
8614
8615 fi
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8617 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8618
8619 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8620     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8621 else
8622     :
8623 fi
8624
8625 fi
8626
8627
8628
8629
8630
8631
8632   lt_prog_compiler_wl=
8633 lt_prog_compiler_pic=
8634 lt_prog_compiler_static=
8635
8636
8637   if test "$GCC" = yes; then
8638     lt_prog_compiler_wl='-Wl,'
8639     lt_prog_compiler_static='-static'
8640
8641     case $host_os in
8642       aix*)
8643       # All AIX code is PIC.
8644       if test "$host_cpu" = ia64; then
8645         # AIX 5 now supports IA64 processor
8646         lt_prog_compiler_static='-Bstatic'
8647       fi
8648       ;;
8649
8650     amigaos*)
8651       case $host_cpu in
8652       powerpc)
8653             # see comment about AmigaOS4 .so support
8654             lt_prog_compiler_pic='-fPIC'
8655         ;;
8656       m68k)
8657             # FIXME: we need at least 68020 code to build shared libraries, but
8658             # adding the `-m68020' flag to GCC prevents building anything better,
8659             # like `-m68040'.
8660             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8661         ;;
8662       esac
8663       ;;
8664
8665     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8666       # PIC is the default for these OSes.
8667       ;;
8668
8669     mingw* | cygwin* | pw32* | os2* | cegcc*)
8670       # This hack is so that the source file can tell whether it is being
8671       # built for inclusion in a dll (and should export symbols for example).
8672       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8673       # (--disable-auto-import) libraries
8674       lt_prog_compiler_pic='-DDLL_EXPORT'
8675       ;;
8676
8677     darwin* | rhapsody*)
8678       # PIC is the default on this platform
8679       # Common symbols not allowed in MH_DYLIB files
8680       lt_prog_compiler_pic='-fno-common'
8681       ;;
8682
8683     haiku*)
8684       # PIC is the default for Haiku.
8685       # The "-static" flag exists, but is broken.
8686       lt_prog_compiler_static=
8687       ;;
8688
8689     hpux*)
8690       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8691       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8692       # sets the default TLS model and affects inlining.
8693       case $host_cpu in
8694       hppa*64*)
8695         # +Z the default
8696         ;;
8697       *)
8698         lt_prog_compiler_pic='-fPIC'
8699         ;;
8700       esac
8701       ;;
8702
8703     interix[3-9]*)
8704       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8705       # Instead, we relocate shared libraries at runtime.
8706       ;;
8707
8708     msdosdjgpp*)
8709       # Just because we use GCC doesn't mean we suddenly get shared libraries
8710       # on systems that don't support them.
8711       lt_prog_compiler_can_build_shared=no
8712       enable_shared=no
8713       ;;
8714
8715     *nto* | *qnx*)
8716       # QNX uses GNU C++, but need to define -shared option too, otherwise
8717       # it will coredump.
8718       lt_prog_compiler_pic='-fPIC -shared'
8719       ;;
8720
8721     sysv4*MP*)
8722       if test -d /usr/nec; then
8723         lt_prog_compiler_pic=-Kconform_pic
8724       fi
8725       ;;
8726
8727     *)
8728       lt_prog_compiler_pic='-fPIC'
8729       ;;
8730     esac
8731
8732     case $cc_basename in
8733     nvcc*) # Cuda Compiler Driver 2.2
8734       lt_prog_compiler_wl='-Xlinker '
8735       lt_prog_compiler_pic='-Xcompiler -fPIC'
8736       ;;
8737     esac
8738   else
8739     # PORTME Check for flag to pass linker flags through the system compiler.
8740     case $host_os in
8741     aix*)
8742       lt_prog_compiler_wl='-Wl,'
8743       if test "$host_cpu" = ia64; then
8744         # AIX 5 now supports IA64 processor
8745         lt_prog_compiler_static='-Bstatic'
8746       else
8747         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8748       fi
8749       ;;
8750
8751     mingw* | cygwin* | pw32* | os2* | cegcc*)
8752       # This hack is so that the source file can tell whether it is being
8753       # built for inclusion in a dll (and should export symbols for example).
8754       lt_prog_compiler_pic='-DDLL_EXPORT'
8755       ;;
8756
8757     hpux9* | hpux10* | hpux11*)
8758       lt_prog_compiler_wl='-Wl,'
8759       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8760       # not for PA HP-UX.
8761       case $host_cpu in
8762       hppa*64*|ia64*)
8763         # +Z the default
8764         ;;
8765       *)
8766         lt_prog_compiler_pic='+Z'
8767         ;;
8768       esac
8769       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8770       lt_prog_compiler_static='${wl}-a ${wl}archive'
8771       ;;
8772
8773     irix5* | irix6* | nonstopux*)
8774       lt_prog_compiler_wl='-Wl,'
8775       # PIC (with -KPIC) is the default.
8776       lt_prog_compiler_static='-non_shared'
8777       ;;
8778
8779     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8780       case $cc_basename in
8781       # old Intel for x86_64 which still supported -KPIC.
8782       ecc*)
8783         lt_prog_compiler_wl='-Wl,'
8784         lt_prog_compiler_pic='-KPIC'
8785         lt_prog_compiler_static='-static'
8786         ;;
8787       # icc used to be incompatible with GCC.
8788       # ICC 10 doesn't accept -KPIC any more.
8789       icc* | ifort*)
8790         lt_prog_compiler_wl='-Wl,'
8791         lt_prog_compiler_pic='-fPIC'
8792         lt_prog_compiler_static='-static'
8793         ;;
8794       # Lahey Fortran 8.1.
8795       lf95*)
8796         lt_prog_compiler_wl='-Wl,'
8797         lt_prog_compiler_pic='--shared'
8798         lt_prog_compiler_static='--static'
8799         ;;
8800       nagfor*)
8801         # NAG Fortran compiler
8802         lt_prog_compiler_wl='-Wl,-Wl,,'
8803         lt_prog_compiler_pic='-PIC'
8804         lt_prog_compiler_static='-Bstatic'
8805         ;;
8806       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8807         # Portland Group compilers (*not* the Pentium gcc compiler,
8808         # which looks to be a dead project)
8809         lt_prog_compiler_wl='-Wl,'
8810         lt_prog_compiler_pic='-fpic'
8811         lt_prog_compiler_static='-Bstatic'
8812         ;;
8813       ccc*)
8814         lt_prog_compiler_wl='-Wl,'
8815         # All Alpha code is PIC.
8816         lt_prog_compiler_static='-non_shared'
8817         ;;
8818       xl* | bgxl* | bgf* | mpixl*)
8819         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8820         lt_prog_compiler_wl='-Wl,'
8821         lt_prog_compiler_pic='-qpic'
8822         lt_prog_compiler_static='-qstaticlink'
8823         ;;
8824       *)
8825         case `$CC -V 2>&1 | sed 5q` in
8826         *Sun\ F* | *Sun*Fortran*)
8827           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8828           lt_prog_compiler_pic='-KPIC'
8829           lt_prog_compiler_static='-Bstatic'
8830           lt_prog_compiler_wl=''
8831           ;;
8832         *Sun\ C*)
8833           # Sun C 5.9
8834           lt_prog_compiler_pic='-KPIC'
8835           lt_prog_compiler_static='-Bstatic'
8836           lt_prog_compiler_wl='-Wl,'
8837           ;;
8838         esac
8839         ;;
8840       esac
8841       ;;
8842
8843     newsos6)
8844       lt_prog_compiler_pic='-KPIC'
8845       lt_prog_compiler_static='-Bstatic'
8846       ;;
8847
8848     *nto* | *qnx*)
8849       # QNX uses GNU C++, but need to define -shared option too, otherwise
8850       # it will coredump.
8851       lt_prog_compiler_pic='-fPIC -shared'
8852       ;;
8853
8854     osf3* | osf4* | osf5*)
8855       lt_prog_compiler_wl='-Wl,'
8856       # All OSF/1 code is PIC.
8857       lt_prog_compiler_static='-non_shared'
8858       ;;
8859
8860     rdos*)
8861       lt_prog_compiler_static='-non_shared'
8862       ;;
8863
8864     solaris*)
8865       lt_prog_compiler_pic='-KPIC'
8866       lt_prog_compiler_static='-Bstatic'
8867       case $cc_basename in
8868       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8869         lt_prog_compiler_wl='-Qoption ld ';;
8870       *)
8871         lt_prog_compiler_wl='-Wl,';;
8872       esac
8873       ;;
8874
8875     sunos4*)
8876       lt_prog_compiler_wl='-Qoption ld '
8877       lt_prog_compiler_pic='-PIC'
8878       lt_prog_compiler_static='-Bstatic'
8879       ;;
8880
8881     sysv4 | sysv4.2uw2* | sysv4.3*)
8882       lt_prog_compiler_wl='-Wl,'
8883       lt_prog_compiler_pic='-KPIC'
8884       lt_prog_compiler_static='-Bstatic'
8885       ;;
8886
8887     sysv4*MP*)
8888       if test -d /usr/nec ;then
8889         lt_prog_compiler_pic='-Kconform_pic'
8890         lt_prog_compiler_static='-Bstatic'
8891       fi
8892       ;;
8893
8894     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8895       lt_prog_compiler_wl='-Wl,'
8896       lt_prog_compiler_pic='-KPIC'
8897       lt_prog_compiler_static='-Bstatic'
8898       ;;
8899
8900     unicos*)
8901       lt_prog_compiler_wl='-Wl,'
8902       lt_prog_compiler_can_build_shared=no
8903       ;;
8904
8905     uts4*)
8906       lt_prog_compiler_pic='-pic'
8907       lt_prog_compiler_static='-Bstatic'
8908       ;;
8909
8910     *)
8911       lt_prog_compiler_can_build_shared=no
8912       ;;
8913     esac
8914   fi
8915
8916 case $host_os in
8917   # For platforms which do not support PIC, -DPIC is meaningless:
8918   *djgpp*)
8919     lt_prog_compiler_pic=
8920     ;;
8921   *)
8922     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8923     ;;
8924 esac
8925
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8927 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8928 if ${lt_cv_prog_compiler_pic+:} false; then :
8929   $as_echo_n "(cached) " >&6
8930 else
8931   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8932 fi
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8934 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8935 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8936
8937 #
8938 # Check to make sure the PIC flag actually works.
8939 #
8940 if test -n "$lt_prog_compiler_pic"; then
8941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8942 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8943 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8944   $as_echo_n "(cached) " >&6
8945 else
8946   lt_cv_prog_compiler_pic_works=no
8947    ac_outfile=conftest.$ac_objext
8948    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8949    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8950    # Insert the option either (1) after the last *FLAGS variable, or
8951    # (2) before a word containing "conftest.", or (3) at the end.
8952    # Note that $ac_compile itself does not contain backslashes and begins
8953    # with a dollar sign (not a hyphen), so the echo should work correctly.
8954    # The option is referenced via a variable to avoid confusing sed.
8955    lt_compile=`echo "$ac_compile" | $SED \
8956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8958    -e 's:$: $lt_compiler_flag:'`
8959    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8960    (eval "$lt_compile" 2>conftest.err)
8961    ac_status=$?
8962    cat conftest.err >&5
8963    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964    if (exit $ac_status) && test -s "$ac_outfile"; then
8965      # The compiler can only warn and ignore the option if not recognized
8966      # So say no if there are warnings other than the usual output.
8967      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8968      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8969      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8970        lt_cv_prog_compiler_pic_works=yes
8971      fi
8972    fi
8973    $RM conftest*
8974
8975 fi
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8977 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8978
8979 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8980     case $lt_prog_compiler_pic in
8981      "" | " "*) ;;
8982      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8983      esac
8984 else
8985     lt_prog_compiler_pic=
8986      lt_prog_compiler_can_build_shared=no
8987 fi
8988
8989 fi
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001 #
9002 # Check to make sure the static flag actually works.
9003 #
9004 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9006 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9007 if ${lt_cv_prog_compiler_static_works+:} false; then :
9008   $as_echo_n "(cached) " >&6
9009 else
9010   lt_cv_prog_compiler_static_works=no
9011    save_LDFLAGS="$LDFLAGS"
9012    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9013    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9014    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9015      # The linker can only warn and ignore the option if not recognized
9016      # So say no if there are warnings
9017      if test -s conftest.err; then
9018        # Append any errors to the config.log.
9019        cat conftest.err 1>&5
9020        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9021        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9022        if diff conftest.exp conftest.er2 >/dev/null; then
9023          lt_cv_prog_compiler_static_works=yes
9024        fi
9025      else
9026        lt_cv_prog_compiler_static_works=yes
9027      fi
9028    fi
9029    $RM -r conftest*
9030    LDFLAGS="$save_LDFLAGS"
9031
9032 fi
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9034 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9035
9036 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9037     :
9038 else
9039     lt_prog_compiler_static=
9040 fi
9041
9042
9043
9044
9045
9046
9047
9048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9049 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9050 if ${lt_cv_prog_compiler_c_o+:} false; then :
9051   $as_echo_n "(cached) " >&6
9052 else
9053   lt_cv_prog_compiler_c_o=no
9054    $RM -r conftest 2>/dev/null
9055    mkdir conftest
9056    cd conftest
9057    mkdir out
9058    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9059
9060    lt_compiler_flag="-o out/conftest2.$ac_objext"
9061    # Insert the option either (1) after the last *FLAGS variable, or
9062    # (2) before a word containing "conftest.", or (3) at the end.
9063    # Note that $ac_compile itself does not contain backslashes and begins
9064    # with a dollar sign (not a hyphen), so the echo should work correctly.
9065    lt_compile=`echo "$ac_compile" | $SED \
9066    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9067    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9068    -e 's:$: $lt_compiler_flag:'`
9069    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9070    (eval "$lt_compile" 2>out/conftest.err)
9071    ac_status=$?
9072    cat out/conftest.err >&5
9073    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9075    then
9076      # The compiler can only warn and ignore the option if not recognized
9077      # So say no if there are warnings
9078      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9079      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9080      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9081        lt_cv_prog_compiler_c_o=yes
9082      fi
9083    fi
9084    chmod u+w . 2>&5
9085    $RM conftest*
9086    # SGI C++ compiler will create directory out/ii_files/ for
9087    # template instantiation
9088    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9089    $RM out/* && rmdir out
9090    cd ..
9091    $RM -r conftest
9092    $RM conftest*
9093
9094 fi
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9096 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9097
9098
9099
9100
9101
9102
9103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9104 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9105 if ${lt_cv_prog_compiler_c_o+:} false; then :
9106   $as_echo_n "(cached) " >&6
9107 else
9108   lt_cv_prog_compiler_c_o=no
9109    $RM -r conftest 2>/dev/null
9110    mkdir conftest
9111    cd conftest
9112    mkdir out
9113    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9114
9115    lt_compiler_flag="-o out/conftest2.$ac_objext"
9116    # Insert the option either (1) after the last *FLAGS variable, or
9117    # (2) before a word containing "conftest.", or (3) at the end.
9118    # Note that $ac_compile itself does not contain backslashes and begins
9119    # with a dollar sign (not a hyphen), so the echo should work correctly.
9120    lt_compile=`echo "$ac_compile" | $SED \
9121    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9122    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9123    -e 's:$: $lt_compiler_flag:'`
9124    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9125    (eval "$lt_compile" 2>out/conftest.err)
9126    ac_status=$?
9127    cat out/conftest.err >&5
9128    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9130    then
9131      # The compiler can only warn and ignore the option if not recognized
9132      # So say no if there are warnings
9133      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9134      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9135      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9136        lt_cv_prog_compiler_c_o=yes
9137      fi
9138    fi
9139    chmod u+w . 2>&5
9140    $RM conftest*
9141    # SGI C++ compiler will create directory out/ii_files/ for
9142    # template instantiation
9143    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9144    $RM out/* && rmdir out
9145    cd ..
9146    $RM -r conftest
9147    $RM conftest*
9148
9149 fi
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9151 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9152
9153
9154
9155
9156 hard_links="nottested"
9157 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9158   # do not overwrite the value of need_locks provided by the user
9159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9160 $as_echo_n "checking if we can lock with hard links... " >&6; }
9161   hard_links=yes
9162   $RM conftest*
9163   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9164   touch conftest.a
9165   ln conftest.a conftest.b 2>&5 || hard_links=no
9166   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9168 $as_echo "$hard_links" >&6; }
9169   if test "$hard_links" = no; then
9170     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9171 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9172     need_locks=warn
9173   fi
9174 else
9175   need_locks=no
9176 fi
9177
9178
9179
9180
9181
9182
9183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9184 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9185
9186   runpath_var=
9187   allow_undefined_flag=
9188   always_export_symbols=no
9189   archive_cmds=
9190   archive_expsym_cmds=
9191   compiler_needs_object=no
9192   enable_shared_with_static_runtimes=no
9193   export_dynamic_flag_spec=
9194   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9195   hardcode_automatic=no
9196   hardcode_direct=no
9197   hardcode_direct_absolute=no
9198   hardcode_libdir_flag_spec=
9199   hardcode_libdir_flag_spec_ld=
9200   hardcode_libdir_separator=
9201   hardcode_minus_L=no
9202   hardcode_shlibpath_var=unsupported
9203   inherit_rpath=no
9204   link_all_deplibs=unknown
9205   module_cmds=
9206   module_expsym_cmds=
9207   old_archive_from_new_cmds=
9208   old_archive_from_expsyms_cmds=
9209   thread_safe_flag_spec=
9210   whole_archive_flag_spec=
9211   # include_expsyms should be a list of space-separated symbols to be *always*
9212   # included in the symbol list
9213   include_expsyms=
9214   # exclude_expsyms can be an extended regexp of symbols to exclude
9215   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9216   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9217   # as well as any symbol that contains `d'.
9218   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9219   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9220   # platforms (ab)use it in PIC code, but their linkers get confused if
9221   # the symbol is explicitly referenced.  Since portable code cannot
9222   # rely on this symbol name, it's probably fine to never include it in
9223   # preloaded symbol tables.
9224   # Exclude shared library initialization/finalization symbols.
9225   extract_expsyms_cmds=
9226
9227   case $host_os in
9228   cygwin* | mingw* | pw32* | cegcc*)
9229     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9230     # When not using gcc, we currently assume that we are using
9231     # Microsoft Visual C++.
9232     if test "$GCC" != yes; then
9233       with_gnu_ld=no
9234     fi
9235     ;;
9236   interix*)
9237     # we just hope/assume this is gcc and not c89 (= MSVC++)
9238     with_gnu_ld=yes
9239     ;;
9240   openbsd*)
9241     with_gnu_ld=no
9242     ;;
9243   esac
9244
9245   ld_shlibs=yes
9246
9247   # On some targets, GNU ld is compatible enough with the native linker
9248   # that we're better off using the native interface for both.
9249   lt_use_gnu_ld_interface=no
9250   if test "$with_gnu_ld" = yes; then
9251     case $host_os in
9252       aix*)
9253         # The AIX port of GNU ld has always aspired to compatibility
9254         # with the native linker.  However, as the warning in the GNU ld
9255         # block says, versions before 2.19.5* couldn't really create working
9256         # shared libraries, regardless of the interface used.
9257         case `$LD -v 2>&1` in
9258           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9259           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9260           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9261           *)
9262             lt_use_gnu_ld_interface=yes
9263             ;;
9264         esac
9265         ;;
9266       *)
9267         lt_use_gnu_ld_interface=yes
9268         ;;
9269     esac
9270   fi
9271
9272   if test "$lt_use_gnu_ld_interface" = yes; then
9273     # If archive_cmds runs LD, not CC, wlarc should be empty
9274     wlarc='${wl}'
9275
9276     # Set some defaults for GNU ld with shared library support. These
9277     # are reset later if shared libraries are not supported. Putting them
9278     # here allows them to be overridden if necessary.
9279     runpath_var=LD_RUN_PATH
9280     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9281     export_dynamic_flag_spec='${wl}--export-dynamic'
9282     # ancient GNU ld didn't support --whole-archive et. al.
9283     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9284       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9285     else
9286       whole_archive_flag_spec=
9287     fi
9288     supports_anon_versioning=no
9289     case `$LD -v 2>&1` in
9290       *GNU\ gold*) supports_anon_versioning=yes ;;
9291       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9292       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9293       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9294       *\ 2.11.*) ;; # other 2.11 versions
9295       *) supports_anon_versioning=yes ;;
9296     esac
9297
9298     # See if GNU ld supports shared libraries.
9299     case $host_os in
9300     aix[3-9]*)
9301       # On AIX/PPC, the GNU linker is very broken
9302       if test "$host_cpu" != ia64; then
9303         ld_shlibs=no
9304         cat <<_LT_EOF 1>&2
9305
9306 *** Warning: the GNU linker, at least up to release 2.19, is reported
9307 *** to be unable to reliably create shared libraries on AIX.
9308 *** Therefore, libtool is disabling shared libraries support.  If you
9309 *** really care for shared libraries, you may want to install binutils
9310 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9311 *** You will then need to restart the configuration process.
9312
9313 _LT_EOF
9314       fi
9315       ;;
9316
9317     amigaos*)
9318       case $host_cpu in
9319       powerpc)
9320             # see comment about AmigaOS4 .so support
9321             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322             archive_expsym_cmds=''
9323         ;;
9324       m68k)
9325             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)'
9326             hardcode_libdir_flag_spec='-L$libdir'
9327             hardcode_minus_L=yes
9328         ;;
9329       esac
9330       ;;
9331
9332     beos*)
9333       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9334         allow_undefined_flag=unsupported
9335         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9336         # support --undefined.  This deserves some investigation.  FIXME
9337         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338       else
9339         ld_shlibs=no
9340       fi
9341       ;;
9342
9343     cygwin* | mingw* | pw32* | cegcc*)
9344       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9345       # as there is no search path for DLLs.
9346       hardcode_libdir_flag_spec='-L$libdir'
9347       export_dynamic_flag_spec='${wl}--export-all-symbols'
9348       allow_undefined_flag=unsupported
9349       always_export_symbols=no
9350       enable_shared_with_static_runtimes=yes
9351       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'
9352       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9353
9354       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9355         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9356         # If the export-symbols file already is a .def file (1st line
9357         # is EXPORTS), use it as is; otherwise, prepend...
9358         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9359           cp $export_symbols $output_objdir/$soname.def;
9360         else
9361           echo EXPORTS > $output_objdir/$soname.def;
9362           cat $export_symbols >> $output_objdir/$soname.def;
9363         fi~
9364         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9365       else
9366         ld_shlibs=no
9367       fi
9368       ;;
9369
9370     haiku*)
9371       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372       link_all_deplibs=yes
9373       ;;
9374
9375     interix[3-9]*)
9376       hardcode_direct=no
9377       hardcode_shlibpath_var=no
9378       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9379       export_dynamic_flag_spec='${wl}-E'
9380       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9381       # Instead, shared libraries are loaded at an image base (0x10000000 by
9382       # default) and relocated if they conflict, which is a slow very memory
9383       # consuming and fragmenting process.  To avoid this, we pick a random,
9384       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9385       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9386       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9387       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'
9388       ;;
9389
9390     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9391       tmp_diet=no
9392       if test "$host_os" = linux-dietlibc; then
9393         case $cc_basename in
9394           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9395         esac
9396       fi
9397       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9398          && test "$tmp_diet" = no
9399       then
9400         tmp_addflag=' $pic_flag'
9401         tmp_sharedflag='-shared'
9402         case $cc_basename,$host_cpu in
9403         pgcc*)                          # Portland Group C compiler
9404           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'
9405           tmp_addflag=' $pic_flag'
9406           ;;
9407         pgf77* | pgf90* | pgf95* | pgfortran*)
9408                                         # Portland Group f77 and f90 compilers
9409           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'
9410           tmp_addflag=' $pic_flag -Mnomain' ;;
9411         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9412           tmp_addflag=' -i_dynamic' ;;
9413         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9414           tmp_addflag=' -i_dynamic -nofor_main' ;;
9415         ifc* | ifort*)                  # Intel Fortran compiler
9416           tmp_addflag=' -nofor_main' ;;
9417         lf95*)                          # Lahey Fortran 8.1
9418           whole_archive_flag_spec=
9419           tmp_sharedflag='--shared' ;;
9420         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9421           tmp_sharedflag='-qmkshrobj'
9422           tmp_addflag= ;;
9423         nvcc*)  # Cuda Compiler Driver 2.2
9424           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'
9425           compiler_needs_object=yes
9426           ;;
9427         esac
9428         case `$CC -V 2>&1 | sed 5q` in
9429         *Sun\ C*)                       # Sun C 5.9
9430           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'
9431           compiler_needs_object=yes
9432           tmp_sharedflag='-G' ;;
9433         *Sun\ F*)                       # Sun Fortran 8.3
9434           tmp_sharedflag='-G' ;;
9435         esac
9436         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437
9438         if test "x$supports_anon_versioning" = xyes; then
9439           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9440             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9441             echo "local: *; };" >> $output_objdir/$libname.ver~
9442             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9443         fi
9444
9445         case $cc_basename in
9446         xlf* | bgf* | bgxlf* | mpixlf*)
9447           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9448           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9449           hardcode_libdir_flag_spec=
9450           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9451           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9452           if test "x$supports_anon_versioning" = xyes; then
9453             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9454               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9455               echo "local: *; };" >> $output_objdir/$libname.ver~
9456               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9457           fi
9458           ;;
9459         esac
9460       else
9461         ld_shlibs=no
9462       fi
9463       ;;
9464
9465     netbsd*)
9466       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9467         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9468         wlarc=
9469       else
9470         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9471         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9472       fi
9473       ;;
9474
9475     solaris*)
9476       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9477         ld_shlibs=no
9478         cat <<_LT_EOF 1>&2
9479
9480 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9481 *** create shared libraries on Solaris systems.  Therefore, libtool
9482 *** is disabling shared libraries support.  We urge you to upgrade GNU
9483 *** binutils to release 2.9.1 or newer.  Another option is to modify
9484 *** your PATH or compiler configuration so that the native linker is
9485 *** used, and then restart.
9486
9487 _LT_EOF
9488       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9489         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9490         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9491       else
9492         ld_shlibs=no
9493       fi
9494       ;;
9495
9496     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9497       case `$LD -v 2>&1` in
9498         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9499         ld_shlibs=no
9500         cat <<_LT_EOF 1>&2
9501
9502 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9503 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9504 *** is disabling shared libraries support.  We urge you to upgrade GNU
9505 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9506 *** your PATH or compiler configuration so that the native linker is
9507 *** used, and then restart.
9508
9509 _LT_EOF
9510         ;;
9511         *)
9512           # For security reasons, it is highly recommended that you always
9513           # use absolute paths for naming shared libraries, and exclude the
9514           # DT_RUNPATH tag from executables and libraries.  But doing so
9515           # requires that you compile everything twice, which is a pain.
9516           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9517             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9518             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9519             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9520           else
9521             ld_shlibs=no
9522           fi
9523         ;;
9524       esac
9525       ;;
9526
9527     sunos4*)
9528       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9529       wlarc=
9530       hardcode_direct=yes
9531       hardcode_shlibpath_var=no
9532       ;;
9533
9534     *)
9535       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9536         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9537         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9538       else
9539         ld_shlibs=no
9540       fi
9541       ;;
9542     esac
9543
9544     if test "$ld_shlibs" = no; then
9545       runpath_var=
9546       hardcode_libdir_flag_spec=
9547       export_dynamic_flag_spec=
9548       whole_archive_flag_spec=
9549     fi
9550   else
9551     # PORTME fill in a description of your system's linker (not GNU ld)
9552     case $host_os in
9553     aix3*)
9554       allow_undefined_flag=unsupported
9555       always_export_symbols=yes
9556       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'
9557       # Note: this linker hardcodes the directories in LIBPATH if there
9558       # are no directories specified by -L.
9559       hardcode_minus_L=yes
9560       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9561         # Neither direct hardcoding nor static linking is supported with a
9562         # broken collect2.
9563         hardcode_direct=unsupported
9564       fi
9565       ;;
9566
9567     aix[4-9]*)
9568       if test "$host_cpu" = ia64; then
9569         # On IA64, the linker does run time linking by default, so we don't
9570         # have to do anything special.
9571         aix_use_runtimelinking=no
9572         exp_sym_flag='-Bexport'
9573         no_entry_flag=""
9574       else
9575         # If we're using GNU nm, then we don't want the "-C" option.
9576         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9577         # Also, AIX nm treats weak defined symbols like other global
9578         # defined symbols, whereas GNU nm marks them as "W".
9579         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9580           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'
9581         else
9582           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'
9583         fi
9584         aix_use_runtimelinking=no
9585
9586         # Test if we are trying to use run time linking or normal
9587         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9588         # need to do runtime linking.
9589         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9590           for ld_flag in $LDFLAGS; do
9591           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9592             aix_use_runtimelinking=yes
9593             break
9594           fi
9595           done
9596           ;;
9597         esac
9598
9599         exp_sym_flag='-bexport'
9600         no_entry_flag='-bnoentry'
9601       fi
9602
9603       # When large executables or shared objects are built, AIX ld can
9604       # have problems creating the table of contents.  If linking a library
9605       # or program results in "error TOC overflow" add -mminimal-toc to
9606       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9607       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9608
9609       archive_cmds=''
9610       hardcode_direct=yes
9611       hardcode_direct_absolute=yes
9612       hardcode_libdir_separator=':'
9613       link_all_deplibs=yes
9614       file_list_spec='${wl}-f,'
9615
9616       if test "$GCC" = yes; then
9617         case $host_os in aix4.[012]|aix4.[012].*)
9618         # We only want to do this on AIX 4.2 and lower, the check
9619         # below for broken collect2 doesn't work under 4.3+
9620           collect2name=`${CC} -print-prog-name=collect2`
9621           if test -f "$collect2name" &&
9622            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9623           then
9624           # We have reworked collect2
9625           :
9626           else
9627           # We have old collect2
9628           hardcode_direct=unsupported
9629           # It fails to find uninstalled libraries when the uninstalled
9630           # path is not listed in the libpath.  Setting hardcode_minus_L
9631           # to unsupported forces relinking
9632           hardcode_minus_L=yes
9633           hardcode_libdir_flag_spec='-L$libdir'
9634           hardcode_libdir_separator=
9635           fi
9636           ;;
9637         esac
9638         shared_flag='-shared'
9639         if test "$aix_use_runtimelinking" = yes; then
9640           shared_flag="$shared_flag "'${wl}-G'
9641         fi
9642       else
9643         # not using gcc
9644         if test "$host_cpu" = ia64; then
9645         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9646         # chokes on -Wl,-G. The following line is correct:
9647           shared_flag='-G'
9648         else
9649           if test "$aix_use_runtimelinking" = yes; then
9650             shared_flag='${wl}-G'
9651           else
9652             shared_flag='${wl}-bM:SRE'
9653           fi
9654         fi
9655       fi
9656
9657       export_dynamic_flag_spec='${wl}-bexpall'
9658       # It seems that -bexpall does not export symbols beginning with
9659       # underscore (_), so it is better to generate a list of symbols to export.
9660       always_export_symbols=yes
9661       if test "$aix_use_runtimelinking" = yes; then
9662         # Warning - without using the other runtime loading flags (-brtl),
9663         # -berok will link without error, but may produce a broken library.
9664         allow_undefined_flag='-berok'
9665         # Determine the default libpath from the value encoded in an
9666         # empty executable.
9667         if test "${lt_cv_aix_libpath+set}" = set; then
9668   aix_libpath=$lt_cv_aix_libpath
9669 else
9670   if ${lt_cv_aix_libpath_+:} false; then :
9671   $as_echo_n "(cached) " >&6
9672 else
9673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h.  */
9675
9676 int
9677 main ()
9678 {
9679
9680   ;
9681   return 0;
9682 }
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685
9686   lt_aix_libpath_sed='
9687       /Import File Strings/,/^$/ {
9688           /^0/ {
9689               s/^0  *\([^ ]*\) *$/\1/
9690               p
9691           }
9692       }'
9693   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694   # Check for a 64-bit object if we didn't find anything.
9695   if test -z "$lt_cv_aix_libpath_"; then
9696     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697   fi
9698 fi
9699 rm -f core conftest.err conftest.$ac_objext \
9700     conftest$ac_exeext conftest.$ac_ext
9701   if test -z "$lt_cv_aix_libpath_"; then
9702     lt_cv_aix_libpath_="/usr/lib:/lib"
9703   fi
9704
9705 fi
9706
9707   aix_libpath=$lt_cv_aix_libpath_
9708 fi
9709
9710         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9711         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"
9712       else
9713         if test "$host_cpu" = ia64; then
9714           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9715           allow_undefined_flag="-z nodefs"
9716           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"
9717         else
9718          # Determine the default libpath from the value encoded in an
9719          # empty executable.
9720          if test "${lt_cv_aix_libpath+set}" = set; then
9721   aix_libpath=$lt_cv_aix_libpath
9722 else
9723   if ${lt_cv_aix_libpath_+:} false; then :
9724   $as_echo_n "(cached) " >&6
9725 else
9726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h.  */
9728
9729 int
9730 main ()
9731 {
9732
9733   ;
9734   return 0;
9735 }
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738
9739   lt_aix_libpath_sed='
9740       /Import File Strings/,/^$/ {
9741           /^0/ {
9742               s/^0  *\([^ ]*\) *$/\1/
9743               p
9744           }
9745       }'
9746   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9747   # Check for a 64-bit object if we didn't find anything.
9748   if test -z "$lt_cv_aix_libpath_"; then
9749     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9750   fi
9751 fi
9752 rm -f core conftest.err conftest.$ac_objext \
9753     conftest$ac_exeext conftest.$ac_ext
9754   if test -z "$lt_cv_aix_libpath_"; then
9755     lt_cv_aix_libpath_="/usr/lib:/lib"
9756   fi
9757
9758 fi
9759
9760   aix_libpath=$lt_cv_aix_libpath_
9761 fi
9762
9763          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9764           # Warning - without using the other run time loading flags,
9765           # -berok will link without error, but may produce a broken library.
9766           no_undefined_flag=' ${wl}-bernotok'
9767           allow_undefined_flag=' ${wl}-berok'
9768           if test "$with_gnu_ld" = yes; then
9769             # We only use this code for GNU lds that support --whole-archive.
9770             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9771           else
9772             # Exported symbols can be pulled into shared objects from archives
9773             whole_archive_flag_spec='$convenience'
9774           fi
9775           archive_cmds_need_lc=yes
9776           # This is similar to how AIX traditionally builds its shared libraries.
9777           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'
9778         fi
9779       fi
9780       ;;
9781
9782     amigaos*)
9783       case $host_cpu in
9784       powerpc)
9785             # see comment about AmigaOS4 .so support
9786             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9787             archive_expsym_cmds=''
9788         ;;
9789       m68k)
9790             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)'
9791             hardcode_libdir_flag_spec='-L$libdir'
9792             hardcode_minus_L=yes
9793         ;;
9794       esac
9795       ;;
9796
9797     bsdi[45]*)
9798       export_dynamic_flag_spec=-rdynamic
9799       ;;
9800
9801     cygwin* | mingw* | pw32* | cegcc*)
9802       # When not using gcc, we currently assume that we are using
9803       # Microsoft Visual C++.
9804       # hardcode_libdir_flag_spec is actually meaningless, as there is
9805       # no search path for DLLs.
9806       case $cc_basename in
9807       cl*)
9808         # Native MSVC
9809         hardcode_libdir_flag_spec=' '
9810         allow_undefined_flag=unsupported
9811         always_export_symbols=yes
9812         file_list_spec='@'
9813         # Tell ltmain to make .lib files, not .a files.
9814         libext=lib
9815         # Tell ltmain to make .dll files, not .so files.
9816         shrext_cmds=".dll"
9817         # FIXME: Setting linknames here is a bad hack.
9818         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9819         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9820             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9821           else
9822             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9823           fi~
9824           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9825           linknames='
9826         # The linker will not automatically build a static lib if we build a DLL.
9827         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9828         enable_shared_with_static_runtimes=yes
9829         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9830         # Don't use ranlib
9831         old_postinstall_cmds='chmod 644 $oldlib'
9832         postlink_cmds='lt_outputfile="@OUTPUT@"~
9833           lt_tool_outputfile="@TOOL_OUTPUT@"~
9834           case $lt_outputfile in
9835             *.exe|*.EXE) ;;
9836             *)
9837               lt_outputfile="$lt_outputfile.exe"
9838               lt_tool_outputfile="$lt_tool_outputfile.exe"
9839               ;;
9840           esac~
9841           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9842             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9843             $RM "$lt_outputfile.manifest";
9844           fi'
9845         ;;
9846       *)
9847         # Assume MSVC wrapper
9848         hardcode_libdir_flag_spec=' '
9849         allow_undefined_flag=unsupported
9850         # Tell ltmain to make .lib files, not .a files.
9851         libext=lib
9852         # Tell ltmain to make .dll files, not .so files.
9853         shrext_cmds=".dll"
9854         # FIXME: Setting linknames here is a bad hack.
9855         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9856         # The linker will automatically build a .lib file if we build a DLL.
9857         old_archive_from_new_cmds='true'
9858         # FIXME: Should let the user specify the lib program.
9859         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9860         enable_shared_with_static_runtimes=yes
9861         ;;
9862       esac
9863       ;;
9864
9865     darwin* | rhapsody*)
9866
9867
9868   archive_cmds_need_lc=no
9869   hardcode_direct=no
9870   hardcode_automatic=yes
9871   hardcode_shlibpath_var=unsupported
9872   if test "$lt_cv_ld_force_load" = "yes"; then
9873     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\"`'
9874   else
9875     whole_archive_flag_spec=''
9876   fi
9877   link_all_deplibs=yes
9878   allow_undefined_flag="$_lt_dar_allow_undefined"
9879   case $cc_basename in
9880      ifort*) _lt_dar_can_shared=yes ;;
9881      *) _lt_dar_can_shared=$GCC ;;
9882   esac
9883   if test "$_lt_dar_can_shared" = "yes"; then
9884     output_verbose_link_cmd=func_echo_all
9885     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9886     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9887     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}"
9888     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}"
9889
9890   else
9891   ld_shlibs=no
9892   fi
9893
9894       ;;
9895
9896     dgux*)
9897       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9898       hardcode_libdir_flag_spec='-L$libdir'
9899       hardcode_shlibpath_var=no
9900       ;;
9901
9902     freebsd1*)
9903       ld_shlibs=no
9904       ;;
9905
9906     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9907     # support.  Future versions do this automatically, but an explicit c++rt0.o
9908     # does not break anything, and helps significantly (at the cost of a little
9909     # extra space).
9910     freebsd2.2*)
9911       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9912       hardcode_libdir_flag_spec='-R$libdir'
9913       hardcode_direct=yes
9914       hardcode_shlibpath_var=no
9915       ;;
9916
9917     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9918     freebsd2*)
9919       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920       hardcode_direct=yes
9921       hardcode_minus_L=yes
9922       hardcode_shlibpath_var=no
9923       ;;
9924
9925     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9926     freebsd* | dragonfly*)
9927       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9928       hardcode_libdir_flag_spec='-R$libdir'
9929       hardcode_direct=yes
9930       hardcode_shlibpath_var=no
9931       ;;
9932
9933     hpux9*)
9934       if test "$GCC" = yes; then
9935         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'
9936       else
9937         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'
9938       fi
9939       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9940       hardcode_libdir_separator=:
9941       hardcode_direct=yes
9942
9943       # hardcode_minus_L: Not really in the search PATH,
9944       # but as the default location of the library.
9945       hardcode_minus_L=yes
9946       export_dynamic_flag_spec='${wl}-E'
9947       ;;
9948
9949     hpux10*)
9950       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9951         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9952       else
9953         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9954       fi
9955       if test "$with_gnu_ld" = no; then
9956         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9957         hardcode_libdir_flag_spec_ld='+b $libdir'
9958         hardcode_libdir_separator=:
9959         hardcode_direct=yes
9960         hardcode_direct_absolute=yes
9961         export_dynamic_flag_spec='${wl}-E'
9962         # hardcode_minus_L: Not really in the search PATH,
9963         # but as the default location of the library.
9964         hardcode_minus_L=yes
9965       fi
9966       ;;
9967
9968     hpux11*)
9969       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9970         case $host_cpu in
9971         hppa*64*)
9972           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9973           ;;
9974         ia64*)
9975           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9976           ;;
9977         *)
9978           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9979           ;;
9980         esac
9981       else
9982         case $host_cpu in
9983         hppa*64*)
9984           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9985           ;;
9986         ia64*)
9987           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9988           ;;
9989         *)
9990
9991           # Older versions of the 11.00 compiler do not understand -b yet
9992           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9993           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9994 $as_echo_n "checking if $CC understands -b... " >&6; }
9995 if ${lt_cv_prog_compiler__b+:} false; then :
9996   $as_echo_n "(cached) " >&6
9997 else
9998   lt_cv_prog_compiler__b=no
9999    save_LDFLAGS="$LDFLAGS"
10000    LDFLAGS="$LDFLAGS -b"
10001    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10002    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10003      # The linker can only warn and ignore the option if not recognized
10004      # So say no if there are warnings
10005      if test -s conftest.err; then
10006        # Append any errors to the config.log.
10007        cat conftest.err 1>&5
10008        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10009        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10010        if diff conftest.exp conftest.er2 >/dev/null; then
10011          lt_cv_prog_compiler__b=yes
10012        fi
10013      else
10014        lt_cv_prog_compiler__b=yes
10015      fi
10016    fi
10017    $RM -r conftest*
10018    LDFLAGS="$save_LDFLAGS"
10019
10020 fi
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10022 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10023
10024 if test x"$lt_cv_prog_compiler__b" = xyes; then
10025     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10026 else
10027     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10028 fi
10029
10030           ;;
10031         esac
10032       fi
10033       if test "$with_gnu_ld" = no; then
10034         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10035         hardcode_libdir_separator=:
10036
10037         case $host_cpu in
10038         hppa*64*|ia64*)
10039           hardcode_direct=no
10040           hardcode_shlibpath_var=no
10041           ;;
10042         *)
10043           hardcode_direct=yes
10044           hardcode_direct_absolute=yes
10045           export_dynamic_flag_spec='${wl}-E'
10046
10047           # hardcode_minus_L: Not really in the search PATH,
10048           # but as the default location of the library.
10049           hardcode_minus_L=yes
10050           ;;
10051         esac
10052       fi
10053       ;;
10054
10055     irix5* | irix6* | nonstopux*)
10056       if test "$GCC" = yes; then
10057         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'
10058         # Try to use the -exported_symbol ld option, if it does not
10059         # work, assume that -exports_file does not work either and
10060         # implicitly export all symbols.
10061         # This should be the same for all languages, so no per-tag cache variable.
10062         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10063 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10064 if ${lt_cv_irix_exported_symbol+:} false; then :
10065   $as_echo_n "(cached) " >&6
10066 else
10067   save_LDFLAGS="$LDFLAGS"
10068            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10069            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h.  */
10071 int foo (void) { return 0; }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074   lt_cv_irix_exported_symbol=yes
10075 else
10076   lt_cv_irix_exported_symbol=no
10077 fi
10078 rm -f core conftest.err conftest.$ac_objext \
10079     conftest$ac_exeext conftest.$ac_ext
10080            LDFLAGS="$save_LDFLAGS"
10081 fi
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10083 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10084         if test "$lt_cv_irix_exported_symbol" = yes; then
10085           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'
10086         fi
10087       else
10088         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'
10089         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'
10090       fi
10091       archive_cmds_need_lc='no'
10092       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10093       hardcode_libdir_separator=:
10094       inherit_rpath=yes
10095       link_all_deplibs=yes
10096       ;;
10097
10098     netbsd*)
10099       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10100         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10101       else
10102         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10103       fi
10104       hardcode_libdir_flag_spec='-R$libdir'
10105       hardcode_direct=yes
10106       hardcode_shlibpath_var=no
10107       ;;
10108
10109     newsos6)
10110       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111       hardcode_direct=yes
10112       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10113       hardcode_libdir_separator=:
10114       hardcode_shlibpath_var=no
10115       ;;
10116
10117     *nto* | *qnx*)
10118       ;;
10119
10120     openbsd*)
10121       if test -f /usr/libexec/ld.so; then
10122         hardcode_direct=yes
10123         hardcode_shlibpath_var=no
10124         hardcode_direct_absolute=yes
10125         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10126           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10127           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10128           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10129           export_dynamic_flag_spec='${wl}-E'
10130         else
10131           case $host_os in
10132            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10133              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10134              hardcode_libdir_flag_spec='-R$libdir'
10135              ;;
10136            *)
10137              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10138              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10139              ;;
10140           esac
10141         fi
10142       else
10143         ld_shlibs=no
10144       fi
10145       ;;
10146
10147     os2*)
10148       hardcode_libdir_flag_spec='-L$libdir'
10149       hardcode_minus_L=yes
10150       allow_undefined_flag=unsupported
10151       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'
10152       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10153       ;;
10154
10155     osf3*)
10156       if test "$GCC" = yes; then
10157         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10158         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'
10159       else
10160         allow_undefined_flag=' -expect_unresolved \*'
10161         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'
10162       fi
10163       archive_cmds_need_lc='no'
10164       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10165       hardcode_libdir_separator=:
10166       ;;
10167
10168     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10169       if test "$GCC" = yes; then
10170         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10171         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'
10172         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10173       else
10174         allow_undefined_flag=' -expect_unresolved \*'
10175         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'
10176         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~
10177         $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'
10178
10179         # Both c and cxx compiler support -rpath directly
10180         hardcode_libdir_flag_spec='-rpath $libdir'
10181       fi
10182       archive_cmds_need_lc='no'
10183       hardcode_libdir_separator=:
10184       ;;
10185
10186     solaris*)
10187       no_undefined_flag=' -z defs'
10188       if test "$GCC" = yes; then
10189         wlarc='${wl}'
10190         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10191         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10192           $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'
10193       else
10194         case `$CC -V 2>&1` in
10195         *"Compilers 5.0"*)
10196           wlarc=''
10197           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10198           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10199           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10200           ;;
10201         *)
10202           wlarc='${wl}'
10203           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10204           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10205           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10206           ;;
10207         esac
10208       fi
10209       hardcode_libdir_flag_spec='-R$libdir'
10210       hardcode_shlibpath_var=no
10211       case $host_os in
10212       solaris2.[0-5] | solaris2.[0-5].*) ;;
10213       *)
10214         # The compiler driver will combine and reorder linker options,
10215         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10216         # but is careful enough not to reorder.
10217         # Supported since Solaris 2.6 (maybe 2.5.1?)
10218         if test "$GCC" = yes; then
10219           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10220         else
10221           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10222         fi
10223         ;;
10224       esac
10225       link_all_deplibs=yes
10226       ;;
10227
10228     sunos4*)
10229       if test "x$host_vendor" = xsequent; then
10230         # Use $CC to link under sequent, because it throws in some extra .o
10231         # files that make .init and .fini sections work.
10232         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10233       else
10234         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10235       fi
10236       hardcode_libdir_flag_spec='-L$libdir'
10237       hardcode_direct=yes
10238       hardcode_minus_L=yes
10239       hardcode_shlibpath_var=no
10240       ;;
10241
10242     sysv4)
10243       case $host_vendor in
10244         sni)
10245           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10246           hardcode_direct=yes # is this really true???
10247         ;;
10248         siemens)
10249           ## LD is ld it makes a PLAMLIB
10250           ## CC just makes a GrossModule.
10251           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10252           reload_cmds='$CC -r -o $output$reload_objs'
10253           hardcode_direct=no
10254         ;;
10255         motorola)
10256           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10257           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10258         ;;
10259       esac
10260       runpath_var='LD_RUN_PATH'
10261       hardcode_shlibpath_var=no
10262       ;;
10263
10264     sysv4.3*)
10265       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10266       hardcode_shlibpath_var=no
10267       export_dynamic_flag_spec='-Bexport'
10268       ;;
10269
10270     sysv4*MP*)
10271       if test -d /usr/nec; then
10272         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273         hardcode_shlibpath_var=no
10274         runpath_var=LD_RUN_PATH
10275         hardcode_runpath_var=yes
10276         ld_shlibs=yes
10277       fi
10278       ;;
10279
10280     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10281       no_undefined_flag='${wl}-z,text'
10282       archive_cmds_need_lc=no
10283       hardcode_shlibpath_var=no
10284       runpath_var='LD_RUN_PATH'
10285
10286       if test "$GCC" = yes; then
10287         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10288         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10289       else
10290         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10292       fi
10293       ;;
10294
10295     sysv5* | sco3.2v5* | sco5v6*)
10296       # Note: We can NOT use -z defs as we might desire, because we do not
10297       # link with -lc, and that would cause any symbols used from libc to
10298       # always be unresolved, which means just about no library would
10299       # ever link correctly.  If we're not using GNU ld we use -z text
10300       # though, which does catch some bad symbols but isn't as heavy-handed
10301       # as -z defs.
10302       no_undefined_flag='${wl}-z,text'
10303       allow_undefined_flag='${wl}-z,nodefs'
10304       archive_cmds_need_lc=no
10305       hardcode_shlibpath_var=no
10306       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10307       hardcode_libdir_separator=':'
10308       link_all_deplibs=yes
10309       export_dynamic_flag_spec='${wl}-Bexport'
10310       runpath_var='LD_RUN_PATH'
10311
10312       if test "$GCC" = yes; then
10313         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10314         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10315       else
10316         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10318       fi
10319       ;;
10320
10321     uts4*)
10322       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10323       hardcode_libdir_flag_spec='-L$libdir'
10324       hardcode_shlibpath_var=no
10325       ;;
10326
10327     *)
10328       ld_shlibs=no
10329       ;;
10330     esac
10331
10332     if test x$host_vendor = xsni; then
10333       case $host in
10334       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10335         export_dynamic_flag_spec='${wl}-Blargedynsym'
10336         ;;
10337       esac
10338     fi
10339   fi
10340
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10342 $as_echo "$ld_shlibs" >&6; }
10343 test "$ld_shlibs" = no && can_build_shared=no
10344
10345 with_gnu_ld=$with_gnu_ld
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361 #
10362 # Do we need to explicitly link libc?
10363 #
10364 case "x$archive_cmds_need_lc" in
10365 x|xyes)
10366   # Assume -lc should be added
10367   archive_cmds_need_lc=yes
10368
10369   if test "$enable_shared" = yes && test "$GCC" = yes; then
10370     case $archive_cmds in
10371     *'~'*)
10372       # FIXME: we may have to deal with multi-command sequences.
10373       ;;
10374     '$CC '*)
10375       # Test whether the compiler implicitly links with -lc since on some
10376       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10377       # to ld, don't add -lc before -lgcc.
10378       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10379 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10380 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10381   $as_echo_n "(cached) " >&6
10382 else
10383   $RM conftest*
10384         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10385
10386         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10387   (eval $ac_compile) 2>&5
10388   ac_status=$?
10389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10390   test $ac_status = 0; } 2>conftest.err; then
10391           soname=conftest
10392           lib=conftest
10393           libobjs=conftest.$ac_objext
10394           deplibs=
10395           wl=$lt_prog_compiler_wl
10396           pic_flag=$lt_prog_compiler_pic
10397           compiler_flags=-v
10398           linker_flags=-v
10399           verstring=
10400           output_objdir=.
10401           libname=conftest
10402           lt_save_allow_undefined_flag=$allow_undefined_flag
10403           allow_undefined_flag=
10404           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10405   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10406   ac_status=$?
10407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10408   test $ac_status = 0; }
10409           then
10410             lt_cv_archive_cmds_need_lc=no
10411           else
10412             lt_cv_archive_cmds_need_lc=yes
10413           fi
10414           allow_undefined_flag=$lt_save_allow_undefined_flag
10415         else
10416           cat conftest.err 1>&5
10417         fi
10418         $RM conftest*
10419
10420 fi
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10422 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10423       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10424       ;;
10425     esac
10426   fi
10427   ;;
10428 esac
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10587 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10588
10589 if test "$GCC" = yes; then
10590   case $host_os in
10591     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10592     *) lt_awk_arg="/^libraries:/" ;;
10593   esac
10594   case $host_os in
10595     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10596     *) lt_sed_strip_eq="s,=/,/,g" ;;
10597   esac
10598   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10599   case $lt_search_path_spec in
10600   *\;*)
10601     # if the path contains ";" then we assume it to be the separator
10602     # otherwise default to the standard path separator (i.e. ":") - it is
10603     # assumed that no part of a normal pathname contains ";" but that should
10604     # okay in the real world where ";" in dirpaths is itself problematic.
10605     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10606     ;;
10607   *)
10608     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10609     ;;
10610   esac
10611   # Ok, now we have the path, separated by spaces, we can step through it
10612   # and add multilib dir if necessary.
10613   lt_tmp_lt_search_path_spec=
10614   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10615   for lt_sys_path in $lt_search_path_spec; do
10616     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10617       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10618     else
10619       test -d "$lt_sys_path" && \
10620         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10621     fi
10622   done
10623   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10624 BEGIN {RS=" "; FS="/|\n";} {
10625   lt_foo="";
10626   lt_count=0;
10627   for (lt_i = NF; lt_i > 0; lt_i--) {
10628     if ($lt_i != "" && $lt_i != ".") {
10629       if ($lt_i == "..") {
10630         lt_count++;
10631       } else {
10632         if (lt_count == 0) {
10633           lt_foo="/" $lt_i lt_foo;
10634         } else {
10635           lt_count--;
10636         }
10637       }
10638     }
10639   }
10640   if (lt_foo != "") { lt_freq[lt_foo]++; }
10641   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10642 }'`
10643   # AWK program above erroneously prepends '/' to C:/dos/paths
10644   # for these hosts.
10645   case $host_os in
10646     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10647       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10648   esac
10649   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10650 else
10651   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10652 fi
10653 library_names_spec=
10654 libname_spec='lib$name'
10655 soname_spec=
10656 shrext_cmds=".so"
10657 postinstall_cmds=
10658 postuninstall_cmds=
10659 finish_cmds=
10660 finish_eval=
10661 shlibpath_var=
10662 shlibpath_overrides_runpath=unknown
10663 version_type=none
10664 dynamic_linker="$host_os ld.so"
10665 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10666 need_lib_prefix=unknown
10667 hardcode_into_libs=no
10668
10669 # when you set need_version to no, make sure it does not cause -set_version
10670 # flags to be left without arguments
10671 need_version=unknown
10672
10673 case $host_os in
10674 aix3*)
10675   version_type=linux
10676   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10677   shlibpath_var=LIBPATH
10678
10679   # AIX 3 has no versioning support, so we append a major version to the name.
10680   soname_spec='${libname}${release}${shared_ext}$major'
10681   ;;
10682
10683 aix[4-9]*)
10684   version_type=linux
10685   need_lib_prefix=no
10686   need_version=no
10687   hardcode_into_libs=yes
10688   if test "$host_cpu" = ia64; then
10689     # AIX 5 supports IA64
10690     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10691     shlibpath_var=LD_LIBRARY_PATH
10692   else
10693     # With GCC up to 2.95.x, collect2 would create an import file
10694     # for dependence libraries.  The import file would start with
10695     # the line `#! .'.  This would cause the generated library to
10696     # depend on `.', always an invalid library.  This was fixed in
10697     # development snapshots of GCC prior to 3.0.
10698     case $host_os in
10699       aix4 | aix4.[01] | aix4.[01].*)
10700       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10701            echo ' yes '
10702            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10703         :
10704       else
10705         can_build_shared=no
10706       fi
10707       ;;
10708     esac
10709     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10710     # soname into executable. Probably we can add versioning support to
10711     # collect2, so additional links can be useful in future.
10712     if test "$aix_use_runtimelinking" = yes; then
10713       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10714       # instead of lib<name>.a to let people know that these are not
10715       # typical AIX shared libraries.
10716       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717     else
10718       # We preserve .a as extension for shared libraries through AIX4.2
10719       # and later when we are not doing run time linking.
10720       library_names_spec='${libname}${release}.a $libname.a'
10721       soname_spec='${libname}${release}${shared_ext}$major'
10722     fi
10723     shlibpath_var=LIBPATH
10724   fi
10725   ;;
10726
10727 amigaos*)
10728   case $host_cpu in
10729   powerpc)
10730     # Since July 2007 AmigaOS4 officially supports .so libraries.
10731     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10732     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733     ;;
10734   m68k)
10735     library_names_spec='$libname.ixlibrary $libname.a'
10736     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10737     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'
10738     ;;
10739   esac
10740   ;;
10741
10742 beos*)
10743   library_names_spec='${libname}${shared_ext}'
10744   dynamic_linker="$host_os ld.so"
10745   shlibpath_var=LIBRARY_PATH
10746   ;;
10747
10748 bsdi[45]*)
10749   version_type=linux
10750   need_version=no
10751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752   soname_spec='${libname}${release}${shared_ext}$major'
10753   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10754   shlibpath_var=LD_LIBRARY_PATH
10755   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10756   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10757   # the default ld.so.conf also contains /usr/contrib/lib and
10758   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10759   # libtool to hard-code these into programs
10760   ;;
10761
10762 cygwin* | mingw* | pw32* | cegcc*)
10763   version_type=windows
10764   shrext_cmds=".dll"
10765   need_version=no
10766   need_lib_prefix=no
10767
10768   case $GCC,$cc_basename in
10769   yes,*)
10770     # gcc
10771     library_names_spec='$libname.dll.a'
10772     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10773     postinstall_cmds='base_file=`basename \${file}`~
10774       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10775       dldir=$destdir/`dirname \$dlpath`~
10776       test -d \$dldir || mkdir -p \$dldir~
10777       $install_prog $dir/$dlname \$dldir/$dlname~
10778       chmod a+x \$dldir/$dlname~
10779       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10780         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10781       fi'
10782     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10783       dlpath=$dir/\$dldll~
10784        $RM \$dlpath'
10785     shlibpath_overrides_runpath=yes
10786
10787     case $host_os in
10788     cygwin*)
10789       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10790       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10791
10792       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10793       ;;
10794     mingw* | cegcc*)
10795       # MinGW DLLs use traditional 'lib' prefix
10796       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10797       ;;
10798     pw32*)
10799       # pw32 DLLs use 'pw' prefix rather than 'lib'
10800       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10801       ;;
10802     esac
10803     dynamic_linker='Win32 ld.exe'
10804     ;;
10805
10806   *,cl*)
10807     # Native MSVC
10808     libname_spec='$name'
10809     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10810     library_names_spec='${libname}.dll.lib'
10811
10812     case $build_os in
10813     mingw*)
10814       sys_lib_search_path_spec=
10815       lt_save_ifs=$IFS
10816       IFS=';'
10817       for lt_path in $LIB
10818       do
10819         IFS=$lt_save_ifs
10820         # Let DOS variable expansion print the short 8.3 style file name.
10821         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10822         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10823       done
10824       IFS=$lt_save_ifs
10825       # Convert to MSYS style.
10826       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10827       ;;
10828     cygwin*)
10829       # Convert to unix form, then to dos form, then back to unix form
10830       # but this time dos style (no spaces!) so that the unix form looks
10831       # like /cygdrive/c/PROGRA~1:/cygdr...
10832       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10833       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10834       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10835       ;;
10836     *)
10837       sys_lib_search_path_spec="$LIB"
10838       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10839         # It is most probably a Windows format PATH.
10840         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10841       else
10842         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10843       fi
10844       # FIXME: find the short name or the path components, as spaces are
10845       # common. (e.g. "Program Files" -> "PROGRA~1")
10846       ;;
10847     esac
10848
10849     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10850     postinstall_cmds='base_file=`basename \${file}`~
10851       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10852       dldir=$destdir/`dirname \$dlpath`~
10853       test -d \$dldir || mkdir -p \$dldir~
10854       $install_prog $dir/$dlname \$dldir/$dlname'
10855     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10856       dlpath=$dir/\$dldll~
10857        $RM \$dlpath'
10858     shlibpath_overrides_runpath=yes
10859     dynamic_linker='Win32 link.exe'
10860     ;;
10861
10862   *)
10863     # Assume MSVC wrapper
10864     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10865     dynamic_linker='Win32 ld.exe'
10866     ;;
10867   esac
10868   # FIXME: first we should search . and the directory the executable is in
10869   shlibpath_var=PATH
10870   ;;
10871
10872 darwin* | rhapsody*)
10873   dynamic_linker="$host_os dyld"
10874   version_type=darwin
10875   need_lib_prefix=no
10876   need_version=no
10877   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10878   soname_spec='${libname}${release}${major}$shared_ext'
10879   shlibpath_overrides_runpath=yes
10880   shlibpath_var=DYLD_LIBRARY_PATH
10881   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10882
10883   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10884   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10885   ;;
10886
10887 dgux*)
10888   version_type=linux
10889   need_lib_prefix=no
10890   need_version=no
10891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10892   soname_spec='${libname}${release}${shared_ext}$major'
10893   shlibpath_var=LD_LIBRARY_PATH
10894   ;;
10895
10896 freebsd1*)
10897   dynamic_linker=no
10898   ;;
10899
10900 freebsd* | dragonfly*)
10901   # DragonFly does not have aout.  When/if they implement a new
10902   # versioning mechanism, adjust this.
10903   if test -x /usr/bin/objformat; then
10904     objformat=`/usr/bin/objformat`
10905   else
10906     case $host_os in
10907     freebsd[123]*) objformat=aout ;;
10908     *) objformat=elf ;;
10909     esac
10910   fi
10911   version_type=freebsd-$objformat
10912   case $version_type in
10913     freebsd-elf*)
10914       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10915       need_version=no
10916       need_lib_prefix=no
10917       ;;
10918     freebsd-*)
10919       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10920       need_version=yes
10921       ;;
10922   esac
10923   shlibpath_var=LD_LIBRARY_PATH
10924   case $host_os in
10925   freebsd2*)
10926     shlibpath_overrides_runpath=yes
10927     ;;
10928   freebsd3.[01]* | freebsdelf3.[01]*)
10929     shlibpath_overrides_runpath=yes
10930     hardcode_into_libs=yes
10931     ;;
10932   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10933   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10934     shlibpath_overrides_runpath=no
10935     hardcode_into_libs=yes
10936     ;;
10937   *) # from 4.6 on, and DragonFly
10938     shlibpath_overrides_runpath=yes
10939     hardcode_into_libs=yes
10940     ;;
10941   esac
10942   ;;
10943
10944 gnu*)
10945   version_type=linux
10946   need_lib_prefix=no
10947   need_version=no
10948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10949   soname_spec='${libname}${release}${shared_ext}$major'
10950   shlibpath_var=LD_LIBRARY_PATH
10951   hardcode_into_libs=yes
10952   ;;
10953
10954 haiku*)
10955   version_type=linux
10956   need_lib_prefix=no
10957   need_version=no
10958   dynamic_linker="$host_os runtime_loader"
10959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10960   soname_spec='${libname}${release}${shared_ext}$major'
10961   shlibpath_var=LIBRARY_PATH
10962   shlibpath_overrides_runpath=yes
10963   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10964   hardcode_into_libs=yes
10965   ;;
10966
10967 hpux9* | hpux10* | hpux11*)
10968   # Give a soname corresponding to the major version so that dld.sl refuses to
10969   # link against other versions.
10970   version_type=sunos
10971   need_lib_prefix=no
10972   need_version=no
10973   case $host_cpu in
10974   ia64*)
10975     shrext_cmds='.so'
10976     hardcode_into_libs=yes
10977     dynamic_linker="$host_os dld.so"
10978     shlibpath_var=LD_LIBRARY_PATH
10979     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10980     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981     soname_spec='${libname}${release}${shared_ext}$major'
10982     if test "X$HPUX_IA64_MODE" = X32; then
10983       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10984     else
10985       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10986     fi
10987     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10988     ;;
10989   hppa*64*)
10990     shrext_cmds='.sl'
10991     hardcode_into_libs=yes
10992     dynamic_linker="$host_os dld.sl"
10993     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10994     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10995     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10996     soname_spec='${libname}${release}${shared_ext}$major'
10997     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10998     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10999     ;;
11000   *)
11001     shrext_cmds='.sl'
11002     dynamic_linker="$host_os dld.sl"
11003     shlibpath_var=SHLIB_PATH
11004     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11005     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006     soname_spec='${libname}${release}${shared_ext}$major'
11007     ;;
11008   esac
11009   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11010   postinstall_cmds='chmod 555 $lib'
11011   # or fails outright, so override atomically:
11012   install_override_mode=555
11013   ;;
11014
11015 interix[3-9]*)
11016   version_type=linux
11017   need_lib_prefix=no
11018   need_version=no
11019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11020   soname_spec='${libname}${release}${shared_ext}$major'
11021   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11022   shlibpath_var=LD_LIBRARY_PATH
11023   shlibpath_overrides_runpath=no
11024   hardcode_into_libs=yes
11025   ;;
11026
11027 irix5* | irix6* | nonstopux*)
11028   case $host_os in
11029     nonstopux*) version_type=nonstopux ;;
11030     *)
11031         if test "$lt_cv_prog_gnu_ld" = yes; then
11032                 version_type=linux
11033         else
11034                 version_type=irix
11035         fi ;;
11036   esac
11037   need_lib_prefix=no
11038   need_version=no
11039   soname_spec='${libname}${release}${shared_ext}$major'
11040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11041   case $host_os in
11042   irix5* | nonstopux*)
11043     libsuff= shlibsuff=
11044     ;;
11045   *)
11046     case $LD in # libtool.m4 will add one of these switches to LD
11047     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11048       libsuff= shlibsuff= libmagic=32-bit;;
11049     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11050       libsuff=32 shlibsuff=N32 libmagic=N32;;
11051     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11052       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11053     *) libsuff= shlibsuff= libmagic=never-match;;
11054     esac
11055     ;;
11056   esac
11057   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11058   shlibpath_overrides_runpath=no
11059   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11060   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11061   hardcode_into_libs=yes
11062   ;;
11063
11064 # No shared lib support for Linux oldld, aout, or coff.
11065 linux*oldld* | linux*aout* | linux*coff*)
11066   dynamic_linker=no
11067   ;;
11068
11069 # This must be Linux ELF.
11070 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11071   version_type=linux
11072   need_lib_prefix=no
11073   need_version=no
11074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075   soname_spec='${libname}${release}${shared_ext}$major'
11076   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11077   shlibpath_var=LD_LIBRARY_PATH
11078   shlibpath_overrides_runpath=no
11079
11080   # Some binutils ld are patched to set DT_RUNPATH
11081   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11082   $as_echo_n "(cached) " >&6
11083 else
11084   lt_cv_shlibpath_overrides_runpath=no
11085     save_LDFLAGS=$LDFLAGS
11086     save_libdir=$libdir
11087     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11088          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11089     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h.  */
11091
11092 int
11093 main ()
11094 {
11095
11096   ;
11097   return 0;
11098 }
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11102   lt_cv_shlibpath_overrides_runpath=yes
11103 fi
11104 fi
11105 rm -f core conftest.err conftest.$ac_objext \
11106     conftest$ac_exeext conftest.$ac_ext
11107     LDFLAGS=$save_LDFLAGS
11108     libdir=$save_libdir
11109
11110 fi
11111
11112   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11113
11114   # This implies no fast_install, which is unacceptable.
11115   # Some rework will be needed to allow for fast_install
11116   # before this can be enabled.
11117   hardcode_into_libs=yes
11118
11119   # Add ABI-specific directories to the system library path.
11120   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11121
11122   # Append ld.so.conf contents to the search path
11123   if test -f /etc/ld.so.conf; then
11124     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' ' '`
11125     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11126
11127   fi
11128
11129   # We used to test for /lib/ld.so.1 and disable shared libraries on
11130   # powerpc, because MkLinux only supported shared libraries with the
11131   # GNU dynamic linker.  Since this was broken with cross compilers,
11132   # most powerpc-linux boxes support dynamic linking these days and
11133   # people can always --disable-shared, the test was removed, and we
11134   # assume the GNU/Linux dynamic linker is in use.
11135   dynamic_linker='GNU/Linux ld.so'
11136   ;;
11137
11138 netbsd*)
11139   version_type=sunos
11140   need_lib_prefix=no
11141   need_version=no
11142   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11143     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11144     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11145     dynamic_linker='NetBSD (a.out) ld.so'
11146   else
11147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11148     soname_spec='${libname}${release}${shared_ext}$major'
11149     dynamic_linker='NetBSD ld.elf_so'
11150   fi
11151   shlibpath_var=LD_LIBRARY_PATH
11152   shlibpath_overrides_runpath=yes
11153   hardcode_into_libs=yes
11154   ;;
11155
11156 newsos6)
11157   version_type=linux
11158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159   shlibpath_var=LD_LIBRARY_PATH
11160   shlibpath_overrides_runpath=yes
11161   ;;
11162
11163 *nto* | *qnx*)
11164   version_type=qnx
11165   need_lib_prefix=no
11166   need_version=no
11167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11168   soname_spec='${libname}${release}${shared_ext}$major'
11169   shlibpath_var=LD_LIBRARY_PATH
11170   shlibpath_overrides_runpath=no
11171   hardcode_into_libs=yes
11172   dynamic_linker='ldqnx.so'
11173   ;;
11174
11175 openbsd*)
11176   version_type=sunos
11177   sys_lib_dlsearch_path_spec="/usr/lib"
11178   need_lib_prefix=no
11179   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11180   case $host_os in
11181     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11182     *)                          need_version=no  ;;
11183   esac
11184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11185   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11186   shlibpath_var=LD_LIBRARY_PATH
11187   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11188     case $host_os in
11189       openbsd2.[89] | openbsd2.[89].*)
11190         shlibpath_overrides_runpath=no
11191         ;;
11192       *)
11193         shlibpath_overrides_runpath=yes
11194         ;;
11195       esac
11196   else
11197     shlibpath_overrides_runpath=yes
11198   fi
11199   ;;
11200
11201 os2*)
11202   libname_spec='$name'
11203   shrext_cmds=".dll"
11204   need_lib_prefix=no
11205   library_names_spec='$libname${shared_ext} $libname.a'
11206   dynamic_linker='OS/2 ld.exe'
11207   shlibpath_var=LIBPATH
11208   ;;
11209
11210 osf3* | osf4* | osf5*)
11211   version_type=osf
11212   need_lib_prefix=no
11213   need_version=no
11214   soname_spec='${libname}${release}${shared_ext}$major'
11215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11216   shlibpath_var=LD_LIBRARY_PATH
11217   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11218   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11219   ;;
11220
11221 rdos*)
11222   dynamic_linker=no
11223   ;;
11224
11225 solaris*)
11226   version_type=linux
11227   need_lib_prefix=no
11228   need_version=no
11229   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11230   soname_spec='${libname}${release}${shared_ext}$major'
11231   shlibpath_var=LD_LIBRARY_PATH
11232   shlibpath_overrides_runpath=yes
11233   hardcode_into_libs=yes
11234   # ldd complains unless libraries are executable
11235   postinstall_cmds='chmod +x $lib'
11236   ;;
11237
11238 sunos4*)
11239   version_type=sunos
11240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11241   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11242   shlibpath_var=LD_LIBRARY_PATH
11243   shlibpath_overrides_runpath=yes
11244   if test "$with_gnu_ld" = yes; then
11245     need_lib_prefix=no
11246   fi
11247   need_version=yes
11248   ;;
11249
11250 sysv4 | sysv4.3*)
11251   version_type=linux
11252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253   soname_spec='${libname}${release}${shared_ext}$major'
11254   shlibpath_var=LD_LIBRARY_PATH
11255   case $host_vendor in
11256     sni)
11257       shlibpath_overrides_runpath=no
11258       need_lib_prefix=no
11259       runpath_var=LD_RUN_PATH
11260       ;;
11261     siemens)
11262       need_lib_prefix=no
11263       ;;
11264     motorola)
11265       need_lib_prefix=no
11266       need_version=no
11267       shlibpath_overrides_runpath=no
11268       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11269       ;;
11270   esac
11271   ;;
11272
11273 sysv4*MP*)
11274   if test -d /usr/nec ;then
11275     version_type=linux
11276     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11277     soname_spec='$libname${shared_ext}.$major'
11278     shlibpath_var=LD_LIBRARY_PATH
11279   fi
11280   ;;
11281
11282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11283   version_type=freebsd-elf
11284   need_lib_prefix=no
11285   need_version=no
11286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11287   soname_spec='${libname}${release}${shared_ext}$major'
11288   shlibpath_var=LD_LIBRARY_PATH
11289   shlibpath_overrides_runpath=yes
11290   hardcode_into_libs=yes
11291   if test "$with_gnu_ld" = yes; then
11292     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11293   else
11294     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11295     case $host_os in
11296       sco3.2v5*)
11297         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11298         ;;
11299     esac
11300   fi
11301   sys_lib_dlsearch_path_spec='/usr/lib'
11302   ;;
11303
11304 tpf*)
11305   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11306   version_type=linux
11307   need_lib_prefix=no
11308   need_version=no
11309   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310   shlibpath_var=LD_LIBRARY_PATH
11311   shlibpath_overrides_runpath=no
11312   hardcode_into_libs=yes
11313   ;;
11314
11315 uts4*)
11316   version_type=linux
11317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318   soname_spec='${libname}${release}${shared_ext}$major'
11319   shlibpath_var=LD_LIBRARY_PATH
11320   ;;
11321
11322 *)
11323   dynamic_linker=no
11324   ;;
11325 esac
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11327 $as_echo "$dynamic_linker" >&6; }
11328 test "$dynamic_linker" = no && can_build_shared=no
11329
11330 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11331 if test "$GCC" = yes; then
11332   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11333 fi
11334
11335 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11336   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11337 fi
11338 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11339   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11340 fi
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11434 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11435 hardcode_action=
11436 if test -n "$hardcode_libdir_flag_spec" ||
11437    test -n "$runpath_var" ||
11438    test "X$hardcode_automatic" = "Xyes" ; then
11439
11440   # We can hardcode non-existent directories.
11441   if test "$hardcode_direct" != no &&
11442      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11443      # have to relink, otherwise we might link with an installed library
11444      # when we should be linking with a yet-to-be-installed one
11445      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11446      test "$hardcode_minus_L" != no; then
11447     # Linking always hardcodes the temporary library directory.
11448     hardcode_action=relink
11449   else
11450     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11451     hardcode_action=immediate
11452   fi
11453 else
11454   # We cannot hardcode anything, or else we can only hardcode existing
11455   # directories.
11456   hardcode_action=unsupported
11457 fi
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11459 $as_echo "$hardcode_action" >&6; }
11460
11461 if test "$hardcode_action" = relink ||
11462    test "$inherit_rpath" = yes; then
11463   # Fast installation is not supported
11464   enable_fast_install=no
11465 elif test "$shlibpath_overrides_runpath" = yes ||
11466      test "$enable_shared" = no; then
11467   # Fast installation is not necessary
11468   enable_fast_install=needless
11469 fi
11470
11471
11472
11473
11474
11475
11476   if test "x$enable_dlopen" != xyes; then
11477   enable_dlopen=unknown
11478   enable_dlopen_self=unknown
11479   enable_dlopen_self_static=unknown
11480 else
11481   lt_cv_dlopen=no
11482   lt_cv_dlopen_libs=
11483
11484   case $host_os in
11485   beos*)
11486     lt_cv_dlopen="load_add_on"
11487     lt_cv_dlopen_libs=
11488     lt_cv_dlopen_self=yes
11489     ;;
11490
11491   mingw* | pw32* | cegcc*)
11492     lt_cv_dlopen="LoadLibrary"
11493     lt_cv_dlopen_libs=
11494     ;;
11495
11496   cygwin*)
11497     lt_cv_dlopen="dlopen"
11498     lt_cv_dlopen_libs=
11499     ;;
11500
11501   darwin*)
11502   # if libdl is installed we need to link against it
11503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11504 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11505 if ${ac_cv_lib_dl_dlopen+:} false; then :
11506   $as_echo_n "(cached) " >&6
11507 else
11508   ac_check_lib_save_LIBS=$LIBS
11509 LIBS="-ldl  $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h.  */
11512
11513 /* Override any GCC internal prototype to avoid an error.
11514    Use char because int might match the return type of a GCC
11515    builtin and then its argument prototype would still apply.  */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char dlopen ();
11520 int
11521 main ()
11522 {
11523 return dlopen ();
11524   ;
11525   return 0;
11526 }
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529   ac_cv_lib_dl_dlopen=yes
11530 else
11531   ac_cv_lib_dl_dlopen=no
11532 fi
11533 rm -f core conftest.err conftest.$ac_objext \
11534     conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_lib_save_LIBS
11536 fi
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11538 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11539 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11540   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11541 else
11542
11543     lt_cv_dlopen="dyld"
11544     lt_cv_dlopen_libs=
11545     lt_cv_dlopen_self=yes
11546
11547 fi
11548
11549     ;;
11550
11551   *)
11552     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11553 if test "x$ac_cv_func_shl_load" = xyes; then :
11554   lt_cv_dlopen="shl_load"
11555 else
11556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11557 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11558 if ${ac_cv_lib_dld_shl_load+:} false; then :
11559   $as_echo_n "(cached) " >&6
11560 else
11561   ac_check_lib_save_LIBS=$LIBS
11562 LIBS="-ldld  $LIBS"
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h.  */
11565
11566 /* Override any GCC internal prototype to avoid an error.
11567    Use char because int might match the return type of a GCC
11568    builtin and then its argument prototype would still apply.  */
11569 #ifdef __cplusplus
11570 extern "C"
11571 #endif
11572 char shl_load ();
11573 int
11574 main ()
11575 {
11576 return shl_load ();
11577   ;
11578   return 0;
11579 }
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"; then :
11582   ac_cv_lib_dld_shl_load=yes
11583 else
11584   ac_cv_lib_dld_shl_load=no
11585 fi
11586 rm -f core conftest.err conftest.$ac_objext \
11587     conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_lib_save_LIBS
11589 fi
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11591 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11592 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11593   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11594 else
11595   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11596 if test "x$ac_cv_func_dlopen" = xyes; then :
11597   lt_cv_dlopen="dlopen"
11598 else
11599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11601 if ${ac_cv_lib_dl_dlopen+:} false; then :
11602   $as_echo_n "(cached) " >&6
11603 else
11604   ac_check_lib_save_LIBS=$LIBS
11605 LIBS="-ldl  $LIBS"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h.  */
11608
11609 /* Override any GCC internal prototype to avoid an error.
11610    Use char because int might match the return type of a GCC
11611    builtin and then its argument prototype would still apply.  */
11612 #ifdef __cplusplus
11613 extern "C"
11614 #endif
11615 char dlopen ();
11616 int
11617 main ()
11618 {
11619 return dlopen ();
11620   ;
11621   return 0;
11622 }
11623 _ACEOF
11624 if ac_fn_c_try_link "$LINENO"; then :
11625   ac_cv_lib_dl_dlopen=yes
11626 else
11627   ac_cv_lib_dl_dlopen=no
11628 fi
11629 rm -f core conftest.err conftest.$ac_objext \
11630     conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11632 fi
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11635 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11636   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11637 else
11638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11639 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11640 if ${ac_cv_lib_svld_dlopen+:} false; then :
11641   $as_echo_n "(cached) " >&6
11642 else
11643   ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lsvld  $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h.  */
11647
11648 /* Override any GCC internal prototype to avoid an error.
11649    Use char because int might match the return type of a GCC
11650    builtin and then its argument prototype would still apply.  */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char dlopen ();
11655 int
11656 main ()
11657 {
11658 return dlopen ();
11659   ;
11660   return 0;
11661 }
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664   ac_cv_lib_svld_dlopen=yes
11665 else
11666   ac_cv_lib_svld_dlopen=no
11667 fi
11668 rm -f core conftest.err conftest.$ac_objext \
11669     conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11671 fi
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11673 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11674 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11675   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11676 else
11677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11678 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11679 if ${ac_cv_lib_dld_dld_link+:} false; then :
11680   $as_echo_n "(cached) " >&6
11681 else
11682   ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-ldld  $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h.  */
11686
11687 /* Override any GCC internal prototype to avoid an error.
11688    Use char because int might match the return type of a GCC
11689    builtin and then its argument prototype would still apply.  */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char dld_link ();
11694 int
11695 main ()
11696 {
11697 return dld_link ();
11698   ;
11699   return 0;
11700 }
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703   ac_cv_lib_dld_dld_link=yes
11704 else
11705   ac_cv_lib_dld_dld_link=no
11706 fi
11707 rm -f core conftest.err conftest.$ac_objext \
11708     conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11710 fi
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11712 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11713 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11714   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11715 fi
11716
11717
11718 fi
11719
11720
11721 fi
11722
11723
11724 fi
11725
11726
11727 fi
11728
11729
11730 fi
11731
11732     ;;
11733   esac
11734
11735   if test "x$lt_cv_dlopen" != xno; then
11736     enable_dlopen=yes
11737   else
11738     enable_dlopen=no
11739   fi
11740
11741   case $lt_cv_dlopen in
11742   dlopen)
11743     save_CPPFLAGS="$CPPFLAGS"
11744     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11745
11746     save_LDFLAGS="$LDFLAGS"
11747     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11748
11749     save_LIBS="$LIBS"
11750     LIBS="$lt_cv_dlopen_libs $LIBS"
11751
11752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11753 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11754 if ${lt_cv_dlopen_self+:} false; then :
11755   $as_echo_n "(cached) " >&6
11756 else
11757           if test "$cross_compiling" = yes; then :
11758   lt_cv_dlopen_self=cross
11759 else
11760   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11761   lt_status=$lt_dlunknown
11762   cat > conftest.$ac_ext <<_LT_EOF
11763 #line $LINENO "configure"
11764 #include "confdefs.h"
11765
11766 #if HAVE_DLFCN_H
11767 #include <dlfcn.h>
11768 #endif
11769
11770 #include <stdio.h>
11771
11772 #ifdef RTLD_GLOBAL
11773 #  define LT_DLGLOBAL           RTLD_GLOBAL
11774 #else
11775 #  ifdef DL_GLOBAL
11776 #    define LT_DLGLOBAL         DL_GLOBAL
11777 #  else
11778 #    define LT_DLGLOBAL         0
11779 #  endif
11780 #endif
11781
11782 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11783    find out it does not work in some platform. */
11784 #ifndef LT_DLLAZY_OR_NOW
11785 #  ifdef RTLD_LAZY
11786 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11787 #  else
11788 #    ifdef DL_LAZY
11789 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11790 #    else
11791 #      ifdef RTLD_NOW
11792 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11793 #      else
11794 #        ifdef DL_NOW
11795 #          define LT_DLLAZY_OR_NOW      DL_NOW
11796 #        else
11797 #          define LT_DLLAZY_OR_NOW      0
11798 #        endif
11799 #      endif
11800 #    endif
11801 #  endif
11802 #endif
11803
11804 /* When -fvisbility=hidden is used, assume the code has been annotated
11805    correspondingly for the symbols needed.  */
11806 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11807 int fnord () __attribute__((visibility("default")));
11808 #endif
11809
11810 int fnord () { return 42; }
11811 int main ()
11812 {
11813   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11814   int status = $lt_dlunknown;
11815
11816   if (self)
11817     {
11818       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11819       else
11820         {
11821           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11822           else puts (dlerror ());
11823         }
11824       /* dlclose (self); */
11825     }
11826   else
11827     puts (dlerror ());
11828
11829   return status;
11830 }
11831 _LT_EOF
11832   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11833   (eval $ac_link) 2>&5
11834   ac_status=$?
11835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11836   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11837     (./conftest; exit; ) >&5 2>/dev/null
11838     lt_status=$?
11839     case x$lt_status in
11840       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11841       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11842       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11843     esac
11844   else :
11845     # compilation failed
11846     lt_cv_dlopen_self=no
11847   fi
11848 fi
11849 rm -fr conftest*
11850
11851
11852 fi
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11854 $as_echo "$lt_cv_dlopen_self" >&6; }
11855
11856     if test "x$lt_cv_dlopen_self" = xyes; then
11857       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11858       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11859 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11860 if ${lt_cv_dlopen_self_static+:} false; then :
11861   $as_echo_n "(cached) " >&6
11862 else
11863           if test "$cross_compiling" = yes; then :
11864   lt_cv_dlopen_self_static=cross
11865 else
11866   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11867   lt_status=$lt_dlunknown
11868   cat > conftest.$ac_ext <<_LT_EOF
11869 #line $LINENO "configure"
11870 #include "confdefs.h"
11871
11872 #if HAVE_DLFCN_H
11873 #include <dlfcn.h>
11874 #endif
11875
11876 #include <stdio.h>
11877
11878 #ifdef RTLD_GLOBAL
11879 #  define LT_DLGLOBAL           RTLD_GLOBAL
11880 #else
11881 #  ifdef DL_GLOBAL
11882 #    define LT_DLGLOBAL         DL_GLOBAL
11883 #  else
11884 #    define LT_DLGLOBAL         0
11885 #  endif
11886 #endif
11887
11888 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11889    find out it does not work in some platform. */
11890 #ifndef LT_DLLAZY_OR_NOW
11891 #  ifdef RTLD_LAZY
11892 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11893 #  else
11894 #    ifdef DL_LAZY
11895 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11896 #    else
11897 #      ifdef RTLD_NOW
11898 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11899 #      else
11900 #        ifdef DL_NOW
11901 #          define LT_DLLAZY_OR_NOW      DL_NOW
11902 #        else
11903 #          define LT_DLLAZY_OR_NOW      0
11904 #        endif
11905 #      endif
11906 #    endif
11907 #  endif
11908 #endif
11909
11910 /* When -fvisbility=hidden is used, assume the code has been annotated
11911    correspondingly for the symbols needed.  */
11912 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11913 int fnord () __attribute__((visibility("default")));
11914 #endif
11915
11916 int fnord () { return 42; }
11917 int main ()
11918 {
11919   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11920   int status = $lt_dlunknown;
11921
11922   if (self)
11923     {
11924       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11925       else
11926         {
11927           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11928           else puts (dlerror ());
11929         }
11930       /* dlclose (self); */
11931     }
11932   else
11933     puts (dlerror ());
11934
11935   return status;
11936 }
11937 _LT_EOF
11938   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11939   (eval $ac_link) 2>&5
11940   ac_status=$?
11941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11942   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11943     (./conftest; exit; ) >&5 2>/dev/null
11944     lt_status=$?
11945     case x$lt_status in
11946       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11947       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11948       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11949     esac
11950   else :
11951     # compilation failed
11952     lt_cv_dlopen_self_static=no
11953   fi
11954 fi
11955 rm -fr conftest*
11956
11957
11958 fi
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11960 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11961     fi
11962
11963     CPPFLAGS="$save_CPPFLAGS"
11964     LDFLAGS="$save_LDFLAGS"
11965     LIBS="$save_LIBS"
11966     ;;
11967   esac
11968
11969   case $lt_cv_dlopen_self in
11970   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11971   *) enable_dlopen_self=unknown ;;
11972   esac
11973
11974   case $lt_cv_dlopen_self_static in
11975   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11976   *) enable_dlopen_self_static=unknown ;;
11977   esac
11978 fi
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996 striplib=
11997 old_striplib=
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11999 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12000 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12001   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12002   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12004 $as_echo "yes" >&6; }
12005 else
12006 # FIXME - insert some real tests, host_os isn't really good enough
12007   case $host_os in
12008   darwin*)
12009     if test -n "$STRIP" ; then
12010       striplib="$STRIP -x"
12011       old_striplib="$STRIP -S"
12012       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12013 $as_echo "yes" >&6; }
12014     else
12015       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12017     fi
12018     ;;
12019   *)
12020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12022     ;;
12023   esac
12024 fi
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037   # Report which library types will actually be built
12038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12039 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12041 $as_echo "$can_build_shared" >&6; }
12042
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12044 $as_echo_n "checking whether to build shared libraries... " >&6; }
12045   test "$can_build_shared" = "no" && enable_shared=no
12046
12047   # On AIX, shared libraries and static libraries use the same namespace, and
12048   # are all built from PIC.
12049   case $host_os in
12050   aix3*)
12051     test "$enable_shared" = yes && enable_static=no
12052     if test -n "$RANLIB"; then
12053       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12054       postinstall_cmds='$RANLIB $lib'
12055     fi
12056     ;;
12057
12058   aix[4-9]*)
12059     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12060       test "$enable_shared" = yes && enable_static=no
12061     fi
12062     ;;
12063   esac
12064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12065 $as_echo "$enable_shared" >&6; }
12066
12067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12068 $as_echo_n "checking whether to build static libraries... " >&6; }
12069   # Make sure either enable_shared or enable_static is yes.
12070   test "$enable_shared" = yes || enable_static=yes
12071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12072 $as_echo "$enable_static" >&6; }
12073
12074
12075
12076
12077 fi
12078 ac_ext=c
12079 ac_cpp='$CPP $CPPFLAGS'
12080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12083
12084 CC="$lt_save_CC"
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098         ac_config_commands="$ac_config_commands libtool"
12099
12100
12101
12102
12103 # Only expand once:
12104
12105
12106
12107 # Checks for header files.
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12109 $as_echo_n "checking for ANSI C header files... " >&6; }
12110 if ${ac_cv_header_stdc+:} false; then :
12111   $as_echo_n "(cached) " >&6
12112 else
12113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h.  */
12115 #include <stdlib.h>
12116 #include <stdarg.h>
12117 #include <string.h>
12118 #include <float.h>
12119
12120 int
12121 main ()
12122 {
12123
12124   ;
12125   return 0;
12126 }
12127 _ACEOF
12128 if ac_fn_c_try_compile "$LINENO"; then :
12129   ac_cv_header_stdc=yes
12130 else
12131   ac_cv_header_stdc=no
12132 fi
12133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12134
12135 if test $ac_cv_header_stdc = yes; then
12136   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h.  */
12139 #include <string.h>
12140
12141 _ACEOF
12142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12143   $EGREP "memchr" >/dev/null 2>&1; then :
12144
12145 else
12146   ac_cv_header_stdc=no
12147 fi
12148 rm -f conftest*
12149
12150 fi
12151
12152 if test $ac_cv_header_stdc = yes; then
12153   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h.  */
12156 #include <stdlib.h>
12157
12158 _ACEOF
12159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12160   $EGREP "free" >/dev/null 2>&1; then :
12161
12162 else
12163   ac_cv_header_stdc=no
12164 fi
12165 rm -f conftest*
12166
12167 fi
12168
12169 if test $ac_cv_header_stdc = yes; then
12170   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12171   if test "$cross_compiling" = yes; then :
12172   :
12173 else
12174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h.  */
12176 #include <ctype.h>
12177 #include <stdlib.h>
12178 #if ((' ' & 0x0FF) == 0x020)
12179 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12180 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12181 #else
12182 # define ISLOWER(c) \
12183                    (('a' <= (c) && (c) <= 'i') \
12184                      || ('j' <= (c) && (c) <= 'r') \
12185                      || ('s' <= (c) && (c) <= 'z'))
12186 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12187 #endif
12188
12189 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12190 int
12191 main ()
12192 {
12193   int i;
12194   for (i = 0; i < 256; i++)
12195     if (XOR (islower (i), ISLOWER (i))
12196         || toupper (i) != TOUPPER (i))
12197       return 2;
12198   return 0;
12199 }
12200 _ACEOF
12201 if ac_fn_c_try_run "$LINENO"; then :
12202
12203 else
12204   ac_cv_header_stdc=no
12205 fi
12206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12207   conftest.$ac_objext conftest.beam conftest.$ac_ext
12208 fi
12209
12210 fi
12211 fi
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12213 $as_echo "$ac_cv_header_stdc" >&6; }
12214 if test $ac_cv_header_stdc = yes; then
12215
12216 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12217
12218 fi
12219
12220
12221 # required versions for dependencies
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235 GLIB_REQ_VERSION=2.31.19
12236
12237 COGL_REQ_VERSION=1.9.6
12238
12239 JSON_GLIB_REQ_VERSION=0.12.0
12240
12241 ATK_REQ_VERSION=2.1.5
12242
12243 CAIRO_REQ_VERSION=1.10
12244
12245 PANGO_REQ_VERSION=1.20
12246
12247 GI_REQ_VERSION=0.9.5
12248
12249 UPROF_REQ_VERSION=0.3
12250
12251 GTK_DOC_REQ_VERSION=1.15
12252
12253 XFIXES_REQ_VERSION=3
12254
12255 XCOMPOSITE_REQ_VERSION=0.4
12256
12257 GDK_REQ_VERSION=3.3.18
12258
12259
12260 # Checks for typedefs, structures, and compiler characteristics.
12261 # Check whether --enable-glibtest was given.
12262 if test "${enable_glibtest+set}" = set; then :
12263   enableval=$enable_glibtest;
12264 else
12265   enable_glibtest=yes
12266 fi
12267
12268
12269   pkg_config_args=glib-2.0
12270   for module in . gobject gthread gmodule-no-export
12271   do
12272       case "$module" in
12273          gmodule)
12274              pkg_config_args="$pkg_config_args gmodule-2.0"
12275          ;;
12276          gmodule-no-export)
12277              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
12278          ;;
12279          gobject)
12280              pkg_config_args="$pkg_config_args gobject-2.0"
12281          ;;
12282          gthread)
12283              pkg_config_args="$pkg_config_args gthread-2.0"
12284          ;;
12285          gio*)
12286              pkg_config_args="$pkg_config_args $module-2.0"
12287          ;;
12288       esac
12289   done
12290
12291
12292
12293
12294
12295
12296
12297 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12298         if test -n "$ac_tool_prefix"; then
12299   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12300 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12302 $as_echo_n "checking for $ac_word... " >&6; }
12303 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12304   $as_echo_n "(cached) " >&6
12305 else
12306   case $PKG_CONFIG in
12307   [\\/]* | ?:[\\/]*)
12308   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12309   ;;
12310   *)
12311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12313 do
12314   IFS=$as_save_IFS
12315   test -z "$as_dir" && as_dir=.
12316     for ac_exec_ext in '' $ac_executable_extensions; do
12317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12320     break 2
12321   fi
12322 done
12323   done
12324 IFS=$as_save_IFS
12325
12326   ;;
12327 esac
12328 fi
12329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12330 if test -n "$PKG_CONFIG"; then
12331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12332 $as_echo "$PKG_CONFIG" >&6; }
12333 else
12334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12336 fi
12337
12338
12339 fi
12340 if test -z "$ac_cv_path_PKG_CONFIG"; then
12341   ac_pt_PKG_CONFIG=$PKG_CONFIG
12342   # Extract the first word of "pkg-config", so it can be a program name with args.
12343 set dummy pkg-config; ac_word=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12345 $as_echo_n "checking for $ac_word... " >&6; }
12346 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12347   $as_echo_n "(cached) " >&6
12348 else
12349   case $ac_pt_PKG_CONFIG in
12350   [\\/]* | ?:[\\/]*)
12351   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12352   ;;
12353   *)
12354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12356 do
12357   IFS=$as_save_IFS
12358   test -z "$as_dir" && as_dir=.
12359     for ac_exec_ext in '' $ac_executable_extensions; do
12360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12361     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12363     break 2
12364   fi
12365 done
12366   done
12367 IFS=$as_save_IFS
12368
12369   ;;
12370 esac
12371 fi
12372 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12373 if test -n "$ac_pt_PKG_CONFIG"; then
12374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12375 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12376 else
12377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378 $as_echo "no" >&6; }
12379 fi
12380
12381   if test "x$ac_pt_PKG_CONFIG" = x; then
12382     PKG_CONFIG=""
12383   else
12384     case $cross_compiling:$ac_tool_warned in
12385 yes:)
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12388 ac_tool_warned=yes ;;
12389 esac
12390     PKG_CONFIG=$ac_pt_PKG_CONFIG
12391   fi
12392 else
12393   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12394 fi
12395
12396 fi
12397 if test -n "$PKG_CONFIG"; then
12398         _pkg_min_version=0.16
12399         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12400 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12401         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12402                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12403 $as_echo "yes" >&6; }
12404         else
12405                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12407                 PKG_CONFIG=""
12408         fi
12409 fi
12410
12411   no_glib=""
12412
12413   if test "x$PKG_CONFIG" = x ; then
12414     no_glib=yes
12415     PKG_CONFIG=no
12416   fi
12417
12418   min_glib_version=2.31.19
12419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
12420 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
12421
12422   if test x$PKG_CONFIG != xno ; then
12423     ## don't try to run the test against uninstalled libtool libs
12424     if $PKG_CONFIG --uninstalled $pkg_config_args; then
12425           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
12426           enable_glibtest=no
12427     fi
12428
12429     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
12430           :
12431     else
12432           no_glib=yes
12433     fi
12434   fi
12435
12436   if test x"$no_glib" = x ; then
12437     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
12438     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
12439     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
12440     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
12441
12442     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12443     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12444     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
12445            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12446     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
12447            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12448     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
12449            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12450     if test "x$enable_glibtest" = "xyes" ; then
12451       ac_save_CFLAGS="$CFLAGS"
12452       ac_save_LIBS="$LIBS"
12453       CFLAGS="$CFLAGS $GLIB_CFLAGS"
12454       LIBS="$GLIB_LIBS $LIBS"
12455       rm -f conf.glibtest
12456       if test "$cross_compiling" = yes; then :
12457   echo $ac_n "cross compiling; assumed OK... $ac_c"
12458 else
12459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h.  */
12461
12462 #include <glib.h>
12463 #include <stdio.h>
12464 #include <stdlib.h>
12465
12466 int
12467 main ()
12468 {
12469   unsigned int major, minor, micro;
12470   char *tmp_version;
12471
12472   fclose (fopen ("conf.glibtest", "w"));
12473
12474   /* HP/UX 9 (%@#!) writes to sscanf strings */
12475   tmp_version = g_strdup("$min_glib_version");
12476   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
12477      printf("%s, bad version string\n", "$min_glib_version");
12478      exit(1);
12479    }
12480
12481   if ((glib_major_version != $glib_config_major_version) ||
12482       (glib_minor_version != $glib_config_minor_version) ||
12483       (glib_micro_version != $glib_config_micro_version))
12484     {
12485       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
12486              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
12487              glib_major_version, glib_minor_version, glib_micro_version);
12488       printf ("*** was found! If pkg-config was correct, then it is best\n");
12489       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
12490       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12491       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12492       printf("*** required on your system.\n");
12493       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12494       printf("*** to point to the correct configuration files\n");
12495     }
12496   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
12497            (glib_minor_version != GLIB_MINOR_VERSION) ||
12498            (glib_micro_version != GLIB_MICRO_VERSION))
12499     {
12500       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
12501              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
12502       printf("*** library (version %d.%d.%d)\n",
12503              glib_major_version, glib_minor_version, glib_micro_version);
12504     }
12505   else
12506     {
12507       if ((glib_major_version > major) ||
12508         ((glib_major_version == major) && (glib_minor_version > minor)) ||
12509         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
12510       {
12511         return 0;
12512        }
12513      else
12514       {
12515         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
12516                glib_major_version, glib_minor_version, glib_micro_version);
12517         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
12518                major, minor, micro);
12519         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
12520         printf("***\n");
12521         printf("*** If you have already installed a sufficiently new version, this error\n");
12522         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12523         printf("*** being found. The easiest way to fix this is to remove the old version\n");
12524         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
12525         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12526         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12527         printf("*** so that the correct libraries are found at run-time))\n");
12528       }
12529     }
12530   return 1;
12531 }
12532
12533 _ACEOF
12534 if ac_fn_c_try_run "$LINENO"; then :
12535
12536 else
12537   no_glib=yes
12538 fi
12539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12540   conftest.$ac_objext conftest.beam conftest.$ac_ext
12541 fi
12542
12543        CFLAGS="$ac_save_CFLAGS"
12544        LIBS="$ac_save_LIBS"
12545      fi
12546   fi
12547   if test "x$no_glib" = x ; then
12548      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
12549 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
12550      :
12551   else
12552      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12554      if test "$PKG_CONFIG" = "no" ; then
12555        echo "*** A new enough version of pkg-config was not found."
12556        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12557      else
12558        if test -f conf.glibtest ; then
12559         :
12560        else
12561           echo "*** Could not run GLIB test program, checking why..."
12562           ac_save_CFLAGS="$CFLAGS"
12563           ac_save_LIBS="$LIBS"
12564           CFLAGS="$CFLAGS $GLIB_CFLAGS"
12565           LIBS="$LIBS $GLIB_LIBS"
12566           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h.  */
12568
12569 #include <glib.h>
12570 #include <stdio.h>
12571
12572 int
12573 main ()
12574 {
12575  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
12576   ;
12577   return 0;
12578 }
12579 _ACEOF
12580 if ac_fn_c_try_link "$LINENO"; then :
12581    echo "*** The test program compiled, but did not run. This usually means"
12582           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
12583           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
12584           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12585           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
12586           echo "*** is required on your system"
12587           echo "***"
12588           echo "*** If you have an old version installed, it is best to remove it, although"
12589           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12590 else
12591    echo "*** The test program failed to compile or link. See the file config.log for the"
12592           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
12593 fi
12594 rm -f core conftest.err conftest.$ac_objext \
12595     conftest$ac_exeext conftest.$ac_ext
12596           CFLAGS="$ac_save_CFLAGS"
12597           LIBS="$ac_save_LIBS"
12598        fi
12599      fi
12600      GLIB_CFLAGS=""
12601      GLIB_LIBS=""
12602      GLIB_GENMARSHAL=""
12603      GOBJECT_QUERY=""
12604      GLIB_MKENUMS=""
12605      GLIB_COMPILE_RESOURCES=""
12606      as_fn_error $? "glib-2.0 is required" "$LINENO" 5
12607   fi
12608
12609
12610
12611
12612
12613
12614   rm -f conf.glibtest
12615
12616
12617 # Check for -Bsymbolic-functions to avoid intra-library PLT jumps
12618 # Check whether --enable-Bsymbolic was given.
12619 if test "${enable_Bsymbolic+set}" = set; then :
12620   enableval=$enable_Bsymbolic;
12621 else
12622
12623                 saved_LDFLAGS="${LDFLAGS}"
12624                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
12625 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
12626                 LDFLAGS=-Wl,-Bsymbolic-functions
12627                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h.  */
12629
12630 int
12631 main ()
12632 {
12633 int main (void) { return 0; }
12634   ;
12635   return 0;
12636 }
12637 _ACEOF
12638 if ac_fn_c_try_link "$LINENO"; then :
12639
12640                               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12641 $as_echo "yes" >&6; }
12642                               enable_Bsymbolic=yes
12643
12644 else
12645
12646                               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12647 $as_echo "no" >&6; }
12648                               enable_Bsymbolic=no
12649
12650 fi
12651 rm -f core conftest.err conftest.$ac_objext \
12652     conftest$ac_exeext conftest.$ac_ext
12653                 LDFLAGS="${saved_LDFLAGS}"
12654
12655 fi
12656
12657
12658 if test "x$enable_Bsymbolic" = "xyes"; then :
12659   CLUTTER_LINK_FLAGS=-Wl,-Bsymbolic-functions
12660 fi
12661
12662
12663 cat >confcache <<\_ACEOF
12664 # This file is a shell script that caches the results of configure
12665 # tests run on this system so they can be shared between configure
12666 # scripts and configure runs, see configure's option --config-cache.
12667 # It is not useful on other systems.  If it contains results you don't
12668 # want to keep, you may remove or edit it.
12669 #
12670 # config.status only pays attention to the cache file if you give it
12671 # the --recheck option to rerun configure.
12672 #
12673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12675 # following values.
12676
12677 _ACEOF
12678
12679 # The following way of writing the cache mishandles newlines in values,
12680 # but we know of no workaround that is simple, portable, and efficient.
12681 # So, we kill variables containing newlines.
12682 # Ultrix sh set writes to stderr and can't be redirected directly,
12683 # and sets the high bit in the cache file unless we assign to the vars.
12684 (
12685   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12686     eval ac_val=\$$ac_var
12687     case $ac_val in #(
12688     *${as_nl}*)
12689       case $ac_var in #(
12690       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12692       esac
12693       case $ac_var in #(
12694       _ | IFS | as_nl) ;; #(
12695       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12696       *) { eval $ac_var=; unset $ac_var;} ;;
12697       esac ;;
12698     esac
12699   done
12700
12701   (set) 2>&1 |
12702     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12703     *${as_nl}ac_space=\ *)
12704       # `set' does not quote correctly, so add quotes: double-quote
12705       # substitution turns \\\\ into \\, and sed turns \\ into \.
12706       sed -n \
12707         "s/'/'\\\\''/g;
12708           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12709       ;; #(
12710     *)
12711       # `set' quotes correctly as required by POSIX, so do not add quotes.
12712       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12713       ;;
12714     esac |
12715     sort
12716 ) |
12717   sed '
12718      /^ac_cv_env_/b end
12719      t clear
12720      :clear
12721      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12722      t end
12723      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12724      :end' >>confcache
12725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12726   if test -w "$cache_file"; then
12727     if test "x$cache_file" != "x/dev/null"; then
12728       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12729 $as_echo "$as_me: updating cache $cache_file" >&6;}
12730       if test ! -f "$cache_file" || test -h "$cache_file"; then
12731         cat confcache >"$cache_file"
12732       else
12733         case $cache_file in #(
12734         */* | ?:*)
12735           mv -f confcache "$cache_file"$$ &&
12736           mv -f "$cache_file"$$ "$cache_file" ;; #(
12737         *)
12738           mv -f confcache "$cache_file" ;;
12739         esac
12740       fi
12741     fi
12742   else
12743     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12745   fi
12746 fi
12747 rm -f confcache
12748
12749
12750 FLAVOUR_LIBS=""
12751 FLAVOUR_CFLAGS=""
12752 CLUTTER_BACKENDS=""
12753 CLUTTER_INPUT_BACKENDS=""
12754 CLUTTER_CONFIG_DEFINES=
12755
12756 experimental_backend=no
12757 experimental_input_backend=no
12758
12759 # base dependencies for core
12760 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"
12761
12762 # private base dependencies
12763 CLUTTER_BASE_PC_FILES_PRIVATE=""
12764
12765 # backend specific pkg-config files
12766 BACKEND_PC_FILES=""
12767
12768 # private backend specific dependencies
12769 BACKEND_PC_FILES_PRIVATE=""
12770
12771
12772 # Check whether --enable-x11-backend was given.
12773 if test "${enable_x11_backend+set}" = set; then :
12774   enableval=$enable_x11_backend; enable_x11=$enableval
12775 else
12776   enable_x11=check
12777 fi
12778
12779 # Check whether --enable-win32-backend was given.
12780 if test "${enable_win32_backend+set}" = set; then :
12781   enableval=$enable_win32_backend; enable_win32=$enableval
12782 else
12783   enable_win32=check
12784 fi
12785
12786 # Check whether --enable-quartz-backend was given.
12787 if test "${enable_quartz_backend+set}" = set; then :
12788   enableval=$enable_quartz_backend; enable_osx=$enableval
12789 else
12790   enable_osx=check
12791 fi
12792
12793 # Check whether --enable-gdk-backend was given.
12794 if test "${enable_gdk_backend+set}" = set; then :
12795   enableval=$enable_gdk_backend; enable_gdk=$enableval
12796 else
12797   enable_gdk=check
12798 fi
12799
12800 # Check whether --enable-wayland-backend was given.
12801 if test "${enable_wayland_backend+set}" = set; then :
12802   enableval=$enable_wayland_backend; enable_wayland=$enableval
12803 else
12804   enable_wayland=no
12805 fi
12806
12807 # Check whether --enable-egl-backend was given.
12808 if test "${enable_egl_backend+set}" = set; then :
12809   enableval=$enable_egl_backend; enable_egl=$enableval
12810 else
12811   enable_egl=no
12812 fi
12813
12814 # Check whether --enable-cex100-backend was given.
12815 if test "${enable_cex100_backend+set}" = set; then :
12816   enableval=$enable_cex100_backend; enable_cex100=$enableval
12817 else
12818   enable_cex100=no
12819 fi
12820
12821
12822 if test "x$enable_x11" = "xcheck"; then :
12823
12824         if test "x$platform_glx" = "xyes"; then :
12825   enable_x11=yes
12826 else
12827   enable_x11=no
12828 fi
12829
12830 fi
12831
12832 if test "x$enable_win32" = "xcheck"; then :
12833
12834         if test "x$platform_win32" = "xyes"; then :
12835   enable_win32=yes
12836 else
12837   enable_win32=no
12838 fi
12839
12840 fi
12841
12842 if test "x$enable_osx" = "xcheck"; then :
12843
12844         if test "x$platform_quartz" = "xyes"; then :
12845   enable_osx=yes
12846 else
12847   enable_osx=no
12848 fi
12849
12850 fi
12851
12852 if test "x$enable_gdk" = "xcheck"; then :
12853
12854         if test -n "$PKG_CONFIG" && \
12855     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-3.0 >= 3.3.18\""; } >&5
12856   ($PKG_CONFIG --exists --print-errors "gdk-3.0 >= 3.3.18") 2>&5
12857   ac_status=$?
12858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12859   test $ac_status = 0; }; then
12860   enable_gdk=yes
12861 else
12862   enable_gdk=no
12863 fi
12864
12865 fi
12866
12867 if test "x$enable_x11" = "xyes"; then :
12868
12869         CLUTTER_BACKENDS="$CLUTTER_BACKENDS x11"
12870         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS x11"
12871
12872         SUPPORT_X11=1
12873         SUPPORT_GLX=1
12874         SUPPORT_COGL=1
12875
12876         # we use fontconfig API and pango-ft2 when the fontconfig
12877         # configuration changes; we don't expose any API for this
12878         # so we add pango-ft2 to the private Requires.
12879         if test -n "$PKG_CONFIG" && \
12880     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
12881   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
12882   ac_status=$?
12883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884   test $ac_status = 0; }; then
12885
12886
12887 $as_echo "#define HAVE_PANGO_FT2 1" >>confdefs.h
12888
12889                            BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE pangoft2"
12890
12891 fi
12892
12893
12894 $as_echo "#define HAVE_CLUTTER_GLX 1" >>confdefs.h
12895
12896
12897 fi
12898
12899 if test "x$enable_gdk" = "xyes"; then :
12900
12901         CLUTTER_BACKENDS="$CLUTTER_BACKENDS gdk"
12902         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS gdk"
12903
12904         SUPPORT_GDK=1
12905         SUPPORT_COGL=1
12906
12907         BACKEND_PC_FILES="$BACKEND_PC_FILES gdk-3.0"
12908
12909 fi
12910
12911 if test "x$enable_wayland" = "xyes"; then :
12912
12913         CLUTTER_BACKENDS="$CLUTTER_BACKENDS wayland"
12914         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS wayland"
12915
12916         experimental_backend="yes"
12917
12918         SUPPORT_WAYLAND=1
12919
12920         if test -n "$PKG_CONFIG" && \
12921     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client xkbcommon gdk-pixbuf-2.0\""; } >&5
12922   ($PKG_CONFIG --exists --print-errors "wayland-client xkbcommon gdk-pixbuf-2.0") 2>&5
12923   ac_status=$?
12924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925   test $ac_status = 0; }; then
12926
12927                             BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon"
12928                             BACKEND_PC_FILES_PRIVATE="$BACKEND_PC_FILES_PRIVATE gdk-pixbuf-2.0"
12929
12930 fi
12931
12932
12933 $as_echo "#define HAVE_CLUTTER_WAYLAND 1" >>confdefs.h
12934
12935
12936 fi
12937
12938 # Check whether --enable-wayland-compositor was given.
12939 if test "${enable_wayland_compositor+set}" = set; then :
12940   enableval=$enable_wayland_compositor;
12941 else
12942   if test "x$SUPPORT_EGL" = "x1"; then :
12943   enable_wayland_compositor=yes
12944 else
12945   enable_wayland_compositor=no
12946 fi
12947
12948 fi
12949
12950
12951 if test "x$enable_wayland_compositor" = "xyes"; then :
12952
12953         if test -n "$PKG_CONFIG" && \
12954     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-server\""; } >&5
12955   ($PKG_CONFIG --exists --print-errors "wayland-server") 2>&5
12956   ac_status=$?
12957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12958   test $ac_status = 0; }; then
12959   BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-server"
12960 fi
12961         SUPPORT_WAYLAND_COMPOSITOR=1
12962         CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
12963 #define CLUTTER_HAS_WAYLAND_COMPOSITOR_SUPPORT 1"
12964
12965 $as_echo "#define HAVE_CLUTTER_WAYLAND_COMPOSITOR 1" >>confdefs.h
12966
12967
12968 fi
12969
12970  if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
12971   SUPPORT_WAYLAND_COMPOSITOR_TRUE=
12972   SUPPORT_WAYLAND_COMPOSITOR_FALSE='#'
12973 else
12974   SUPPORT_WAYLAND_COMPOSITOR_TRUE='#'
12975   SUPPORT_WAYLAND_COMPOSITOR_FALSE=
12976 fi
12977
12978
12979 if test "x$enable_wayland_compositor" != "xyes" -a "x$enable_wayland" != "xyes"; then :
12980
12981         # The wayland headers introduce so much symbol shadowing that build
12982         # logs become incomprehensible with -Wshadow so we only use it for
12983         # non-wayland builds.
12984         MAINTAINER_COMPILER_FLAGS="-Wshadow"
12985
12986 fi
12987
12988 if test "x$enable_cex100" = "xyes"; then :
12989
12990         CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
12991
12992         experimental_backend="yes"
12993
12994         SUPPORT_COGL=1
12995         SUPPORT_CEX100=1
12996
12997         have_gdl=no
12998         for ac_header in libgdl.h
12999 do :
13000   ac_fn_c_check_header_mongrel "$LINENO" "libgdl.h" "ac_cv_header_libgdl_h" "$ac_includes_default"
13001 if test "x$ac_cv_header_libgdl_h" = xyes; then :
13002   cat >>confdefs.h <<_ACEOF
13003 #define HAVE_LIBGDL_H 1
13004 _ACEOF
13005  have_gdl=yes
13006 fi
13007
13008 done
13009
13010
13011         if test "x$have_gdl" = "xno"; then :
13012
13013                 for ac_header in CE4100/libgdl.h
13014 do :
13015   ac_fn_c_check_header_mongrel "$LINENO" "CE4100/libgdl.h" "ac_cv_header_CE4100_libgdl_h" "$ac_includes_default"
13016 if test "x$ac_cv_header_CE4100_libgdl_h" = xyes; then :
13017   cat >>confdefs.h <<_ACEOF
13018 #define HAVE_CE4100_LIBGDL_H 1
13019 _ACEOF
13020
13021                                    FLAVOUR_CFLAGS="-I/usr/include/CE4100"
13022                                    have_gdl=yes
13023                                    CLUTTER_CEX100_LIBGDL_PREFIX=CE4100/
13024
13025 fi
13026
13027 done
13028
13029
13030 fi
13031
13032         if test "x$have_gdl" = "xno"; then :
13033   as_fn_error $? "libgdl.h not found but the CEx100 backend has been explicitly enabled" "$LINENO" 5
13034 fi
13035
13036
13037
13038         FLAVOUR_LIBS="$FLAVOUR_LIBS -lgdl"
13039
13040
13041 $as_echo "#define CLUTTER_EGL_BACKEND_CEX100 1" >>confdefs.h
13042
13043
13044 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13045
13046
13047 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13048
13049
13050 fi
13051
13052 if test "x$enable_egl" = "xyes"; then :
13053
13054         CLUTTER_BACKENDS="$CLUTTER_BACKENDS egl"
13055
13056         experimental_backend="yes"
13057
13058         SUPPORT_EGL=1
13059         SUPPORT_COGL=1
13060
13061         FLAVOUR_LIBS="$FLAVOUR_LIBS $TSLIB_LIBS $EVDEV_LIBS"
13062         FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $TSLIB_CFLAGS $EVDEV_CFLAGS"
13063
13064
13065 $as_echo "#define CLUTTER_EGL_BACKEND_GENERIC 1" >>confdefs.h
13066
13067
13068
13069 $as_echo "#define HAVE_CLUTTER_EGL 1" >>confdefs.h
13070
13071
13072 fi
13073
13074 if test "x$enable_osx" = "xyes"; then :
13075
13076         CLUTTER_BACKENDS="$CLUTTER_BACKENDS osx"
13077         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS osx"
13078
13079
13080 $as_echo "#define HAVE_CLUTTER_OSX 1" >>confdefs.h
13081
13082
13083         FLAVOUR_LIBS="$FLAVOUR_LIBS -framework Cocoa -framework OpenGL"
13084
13085         SUPPORT_OSX=1
13086
13087 fi
13088
13089 if test "x$enable_win32" = "xyes"; then :
13090
13091         CLUTTER_BACKENDS="$CLUTTER_BACKENDS win32"
13092         CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS win32"
13093
13094
13095 $as_echo "#define HAVE_CLUTTER_WIN32 1" >>confdefs.h
13096
13097
13098         FLAVOUR_LIBS="$FLAVOUR_LIBS -lopengl32 -lgdi32 -lwinmm"
13099         FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS -D_WIN32_WINNT=0x0500"
13100
13101         if test -n "$ac_tool_prefix"; then
13102   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13103 set dummy ${ac_tool_prefix}windres; ac_word=$2
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13105 $as_echo_n "checking for $ac_word... " >&6; }
13106 if ${ac_cv_prog_WINDRES+:} false; then :
13107   $as_echo_n "(cached) " >&6
13108 else
13109   if test -n "$WINDRES"; then
13110   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
13111 else
13112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113 for as_dir in $PATH
13114 do
13115   IFS=$as_save_IFS
13116   test -z "$as_dir" && as_dir=.
13117     for ac_exec_ext in '' $ac_executable_extensions; do
13118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13119     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
13120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13121     break 2
13122   fi
13123 done
13124   done
13125 IFS=$as_save_IFS
13126
13127 fi
13128 fi
13129 WINDRES=$ac_cv_prog_WINDRES
13130 if test -n "$WINDRES"; then
13131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13132 $as_echo "$WINDRES" >&6; }
13133 else
13134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13136 fi
13137
13138
13139 fi
13140 if test -z "$ac_cv_prog_WINDRES"; then
13141   ac_ct_WINDRES=$WINDRES
13142   # Extract the first word of "windres", so it can be a program name with args.
13143 set dummy windres; ac_word=$2
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13147   $as_echo_n "(cached) " >&6
13148 else
13149   if test -n "$ac_ct_WINDRES"; then
13150   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
13151 else
13152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13153 for as_dir in $PATH
13154 do
13155   IFS=$as_save_IFS
13156   test -z "$as_dir" && as_dir=.
13157     for ac_exec_ext in '' $ac_executable_extensions; do
13158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13159     ac_cv_prog_ac_ct_WINDRES="windres"
13160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13161     break 2
13162   fi
13163 done
13164   done
13165 IFS=$as_save_IFS
13166
13167 fi
13168 fi
13169 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
13170 if test -n "$ac_ct_WINDRES"; then
13171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13172 $as_echo "$ac_ct_WINDRES" >&6; }
13173 else
13174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13176 fi
13177
13178   if test "x$ac_ct_WINDRES" = x; then
13179     WINDRES="as_fn_error $? "*** windres is required" "$LINENO" 5"
13180   else
13181     case $cross_compiling:$ac_tool_warned in
13182 yes:)
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13185 ac_tool_warned=yes ;;
13186 esac
13187     WINDRES=$ac_ct_WINDRES
13188   fi
13189 else
13190   WINDRES="$ac_cv_prog_WINDRES"
13191 fi
13192
13193
13194         SUPPORT_WIN32=1
13195
13196 fi
13197
13198 if test "x$CLUTTER_BACKENDS" = "x"; then :
13199
13200         as_fn_error $? "No backend enabled. You need to enable at least one backend." "$LINENO" 5
13201
13202 fi
13203
13204 # additional input backends
13205
13206 # Check whether --enable-tslib-input was given.
13207 if test "${enable_tslib_input+set}" = set; then :
13208   enableval=$enable_tslib_input; enable_tslib=$enableval
13209 else
13210   enable_tslib=no
13211 fi
13212
13213 # Check whether --enable-evdev-input was given.
13214 if test "${enable_evdev_input+set}" = set; then :
13215   enableval=$enable_evdev_input; enable_evdev=$enableval
13216 else
13217   enable_evdev=no
13218 fi
13219
13220
13221 if test "x$enable_tslib" = "xyes"; then :
13222
13223
13224 pkg_failed=no
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
13226 $as_echo_n "checking for TSLIB... " >&6; }
13227
13228 if test -n "$TSLIB_CFLAGS"; then
13229     pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
13230  elif test -n "$PKG_CONFIG"; then
13231     if test -n "$PKG_CONFIG" && \
13232     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13233   ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13234   ac_status=$?
13235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236   test $ac_status = 0; }; then
13237   pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
13238 else
13239   pkg_failed=yes
13240 fi
13241  else
13242     pkg_failed=untried
13243 fi
13244 if test -n "$TSLIB_LIBS"; then
13245     pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
13246  elif test -n "$PKG_CONFIG"; then
13247     if test -n "$PKG_CONFIG" && \
13248     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
13249   ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
13250   ac_status=$?
13251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252   test $ac_status = 0; }; then
13253   pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
13254 else
13255   pkg_failed=yes
13256 fi
13257  else
13258     pkg_failed=untried
13259 fi
13260
13261
13262
13263 if test $pkg_failed = yes; then
13264         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13265 $as_echo "no" >&6; }
13266
13267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13268         _pkg_short_errors_supported=yes
13269 else
13270         _pkg_short_errors_supported=no
13271 fi
13272         if test $_pkg_short_errors_supported = yes; then
13273                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
13274         else
13275                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
13276         fi
13277         # Put the nasty error message in config.log where it belongs
13278         echo "$TSLIB_PKG_ERRORS" >&5
13279
13280         have_tslib=no
13281 elif test $pkg_failed = untried; then
13282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13283 $as_echo "no" >&6; }
13284         have_tslib=no
13285 else
13286         TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
13287         TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
13288         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13289 $as_echo "yes" >&6; }
13290         have_tslib=yes
13291 fi
13292         if test "x$have_tslib" = "xyes"; then :
13293
13294                 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS tslib"
13295                 experimental_input_backend="yes"
13296
13297 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
13298
13299                 SUPPORT_TSLIB=1
13300
13301 fi
13302
13303 fi
13304
13305 if test "x$enable_evdev" = "xyes"; then :
13306
13307
13308 pkg_failed=no
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVDEV" >&5
13310 $as_echo_n "checking for EVDEV... " >&6; }
13311
13312 if test -n "$EVDEV_CFLAGS"; then
13313     pkg_cv_EVDEV_CFLAGS="$EVDEV_CFLAGS"
13314  elif test -n "$PKG_CONFIG"; then
13315     if test -n "$PKG_CONFIG" && \
13316     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13317   ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13318   ac_status=$?
13319   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13320   test $ac_status = 0; }; then
13321   pkg_cv_EVDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 xkbcommon" 2>/dev/null`
13322 else
13323   pkg_failed=yes
13324 fi
13325  else
13326     pkg_failed=untried
13327 fi
13328 if test -n "$EVDEV_LIBS"; then
13329     pkg_cv_EVDEV_LIBS="$EVDEV_LIBS"
13330  elif test -n "$PKG_CONFIG"; then
13331     if test -n "$PKG_CONFIG" && \
13332     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 xkbcommon\""; } >&5
13333   ($PKG_CONFIG --exists --print-errors "gudev-1.0 xkbcommon") 2>&5
13334   ac_status=$?
13335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13336   test $ac_status = 0; }; then
13337   pkg_cv_EVDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 xkbcommon" 2>/dev/null`
13338 else
13339   pkg_failed=yes
13340 fi
13341  else
13342     pkg_failed=untried
13343 fi
13344
13345
13346
13347 if test $pkg_failed = yes; then
13348         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13350
13351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13352         _pkg_short_errors_supported=yes
13353 else
13354         _pkg_short_errors_supported=no
13355 fi
13356         if test $_pkg_short_errors_supported = yes; then
13357                 EVDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0 xkbcommon" 2>&1`
13358         else
13359                 EVDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0 xkbcommon" 2>&1`
13360         fi
13361         # Put the nasty error message in config.log where it belongs
13362         echo "$EVDEV_PKG_ERRORS" >&5
13363
13364         have_evdev=no
13365 elif test $pkg_failed = untried; then
13366         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13368         have_evdev=no
13369 else
13370         EVDEV_CFLAGS=$pkg_cv_EVDEV_CFLAGS
13371         EVDEV_LIBS=$pkg_cv_EVDEV_LIBS
13372         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13373 $as_echo "yes" >&6; }
13374         have_evdev=yes
13375 fi
13376         if test "x$have_evdev" = "xyes"; then :
13377
13378                 CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS evdev"
13379                 BACKEND_PC_FILES="$BACKEND_PC_FILES gudev-1.0 xkbcommon"
13380                 experimental_input_backend="yes"
13381
13382 $as_echo "#define HAVE_EVDEV 1" >>confdefs.h
13383
13384                 SUPPORT_EVDEV=1
13385
13386 fi
13387
13388 fi
13389
13390 # conditionals for use in automake files...
13391  if test "x$SUPPORT_GLX" = "x1"; then
13392   SUPPORT_GLX_TRUE=
13393   SUPPORT_GLX_FALSE='#'
13394 else
13395   SUPPORT_GLX_TRUE='#'
13396   SUPPORT_GLX_FALSE=
13397 fi
13398
13399  if test "x$SUPPORT_X11" = "x1"; then
13400   SUPPORT_X11_TRUE=
13401   SUPPORT_X11_FALSE='#'
13402 else
13403   SUPPORT_X11_TRUE='#'
13404   SUPPORT_X11_FALSE=
13405 fi
13406
13407  if test "x$SUPPORT_GDK" = "x1"; then
13408   SUPPORT_GDK_TRUE=
13409   SUPPORT_GDK_FALSE='#'
13410 else
13411   SUPPORT_GDK_TRUE='#'
13412   SUPPORT_GDK_FALSE=
13413 fi
13414
13415  if test "x$SUPPORT_EGL" = "x1"; then
13416   SUPPORT_EGL_TRUE=
13417   SUPPORT_EGL_FALSE='#'
13418 else
13419   SUPPORT_EGL_TRUE='#'
13420   SUPPORT_EGL_FALSE=
13421 fi
13422
13423  if test "x$SUPPORT_OSX" = "x1"; then
13424   SUPPORT_OSX_TRUE=
13425   SUPPORT_OSX_FALSE='#'
13426 else
13427   SUPPORT_OSX_TRUE='#'
13428   SUPPORT_OSX_FALSE=
13429 fi
13430
13431  if test "x$SUPPORT_WIN32" = "x1"; then
13432   SUPPORT_WIN32_TRUE=
13433   SUPPORT_WIN32_FALSE='#'
13434 else
13435   SUPPORT_WIN32_TRUE='#'
13436   SUPPORT_WIN32_FALSE=
13437 fi
13438
13439  if test "x$SUPPORT_CEX100" = "x1"; then
13440   SUPPORT_CEX100_TRUE=
13441   SUPPORT_CEX100_FALSE='#'
13442 else
13443   SUPPORT_CEX100_TRUE='#'
13444   SUPPORT_CEX100_FALSE=
13445 fi
13446
13447  if test "x$SUPPORT_WAYLAND" = "x1"; then
13448   SUPPORT_WAYLAND_TRUE=
13449   SUPPORT_WAYLAND_FALSE='#'
13450 else
13451   SUPPORT_WAYLAND_TRUE='#'
13452   SUPPORT_WAYLAND_FALSE=
13453 fi
13454
13455
13456  if test "x$SUPPORT_COGL" = "x1"; then
13457   USE_COGL_TRUE=
13458   USE_COGL_FALSE='#'
13459 else
13460   USE_COGL_TRUE='#'
13461   USE_COGL_FALSE=
13462 fi
13463
13464  if test "x$have_tslib" = "xyes"; then
13465   USE_TSLIB_TRUE=
13466   USE_TSLIB_FALSE='#'
13467 else
13468   USE_TSLIB_TRUE='#'
13469   USE_TSLIB_FALSE=
13470 fi
13471
13472  if test "x$have_evdev" = "xyes"; then
13473   USE_EVDEV_TRUE=
13474   USE_EVDEV_FALSE='#'
13475 else
13476   USE_EVDEV_TRUE='#'
13477   USE_EVDEV_FALSE=
13478 fi
13479
13480  if test "x$have_gdl" = "xyes"; then
13481   USE_GLD_TRUE=
13482   USE_GLD_FALSE='#'
13483 else
13484   USE_GLD_TRUE='#'
13485   USE_GLD_FALSE=
13486 fi
13487
13488
13489  if test "x$have_evdev" = "xyes" -O "x$SUPPORT_WAYLAND" = "x1"; then
13490   NEED_XKB_UTILS_TRUE=
13491   NEED_XKB_UTILS_FALSE='#'
13492 else
13493   NEED_XKB_UTILS_TRUE='#'
13494   NEED_XKB_UTILS_FALSE=
13495 fi
13496
13497
13498
13499 $as_echo "#define COGL_ENABLE_EXPERIMENTAL_2_0_API 1" >>confdefs.h
13500
13501
13502 CLUTTER_BACKENDS=${CLUTTER_BACKENDS#* }
13503
13504
13505 CLUTTER_INPUT_BACKENDS=${CLUTTER_INPUT_BACKENDS#* }
13506
13507
13508 cat >confcache <<\_ACEOF
13509 # This file is a shell script that caches the results of configure
13510 # tests run on this system so they can be shared between configure
13511 # scripts and configure runs, see configure's option --config-cache.
13512 # It is not useful on other systems.  If it contains results you don't
13513 # want to keep, you may remove or edit it.
13514 #
13515 # config.status only pays attention to the cache file if you give it
13516 # the --recheck option to rerun configure.
13517 #
13518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13520 # following values.
13521
13522 _ACEOF
13523
13524 # The following way of writing the cache mishandles newlines in values,
13525 # but we know of no workaround that is simple, portable, and efficient.
13526 # So, we kill variables containing newlines.
13527 # Ultrix sh set writes to stderr and can't be redirected directly,
13528 # and sets the high bit in the cache file unless we assign to the vars.
13529 (
13530   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13531     eval ac_val=\$$ac_var
13532     case $ac_val in #(
13533     *${as_nl}*)
13534       case $ac_var in #(
13535       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13536 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13537       esac
13538       case $ac_var in #(
13539       _ | IFS | as_nl) ;; #(
13540       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13541       *) { eval $ac_var=; unset $ac_var;} ;;
13542       esac ;;
13543     esac
13544   done
13545
13546   (set) 2>&1 |
13547     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13548     *${as_nl}ac_space=\ *)
13549       # `set' does not quote correctly, so add quotes: double-quote
13550       # substitution turns \\\\ into \\, and sed turns \\ into \.
13551       sed -n \
13552         "s/'/'\\\\''/g;
13553           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13554       ;; #(
13555     *)
13556       # `set' quotes correctly as required by POSIX, so do not add quotes.
13557       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13558       ;;
13559     esac |
13560     sort
13561 ) |
13562   sed '
13563      /^ac_cv_env_/b end
13564      t clear
13565      :clear
13566      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13567      t end
13568      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13569      :end' >>confcache
13570 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13571   if test -w "$cache_file"; then
13572     if test "x$cache_file" != "x/dev/null"; then
13573       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13574 $as_echo "$as_me: updating cache $cache_file" >&6;}
13575       if test ! -f "$cache_file" || test -h "$cache_file"; then
13576         cat confcache >"$cache_file"
13577       else
13578         case $cache_file in #(
13579         */* | ?:*)
13580           mv -f confcache "$cache_file"$$ &&
13581           mv -f "$cache_file"$$ "$cache_file" ;; #(
13582         *)
13583           mv -f confcache "$cache_file" ;;
13584         esac
13585       fi
13586     fi
13587   else
13588     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13589 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13590   fi
13591 fi
13592 rm -f confcache
13593
13594
13595 # windowing systems
13596 if test "x$SUPPORT_X11" = "x1"; then :
13597   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13598 #define CLUTTER_WINDOWING_X11 \"x11\"
13599 #define CLUTTER_INPUT_X11 \"x11\""
13600 fi
13601 if test "x$SUPPORT_GDK" = "x1"; then :
13602   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13603 #define CLUTTER_WINDOWING_GDK \"gdk\"
13604 #define CLUTTER_INPUT_GDK \"gdk\""
13605 fi
13606 if test "x$SUPPORT_GLX" = "x1"; then :
13607   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13608 #define CLUTTER_WINDOWING_GLX \"glx\""
13609 fi
13610 if test "x$SUPPORT_EGL" = "x1"; then :
13611   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13612 #define CLUTTER_WINDOWING_EGL \"eglnative\""
13613 fi
13614 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13615   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13616 #define CLUTTER_WINDOWING_WAYLAND \"wayland\""
13617 fi
13618 if test "x$SUPPORT_OSX" = "x1"; then :
13619   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13620 #define CLUTTER_WINDOWING_OSX \"osx\"
13621 #define CLUTTER_INPUT_OSX \"osx\""
13622 fi
13623 if test "x$SUPPORT_WIN32" = "x1"; then :
13624   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13625 #define CLUTTER_WINDOWING_WIN32 \"win32\"
13626 #define CLUTTER_INPUT_WIN32 \"win32\""
13627 fi
13628 if test "x$SUPPORT_CEX100" = "x1"; then :
13629   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13630 #define CLUTTER_WINDOWING_CEX100 \"cex100\""
13631 fi
13632 if test "x$SUPPORT_EVDEV" = "x1"; then :
13633   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13634 #define CLUTTER_INPUT_EVDEV \"evdev\""
13635 fi
13636 if test "x$SUPPORT_TSLIB" = "x1"; then :
13637   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13638 #define CLUTTER_INPUT_TSLIB \"tslib\""
13639 fi
13640 if test "x$SUPPORT_WAYLAND" = "x1"; then :
13641   CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13642 #define CLUTTER_INPUT_WAYLAND \"wayland\""
13643 fi
13644
13645 # the 'null' input backend is special
13646 CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
13647 #define CLUTTER_INPUT_NULL \"null\""
13648
13649
13650
13651 CLUTTER_WINSYS=deprecated
13652
13653 CLUTTER_WINSYS_BASE=deprecated
13654
13655 CLUTTER_STAGE_TYPE=deprecated
13656
13657 CLUTTER_SONAME_INFIX=deprecated
13658
13659 CLUTTER_FLAVOUR=deprecated
13660
13661 CLUTTER_COGL=deprecated
13662
13663 COGL_DRIVER=deprecated
13664
13665
13666 X11_PC_FILES=""
13667 X11_EXTS=""
13668 x11_tests=no
13669
13670 if test "x$SUPPORT_X11" = "x1"; then :
13671
13672         # base X11 includes and libraries
13673         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
13674 $as_echo_n "checking for X11... " >&6; }
13675
13676         # start with pkg-config
13677         if test -n "$PKG_CONFIG" && \
13678     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
13679   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
13680   ac_status=$?
13681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13682   test $ac_status = 0; }; then
13683   have_x11=yes
13684 else
13685   have_x11=no
13686 fi
13687         if test "x$have_x11" = "xyes"; then :
13688
13689                 X11_PC_FILES="x11"
13690
13691                 # we actually need to ask for CFLAGS and LIBS
13692                 X11_CFLAGS=`$PKG_CONFIG --cflags $X11_PC_FILES`
13693                 X11_LIBS=`$PKG_CONFIG --libs $X11_PC_FILES`
13694
13695                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13696 $as_echo "found" >&6; }
13697
13698 else
13699
13700                 # no pkg-config, let's go old school
13701                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13702 $as_echo_n "checking for X... " >&6; }
13703
13704
13705 # Check whether --with-x was given.
13706 if test "${with_x+set}" = set; then :
13707   withval=$with_x;
13708 fi
13709
13710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13711 if test "x$with_x" = xno; then
13712   # The user explicitly disabled X.
13713   have_x=disabled
13714 else
13715   case $x_includes,$x_libraries in #(
13716     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13717     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13718   $as_echo_n "(cached) " >&6
13719 else
13720   # One or both of the vars are not set, and there is no cached value.
13721 ac_x_includes=no ac_x_libraries=no
13722 rm -f -r conftest.dir
13723 if mkdir conftest.dir; then
13724   cd conftest.dir
13725   cat >Imakefile <<'_ACEOF'
13726 incroot:
13727         @echo incroot='${INCROOT}'
13728 usrlibdir:
13729         @echo usrlibdir='${USRLIBDIR}'
13730 libdir:
13731         @echo libdir='${LIBDIR}'
13732 _ACEOF
13733   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13734     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13735     for ac_var in incroot usrlibdir libdir; do
13736       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13737     done
13738     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13739     for ac_extension in a so sl dylib la dll; do
13740       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13741          test -f "$ac_im_libdir/libX11.$ac_extension"; then
13742         ac_im_usrlibdir=$ac_im_libdir; break
13743       fi
13744     done
13745     # Screen out bogus values from the imake configuration.  They are
13746     # bogus both because they are the default anyway, and because
13747     # using them would break gcc on systems where it needs fixed includes.
13748     case $ac_im_incroot in
13749         /usr/include) ac_x_includes= ;;
13750         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13751     esac
13752     case $ac_im_usrlibdir in
13753         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13754         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13755     esac
13756   fi
13757   cd ..
13758   rm -f -r conftest.dir
13759 fi
13760
13761 # Standard set of common directories for X headers.
13762 # Check X11 before X11Rn because it is often a symlink to the current release.
13763 ac_x_header_dirs='
13764 /usr/X11/include
13765 /usr/X11R7/include
13766 /usr/X11R6/include
13767 /usr/X11R5/include
13768 /usr/X11R4/include
13769
13770 /usr/include/X11
13771 /usr/include/X11R7
13772 /usr/include/X11R6
13773 /usr/include/X11R5
13774 /usr/include/X11R4
13775
13776 /usr/local/X11/include
13777 /usr/local/X11R7/include
13778 /usr/local/X11R6/include
13779 /usr/local/X11R5/include
13780 /usr/local/X11R4/include
13781
13782 /usr/local/include/X11
13783 /usr/local/include/X11R7
13784 /usr/local/include/X11R6
13785 /usr/local/include/X11R5
13786 /usr/local/include/X11R4
13787
13788 /usr/X386/include
13789 /usr/x386/include
13790 /usr/XFree86/include/X11
13791
13792 /usr/include
13793 /usr/local/include
13794 /usr/unsupported/include
13795 /usr/athena/include
13796 /usr/local/x11r5/include
13797 /usr/lpp/Xamples/include
13798
13799 /usr/openwin/include
13800 /usr/openwin/share/include'
13801
13802 if test "$ac_x_includes" = no; then
13803   # Guess where to find include files, by looking for Xlib.h.
13804   # First, try using that file with no special directory specified.
13805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h.  */
13807 #include <X11/Xlib.h>
13808 _ACEOF
13809 if ac_fn_c_try_cpp "$LINENO"; then :
13810   # We can compile using X headers with no special include directory.
13811 ac_x_includes=
13812 else
13813   for ac_dir in $ac_x_header_dirs; do
13814   if test -r "$ac_dir/X11/Xlib.h"; then
13815     ac_x_includes=$ac_dir
13816     break
13817   fi
13818 done
13819 fi
13820 rm -f conftest.err conftest.i conftest.$ac_ext
13821 fi # $ac_x_includes = no
13822
13823 if test "$ac_x_libraries" = no; then
13824   # Check for the libraries.
13825   # See if we find them without any special options.
13826   # Don't add to $LIBS permanently.
13827   ac_save_LIBS=$LIBS
13828   LIBS="-lX11 $LIBS"
13829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h.  */
13831 #include <X11/Xlib.h>
13832 int
13833 main ()
13834 {
13835 XrmInitialize ()
13836   ;
13837   return 0;
13838 }
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841   LIBS=$ac_save_LIBS
13842 # We can link X programs with no special library path.
13843 ac_x_libraries=
13844 else
13845   LIBS=$ac_save_LIBS
13846 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13847 do
13848   # Don't even attempt the hair of trying to link an X program!
13849   for ac_extension in a so sl dylib la dll; do
13850     if test -r "$ac_dir/libX11.$ac_extension"; then
13851       ac_x_libraries=$ac_dir
13852       break 2
13853     fi
13854   done
13855 done
13856 fi
13857 rm -f core conftest.err conftest.$ac_objext \
13858     conftest$ac_exeext conftest.$ac_ext
13859 fi # $ac_x_libraries = no
13860
13861 case $ac_x_includes,$ac_x_libraries in #(
13862   no,* | *,no | *\'*)
13863     # Didn't find X, or a directory has "'" in its name.
13864     ac_cv_have_x="have_x=no";; #(
13865   *)
13866     # Record where we found X for the cache.
13867     ac_cv_have_x="have_x=yes\
13868         ac_x_includes='$ac_x_includes'\
13869         ac_x_libraries='$ac_x_libraries'"
13870 esac
13871 fi
13872 ;; #(
13873     *) have_x=yes;;
13874   esac
13875   eval "$ac_cv_have_x"
13876 fi # $with_x != no
13877
13878 if test "$have_x" != yes; then
13879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13880 $as_echo "$have_x" >&6; }
13881   no_x=yes
13882 else
13883   # If each of the values was on the command line, it overrides each guess.
13884   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13885   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13886   # Update the cache value to reflect the command line values.
13887   ac_cv_have_x="have_x=yes\
13888         ac_x_includes='$x_includes'\
13889         ac_x_libraries='$x_libraries'"
13890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13891 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13892 fi
13893
13894
13895                 if test "x$no_x" = "xyes"; then :
13896   as_fn_error $? "No X11 Libraries found" "$LINENO" 5
13897 else
13898
13899                         if test "x$x_includes" != "xNONE" && test -n "$x_includes"; then :
13900   X11_CFLAGS=-I`echo $x_includes | sed -e "s/:/ -I/g"`
13901 fi
13902
13903                         if test "x$x_libraries" != "xNONE" && test -n "$x_libraries"; then :
13904   X11_LIBS=-L`echo $x_libraries | sed -e "s/:/ -L/g"`
13905 fi
13906
13907                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13908 $as_echo "found" >&6; }
13909
13910
13911 fi
13912
13913
13914 fi
13915
13916         # XEXT (required)
13917         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT extension" >&5
13918 $as_echo_n "checking for XEXT extension... " >&6; }
13919         if test -n "$PKG_CONFIG" && \
13920     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
13921   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
13922   ac_status=$?
13923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13924   test $ac_status = 0; }; then
13925   have_xext=yes
13926 else
13927   have_xext=no
13928 fi
13929         if test "x$have_xext" = "xyes"; then :
13930
13931
13932 $as_echo "#define HAVE_XEXT 1" >>confdefs.h
13933
13934
13935                 X11_LIBS="$X11_LIBS -lXext"
13936                 X11_PC_FILES="$X11_PC_FILES xext"
13937                 X11_EXTS="$X11_EXTS xext"
13938
13939                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13940 $as_echo "found" >&6; }
13941
13942 else
13943   as_fn_error $? "Not found" "$LINENO" 5
13944
13945 fi
13946
13947         # XFIXES (required)
13948         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES extension >= $XFIXES_REQ_VERSION" >&5
13949 $as_echo_n "checking for XFIXES extension >= $XFIXES_REQ_VERSION... " >&6; }
13950         if test -n "$PKG_CONFIG" && \
13951     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes >= \$XFIXES_REQ_VERSION\""; } >&5
13952   ($PKG_CONFIG --exists --print-errors "xfixes >= $XFIXES_REQ_VERSION") 2>&5
13953   ac_status=$?
13954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13955   test $ac_status = 0; }; then
13956   have_xfixes=yes
13957 else
13958   have_xfixes=no
13959 fi
13960         if test "x$have_xfixes" = "xyes"; then :
13961
13962
13963 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
13964
13965
13966                 X11_LIBS="$X11_LIBS -lXfixes"
13967                 X11_PC_FILES="$X11_PC_FILES xfixes >= $XFIXES_REQ_VERSION"
13968                 X11_EXTS="$X11_EXTS xfixes"
13969
13970                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13971 $as_echo "found" >&6; }
13972
13973 else
13974   as_fn_error $? "Not found" "$LINENO" 5
13975
13976 fi
13977
13978         # XDAMAGE (required)
13979         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE extension" >&5
13980 $as_echo_n "checking for XDAMAGE extension... " >&6; }
13981         if test -n "$PKG_CONFIG" && \
13982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
13983   ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
13984   ac_status=$?
13985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13986   test $ac_status = 0; }; then
13987   have_xdamage=yes
13988 else
13989   have_xdamage=no
13990 fi
13991         if test "x$have_xdamage" = "xyes"; then :
13992
13993
13994 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
13995
13996
13997                 X11_LIBS="$X11_LIBS -lXdamage"
13998                 X11_PC_FILES="$X11_PC_FILES xdamage"
13999                 X11_EXTS="$X11_EXTS xdamage"
14000
14001                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14002 $as_echo "found" >&6; }
14003
14004 else
14005   as_fn_error $? "not found" "$LINENO" 5
14006
14007 fi
14008
14009         # XCOMPOSITE (optional)
14010         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION" >&5
14011 $as_echo_n "checking for XCOMPOSITE extension >= $XCOMPOSITE_REQ_VERSION... " >&6; }
14012         if test -n "$PKG_CONFIG" && \
14013     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcomposite >= \$XCOMPOSITE_REQ_VERSION\""; } >&5
14014   ($PKG_CONFIG --exists --print-errors "xcomposite >= $XCOMPOSITE_REQ_VERSION") 2>&5
14015   ac_status=$?
14016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017   test $ac_status = 0; }; then
14018   have_xcomposite=yes
14019 else
14020   have_xcomposite=no
14021 fi
14022         if test "x$have_xcomposite" = "xyes"; then :
14023
14024
14025 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
14026
14027
14028                 X11_LIBS="$X11_LIBS -lXcomposite"
14029                 X11_PC_FILES="$X11_PC_FILES xcomposite >= $XCOMPOSITE_REQ_VERSION"
14030                 X11_EXTS="$X11_EXTS xcomposite"
14031
14032                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14033 $as_echo "found" >&6; }
14034
14035 else
14036   as_fn_error $? "not found" "$LINENO" 5
14037
14038 fi
14039
14040         # X Generic Extensions (optional)
14041         clutter_save_CPPFLAGS="$CPPFLAGS"
14042         CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14043
14044         clutter_save_LIBS="$LIBS"
14045         LIBS="$LIBS $X11_LIBS"
14046
14047         have_xge=no
14048         ac_fn_c_check_func "$LINENO" "XGetEventData" "ac_cv_func_XGetEventData"
14049 if test "x$ac_cv_func_XGetEventData" = xyes; then :
14050
14051
14052 $as_echo "#define HAVE_XGE 1" >>confdefs.h
14053
14054                         have_xge=yes
14055                         X11_EXTS="$X11_EXTS xge"
14056
14057 fi
14058
14059
14060         CPPFLAGS="$clutter_save_CPPFLAGS"
14061         LIBS="$clutter_save_LIBS"
14062
14063         # XI (optional)
14064         # Check whether --enable-xinput was given.
14065 if test "${enable_xinput+set}" = set; then :
14066   enableval=$enable_xinput;
14067 else
14068   enable_xinput=yes
14069 fi
14070
14071
14072         if test "x$enable_xinput" = "xyes"; then :
14073
14074                 if test -n "$PKG_CONFIG" && \
14075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi\""; } >&5
14076   ($PKG_CONFIG --exists --print-errors "xi") 2>&5
14077   ac_status=$?
14078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079   test $ac_status = 0; }; then
14080   have_xinput=yes
14081 else
14082   have_xinput=no
14083 fi
14084
14085 else
14086
14087                 have_xinput=no
14088
14089 fi
14090
14091         case $have_xinput in #(
14092   yes) :
14093
14094                   for ac_header in X11/extensions/XInput2.h
14095 do :
14096   ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
14097 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
14098   cat >>confdefs.h <<_ACEOF
14099 #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
14100 _ACEOF
14101
14102                                      have_xinput2=yes
14103
14104 $as_echo "#define HAVE_XINPUT_2 1" >>confdefs.h
14105
14106
14107 else
14108
14109                                      have_xinput2=no
14110
14111 $as_echo "#define HAVE_XINPUT 1" >>confdefs.h
14112
14113
14114 fi
14115
14116 done
14117
14118
14119                   clutter_save_LIBS="$LIBS"
14120                   LIBS="$LIBS -lXi"
14121
14122                   ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" "ac_cv_func_XIAllowTouchEvents"
14123 if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
14124
14125                                   ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" "ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
14126 "
14127 if test "x$ac_cv_member_XIScrollClassInfo_number" = xyes; then :
14128
14129                                                     have_xinput_2_2=yes
14130
14131 $as_echo "#define XINPUT_2_2 1" >>confdefs.h
14132
14133
14134 else
14135   have_xinput_2_2=no
14136 fi
14137
14138 fi
14139
14140
14141                   LIBS="$clutter_save_LIBS"
14142
14143                   X11_LIBS="$X11_LIBS $XINPUT_LIBS"
14144                   X11_PC_FILES="$X11_PC_FILES xi"
14145
14146                   if test "x$have_xinput_2_2" = "xyes"; then :
14147   X11_EXTS="$X11_EXTS xi2.2"
14148 else
14149   X11_EXTS="$X11_EXTS xi2.0"
14150 fi
14151                  ;; #(
14152   no) :
14153     have_xinput2=no ;; #(
14154   *) :
14155     as_fn_error $? "Invalid argument for --enable-xinput" "$LINENO" 5
14156          ;; #(
14157   *) :
14158      ;;
14159 esac
14160
14161         # XKB
14162         clutter_save_CPPFLAGS="$CPPFLAGS"
14163         CPPFLAGS="$CPPFLAGS $X11_CFLAGS"
14164
14165         clutter_save_LIBS="$LIBS"
14166         LIBS="$LIBS $X11_LIBS"
14167
14168         have_xkb=no
14169         ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
14170 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
14171
14172
14173 $as_echo "#define HAVE_XKB 1" >>confdefs.h
14174
14175                         have_xkb=yes
14176
14177                         X11_EXTS="$X11_EXTS xkb"
14178
14179 fi
14180
14181
14182         CPPFLAGS="$clutter_save_CPPFLAGS"
14183         LIBS="$clutter_save_LIBS"
14184
14185         x11_tests=yes
14186         BACKEND_PC_FILES="$BACKEND_PC_FILES $X11_PC_FILES"
14187         FLAVOUR_LIBS="$FLAVOUR_LIBS $X11_LIBS"
14188         FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $X11_CFLAGS"
14189
14190
14191 fi
14192
14193  if test "x$have_xinput2" = "xyes"; then
14194   BUILD_XI2_TRUE=
14195   BUILD_XI2_FALSE='#'
14196 else
14197   BUILD_XI2_TRUE='#'
14198   BUILD_XI2_FALSE=
14199 fi
14200
14201  if test "x$x11_tests" = "xyes"; then
14202   X11_TESTS_TRUE=
14203   X11_TESTS_FALSE='#'
14204 else
14205   X11_TESTS_TRUE='#'
14206   X11_TESTS_FALSE=
14207 fi
14208
14209
14210 X11_EXTS=${X11_EXTS#* }
14211
14212 cat >confcache <<\_ACEOF
14213 # This file is a shell script that caches the results of configure
14214 # tests run on this system so they can be shared between configure
14215 # scripts and configure runs, see configure's option --config-cache.
14216 # It is not useful on other systems.  If it contains results you don't
14217 # want to keep, you may remove or edit it.
14218 #
14219 # config.status only pays attention to the cache file if you give it
14220 # the --recheck option to rerun configure.
14221 #
14222 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14223 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14224 # following values.
14225
14226 _ACEOF
14227
14228 # The following way of writing the cache mishandles newlines in values,
14229 # but we know of no workaround that is simple, portable, and efficient.
14230 # So, we kill variables containing newlines.
14231 # Ultrix sh set writes to stderr and can't be redirected directly,
14232 # and sets the high bit in the cache file unless we assign to the vars.
14233 (
14234   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14235     eval ac_val=\$$ac_var
14236     case $ac_val in #(
14237     *${as_nl}*)
14238       case $ac_var in #(
14239       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14240 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14241       esac
14242       case $ac_var in #(
14243       _ | IFS | as_nl) ;; #(
14244       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14245       *) { eval $ac_var=; unset $ac_var;} ;;
14246       esac ;;
14247     esac
14248   done
14249
14250   (set) 2>&1 |
14251     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14252     *${as_nl}ac_space=\ *)
14253       # `set' does not quote correctly, so add quotes: double-quote
14254       # substitution turns \\\\ into \\, and sed turns \\ into \.
14255       sed -n \
14256         "s/'/'\\\\''/g;
14257           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14258       ;; #(
14259     *)
14260       # `set' quotes correctly as required by POSIX, so do not add quotes.
14261       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14262       ;;
14263     esac |
14264     sort
14265 ) |
14266   sed '
14267      /^ac_cv_env_/b end
14268      t clear
14269      :clear
14270      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14271      t end
14272      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14273      :end' >>confcache
14274 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14275   if test -w "$cache_file"; then
14276     if test "x$cache_file" != "x/dev/null"; then
14277       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14278 $as_echo "$as_me: updating cache $cache_file" >&6;}
14279       if test ! -f "$cache_file" || test -h "$cache_file"; then
14280         cat confcache >"$cache_file"
14281       else
14282         case $cache_file in #(
14283         */* | ?:*)
14284           mv -f confcache "$cache_file"$$ &&
14285           mv -f "$cache_file"$$ "$cache_file" ;; #(
14286         *)
14287           mv -f confcache "$cache_file" ;;
14288         esac
14289       fi
14290     fi
14291   else
14292     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14293 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14294   fi
14295 fi
14296 rm -f confcache
14297
14298
14299
14300 # Check whether --enable-gdk-pixbuf was given.
14301 if test "${enable_gdk_pixbuf+set}" = set; then :
14302   enableval=$enable_gdk_pixbuf; enable_pixbuf=$enable_val
14303 else
14304   enable_pixbuf=yes
14305 fi
14306
14307
14308 case $enable_pixbuf in #(
14309   yes) :
14310
14311
14312 pkg_failed=no
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14314 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
14315
14316 if test -n "$GDK_PIXBUF_CFLAGS"; then
14317     pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
14318  elif test -n "$PKG_CONFIG"; then
14319     if test -n "$PKG_CONFIG" && \
14320     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14321   ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14322   ac_status=$?
14323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14324   test $ac_status = 0; }; then
14325   pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
14326 else
14327   pkg_failed=yes
14328 fi
14329  else
14330     pkg_failed=untried
14331 fi
14332 if test -n "$GDK_PIXBUF_LIBS"; then
14333     pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
14334  elif test -n "$PKG_CONFIG"; then
14335     if test -n "$PKG_CONFIG" && \
14336     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14337   ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14338   ac_status=$?
14339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14340   test $ac_status = 0; }; then
14341   pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
14342 else
14343   pkg_failed=yes
14344 fi
14345  else
14346     pkg_failed=untried
14347 fi
14348
14349
14350
14351 if test $pkg_failed = yes; then
14352         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14353 $as_echo "no" >&6; }
14354
14355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14356         _pkg_short_errors_supported=yes
14357 else
14358         _pkg_short_errors_supported=no
14359 fi
14360         if test $_pkg_short_errors_supported = yes; then
14361                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
14362         else
14363                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
14364         fi
14365         # Put the nasty error message in config.log where it belongs
14366         echo "$GDK_PIXBUF_PKG_ERRORS" >&5
14367
14368         as_fn_error $? "Package requirements (gdk-pixbuf-2.0) were not met:
14369
14370 $GDK_PIXBUF_PKG_ERRORS
14371
14372 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14373 installed software in a non-standard prefix.
14374
14375 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14376 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14377 See the pkg-config man page for more details." "$LINENO" 5
14378
14379 elif test $pkg_failed = untried; then
14380         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14381 $as_echo "no" >&6; }
14382         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14384 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14385 is in your PATH or set the PKG_CONFIG environment variable to the full
14386 path to pkg-config.
14387
14388 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
14389 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
14390 See the pkg-config man page for more details.
14391
14392 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14393 See \`config.log' for more details" "$LINENO" 5; }
14394
14395 else
14396         GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
14397         GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
14398         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14399 $as_echo "yes" >&6; }
14400
14401 fi
14402
14403
14404           pixbuf_tests=yes
14405          ;; #(
14406   no) :
14407
14408           pixbuf_tests=no
14409
14410  ;; #(
14411   *) :
14412      ;;
14413 esac
14414
14415  if test "x$pixbuf_tests" = "xyes"; then
14416   PIXBUF_TESTS_TRUE=
14417   PIXBUF_TESTS_FALSE='#'
14418 else
14419   PIXBUF_TESTS_TRUE='#'
14420   PIXBUF_TESTS_FALSE=
14421 fi
14422
14423
14424
14425
14426 # Check whether --enable-debug was given.
14427 if test "${enable_debug+set}" = set; then :
14428   enableval=$enable_debug;
14429 else
14430   enable_debug=minimum
14431 fi
14432
14433
14434 case $enable_debug in #(
14435   yes) :
14436
14437           test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
14438           CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG"
14439          ;; #(
14440   minimum) :
14441     CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS" ;; #(
14442   no) :
14443     CLUTTER_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" ;; #(
14444   *) :
14445     as_fn_error $? "Unknown argument for --enable-debug" "$LINENO" 5
14446  ;;
14447 esac
14448
14449
14450
14451
14452
14453
14454 # Check whether --enable-deprecated was given.
14455 if test "${enable_deprecated+set}" = set; then :
14456   enableval=$enable_deprecated;
14457 else
14458   enable_deprecated=yes
14459 fi
14460
14461
14462 case $enable_deprecated in #(
14463   no) :
14464
14465           CLUTTER_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DCOGL_DISABLE_DEPRECATED"
14466          ;; #(
14467   yes) :
14468
14469           CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS"
14470          ;; #(
14471   *) :
14472     as_fn_error $? "Unknown argument for --enable-deprecated" "$LINENO" 5
14473  ;;
14474 esac
14475
14476
14477
14478
14479
14480 # Check whether --enable-conformance was given.
14481 if test "${enable_conformance+set}" = set; then :
14482   enableval=$enable_conformance;
14483 else
14484   enable_conformance=yes
14485 fi
14486
14487
14488  if test "x$enable_conformance" = "xyes"; then
14489   BUILD_TESTS_TRUE=
14490   BUILD_TESTS_FALSE='#'
14491 else
14492   BUILD_TESTS_TRUE='#'
14493   BUILD_TESTS_FALSE=
14494 fi
14495
14496
14497
14498
14499 # Check whether --enable-profile was given.
14500 if test "${enable_profile+set}" = set; then :
14501   enableval=$enable_profile;
14502 else
14503   enable_profile=no
14504 fi
14505
14506
14507 case $enable_profile in #(
14508   yes) :
14509
14510           if test "x$GCC" = "xyes"; then :
14511
14512
14513 pkg_failed=no
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROFILE_DEP" >&5
14515 $as_echo_n "checking for PROFILE_DEP... " >&6; }
14516
14517 if test -n "$PROFILE_DEP_CFLAGS"; then
14518     pkg_cv_PROFILE_DEP_CFLAGS="$PROFILE_DEP_CFLAGS"
14519  elif test -n "$PKG_CONFIG"; then
14520     if test -n "$PKG_CONFIG" && \
14521     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14522   ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14523   ac_status=$?
14524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14525   test $ac_status = 0; }; then
14526   pkg_cv_PROFILE_DEP_CFLAGS=`$PKG_CONFIG --cflags "uprof-0.3" 2>/dev/null`
14527 else
14528   pkg_failed=yes
14529 fi
14530  else
14531     pkg_failed=untried
14532 fi
14533 if test -n "$PROFILE_DEP_LIBS"; then
14534     pkg_cv_PROFILE_DEP_LIBS="$PROFILE_DEP_LIBS"
14535  elif test -n "$PKG_CONFIG"; then
14536     if test -n "$PKG_CONFIG" && \
14537     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uprof-0.3\""; } >&5
14538   ($PKG_CONFIG --exists --print-errors "uprof-0.3") 2>&5
14539   ac_status=$?
14540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14541   test $ac_status = 0; }; then
14542   pkg_cv_PROFILE_DEP_LIBS=`$PKG_CONFIG --libs "uprof-0.3" 2>/dev/null`
14543 else
14544   pkg_failed=yes
14545 fi
14546  else
14547     pkg_failed=untried
14548 fi
14549
14550
14551
14552 if test $pkg_failed = yes; then
14553         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14554 $as_echo "no" >&6; }
14555
14556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14557         _pkg_short_errors_supported=yes
14558 else
14559         _pkg_short_errors_supported=no
14560 fi
14561         if test $_pkg_short_errors_supported = yes; then
14562                 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uprof-0.3" 2>&1`
14563         else
14564                 PROFILE_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors "uprof-0.3" 2>&1`
14565         fi
14566         # Put the nasty error message in config.log where it belongs
14567         echo "$PROFILE_DEP_PKG_ERRORS" >&5
14568
14569         as_fn_error $? "Package requirements (uprof-0.3) were not met:
14570
14571 $PROFILE_DEP_PKG_ERRORS
14572
14573 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14574 installed software in a non-standard prefix.
14575
14576 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14577 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14578 See the pkg-config man page for more details." "$LINENO" 5
14579
14580 elif test $pkg_failed = untried; then
14581         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14582 $as_echo "no" >&6; }
14583         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14585 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14586 is in your PATH or set the PKG_CONFIG environment variable to the full
14587 path to pkg-config.
14588
14589 Alternatively, you may set the environment variables PROFILE_DEP_CFLAGS
14590 and PROFILE_DEP_LIBS to avoid the need to call pkg-config.
14591 See the pkg-config man page for more details.
14592
14593 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14594 See \`config.log' for more details" "$LINENO" 5; }
14595
14596 else
14597         PROFILE_DEP_CFLAGS=$pkg_cv_PROFILE_DEP_CFLAGS
14598         PROFILE_DEP_LIBS=$pkg_cv_PROFILE_DEP_LIBS
14599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14600 $as_echo "yes" >&6; }
14601
14602 fi
14603                   CLUTTER_PROFILE_CFLAGS="-DCLUTTER_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
14604                   CLUTTER_PROFILE_LDFLAGS="$PROFILE_DEP_LIBS"
14605
14606                   if test "x$enable_debug" = "xyes"; then :
14607   CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"
14608 fi
14609
14610 else
14611
14612                   as_fn_error $? "--enable-profile is currently only supported if using GCC" "$LINENO" 5
14613
14614 fi
14615          ;; #(
14616   no) :
14617
14618           CLUTTER_PROFILE_CFLAGS=""
14619           CLUTTER_PROFILE_LDFLAGS=""
14620          ;; #(
14621   *) :
14622     as_fn_error $? "Invalid value for --enable-profile" "$LINENO" 5
14623  ;; #(
14624   *) :
14625      ;;
14626 esac
14627  if test "x$enable_profile" != "xno"; then
14628   PROFILE_TRUE=
14629   PROFILE_FALSE='#'
14630 else
14631   PROFILE_TRUE='#'
14632   PROFILE_FALSE=
14633 fi
14634
14635
14636
14637
14638
14639 # Extract the first word of "gcov", so it can be a program name with args.
14640 set dummy gcov; ac_word=$2
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14642 $as_echo_n "checking for $ac_word... " >&6; }
14643 if ${ac_cv_path_GCOV+:} false; then :
14644   $as_echo_n "(cached) " >&6
14645 else
14646   case $GCOV in
14647   [\\/]* | ?:[\\/]*)
14648   ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
14649   ;;
14650   *)
14651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14652 for as_dir in $PATH
14653 do
14654   IFS=$as_save_IFS
14655   test -z "$as_dir" && as_dir=.
14656     for ac_exec_ext in '' $ac_executable_extensions; do
14657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14658     ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
14659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14660     break 2
14661   fi
14662 done
14663   done
14664 IFS=$as_save_IFS
14665
14666   test -z "$ac_cv_path_GCOV" && ac_cv_path_GCOV="enable_gcov=no"
14667   ;;
14668 esac
14669 fi
14670 GCOV=$ac_cv_path_GCOV
14671 if test -n "$GCOV"; then
14672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
14673 $as_echo "$GCOV" >&6; }
14674 else
14675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676 $as_echo "no" >&6; }
14677 fi
14678
14679
14680
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with gcov testing" >&5
14682 $as_echo_n "checking whether to build with gcov testing... " >&6; }
14683
14684 # Check whether --enable-gcov was given.
14685 if test "${enable_gcov+set}" = set; then :
14686   enableval=$enable_gcov;
14687 else
14688   enable_gcov=no
14689 fi
14690
14691
14692 if test "x$enable_gcov" = "xyes" && test "x$GCC" = "xyes"; then :
14693
14694         if test "x$enable_conformance" = "xno"; then :
14695   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&5
14696 $as_echo "$as_me: WARNING: Conformance test suite is disabled, the coverage report will be incomplete" >&2;}
14697 else
14698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14699 $as_echo "yes" >&6; }
14700
14701 fi
14702
14703         GCOV_CFLAGS="-g -O0 -fprofile-arcs -ftest-coverage"
14704         GCOV_LDFLAGS="-lgcov"
14705
14706 else
14707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14708 $as_echo "no" >&6; }
14709
14710 fi
14711
14712  if test "x$enable_gcov" = "xyes"; then
14713   GCOV_ENABLED_TRUE=
14714   GCOV_ENABLED_FALSE='#'
14715 else
14716   GCOV_ENABLED_TRUE='#'
14717   GCOV_ENABLED_FALSE=
14718 fi
14719
14720
14721
14722
14723
14724 # use strict compiler flags only when building from git; the rules for
14725 # distcheck will take care of turning this on when making a release
14726
14727 # Check whether --enable-maintainer-flags was given.
14728 if test "${enable_maintainer_flags+set}" = set; then :
14729   enableval=$enable_maintainer_flags;
14730 else
14731   enable_maintainer_flags=no
14732 fi
14733
14734
14735 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
14736                            -Wall -Wcast-align -Wuninitialized
14737                            -Wno-strict-aliasing -Wempty-body -Wformat
14738                            -Wformat-security -Wformat-nonliteral -Winit-self
14739                            -Wdeclaration-after-statement -Wvla
14740                            -Wpointer-arith -Wmissing-declarations
14741                            -Waggregate-returns -Wcast-align
14742                            -Wredundant-decls"
14743
14744 case $enable_maintainer_flags in #(
14745   yes) :
14746
14747
14748   list=$MAINTAINER_COMPILER_FLAGS
14749   flags_supported=""
14750   flags_unsupported=""
14751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14752 $as_echo_n "checking for supported compiler flags... " >&6; }
14753   for each in $list
14754   do
14755     save_CFLAGS="$CFLAGS"
14756     CFLAGS="$CFLAGS $each"
14757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h.  */
14759
14760 int
14761 main ()
14762 {
14763
14764   ;
14765   return 0;
14766 }
14767 _ACEOF
14768 if ac_fn_c_try_compile "$LINENO"; then :
14769   flag_ok=yes
14770 else
14771   flag_ok=no
14772 fi
14773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14774     CFLAGS="$save_CFLAGS"
14775
14776     if test "X$flag_ok" = Xyes ; then
14777       flags_supported="$flags_supported $each"
14778     else
14779       flags_unsupported="$flags_unsupported $each"
14780     fi
14781   done
14782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14783 $as_echo "$flags_supported" >&6; }
14784   if test "X$flags_unsupported" != X ; then
14785     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14786 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14787   fi
14788   MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14789
14790          ;; #(
14791   no) :
14792
14793          ;; #(
14794   error) :
14795
14796           MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS -Werror"
14797
14798   list=$MAINTAINER_COMPILER_FLAGS
14799   flags_supported=""
14800   flags_unsupported=""
14801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
14802 $as_echo_n "checking for supported compiler flags... " >&6; }
14803   for each in $list
14804   do
14805     save_CFLAGS="$CFLAGS"
14806     CFLAGS="$CFLAGS $each"
14807     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h.  */
14809
14810 int
14811 main ()
14812 {
14813
14814   ;
14815   return 0;
14816 }
14817 _ACEOF
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819   flag_ok=yes
14820 else
14821   flag_ok=no
14822 fi
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824     CFLAGS="$save_CFLAGS"
14825
14826     if test "X$flag_ok" = Xyes ; then
14827       flags_supported="$flags_supported $each"
14828     else
14829       flags_unsupported="$flags_unsupported $each"
14830     fi
14831   done
14832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
14833 $as_echo "$flags_supported" >&6; }
14834   if test "X$flags_unsupported" != X ; then
14835     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
14836 $as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
14837   fi
14838   MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
14839
14840          ;; #(
14841   *) :
14842     as_fn_error $? "Invalid option for --enable-maintainer-flags" "$LINENO" 5
14843  ;; #(
14844   *) :
14845      ;;
14846 esac
14847
14848 # strip leading spaces
14849 MAINTAINER_CFLAGS=${MAINTAINER_CFLAGS#*  }
14850
14851
14852 # strip leading space
14853 BACKEND_PC_FILES=${BACKEND_PC_FILES#* }
14854
14855 # public dependencies, will fill the Requires: field of clutter.pc
14856 CLUTTER_REQUIRES="$CLUTTER_BASE_PC_FILES $BACKEND_PC_FILES"
14857
14858 pkg_failed=no
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS" >&5
14860 $as_echo_n "checking for CLUTTER_DEPS... " >&6; }
14861
14862 if test -n "$CLUTTER_DEPS_CFLAGS"; then
14863     pkg_cv_CLUTTER_DEPS_CFLAGS="$CLUTTER_DEPS_CFLAGS"
14864  elif test -n "$PKG_CONFIG"; then
14865     if test -n "$PKG_CONFIG" && \
14866     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14867   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14868   ac_status=$?
14869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14870   test $ac_status = 0; }; then
14871   pkg_cv_CLUTTER_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES" 2>/dev/null`
14872 else
14873   pkg_failed=yes
14874 fi
14875  else
14876     pkg_failed=untried
14877 fi
14878 if test -n "$CLUTTER_DEPS_LIBS"; then
14879     pkg_cv_CLUTTER_DEPS_LIBS="$CLUTTER_DEPS_LIBS"
14880  elif test -n "$PKG_CONFIG"; then
14881     if test -n "$PKG_CONFIG" && \
14882     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES\""; } >&5
14883   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES") 2>&5
14884   ac_status=$?
14885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14886   test $ac_status = 0; }; then
14887   pkg_cv_CLUTTER_DEPS_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES" 2>/dev/null`
14888 else
14889   pkg_failed=yes
14890 fi
14891  else
14892     pkg_failed=untried
14893 fi
14894
14895
14896
14897 if test $pkg_failed = yes; then
14898         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14899 $as_echo "no" >&6; }
14900
14901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14902         _pkg_short_errors_supported=yes
14903 else
14904         _pkg_short_errors_supported=no
14905 fi
14906         if test $_pkg_short_errors_supported = yes; then
14907                 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES" 2>&1`
14908         else
14909                 CLUTTER_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES" 2>&1`
14910         fi
14911         # Put the nasty error message in config.log where it belongs
14912         echo "$CLUTTER_DEPS_PKG_ERRORS" >&5
14913
14914         as_fn_error $? "Package requirements ($CLUTTER_REQUIRES) were not met:
14915
14916 $CLUTTER_DEPS_PKG_ERRORS
14917
14918 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14919 installed software in a non-standard prefix.
14920
14921 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
14922 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
14923 See the pkg-config man page for more details." "$LINENO" 5
14924
14925 elif test $pkg_failed = untried; then
14926         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14927 $as_echo "no" >&6; }
14928         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14930 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14931 is in your PATH or set the PKG_CONFIG environment variable to the full
14932 path to pkg-config.
14933
14934 Alternatively, you may set the environment variables CLUTTER_DEPS_CFLAGS
14935 and CLUTTER_DEPS_LIBS to avoid the need to call pkg-config.
14936 See the pkg-config man page for more details.
14937
14938 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14939 See \`config.log' for more details" "$LINENO" 5; }
14940
14941 else
14942         CLUTTER_DEPS_CFLAGS=$pkg_cv_CLUTTER_DEPS_CFLAGS
14943         CLUTTER_DEPS_LIBS=$pkg_cv_CLUTTER_DEPS_LIBS
14944         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14945 $as_echo "yes" >&6; }
14946
14947 fi
14948
14949 # private dependencies, will fill the Requires.private: field of clutter.pc
14950 if test "x$CLUTTER_BASE_PC_FILES_PRIVATE" = "x" && test "x$BACKEND_PC_FILES_PRIVATE" = "x"; then :
14951
14952         CLUTTER_REQUIRES_PRIVATE=""
14953         CLUTTER_DEPS_PRIVATE_CFLAGS=""
14954         CLUTTER_DEPS_PRIVATE_LIBS=""
14955
14956 else
14957
14958         CLUTTER_REQUIRES_PRIVATE="$CLUTTER_BASE_PC_FILES_PRIVATE $BACKEND_PC_FILES_PRIVATE"
14959
14960 pkg_failed=no
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_DEPS_PRIVATE" >&5
14962 $as_echo_n "checking for CLUTTER_DEPS_PRIVATE... " >&6; }
14963
14964 if test -n "$CLUTTER_DEPS_PRIVATE_CFLAGS"; then
14965     pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS="$CLUTTER_DEPS_PRIVATE_CFLAGS"
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_PRIVATE\""; } >&5
14969   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 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_PRIVATE_CFLAGS=`$PKG_CONFIG --cflags "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
14974 else
14975   pkg_failed=yes
14976 fi
14977  else
14978     pkg_failed=untried
14979 fi
14980 if test -n "$CLUTTER_DEPS_PRIVATE_LIBS"; then
14981     pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS="$CLUTTER_DEPS_PRIVATE_LIBS"
14982  elif test -n "$PKG_CONFIG"; then
14983     if test -n "$PKG_CONFIG" && \
14984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CLUTTER_REQUIRES_PRIVATE\""; } >&5
14985   ($PKG_CONFIG --exists --print-errors "$CLUTTER_REQUIRES_PRIVATE") 2>&5
14986   ac_status=$?
14987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14988   test $ac_status = 0; }; then
14989   pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS=`$PKG_CONFIG --libs "$CLUTTER_REQUIRES_PRIVATE" 2>/dev/null`
14990 else
14991   pkg_failed=yes
14992 fi
14993  else
14994     pkg_failed=untried
14995 fi
14996
14997
14998
14999 if test $pkg_failed = yes; then
15000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15002
15003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15004         _pkg_short_errors_supported=yes
15005 else
15006         _pkg_short_errors_supported=no
15007 fi
15008         if test $_pkg_short_errors_supported = yes; then
15009                 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15010         else
15011                 CLUTTER_DEPS_PRIVATE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CLUTTER_REQUIRES_PRIVATE" 2>&1`
15012         fi
15013         # Put the nasty error message in config.log where it belongs
15014         echo "$CLUTTER_DEPS_PRIVATE_PKG_ERRORS" >&5
15015
15016         as_fn_error $? "Package requirements ($CLUTTER_REQUIRES_PRIVATE) were not met:
15017
15018 $CLUTTER_DEPS_PRIVATE_PKG_ERRORS
15019
15020 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15021 installed software in a non-standard prefix.
15022
15023 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15024 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15025 See the pkg-config man page for more details." "$LINENO" 5
15026
15027 elif test $pkg_failed = untried; then
15028         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15030         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15032 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15033 is in your PATH or set the PKG_CONFIG environment variable to the full
15034 path to pkg-config.
15035
15036 Alternatively, you may set the environment variables CLUTTER_DEPS_PRIVATE_CFLAGS
15037 and CLUTTER_DEPS_PRIVATE_LIBS to avoid the need to call pkg-config.
15038 See the pkg-config man page for more details.
15039
15040 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15041 See \`config.log' for more details" "$LINENO" 5; }
15042
15043 else
15044         CLUTTER_DEPS_PRIVATE_CFLAGS=$pkg_cv_CLUTTER_DEPS_PRIVATE_CFLAGS
15045         CLUTTER_DEPS_PRIVATE_LIBS=$pkg_cv_CLUTTER_DEPS_PRIVATE_LIBS
15046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15047 $as_echo "yes" >&6; }
15048
15049 fi
15050
15051 fi
15052
15053
15054
15055
15056 CLUTTER_CFLAGS="$FLAVOUR_CFLAGS $CLUTTER_DEPS_CFLAGS $CLUTTER_DEPS_PRIVATE_CFLAGS $CLUTTER_PROFILE_CFLAGS $GLIB_CFLAGS"
15057 CLUTTER_LIBS="$FLAVOUR_LIBS $CLUTTER_DEPS_LIBS $CLUTTER_DEPS_PRIVATE_LIBS $CLUTTER_PROFILE_LDFLAGS $GLIB_LIBS"
15058
15059
15060
15061
15062
15063
15064
15065
15066                 # Check whether --enable-introspection was given.
15067 if test "${enable_introspection+set}" = set; then :
15068   enableval=$enable_introspection;
15069 else
15070   enable_introspection=auto
15071 fi
15072
15073
15074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15075 $as_echo_n "checking for gobject-introspection... " >&6; }
15076
15077         case $enable_introspection in #(
15078   no) :
15079             found_introspection="no (disabled, use --enable-introspection to enable)"
15080      ;; #(
15081       yes) :
15082             if test -n "$PKG_CONFIG" && \
15083     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15084   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15085   ac_status=$?
15086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15087   test $ac_status = 0; }; then
15088   :
15089 else
15090   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15091 fi
15092         if test -n "$PKG_CONFIG" && \
15093     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15094   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15095   ac_status=$?
15096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15097   test $ac_status = 0; }; then
15098   found_introspection=yes
15099 else
15100   as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build clutter" "$LINENO" 5
15101 fi
15102      ;; #(
15103       auto) :
15104             if test -n "$PKG_CONFIG" && \
15105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15106   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15107   ac_status=$?
15108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15109   test $ac_status = 0; }; then
15110   found_introspection=yes
15111 else
15112   found_introspection=no
15113 fi
15114      ;; #(
15115   *) :
15116                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15117      ;;
15118 esac
15119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15120 $as_echo "$found_introspection" >&6; }
15121
15122     INTROSPECTION_SCANNER=
15123     INTROSPECTION_COMPILER=
15124     INTROSPECTION_GENERATE=
15125     INTROSPECTION_GIRDIR=
15126     INTROSPECTION_TYPELIBDIR=
15127     if test "x$found_introspection" = "xyes"; then
15128        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15129        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15130        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15131        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15132        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15133        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15134        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15135        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15136     fi
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146      if test "x$found_introspection" = "xyes"; then
15147   HAVE_INTROSPECTION_TRUE=
15148   HAVE_INTROSPECTION_FALSE='#'
15149 else
15150   HAVE_INTROSPECTION_TRUE='#'
15151   HAVE_INTROSPECTION_FALSE=
15152 fi
15153
15154
15155
15156
15157
15158
15159
15160
15161     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15162 set dummy gtkdoc-check; ac_word=$2
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15164 $as_echo_n "checking for $ac_word... " >&6; }
15165 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
15166   $as_echo_n "(cached) " >&6
15167 else
15168   case $GTKDOC_CHECK in
15169   [\\/]* | ?:[\\/]*)
15170   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15171   ;;
15172   *)
15173   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15174 for as_dir in $PATH
15175 do
15176   IFS=$as_save_IFS
15177   test -z "$as_dir" && as_dir=.
15178     for ac_exec_ext in '' $ac_executable_extensions; do
15179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15180     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15182     break 2
15183   fi
15184 done
15185   done
15186 IFS=$as_save_IFS
15187
15188   ;;
15189 esac
15190 fi
15191 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15192 if test -n "$GTKDOC_CHECK"; then
15193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15194 $as_echo "$GTKDOC_CHECK" >&6; }
15195 else
15196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15197 $as_echo "no" >&6; }
15198 fi
15199
15200
15201   for ac_prog in gtkdoc-rebase
15202 do
15203   # Extract the first word of "$ac_prog", so it can be a program name with args.
15204 set dummy $ac_prog; ac_word=$2
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15206 $as_echo_n "checking for $ac_word... " >&6; }
15207 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15208   $as_echo_n "(cached) " >&6
15209 else
15210   case $GTKDOC_REBASE in
15211   [\\/]* | ?:[\\/]*)
15212   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15213   ;;
15214   *)
15215   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15216 for as_dir in $PATH
15217 do
15218   IFS=$as_save_IFS
15219   test -z "$as_dir" && as_dir=.
15220     for ac_exec_ext in '' $ac_executable_extensions; do
15221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15222     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15224     break 2
15225   fi
15226 done
15227   done
15228 IFS=$as_save_IFS
15229
15230   ;;
15231 esac
15232 fi
15233 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15234 if test -n "$GTKDOC_REBASE"; then
15235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15236 $as_echo "$GTKDOC_REBASE" >&6; }
15237 else
15238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239 $as_echo "no" >&6; }
15240 fi
15241
15242
15243   test -n "$GTKDOC_REBASE" && break
15244 done
15245 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15246
15247   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15248 set dummy gtkdoc-mkpdf; 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_MKPDF+:} false; then :
15252   $as_echo_n "(cached) " >&6
15253 else
15254   case $GTKDOC_MKPDF in
15255   [\\/]* | ?:[\\/]*)
15256   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # 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_MKPDF="$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_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15278 if test -n "$GTKDOC_MKPDF"; then
15279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15280 $as_echo "$GTKDOC_MKPDF" >&6; }
15281 else
15282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15283 $as_echo "no" >&6; }
15284 fi
15285
15286
15287
15288
15289 # Check whether --with-html-dir was given.
15290 if test "${with_html_dir+set}" = set; then :
15291   withval=$with_html_dir;
15292 else
15293   with_html_dir='${datadir}/gtk-doc/html'
15294 fi
15295
15296   HTML_DIR="$with_html_dir"
15297
15298
15299     # Check whether --enable-gtk-doc was given.
15300 if test "${enable_gtk_doc+set}" = set; then :
15301   enableval=$enable_gtk_doc;
15302 else
15303   enable_gtk_doc=no
15304 fi
15305
15306
15307   if test x$enable_gtk_doc = xyes; then
15308     if test -n "$PKG_CONFIG" && \
15309     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
15310   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
15311   ac_status=$?
15312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313   test $ac_status = 0; }; then
15314   :
15315 else
15316   as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
15317 fi
15318         if test "x$PACKAGE_NAME" != "xglib"; then
15319
15320 pkg_failed=no
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
15322 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
15323
15324 if test -n "$GTKDOC_DEPS_CFLAGS"; then
15325     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
15326  elif test -n "$PKG_CONFIG"; then
15327     if test -n "$PKG_CONFIG" && \
15328     { { $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
15329   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15330   ac_status=$?
15331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15332   test $ac_status = 0; }; then
15333   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15334 else
15335   pkg_failed=yes
15336 fi
15337  else
15338     pkg_failed=untried
15339 fi
15340 if test -n "$GTKDOC_DEPS_LIBS"; then
15341     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
15342  elif test -n "$PKG_CONFIG"; then
15343     if test -n "$PKG_CONFIG" && \
15344     { { $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
15345   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15346   ac_status=$?
15347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15348   test $ac_status = 0; }; then
15349   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15350 else
15351   pkg_failed=yes
15352 fi
15353  else
15354     pkg_failed=untried
15355 fi
15356
15357
15358
15359 if test $pkg_failed = yes; then
15360         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361 $as_echo "no" >&6; }
15362
15363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15364         _pkg_short_errors_supported=yes
15365 else
15366         _pkg_short_errors_supported=no
15367 fi
15368         if test $_pkg_short_errors_supported = yes; then
15369                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15370         else
15371                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15372         fi
15373         # Put the nasty error message in config.log where it belongs
15374         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
15375
15376         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
15377
15378 $GTKDOC_DEPS_PKG_ERRORS
15379
15380 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15381 installed software in a non-standard prefix.
15382
15383 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15384 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15385 See the pkg-config man page for more details." "$LINENO" 5
15386
15387 elif test $pkg_failed = untried; then
15388         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15389 $as_echo "no" >&6; }
15390         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15392 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15393 is in your PATH or set the PKG_CONFIG environment variable to the full
15394 path to pkg-config.
15395
15396 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
15397 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
15398 See the pkg-config man page for more details.
15399
15400 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15401 See \`config.log' for more details" "$LINENO" 5; }
15402
15403 else
15404         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
15405         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
15406         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15407 $as_echo "yes" >&6; }
15408
15409 fi
15410     fi
15411   fi
15412
15413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15414 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15416 $as_echo "$enable_gtk_doc" >&6; }
15417
15418     # Check whether --enable-gtk-doc-html was given.
15419 if test "${enable_gtk_doc_html+set}" = set; then :
15420   enableval=$enable_gtk_doc_html;
15421 else
15422   enable_gtk_doc_html=yes
15423 fi
15424
15425     # Check whether --enable-gtk-doc-pdf was given.
15426 if test "${enable_gtk_doc_pdf+set}" = set; then :
15427   enableval=$enable_gtk_doc_pdf;
15428 else
15429   enable_gtk_doc_pdf=no
15430 fi
15431
15432
15433   if test -z "$GTKDOC_MKPDF"; then
15434     enable_gtk_doc_pdf=no
15435   fi
15436
15437
15438    if test x$enable_gtk_doc = xyes; then
15439   ENABLE_GTK_DOC_TRUE=
15440   ENABLE_GTK_DOC_FALSE='#'
15441 else
15442   ENABLE_GTK_DOC_TRUE='#'
15443   ENABLE_GTK_DOC_FALSE=
15444 fi
15445
15446    if test x$enable_gtk_doc_html = xyes; then
15447   GTK_DOC_BUILD_HTML_TRUE=
15448   GTK_DOC_BUILD_HTML_FALSE='#'
15449 else
15450   GTK_DOC_BUILD_HTML_TRUE='#'
15451   GTK_DOC_BUILD_HTML_FALSE=
15452 fi
15453
15454    if test x$enable_gtk_doc_pdf = xyes; then
15455   GTK_DOC_BUILD_PDF_TRUE=
15456   GTK_DOC_BUILD_PDF_FALSE='#'
15457 else
15458   GTK_DOC_BUILD_PDF_TRUE='#'
15459   GTK_DOC_BUILD_PDF_FALSE=
15460 fi
15461
15462    if test -n "$LIBTOOL"; then
15463   GTK_DOC_USE_LIBTOOL_TRUE=
15464   GTK_DOC_USE_LIBTOOL_FALSE='#'
15465 else
15466   GTK_DOC_USE_LIBTOOL_TRUE='#'
15467   GTK_DOC_USE_LIBTOOL_FALSE=
15468 fi
15469
15470    if test -n "$GTKDOC_REBASE"; then
15471   GTK_DOC_USE_REBASE_TRUE=
15472   GTK_DOC_USE_REBASE_FALSE='#'
15473 else
15474   GTK_DOC_USE_REBASE_TRUE='#'
15475   GTK_DOC_USE_REBASE_FALSE=
15476 fi
15477
15478
15479
15480 # we don't want to build the documentation from a Git clone unless we
15481 # explicitly tell configure to do so; this allows avoiding to recurse into
15482 # the documentation directory when building Clutter inside Poky for a
15483 # target device that doesn't have gtk-doc installed. for reference
15484 # see: http://bugzilla.openedhand.com/show_bug.cgi?id=1047
15485 #
15486 # we use autogen.sh as it exists only inside the Git clones, and it
15487 # is not packaged into tarballs.
15488  if test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"; then
15489   BUILD_GTK_DOC_TRUE=
15490   BUILD_GTK_DOC_FALSE='#'
15491 else
15492   BUILD_GTK_DOC_TRUE='#'
15493   BUILD_GTK_DOC_FALSE=
15494 fi
15495
15496
15497 # prefixes for fixing gtk-doc references
15498 CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
15499 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
15500 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
15501 COGL_PREFIX="`$PKG_CONFIG --variable=prefix cogl-1.0`"
15502 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
15503
15504
15505
15506
15507
15508
15509
15510 # Check whether --enable-docs was given.
15511 if test "${enable_docs+set}" = set; then :
15512   enableval=$enable_docs; enable_docs=$enableval
15513 else
15514   enable_docs=no
15515 fi
15516
15517
15518 enable_pdfs=no
15519 if test "x$enable_docs" = "xyes"; then :
15520
15521         # Extract the first word of "jw", so it can be a program name with args.
15522 set dummy jw; ac_word=$2
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15524 $as_echo_n "checking for $ac_word... " >&6; }
15525 if ${ac_cv_path_JW+:} false; then :
15526   $as_echo_n "(cached) " >&6
15527 else
15528   case $JW in
15529   [\\/]* | ?:[\\/]*)
15530   ac_cv_path_JW="$JW" # Let the user override the test with a path.
15531   ;;
15532   *)
15533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15534 for as_dir in $PATH
15535 do
15536   IFS=$as_save_IFS
15537   test -z "$as_dir" && as_dir=.
15538     for ac_exec_ext in '' $ac_executable_extensions; do
15539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15540     ac_cv_path_JW="$as_dir/$ac_word$ac_exec_ext"
15541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15542     break 2
15543   fi
15544 done
15545   done
15546 IFS=$as_save_IFS
15547
15548   test -z "$ac_cv_path_JW" && ac_cv_path_JW="no"
15549   ;;
15550 esac
15551 fi
15552 JW=$ac_cv_path_JW
15553 if test -n "$JW"; then
15554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JW" >&5
15555 $as_echo "$JW" >&6; }
15556 else
15557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558 $as_echo "no" >&6; }
15559 fi
15560
15561
15562         if test "x$JW" = "xno"; then :
15563
15564                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jw not found; pdf generation has been disabled" >&5
15565 $as_echo "$as_me: WARNING: jw not found; pdf generation has been disabled" >&2;}
15566
15567 else
15568   enable_pdfs=yes
15569 fi
15570
15571         # Extract the first word of "xsltproc", so it can be a program name with args.
15572 set dummy xsltproc; ac_word=$2
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15574 $as_echo_n "checking for $ac_word... " >&6; }
15575 if ${ac_cv_path_XSLTPROC+:} false; then :
15576   $as_echo_n "(cached) " >&6
15577 else
15578   case $XSLTPROC in
15579   [\\/]* | ?:[\\/]*)
15580   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15581   ;;
15582   *)
15583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15584 for as_dir in $PATH
15585 do
15586   IFS=$as_save_IFS
15587   test -z "$as_dir" && as_dir=.
15588     for ac_exec_ext in '' $ac_executable_extensions; do
15589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15590     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15592     break 2
15593   fi
15594 done
15595   done
15596 IFS=$as_save_IFS
15597
15598   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
15599   ;;
15600 esac
15601 fi
15602 XSLTPROC=$ac_cv_path_XSLTPROC
15603 if test -n "$XSLTPROC"; then
15604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15605 $as_echo "$XSLTPROC" >&6; }
15606 else
15607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15608 $as_echo "no" >&6; }
15609 fi
15610
15611
15612         if test "x$XSLTPROC" = "xno"; then :
15613
15614                 as_fn_error $? "xsltproc not found" "$LINENO" 5
15615
15616 fi
15617
15618
15619 fi
15620
15621  if test "x$enable_docs" = "xyes"; then
15622   ENABLE_DOCS_TRUE=
15623   ENABLE_DOCS_FALSE='#'
15624 else
15625   ENABLE_DOCS_TRUE='#'
15626   ENABLE_DOCS_FALSE=
15627 fi
15628
15629  if test "x$enable_pdfs" = "xyes"; then
15630   ENABLE_PDFS_TRUE=
15631   ENABLE_PDFS_FALSE='#'
15632 else
15633   ENABLE_PDFS_TRUE='#'
15634   ENABLE_PDFS_FALSE=
15635 fi
15636
15637
15638
15639
15640
15641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15642 $as_echo_n "checking whether NLS is requested... " >&6; }
15643     # Check whether --enable-nls was given.
15644 if test "${enable_nls+set}" = set; then :
15645   enableval=$enable_nls; USE_NLS=$enableval
15646 else
15647   USE_NLS=yes
15648 fi
15649
15650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15651 $as_echo "$USE_NLS" >&6; }
15652
15653
15654
15655
15656       GETTEXT_MACRO_VERSION=0.17
15657
15658
15659
15660
15661 # Prepare PATH_SEPARATOR.
15662 # The user is always right.
15663 if test "${PATH_SEPARATOR+set}" != set; then
15664   echo "#! /bin/sh" >conf$$.sh
15665   echo  "exit 0"   >>conf$$.sh
15666   chmod +x conf$$.sh
15667   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15668     PATH_SEPARATOR=';'
15669   else
15670     PATH_SEPARATOR=:
15671   fi
15672   rm -f conf$$.sh
15673 fi
15674
15675 # Find out how to test for executable files. Don't use a zero-byte file,
15676 # as systems may use methods other than mode bits to determine executability.
15677 cat >conf$$.file <<_ASEOF
15678 #! /bin/sh
15679 exit 0
15680 _ASEOF
15681 chmod +x conf$$.file
15682 if test -x conf$$.file >/dev/null 2>&1; then
15683   ac_executable_p="test -x"
15684 else
15685   ac_executable_p="test -f"
15686 fi
15687 rm -f conf$$.file
15688
15689 # Extract the first word of "msgfmt", so it can be a program name with args.
15690 set dummy msgfmt; ac_word=$2
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15692 $as_echo_n "checking for $ac_word... " >&6; }
15693 if ${ac_cv_path_MSGFMT+:} false; then :
15694   $as_echo_n "(cached) " >&6
15695 else
15696   case "$MSGFMT" in
15697   [\\/]* | ?:[\\/]*)
15698     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15699     ;;
15700   *)
15701     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15702     for ac_dir in $PATH; do
15703       IFS="$ac_save_IFS"
15704       test -z "$ac_dir" && ac_dir=.
15705       for ac_exec_ext in '' $ac_executable_extensions; do
15706         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15707           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15708           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15709      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15710             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15711             break 2
15712           fi
15713         fi
15714       done
15715     done
15716     IFS="$ac_save_IFS"
15717   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15718     ;;
15719 esac
15720 fi
15721 MSGFMT="$ac_cv_path_MSGFMT"
15722 if test "$MSGFMT" != ":"; then
15723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15724 $as_echo "$MSGFMT" >&6; }
15725 else
15726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15727 $as_echo "no" >&6; }
15728 fi
15729
15730   # Extract the first word of "gmsgfmt", so it can be a program name with args.
15731 set dummy gmsgfmt; ac_word=$2
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15733 $as_echo_n "checking for $ac_word... " >&6; }
15734 if ${ac_cv_path_GMSGFMT+:} false; then :
15735   $as_echo_n "(cached) " >&6
15736 else
15737   case $GMSGFMT in
15738   [\\/]* | ?:[\\/]*)
15739   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15740   ;;
15741   *)
15742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15743 for as_dir in $PATH
15744 do
15745   IFS=$as_save_IFS
15746   test -z "$as_dir" && as_dir=.
15747     for ac_exec_ext in '' $ac_executable_extensions; do
15748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15749     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15751     break 2
15752   fi
15753 done
15754   done
15755 IFS=$as_save_IFS
15756
15757   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15758   ;;
15759 esac
15760 fi
15761 GMSGFMT=$ac_cv_path_GMSGFMT
15762 if test -n "$GMSGFMT"; then
15763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15764 $as_echo "$GMSGFMT" >&6; }
15765 else
15766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15767 $as_echo "no" >&6; }
15768 fi
15769
15770
15771
15772     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15773     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15774     *) MSGFMT_015=$MSGFMT ;;
15775   esac
15776
15777   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15778     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15779     *) GMSGFMT_015=$GMSGFMT ;;
15780   esac
15781
15782
15783
15784 # Prepare PATH_SEPARATOR.
15785 # The user is always right.
15786 if test "${PATH_SEPARATOR+set}" != set; then
15787   echo "#! /bin/sh" >conf$$.sh
15788   echo  "exit 0"   >>conf$$.sh
15789   chmod +x conf$$.sh
15790   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15791     PATH_SEPARATOR=';'
15792   else
15793     PATH_SEPARATOR=:
15794   fi
15795   rm -f conf$$.sh
15796 fi
15797
15798 # Find out how to test for executable files. Don't use a zero-byte file,
15799 # as systems may use methods other than mode bits to determine executability.
15800 cat >conf$$.file <<_ASEOF
15801 #! /bin/sh
15802 exit 0
15803 _ASEOF
15804 chmod +x conf$$.file
15805 if test -x conf$$.file >/dev/null 2>&1; then
15806   ac_executable_p="test -x"
15807 else
15808   ac_executable_p="test -f"
15809 fi
15810 rm -f conf$$.file
15811
15812 # Extract the first word of "xgettext", so it can be a program name with args.
15813 set dummy xgettext; ac_word=$2
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15815 $as_echo_n "checking for $ac_word... " >&6; }
15816 if ${ac_cv_path_XGETTEXT+:} false; then :
15817   $as_echo_n "(cached) " >&6
15818 else
15819   case "$XGETTEXT" in
15820   [\\/]* | ?:[\\/]*)
15821     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15822     ;;
15823   *)
15824     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15825     for ac_dir in $PATH; do
15826       IFS="$ac_save_IFS"
15827       test -z "$ac_dir" && ac_dir=.
15828       for ac_exec_ext in '' $ac_executable_extensions; do
15829         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15830           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15831           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15832      (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
15833             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15834             break 2
15835           fi
15836         fi
15837       done
15838     done
15839     IFS="$ac_save_IFS"
15840   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15841     ;;
15842 esac
15843 fi
15844 XGETTEXT="$ac_cv_path_XGETTEXT"
15845 if test "$XGETTEXT" != ":"; then
15846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15847 $as_echo "$XGETTEXT" >&6; }
15848 else
15849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15850 $as_echo "no" >&6; }
15851 fi
15852
15853     rm -f messages.po
15854
15855     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15856     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15857     *) XGETTEXT_015=$XGETTEXT ;;
15858   esac
15859
15860
15861
15862 # Prepare PATH_SEPARATOR.
15863 # The user is always right.
15864 if test "${PATH_SEPARATOR+set}" != set; then
15865   echo "#! /bin/sh" >conf$$.sh
15866   echo  "exit 0"   >>conf$$.sh
15867   chmod +x conf$$.sh
15868   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15869     PATH_SEPARATOR=';'
15870   else
15871     PATH_SEPARATOR=:
15872   fi
15873   rm -f conf$$.sh
15874 fi
15875
15876 # Find out how to test for executable files. Don't use a zero-byte file,
15877 # as systems may use methods other than mode bits to determine executability.
15878 cat >conf$$.file <<_ASEOF
15879 #! /bin/sh
15880 exit 0
15881 _ASEOF
15882 chmod +x conf$$.file
15883 if test -x conf$$.file >/dev/null 2>&1; then
15884   ac_executable_p="test -x"
15885 else
15886   ac_executable_p="test -f"
15887 fi
15888 rm -f conf$$.file
15889
15890 # Extract the first word of "msgmerge", so it can be a program name with args.
15891 set dummy msgmerge; ac_word=$2
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15893 $as_echo_n "checking for $ac_word... " >&6; }
15894 if ${ac_cv_path_MSGMERGE+:} false; then :
15895   $as_echo_n "(cached) " >&6
15896 else
15897   case "$MSGMERGE" in
15898   [\\/]* | ?:[\\/]*)
15899     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15900     ;;
15901   *)
15902     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15903     for ac_dir in $PATH; do
15904       IFS="$ac_save_IFS"
15905       test -z "$ac_dir" && ac_dir=.
15906       for ac_exec_ext in '' $ac_executable_extensions; do
15907         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15908           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15909           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15910             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15911             break 2
15912           fi
15913         fi
15914       done
15915     done
15916     IFS="$ac_save_IFS"
15917   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15918     ;;
15919 esac
15920 fi
15921 MSGMERGE="$ac_cv_path_MSGMERGE"
15922 if test "$MSGMERGE" != ":"; then
15923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15924 $as_echo "$MSGMERGE" >&6; }
15925 else
15926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15927 $as_echo "no" >&6; }
15928 fi
15929
15930
15931         test -n "$localedir" || localedir='${datadir}/locale'
15932
15933
15934     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
15935
15936
15937   ac_config_commands="$ac_config_commands po-directories"
15938
15939
15940
15941       if test "X$prefix" = "XNONE"; then
15942     acl_final_prefix="$ac_default_prefix"
15943   else
15944     acl_final_prefix="$prefix"
15945   fi
15946   if test "X$exec_prefix" = "XNONE"; then
15947     acl_final_exec_prefix='${prefix}'
15948   else
15949     acl_final_exec_prefix="$exec_prefix"
15950   fi
15951   acl_save_prefix="$prefix"
15952   prefix="$acl_final_prefix"
15953   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15954   prefix="$acl_save_prefix"
15955
15956
15957 # Check whether --with-gnu-ld was given.
15958 if test "${with_gnu_ld+set}" = set; then :
15959   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15960 else
15961   with_gnu_ld=no
15962 fi
15963
15964 # Prepare PATH_SEPARATOR.
15965 # The user is always right.
15966 if test "${PATH_SEPARATOR+set}" != set; then
15967   echo "#! /bin/sh" >conf$$.sh
15968   echo  "exit 0"   >>conf$$.sh
15969   chmod +x conf$$.sh
15970   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15971     PATH_SEPARATOR=';'
15972   else
15973     PATH_SEPARATOR=:
15974   fi
15975   rm -f conf$$.sh
15976 fi
15977 ac_prog=ld
15978 if test "$GCC" = yes; then
15979   # Check if gcc -print-prog-name=ld gives a path.
15980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15981 $as_echo_n "checking for ld used by GCC... " >&6; }
15982   case $host in
15983   *-*-mingw*)
15984     # gcc leaves a trailing carriage return which upsets mingw
15985     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15986   *)
15987     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15988   esac
15989   case $ac_prog in
15990     # Accept absolute paths.
15991     [\\/]* | [A-Za-z]:[\\/]*)
15992       re_direlt='/[^/][^/]*/\.\./'
15993       # Canonicalize the path of ld
15994       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15995       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15996         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15997       done
15998       test -z "$LD" && LD="$ac_prog"
15999       ;;
16000   "")
16001     # If it fails, then pretend we aren't using GCC.
16002     ac_prog=ld
16003     ;;
16004   *)
16005     # If it is relative, then search for the first ld in PATH.
16006     with_gnu_ld=unknown
16007     ;;
16008   esac
16009 elif test "$with_gnu_ld" = yes; then
16010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16011 $as_echo_n "checking for GNU ld... " >&6; }
16012 else
16013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16014 $as_echo_n "checking for non-GNU ld... " >&6; }
16015 fi
16016 if ${acl_cv_path_LD+:} false; then :
16017   $as_echo_n "(cached) " >&6
16018 else
16019   if test -z "$LD"; then
16020   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16021   for ac_dir in $PATH; do
16022     test -z "$ac_dir" && ac_dir=.
16023     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16024       acl_cv_path_LD="$ac_dir/$ac_prog"
16025       # Check to see if the program is GNU ld.  I'd rather use --version,
16026       # but apparently some GNU ld's only accept -v.
16027       # Break only if it was the GNU/non-GNU ld that we prefer.
16028       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16029       *GNU* | *'with BFD'*)
16030         test "$with_gnu_ld" != no && break ;;
16031       *)
16032         test "$with_gnu_ld" != yes && break ;;
16033       esac
16034     fi
16035   done
16036   IFS="$ac_save_ifs"
16037 else
16038   acl_cv_path_LD="$LD" # Let the user override the test with a path.
16039 fi
16040 fi
16041
16042 LD="$acl_cv_path_LD"
16043 if test -n "$LD"; then
16044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16045 $as_echo "$LD" >&6; }
16046 else
16047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048 $as_echo "no" >&6; }
16049 fi
16050 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16052 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16053 if ${acl_cv_prog_gnu_ld+:} false; then :
16054   $as_echo_n "(cached) " >&6
16055 else
16056   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16057 case `$LD -v 2>&1 </dev/null` in
16058 *GNU* | *'with BFD'*)
16059   acl_cv_prog_gnu_ld=yes ;;
16060 *)
16061   acl_cv_prog_gnu_ld=no ;;
16062 esac
16063 fi
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16065 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16066 with_gnu_ld=$acl_cv_prog_gnu_ld
16067
16068
16069
16070
16071                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16072 $as_echo_n "checking for shared library run path origin... " >&6; }
16073 if ${acl_cv_rpath+:} false; then :
16074   $as_echo_n "(cached) " >&6
16075 else
16076
16077     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16078     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16079     . ./conftest.sh
16080     rm -f ./conftest.sh
16081     acl_cv_rpath=done
16082
16083 fi
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16085 $as_echo "$acl_cv_rpath" >&6; }
16086   wl="$acl_cv_wl"
16087   acl_libext="$acl_cv_libext"
16088   acl_shlibext="$acl_cv_shlibext"
16089   acl_libname_spec="$acl_cv_libname_spec"
16090   acl_library_names_spec="$acl_cv_library_names_spec"
16091   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16092   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16093   acl_hardcode_direct="$acl_cv_hardcode_direct"
16094   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16095     # Check whether --enable-rpath was given.
16096 if test "${enable_rpath+set}" = set; then :
16097   enableval=$enable_rpath; :
16098 else
16099   enable_rpath=yes
16100 fi
16101
16102
16103
16104                   acl_libdirstem=lib
16105   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16106   if test -n "$searchpath"; then
16107     acl_save_IFS="${IFS=        }"; IFS=":"
16108     for searchdir in $searchpath; do
16109       if test -d "$searchdir"; then
16110         case "$searchdir" in
16111           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16112           *) searchdir=`cd "$searchdir" && pwd`
16113              case "$searchdir" in
16114                */lib64 ) acl_libdirstem=lib64 ;;
16115              esac ;;
16116         esac
16117       fi
16118     done
16119     IFS="$acl_save_IFS"
16120   fi
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130     use_additional=yes
16131
16132   acl_save_prefix="$prefix"
16133   prefix="$acl_final_prefix"
16134   acl_save_exec_prefix="$exec_prefix"
16135   exec_prefix="$acl_final_exec_prefix"
16136
16137     eval additional_includedir=\"$includedir\"
16138     eval additional_libdir=\"$libdir\"
16139
16140   exec_prefix="$acl_save_exec_prefix"
16141   prefix="$acl_save_prefix"
16142
16143
16144 # Check whether --with-libiconv-prefix was given.
16145 if test "${with_libiconv_prefix+set}" = set; then :
16146   withval=$with_libiconv_prefix;
16147     if test "X$withval" = "Xno"; then
16148       use_additional=no
16149     else
16150       if test "X$withval" = "X"; then
16151
16152   acl_save_prefix="$prefix"
16153   prefix="$acl_final_prefix"
16154   acl_save_exec_prefix="$exec_prefix"
16155   exec_prefix="$acl_final_exec_prefix"
16156
16157           eval additional_includedir=\"$includedir\"
16158           eval additional_libdir=\"$libdir\"
16159
16160   exec_prefix="$acl_save_exec_prefix"
16161   prefix="$acl_save_prefix"
16162
16163       else
16164         additional_includedir="$withval/include"
16165         additional_libdir="$withval/$acl_libdirstem"
16166       fi
16167     fi
16168
16169 fi
16170
16171       LIBICONV=
16172   LTLIBICONV=
16173   INCICONV=
16174   LIBICONV_PREFIX=
16175   rpathdirs=
16176   ltrpathdirs=
16177   names_already_handled=
16178   names_next_round='iconv '
16179   while test -n "$names_next_round"; do
16180     names_this_round="$names_next_round"
16181     names_next_round=
16182     for name in $names_this_round; do
16183       already_handled=
16184       for n in $names_already_handled; do
16185         if test "$n" = "$name"; then
16186           already_handled=yes
16187           break
16188         fi
16189       done
16190       if test -z "$already_handled"; then
16191         names_already_handled="$names_already_handled $name"
16192                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16193         eval value=\"\$HAVE_LIB$uppername\"
16194         if test -n "$value"; then
16195           if test "$value" = yes; then
16196             eval value=\"\$LIB$uppername\"
16197             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16198             eval value=\"\$LTLIB$uppername\"
16199             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16200           else
16201                                     :
16202           fi
16203         else
16204                               found_dir=
16205           found_la=
16206           found_so=
16207           found_a=
16208           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16209           if test -n "$acl_shlibext"; then
16210             shrext=".$acl_shlibext"             # typically: shrext=.so
16211           else
16212             shrext=
16213           fi
16214           if test $use_additional = yes; then
16215             dir="$additional_libdir"
16216                                     if test -n "$acl_shlibext"; then
16217               if test -f "$dir/$libname$shrext"; then
16218                 found_dir="$dir"
16219                 found_so="$dir/$libname$shrext"
16220               else
16221                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16222                   ver=`(cd "$dir" && \
16223                         for f in "$libname$shrext".*; do echo "$f"; done \
16224                         | sed -e "s,^$libname$shrext\\\\.,," \
16225                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16226                         | sed 1q ) 2>/dev/null`
16227                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16228                     found_dir="$dir"
16229                     found_so="$dir/$libname$shrext.$ver"
16230                   fi
16231                 else
16232                   eval library_names=\"$acl_library_names_spec\"
16233                   for f in $library_names; do
16234                     if test -f "$dir/$f"; then
16235                       found_dir="$dir"
16236                       found_so="$dir/$f"
16237                       break
16238                     fi
16239                   done
16240                 fi
16241               fi
16242             fi
16243                         if test "X$found_dir" = "X"; then
16244               if test -f "$dir/$libname.$acl_libext"; then
16245                 found_dir="$dir"
16246                 found_a="$dir/$libname.$acl_libext"
16247               fi
16248             fi
16249             if test "X$found_dir" != "X"; then
16250               if test -f "$dir/$libname.la"; then
16251                 found_la="$dir/$libname.la"
16252               fi
16253             fi
16254           fi
16255           if test "X$found_dir" = "X"; then
16256             for x in $LDFLAGS $LTLIBICONV; do
16257
16258   acl_save_prefix="$prefix"
16259   prefix="$acl_final_prefix"
16260   acl_save_exec_prefix="$exec_prefix"
16261   exec_prefix="$acl_final_exec_prefix"
16262   eval x=\"$x\"
16263   exec_prefix="$acl_save_exec_prefix"
16264   prefix="$acl_save_prefix"
16265
16266               case "$x" in
16267                 -L*)
16268                   dir=`echo "X$x" | sed -e 's/^X-L//'`
16269                                     if test -n "$acl_shlibext"; then
16270                     if test -f "$dir/$libname$shrext"; then
16271                       found_dir="$dir"
16272                       found_so="$dir/$libname$shrext"
16273                     else
16274                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16275                         ver=`(cd "$dir" && \
16276                               for f in "$libname$shrext".*; do echo "$f"; done \
16277                               | sed -e "s,^$libname$shrext\\\\.,," \
16278                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16279                               | sed 1q ) 2>/dev/null`
16280                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16281                           found_dir="$dir"
16282                           found_so="$dir/$libname$shrext.$ver"
16283                         fi
16284                       else
16285                         eval library_names=\"$acl_library_names_spec\"
16286                         for f in $library_names; do
16287                           if test -f "$dir/$f"; then
16288                             found_dir="$dir"
16289                             found_so="$dir/$f"
16290                             break
16291                           fi
16292                         done
16293                       fi
16294                     fi
16295                   fi
16296                                     if test "X$found_dir" = "X"; then
16297                     if test -f "$dir/$libname.$acl_libext"; then
16298                       found_dir="$dir"
16299                       found_a="$dir/$libname.$acl_libext"
16300                     fi
16301                   fi
16302                   if test "X$found_dir" != "X"; then
16303                     if test -f "$dir/$libname.la"; then
16304                       found_la="$dir/$libname.la"
16305                     fi
16306                   fi
16307                   ;;
16308               esac
16309               if test "X$found_dir" != "X"; then
16310                 break
16311               fi
16312             done
16313           fi
16314           if test "X$found_dir" != "X"; then
16315                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16316             if test "X$found_so" != "X"; then
16317                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16318                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16319               else
16320                                                                                 haveit=
16321                 for x in $ltrpathdirs; do
16322                   if test "X$x" = "X$found_dir"; then
16323                     haveit=yes
16324                     break
16325                   fi
16326                 done
16327                 if test -z "$haveit"; then
16328                   ltrpathdirs="$ltrpathdirs $found_dir"
16329                 fi
16330                                 if test "$acl_hardcode_direct" = yes; then
16331                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16332                 else
16333                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16334                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16335                                                             haveit=
16336                     for x in $rpathdirs; do
16337                       if test "X$x" = "X$found_dir"; then
16338                         haveit=yes
16339                         break
16340                       fi
16341                     done
16342                     if test -z "$haveit"; then
16343                       rpathdirs="$rpathdirs $found_dir"
16344                     fi
16345                   else
16346                                                                                 haveit=
16347                     for x in $LDFLAGS $LIBICONV; do
16348
16349   acl_save_prefix="$prefix"
16350   prefix="$acl_final_prefix"
16351   acl_save_exec_prefix="$exec_prefix"
16352   exec_prefix="$acl_final_exec_prefix"
16353   eval x=\"$x\"
16354   exec_prefix="$acl_save_exec_prefix"
16355   prefix="$acl_save_prefix"
16356
16357                       if test "X$x" = "X-L$found_dir"; then
16358                         haveit=yes
16359                         break
16360                       fi
16361                     done
16362                     if test -z "$haveit"; then
16363                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16364                     fi
16365                     if test "$acl_hardcode_minus_L" != no; then
16366                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16367                     else
16368                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16369                     fi
16370                   fi
16371                 fi
16372               fi
16373             else
16374               if test "X$found_a" != "X"; then
16375                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16376               else
16377                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16378               fi
16379             fi
16380                         additional_includedir=
16381             case "$found_dir" in
16382               */$acl_libdirstem | */$acl_libdirstem/)
16383                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16384                 LIBICONV_PREFIX="$basedir"
16385                 additional_includedir="$basedir/include"
16386                 ;;
16387             esac
16388             if test "X$additional_includedir" != "X"; then
16389                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
16390                 haveit=
16391                 if test "X$additional_includedir" = "X/usr/local/include"; then
16392                   if test -n "$GCC"; then
16393                     case $host_os in
16394                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16395                     esac
16396                   fi
16397                 fi
16398                 if test -z "$haveit"; then
16399                   for x in $CPPFLAGS $INCICONV; do
16400
16401   acl_save_prefix="$prefix"
16402   prefix="$acl_final_prefix"
16403   acl_save_exec_prefix="$exec_prefix"
16404   exec_prefix="$acl_final_exec_prefix"
16405   eval x=\"$x\"
16406   exec_prefix="$acl_save_exec_prefix"
16407   prefix="$acl_save_prefix"
16408
16409                     if test "X$x" = "X-I$additional_includedir"; then
16410                       haveit=yes
16411                       break
16412                     fi
16413                   done
16414                   if test -z "$haveit"; then
16415                     if test -d "$additional_includedir"; then
16416                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16417                     fi
16418                   fi
16419                 fi
16420               fi
16421             fi
16422                         if test -n "$found_la"; then
16423                                                         save_libdir="$libdir"
16424               case "$found_la" in
16425                 */* | *\\*) . "$found_la" ;;
16426                 *) . "./$found_la" ;;
16427               esac
16428               libdir="$save_libdir"
16429                             for dep in $dependency_libs; do
16430                 case "$dep" in
16431                   -L*)
16432                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16433                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16434                       haveit=
16435                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16436                         if test -n "$GCC"; then
16437                           case $host_os in
16438                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16439                           esac
16440                         fi
16441                       fi
16442                       if test -z "$haveit"; then
16443                         haveit=
16444                         for x in $LDFLAGS $LIBICONV; do
16445
16446   acl_save_prefix="$prefix"
16447   prefix="$acl_final_prefix"
16448   acl_save_exec_prefix="$exec_prefix"
16449   exec_prefix="$acl_final_exec_prefix"
16450   eval x=\"$x\"
16451   exec_prefix="$acl_save_exec_prefix"
16452   prefix="$acl_save_prefix"
16453
16454                           if test "X$x" = "X-L$additional_libdir"; then
16455                             haveit=yes
16456                             break
16457                           fi
16458                         done
16459                         if test -z "$haveit"; then
16460                           if test -d "$additional_libdir"; then
16461                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16462                           fi
16463                         fi
16464                         haveit=
16465                         for x in $LDFLAGS $LTLIBICONV; do
16466
16467   acl_save_prefix="$prefix"
16468   prefix="$acl_final_prefix"
16469   acl_save_exec_prefix="$exec_prefix"
16470   exec_prefix="$acl_final_exec_prefix"
16471   eval x=\"$x\"
16472   exec_prefix="$acl_save_exec_prefix"
16473   prefix="$acl_save_prefix"
16474
16475                           if test "X$x" = "X-L$additional_libdir"; then
16476                             haveit=yes
16477                             break
16478                           fi
16479                         done
16480                         if test -z "$haveit"; then
16481                           if test -d "$additional_libdir"; then
16482                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16483                           fi
16484                         fi
16485                       fi
16486                     fi
16487                     ;;
16488                   -R*)
16489                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
16490                     if test "$enable_rpath" != no; then
16491                                                                   haveit=
16492                       for x in $rpathdirs; do
16493                         if test "X$x" = "X$dir"; then
16494                           haveit=yes
16495                           break
16496                         fi
16497                       done
16498                       if test -z "$haveit"; then
16499                         rpathdirs="$rpathdirs $dir"
16500                       fi
16501                                                                   haveit=
16502                       for x in $ltrpathdirs; do
16503                         if test "X$x" = "X$dir"; then
16504                           haveit=yes
16505                           break
16506                         fi
16507                       done
16508                       if test -z "$haveit"; then
16509                         ltrpathdirs="$ltrpathdirs $dir"
16510                       fi
16511                     fi
16512                     ;;
16513                   -l*)
16514                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16515                     ;;
16516                   *.la)
16517                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16518                     ;;
16519                   *)
16520                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16521                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16522                     ;;
16523                 esac
16524               done
16525             fi
16526           else
16527                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16528             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16529           fi
16530         fi
16531       fi
16532     done
16533   done
16534   if test "X$rpathdirs" != "X"; then
16535     if test -n "$acl_hardcode_libdir_separator"; then
16536                         alldirs=
16537       for found_dir in $rpathdirs; do
16538         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16539       done
16540             acl_save_libdir="$libdir"
16541       libdir="$alldirs"
16542       eval flag=\"$acl_hardcode_libdir_flag_spec\"
16543       libdir="$acl_save_libdir"
16544       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16545     else
16546             for found_dir in $rpathdirs; do
16547         acl_save_libdir="$libdir"
16548         libdir="$found_dir"
16549         eval flag=\"$acl_hardcode_libdir_flag_spec\"
16550         libdir="$acl_save_libdir"
16551         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16552       done
16553     fi
16554   fi
16555   if test "X$ltrpathdirs" != "X"; then
16556             for found_dir in $ltrpathdirs; do
16557       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16558     done
16559   fi
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16586 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16587 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16588   $as_echo_n "(cached) " >&6
16589 else
16590   gt_save_LIBS="$LIBS"
16591      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h.  */
16594 #include <CoreFoundation/CFPreferences.h>
16595 int
16596 main ()
16597 {
16598 CFPreferencesCopyAppValue(NULL, NULL)
16599   ;
16600   return 0;
16601 }
16602 _ACEOF
16603 if ac_fn_c_try_link "$LINENO"; then :
16604   gt_cv_func_CFPreferencesCopyAppValue=yes
16605 else
16606   gt_cv_func_CFPreferencesCopyAppValue=no
16607 fi
16608 rm -f core conftest.err conftest.$ac_objext \
16609     conftest$ac_exeext conftest.$ac_ext
16610      LIBS="$gt_save_LIBS"
16611 fi
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16613 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16614   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16615
16616 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16617
16618   fi
16619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16620 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16621 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16622   $as_echo_n "(cached) " >&6
16623 else
16624   gt_save_LIBS="$LIBS"
16625      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16626      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h.  */
16628 #include <CoreFoundation/CFLocale.h>
16629 int
16630 main ()
16631 {
16632 CFLocaleCopyCurrent();
16633   ;
16634   return 0;
16635 }
16636 _ACEOF
16637 if ac_fn_c_try_link "$LINENO"; then :
16638   gt_cv_func_CFLocaleCopyCurrent=yes
16639 else
16640   gt_cv_func_CFLocaleCopyCurrent=no
16641 fi
16642 rm -f core conftest.err conftest.$ac_objext \
16643     conftest$ac_exeext conftest.$ac_ext
16644      LIBS="$gt_save_LIBS"
16645 fi
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16647 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16648   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16649
16650 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16651
16652   fi
16653   INTL_MACOSX_LIBS=
16654   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16655     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16656   fi
16657
16658
16659
16660
16661
16662
16663   LIBINTL=
16664   LTLIBINTL=
16665   POSUB=
16666
16667     case " $gt_needs " in
16668     *" need-formatstring-macros "*) gt_api_version=3 ;;
16669     *" need-ngettext "*) gt_api_version=2 ;;
16670     *) gt_api_version=1 ;;
16671   esac
16672   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16673   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16674
16675     if test "$USE_NLS" = "yes"; then
16676     gt_use_preinstalled_gnugettext=no
16677
16678
16679         if test $gt_api_version -ge 3; then
16680           gt_revision_test_code='
16681 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16682 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16683 #endif
16684 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16685 '
16686         else
16687           gt_revision_test_code=
16688         fi
16689         if test $gt_api_version -ge 2; then
16690           gt_expression_test_code=' + * ngettext ("", "", 0)'
16691         else
16692           gt_expression_test_code=
16693         fi
16694
16695         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16696 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16697 if eval \${$gt_func_gnugettext_libc+:} false; then :
16698   $as_echo_n "(cached) " >&6
16699 else
16700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h.  */
16702 #include <libintl.h>
16703 $gt_revision_test_code
16704 extern int _nl_msg_cat_cntr;
16705 extern int *_nl_domain_bindings;
16706 int
16707 main ()
16708 {
16709 bindtextdomain ("", "");
16710 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16711   ;
16712   return 0;
16713 }
16714 _ACEOF
16715 if ac_fn_c_try_link "$LINENO"; then :
16716   eval "$gt_func_gnugettext_libc=yes"
16717 else
16718   eval "$gt_func_gnugettext_libc=no"
16719 fi
16720 rm -f core conftest.err conftest.$ac_objext \
16721     conftest$ac_exeext conftest.$ac_ext
16722 fi
16723 eval ac_res=\$$gt_func_gnugettext_libc
16724                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16725 $as_echo "$ac_res" >&6; }
16726
16727         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16728
16729
16730
16731
16732
16733           am_save_CPPFLAGS="$CPPFLAGS"
16734
16735   for element in $INCICONV; do
16736     haveit=
16737     for x in $CPPFLAGS; do
16738
16739   acl_save_prefix="$prefix"
16740   prefix="$acl_final_prefix"
16741   acl_save_exec_prefix="$exec_prefix"
16742   exec_prefix="$acl_final_exec_prefix"
16743   eval x=\"$x\"
16744   exec_prefix="$acl_save_exec_prefix"
16745   prefix="$acl_save_prefix"
16746
16747       if test "X$x" = "X$element"; then
16748         haveit=yes
16749         break
16750       fi
16751     done
16752     if test -z "$haveit"; then
16753       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16754     fi
16755   done
16756
16757
16758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16759 $as_echo_n "checking for iconv... " >&6; }
16760 if ${am_cv_func_iconv+:} false; then :
16761   $as_echo_n "(cached) " >&6
16762 else
16763
16764     am_cv_func_iconv="no, consider installing GNU libiconv"
16765     am_cv_lib_iconv=no
16766     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h.  */
16768 #include <stdlib.h>
16769 #include <iconv.h>
16770 int
16771 main ()
16772 {
16773 iconv_t cd = iconv_open("","");
16774        iconv(cd,NULL,NULL,NULL,NULL);
16775        iconv_close(cd);
16776   ;
16777   return 0;
16778 }
16779 _ACEOF
16780 if ac_fn_c_try_link "$LINENO"; then :
16781   am_cv_func_iconv=yes
16782 fi
16783 rm -f core conftest.err conftest.$ac_objext \
16784     conftest$ac_exeext conftest.$ac_ext
16785     if test "$am_cv_func_iconv" != yes; then
16786       am_save_LIBS="$LIBS"
16787       LIBS="$LIBS $LIBICONV"
16788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h.  */
16790 #include <stdlib.h>
16791 #include <iconv.h>
16792 int
16793 main ()
16794 {
16795 iconv_t cd = iconv_open("","");
16796          iconv(cd,NULL,NULL,NULL,NULL);
16797          iconv_close(cd);
16798   ;
16799   return 0;
16800 }
16801 _ACEOF
16802 if ac_fn_c_try_link "$LINENO"; then :
16803   am_cv_lib_iconv=yes
16804         am_cv_func_iconv=yes
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext \
16807     conftest$ac_exeext conftest.$ac_ext
16808       LIBS="$am_save_LIBS"
16809     fi
16810
16811 fi
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16813 $as_echo "$am_cv_func_iconv" >&6; }
16814   if test "$am_cv_func_iconv" = yes; then
16815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16816 $as_echo_n "checking for working iconv... " >&6; }
16817 if ${am_cv_func_iconv_works+:} false; then :
16818   $as_echo_n "(cached) " >&6
16819 else
16820
16821             am_save_LIBS="$LIBS"
16822       if test $am_cv_lib_iconv = yes; then
16823         LIBS="$LIBS $LIBICONV"
16824       fi
16825       if test "$cross_compiling" = yes; then :
16826   case "$host_os" in
16827            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16828            *)            am_cv_func_iconv_works="guessing yes" ;;
16829          esac
16830 else
16831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h.  */
16833
16834 #include <iconv.h>
16835 #include <string.h>
16836 int main ()
16837 {
16838   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16839      returns.  */
16840   {
16841     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16842     if (cd_utf8_to_88591 != (iconv_t)(-1))
16843       {
16844         static const char input[] = "\342\202\254"; /* EURO SIGN */
16845         char buf[10];
16846         const char *inptr = input;
16847         size_t inbytesleft = strlen (input);
16848         char *outptr = buf;
16849         size_t outbytesleft = sizeof (buf);
16850         size_t res = iconv (cd_utf8_to_88591,
16851                             (char **) &inptr, &inbytesleft,
16852                             &outptr, &outbytesleft);
16853         if (res == 0)
16854           return 1;
16855       }
16856   }
16857 #if 0 /* This bug could be worked around by the caller.  */
16858   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
16859   {
16860     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16861     if (cd_88591_to_utf8 != (iconv_t)(-1))
16862       {
16863         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16864         char buf[50];
16865         const char *inptr = input;
16866         size_t inbytesleft = strlen (input);
16867         char *outptr = buf;
16868         size_t outbytesleft = sizeof (buf);
16869         size_t res = iconv (cd_88591_to_utf8,
16870                             (char **) &inptr, &inbytesleft,
16871                             &outptr, &outbytesleft);
16872         if ((int)res > 0)
16873           return 1;
16874       }
16875   }
16876 #endif
16877   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16878      provided.  */
16879   if (/* Try standardized names.  */
16880       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16881       /* Try IRIX, OSF/1 names.  */
16882       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16883       /* Try AIX names.  */
16884       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16885       /* Try HP-UX names.  */
16886       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16887     return 1;
16888   return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_c_try_run "$LINENO"; then :
16892   am_cv_func_iconv_works=yes
16893 else
16894   am_cv_func_iconv_works=no
16895 fi
16896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16897   conftest.$ac_objext conftest.beam conftest.$ac_ext
16898 fi
16899
16900       LIBS="$am_save_LIBS"
16901
16902 fi
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16904 $as_echo "$am_cv_func_iconv_works" >&6; }
16905     case "$am_cv_func_iconv_works" in
16906       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16907       *)   am_func_iconv=yes ;;
16908     esac
16909   else
16910     am_func_iconv=no am_cv_lib_iconv=no
16911   fi
16912   if test "$am_func_iconv" = yes; then
16913
16914 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16915
16916   fi
16917   if test "$am_cv_lib_iconv" = yes; then
16918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16919 $as_echo_n "checking how to link with libiconv... " >&6; }
16920     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16921 $as_echo "$LIBICONV" >&6; }
16922   else
16923             CPPFLAGS="$am_save_CPPFLAGS"
16924     LIBICONV=
16925     LTLIBICONV=
16926   fi
16927
16928
16929
16930
16931
16932
16933
16934
16935     use_additional=yes
16936
16937   acl_save_prefix="$prefix"
16938   prefix="$acl_final_prefix"
16939   acl_save_exec_prefix="$exec_prefix"
16940   exec_prefix="$acl_final_exec_prefix"
16941
16942     eval additional_includedir=\"$includedir\"
16943     eval additional_libdir=\"$libdir\"
16944
16945   exec_prefix="$acl_save_exec_prefix"
16946   prefix="$acl_save_prefix"
16947
16948
16949 # Check whether --with-libintl-prefix was given.
16950 if test "${with_libintl_prefix+set}" = set; then :
16951   withval=$with_libintl_prefix;
16952     if test "X$withval" = "Xno"; then
16953       use_additional=no
16954     else
16955       if test "X$withval" = "X"; then
16956
16957   acl_save_prefix="$prefix"
16958   prefix="$acl_final_prefix"
16959   acl_save_exec_prefix="$exec_prefix"
16960   exec_prefix="$acl_final_exec_prefix"
16961
16962           eval additional_includedir=\"$includedir\"
16963           eval additional_libdir=\"$libdir\"
16964
16965   exec_prefix="$acl_save_exec_prefix"
16966   prefix="$acl_save_prefix"
16967
16968       else
16969         additional_includedir="$withval/include"
16970         additional_libdir="$withval/$acl_libdirstem"
16971       fi
16972     fi
16973
16974 fi
16975
16976       LIBINTL=
16977   LTLIBINTL=
16978   INCINTL=
16979   LIBINTL_PREFIX=
16980   rpathdirs=
16981   ltrpathdirs=
16982   names_already_handled=
16983   names_next_round='intl '
16984   while test -n "$names_next_round"; do
16985     names_this_round="$names_next_round"
16986     names_next_round=
16987     for name in $names_this_round; do
16988       already_handled=
16989       for n in $names_already_handled; do
16990         if test "$n" = "$name"; then
16991           already_handled=yes
16992           break
16993         fi
16994       done
16995       if test -z "$already_handled"; then
16996         names_already_handled="$names_already_handled $name"
16997                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16998         eval value=\"\$HAVE_LIB$uppername\"
16999         if test -n "$value"; then
17000           if test "$value" = yes; then
17001             eval value=\"\$LIB$uppername\"
17002             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17003             eval value=\"\$LTLIB$uppername\"
17004             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17005           else
17006                                     :
17007           fi
17008         else
17009                               found_dir=
17010           found_la=
17011           found_so=
17012           found_a=
17013           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17014           if test -n "$acl_shlibext"; then
17015             shrext=".$acl_shlibext"             # typically: shrext=.so
17016           else
17017             shrext=
17018           fi
17019           if test $use_additional = yes; then
17020             dir="$additional_libdir"
17021                                     if test -n "$acl_shlibext"; then
17022               if test -f "$dir/$libname$shrext"; then
17023                 found_dir="$dir"
17024                 found_so="$dir/$libname$shrext"
17025               else
17026                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17027                   ver=`(cd "$dir" && \
17028                         for f in "$libname$shrext".*; do echo "$f"; done \
17029                         | sed -e "s,^$libname$shrext\\\\.,," \
17030                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17031                         | sed 1q ) 2>/dev/null`
17032                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17033                     found_dir="$dir"
17034                     found_so="$dir/$libname$shrext.$ver"
17035                   fi
17036                 else
17037                   eval library_names=\"$acl_library_names_spec\"
17038                   for f in $library_names; do
17039                     if test -f "$dir/$f"; then
17040                       found_dir="$dir"
17041                       found_so="$dir/$f"
17042                       break
17043                     fi
17044                   done
17045                 fi
17046               fi
17047             fi
17048                         if test "X$found_dir" = "X"; then
17049               if test -f "$dir/$libname.$acl_libext"; then
17050                 found_dir="$dir"
17051                 found_a="$dir/$libname.$acl_libext"
17052               fi
17053             fi
17054             if test "X$found_dir" != "X"; then
17055               if test -f "$dir/$libname.la"; then
17056                 found_la="$dir/$libname.la"
17057               fi
17058             fi
17059           fi
17060           if test "X$found_dir" = "X"; then
17061             for x in $LDFLAGS $LTLIBINTL; do
17062
17063   acl_save_prefix="$prefix"
17064   prefix="$acl_final_prefix"
17065   acl_save_exec_prefix="$exec_prefix"
17066   exec_prefix="$acl_final_exec_prefix"
17067   eval x=\"$x\"
17068   exec_prefix="$acl_save_exec_prefix"
17069   prefix="$acl_save_prefix"
17070
17071               case "$x" in
17072                 -L*)
17073                   dir=`echo "X$x" | sed -e 's/^X-L//'`
17074                                     if test -n "$acl_shlibext"; then
17075                     if test -f "$dir/$libname$shrext"; then
17076                       found_dir="$dir"
17077                       found_so="$dir/$libname$shrext"
17078                     else
17079                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17080                         ver=`(cd "$dir" && \
17081                               for f in "$libname$shrext".*; do echo "$f"; done \
17082                               | sed -e "s,^$libname$shrext\\\\.,," \
17083                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17084                               | sed 1q ) 2>/dev/null`
17085                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17086                           found_dir="$dir"
17087                           found_so="$dir/$libname$shrext.$ver"
17088                         fi
17089                       else
17090                         eval library_names=\"$acl_library_names_spec\"
17091                         for f in $library_names; do
17092                           if test -f "$dir/$f"; then
17093                             found_dir="$dir"
17094                             found_so="$dir/$f"
17095                             break
17096                           fi
17097                         done
17098                       fi
17099                     fi
17100                   fi
17101                                     if test "X$found_dir" = "X"; then
17102                     if test -f "$dir/$libname.$acl_libext"; then
17103                       found_dir="$dir"
17104                       found_a="$dir/$libname.$acl_libext"
17105                     fi
17106                   fi
17107                   if test "X$found_dir" != "X"; then
17108                     if test -f "$dir/$libname.la"; then
17109                       found_la="$dir/$libname.la"
17110                     fi
17111                   fi
17112                   ;;
17113               esac
17114               if test "X$found_dir" != "X"; then
17115                 break
17116               fi
17117             done
17118           fi
17119           if test "X$found_dir" != "X"; then
17120                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17121             if test "X$found_so" != "X"; then
17122                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17123                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17124               else
17125                                                                                 haveit=
17126                 for x in $ltrpathdirs; do
17127                   if test "X$x" = "X$found_dir"; then
17128                     haveit=yes
17129                     break
17130                   fi
17131                 done
17132                 if test -z "$haveit"; then
17133                   ltrpathdirs="$ltrpathdirs $found_dir"
17134                 fi
17135                                 if test "$acl_hardcode_direct" = yes; then
17136                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17137                 else
17138                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17139                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17140                                                             haveit=
17141                     for x in $rpathdirs; do
17142                       if test "X$x" = "X$found_dir"; then
17143                         haveit=yes
17144                         break
17145                       fi
17146                     done
17147                     if test -z "$haveit"; then
17148                       rpathdirs="$rpathdirs $found_dir"
17149                     fi
17150                   else
17151                                                                                 haveit=
17152                     for x in $LDFLAGS $LIBINTL; do
17153
17154   acl_save_prefix="$prefix"
17155   prefix="$acl_final_prefix"
17156   acl_save_exec_prefix="$exec_prefix"
17157   exec_prefix="$acl_final_exec_prefix"
17158   eval x=\"$x\"
17159   exec_prefix="$acl_save_exec_prefix"
17160   prefix="$acl_save_prefix"
17161
17162                       if test "X$x" = "X-L$found_dir"; then
17163                         haveit=yes
17164                         break
17165                       fi
17166                     done
17167                     if test -z "$haveit"; then
17168                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17169                     fi
17170                     if test "$acl_hardcode_minus_L" != no; then
17171                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17172                     else
17173                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17174                     fi
17175                   fi
17176                 fi
17177               fi
17178             else
17179               if test "X$found_a" != "X"; then
17180                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17181               else
17182                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17183               fi
17184             fi
17185                         additional_includedir=
17186             case "$found_dir" in
17187               */$acl_libdirstem | */$acl_libdirstem/)
17188                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17189                 LIBINTL_PREFIX="$basedir"
17190                 additional_includedir="$basedir/include"
17191                 ;;
17192             esac
17193             if test "X$additional_includedir" != "X"; then
17194                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17195                 haveit=
17196                 if test "X$additional_includedir" = "X/usr/local/include"; then
17197                   if test -n "$GCC"; then
17198                     case $host_os in
17199                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17200                     esac
17201                   fi
17202                 fi
17203                 if test -z "$haveit"; then
17204                   for x in $CPPFLAGS $INCINTL; do
17205
17206   acl_save_prefix="$prefix"
17207   prefix="$acl_final_prefix"
17208   acl_save_exec_prefix="$exec_prefix"
17209   exec_prefix="$acl_final_exec_prefix"
17210   eval x=\"$x\"
17211   exec_prefix="$acl_save_exec_prefix"
17212   prefix="$acl_save_prefix"
17213
17214                     if test "X$x" = "X-I$additional_includedir"; then
17215                       haveit=yes
17216                       break
17217                     fi
17218                   done
17219                   if test -z "$haveit"; then
17220                     if test -d "$additional_includedir"; then
17221                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17222                     fi
17223                   fi
17224                 fi
17225               fi
17226             fi
17227                         if test -n "$found_la"; then
17228                                                         save_libdir="$libdir"
17229               case "$found_la" in
17230                 */* | *\\*) . "$found_la" ;;
17231                 *) . "./$found_la" ;;
17232               esac
17233               libdir="$save_libdir"
17234                             for dep in $dependency_libs; do
17235                 case "$dep" in
17236                   -L*)
17237                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17238                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17239                       haveit=
17240                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17241                         if test -n "$GCC"; then
17242                           case $host_os in
17243                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17244                           esac
17245                         fi
17246                       fi
17247                       if test -z "$haveit"; then
17248                         haveit=
17249                         for x in $LDFLAGS $LIBINTL; do
17250
17251   acl_save_prefix="$prefix"
17252   prefix="$acl_final_prefix"
17253   acl_save_exec_prefix="$exec_prefix"
17254   exec_prefix="$acl_final_exec_prefix"
17255   eval x=\"$x\"
17256   exec_prefix="$acl_save_exec_prefix"
17257   prefix="$acl_save_prefix"
17258
17259                           if test "X$x" = "X-L$additional_libdir"; then
17260                             haveit=yes
17261                             break
17262                           fi
17263                         done
17264                         if test -z "$haveit"; then
17265                           if test -d "$additional_libdir"; then
17266                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17267                           fi
17268                         fi
17269                         haveit=
17270                         for x in $LDFLAGS $LTLIBINTL; do
17271
17272   acl_save_prefix="$prefix"
17273   prefix="$acl_final_prefix"
17274   acl_save_exec_prefix="$exec_prefix"
17275   exec_prefix="$acl_final_exec_prefix"
17276   eval x=\"$x\"
17277   exec_prefix="$acl_save_exec_prefix"
17278   prefix="$acl_save_prefix"
17279
17280                           if test "X$x" = "X-L$additional_libdir"; then
17281                             haveit=yes
17282                             break
17283                           fi
17284                         done
17285                         if test -z "$haveit"; then
17286                           if test -d "$additional_libdir"; then
17287                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17288                           fi
17289                         fi
17290                       fi
17291                     fi
17292                     ;;
17293                   -R*)
17294                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17295                     if test "$enable_rpath" != no; then
17296                                                                   haveit=
17297                       for x in $rpathdirs; do
17298                         if test "X$x" = "X$dir"; then
17299                           haveit=yes
17300                           break
17301                         fi
17302                       done
17303                       if test -z "$haveit"; then
17304                         rpathdirs="$rpathdirs $dir"
17305                       fi
17306                                                                   haveit=
17307                       for x in $ltrpathdirs; do
17308                         if test "X$x" = "X$dir"; then
17309                           haveit=yes
17310                           break
17311                         fi
17312                       done
17313                       if test -z "$haveit"; then
17314                         ltrpathdirs="$ltrpathdirs $dir"
17315                       fi
17316                     fi
17317                     ;;
17318                   -l*)
17319                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17320                     ;;
17321                   *.la)
17322                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17323                     ;;
17324                   *)
17325                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17326                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17327                     ;;
17328                 esac
17329               done
17330             fi
17331           else
17332                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17333             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17334           fi
17335         fi
17336       fi
17337     done
17338   done
17339   if test "X$rpathdirs" != "X"; then
17340     if test -n "$acl_hardcode_libdir_separator"; then
17341                         alldirs=
17342       for found_dir in $rpathdirs; do
17343         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17344       done
17345             acl_save_libdir="$libdir"
17346       libdir="$alldirs"
17347       eval flag=\"$acl_hardcode_libdir_flag_spec\"
17348       libdir="$acl_save_libdir"
17349       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17350     else
17351             for found_dir in $rpathdirs; do
17352         acl_save_libdir="$libdir"
17353         libdir="$found_dir"
17354         eval flag=\"$acl_hardcode_libdir_flag_spec\"
17355         libdir="$acl_save_libdir"
17356         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17357       done
17358     fi
17359   fi
17360   if test "X$ltrpathdirs" != "X"; then
17361             for found_dir in $ltrpathdirs; do
17362       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17363     done
17364   fi
17365
17366           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17367 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17368 if eval \${$gt_func_gnugettext_libintl+:} false; then :
17369   $as_echo_n "(cached) " >&6
17370 else
17371   gt_save_CPPFLAGS="$CPPFLAGS"
17372             CPPFLAGS="$CPPFLAGS $INCINTL"
17373             gt_save_LIBS="$LIBS"
17374             LIBS="$LIBS $LIBINTL"
17375                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h.  */
17377 #include <libintl.h>
17378 $gt_revision_test_code
17379 extern int _nl_msg_cat_cntr;
17380 extern
17381 #ifdef __cplusplus
17382 "C"
17383 #endif
17384 const char *_nl_expand_alias (const char *);
17385 int
17386 main ()
17387 {
17388 bindtextdomain ("", "");
17389 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17390   ;
17391   return 0;
17392 }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395   eval "$gt_func_gnugettext_libintl=yes"
17396 else
17397   eval "$gt_func_gnugettext_libintl=no"
17398 fi
17399 rm -f core conftest.err conftest.$ac_objext \
17400     conftest$ac_exeext conftest.$ac_ext
17401                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17402               LIBS="$LIBS $LIBICONV"
17403               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h.  */
17405 #include <libintl.h>
17406 $gt_revision_test_code
17407 extern int _nl_msg_cat_cntr;
17408 extern
17409 #ifdef __cplusplus
17410 "C"
17411 #endif
17412 const char *_nl_expand_alias (const char *);
17413 int
17414 main ()
17415 {
17416 bindtextdomain ("", "");
17417 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17418   ;
17419   return 0;
17420 }
17421 _ACEOF
17422 if ac_fn_c_try_link "$LINENO"; then :
17423   LIBINTL="$LIBINTL $LIBICONV"
17424                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17425                 eval "$gt_func_gnugettext_libintl=yes"
17426
17427 fi
17428 rm -f core conftest.err conftest.$ac_objext \
17429     conftest$ac_exeext conftest.$ac_ext
17430             fi
17431             CPPFLAGS="$gt_save_CPPFLAGS"
17432             LIBS="$gt_save_LIBS"
17433 fi
17434 eval ac_res=\$$gt_func_gnugettext_libintl
17435                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17436 $as_echo "$ac_res" >&6; }
17437         fi
17438
17439                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17440            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17441                 && test "$PACKAGE" != gettext-runtime \
17442                 && test "$PACKAGE" != gettext-tools; }; then
17443           gt_use_preinstalled_gnugettext=yes
17444         else
17445                     LIBINTL=
17446           LTLIBINTL=
17447           INCINTL=
17448         fi
17449
17450
17451
17452     if test -n "$INTL_MACOSX_LIBS"; then
17453       if test "$gt_use_preinstalled_gnugettext" = "yes" \
17454          || test "$nls_cv_use_gnu_gettext" = "yes"; then
17455                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17456         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17457       fi
17458     fi
17459
17460     if test "$gt_use_preinstalled_gnugettext" = "yes" \
17461        || test "$nls_cv_use_gnu_gettext" = "yes"; then
17462
17463 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17464
17465     else
17466       USE_NLS=no
17467     fi
17468   fi
17469
17470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17471 $as_echo_n "checking whether to use NLS... " >&6; }
17472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17473 $as_echo "$USE_NLS" >&6; }
17474   if test "$USE_NLS" = "yes"; then
17475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17476 $as_echo_n "checking where the gettext function comes from... " >&6; }
17477     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17478       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17479         gt_source="external libintl"
17480       else
17481         gt_source="libc"
17482       fi
17483     else
17484       gt_source="included intl directory"
17485     fi
17486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17487 $as_echo "$gt_source" >&6; }
17488   fi
17489
17490   if test "$USE_NLS" = "yes"; then
17491
17492     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17493       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17494         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17495 $as_echo_n "checking how to link with libintl... " >&6; }
17496         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17497 $as_echo "$LIBINTL" >&6; }
17498
17499   for element in $INCINTL; do
17500     haveit=
17501     for x in $CPPFLAGS; do
17502
17503   acl_save_prefix="$prefix"
17504   prefix="$acl_final_prefix"
17505   acl_save_exec_prefix="$exec_prefix"
17506   exec_prefix="$acl_final_exec_prefix"
17507   eval x=\"$x\"
17508   exec_prefix="$acl_save_exec_prefix"
17509   prefix="$acl_save_prefix"
17510
17511       if test "X$x" = "X$element"; then
17512         haveit=yes
17513         break
17514       fi
17515     done
17516     if test -z "$haveit"; then
17517       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17518     fi
17519   done
17520
17521       fi
17522
17523
17524 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17525
17526
17527 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17528
17529     fi
17530
17531         POSUB=po
17532   fi
17533
17534
17535
17536     INTLLIBS="$LIBINTL"
17537
17538
17539
17540
17541
17542
17543
17544 GETTEXT_PACKAGE="clutter-1.0"
17545
17546
17547 cat >>confdefs.h <<_ACEOF
17548 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
17549 _ACEOF
17550
17551
17552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linguas" >&5
17553 $as_echo_n "checking for linguas... " >&6; }
17554  podir="$srcdir/po"
17555  linguas=`cd $podir && ls *.po 2>/dev/null | awk 'BEGIN { FS="."; ORS=" " } { print $1 }'`
17556  if test -f "$podir/LINGUAS.ignore"; then
17557    ALL_LINGUAS="";
17558    ignore_linguas=`sed -n -e 's/^\s\+\|\s\+$//g' -e '/^#/b' -e '/\S/!b' \
17559                        -e 's/\s\+/\n/g' -e p "$podir/LINGUAS.ignore"`;
17560    for lang in $linguas; do
17561      if ! echo "$ignore_linguas" | grep -q "^${lang}$"; then
17562        ALL_LINGUAS="$ALL_LINGUAS $lang";
17563      fi;
17564    done;
17565  else
17566    ALL_LINGUAS="$linguas";
17567  fi;
17568
17569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALL_LINGUAS" >&5
17570 $as_echo "$ALL_LINGUAS" >&6; }
17571
17572
17573
17574 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"
17575
17576
17577 cat >confcache <<\_ACEOF
17578 # This file is a shell script that caches the results of configure
17579 # tests run on this system so they can be shared between configure
17580 # scripts and configure runs, see configure's option --config-cache.
17581 # It is not useful on other systems.  If it contains results you don't
17582 # want to keep, you may remove or edit it.
17583 #
17584 # config.status only pays attention to the cache file if you give it
17585 # the --recheck option to rerun configure.
17586 #
17587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17589 # following values.
17590
17591 _ACEOF
17592
17593 # The following way of writing the cache mishandles newlines in values,
17594 # but we know of no workaround that is simple, portable, and efficient.
17595 # So, we kill variables containing newlines.
17596 # Ultrix sh set writes to stderr and can't be redirected directly,
17597 # and sets the high bit in the cache file unless we assign to the vars.
17598 (
17599   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17600     eval ac_val=\$$ac_var
17601     case $ac_val in #(
17602     *${as_nl}*)
17603       case $ac_var in #(
17604       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17606       esac
17607       case $ac_var in #(
17608       _ | IFS | as_nl) ;; #(
17609       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17610       *) { eval $ac_var=; unset $ac_var;} ;;
17611       esac ;;
17612     esac
17613   done
17614
17615   (set) 2>&1 |
17616     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17617     *${as_nl}ac_space=\ *)
17618       # `set' does not quote correctly, so add quotes: double-quote
17619       # substitution turns \\\\ into \\, and sed turns \\ into \.
17620       sed -n \
17621         "s/'/'\\\\''/g;
17622           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17623       ;; #(
17624     *)
17625       # `set' quotes correctly as required by POSIX, so do not add quotes.
17626       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17627       ;;
17628     esac |
17629     sort
17630 ) |
17631   sed '
17632      /^ac_cv_env_/b end
17633      t clear
17634      :clear
17635      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17636      t end
17637      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17638      :end' >>confcache
17639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17640   if test -w "$cache_file"; then
17641     if test "x$cache_file" != "x/dev/null"; then
17642       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17643 $as_echo "$as_me: updating cache $cache_file" >&6;}
17644       if test ! -f "$cache_file" || test -h "$cache_file"; then
17645         cat confcache >"$cache_file"
17646       else
17647         case $cache_file in #(
17648         */* | ?:*)
17649           mv -f confcache "$cache_file"$$ &&
17650           mv -f "$cache_file"$$ "$cache_file" ;; #(
17651         *)
17652           mv -f confcache "$cache_file" ;;
17653         esac
17654       fi
17655     fi
17656   else
17657     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17659   fi
17660 fi
17661 rm -f confcache
17662
17663 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17664 # Let make expand exec_prefix.
17665 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17666
17667 DEFS=-DHAVE_CONFIG_H
17668
17669 ac_libobjs=
17670 ac_ltlibobjs=
17671 U=
17672 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17673   # 1. Remove the extension, and $U if already installed.
17674   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17675   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17676   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17677   #    will be set to the directory where LIBOBJS objects are built.
17678   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17679   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17680 done
17681 LIBOBJS=$ac_libobjs
17682
17683 LTLIBOBJS=$ac_ltlibobjs
17684
17685
17686  if test -n "$EXEEXT"; then
17687   am__EXEEXT_TRUE=
17688   am__EXEEXT_FALSE='#'
17689 else
17690   am__EXEEXT_TRUE='#'
17691   am__EXEEXT_FALSE=
17692 fi
17693
17694 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17695   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17697 fi
17698 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17699   as_fn_error $? "conditional \"AMDEP\" was never defined.
17700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17701 fi
17702 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17703   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17705 fi
17706 if test -z "${OS_QUARTZ_TRUE}" && test -z "${OS_QUARTZ_FALSE}"; then
17707   as_fn_error $? "conditional \"OS_QUARTZ\" was never defined.
17708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17709 fi
17710 if test -z "${OS_GLX_TRUE}" && test -z "${OS_GLX_FALSE}"; then
17711   as_fn_error $? "conditional \"OS_GLX\" was never defined.
17712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17713 fi
17714 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
17715   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
17716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17717 fi
17718 if test -z "${SUPPORT_WAYLAND_COMPOSITOR_TRUE}" && test -z "${SUPPORT_WAYLAND_COMPOSITOR_FALSE}"; then
17719   as_fn_error $? "conditional \"SUPPORT_WAYLAND_COMPOSITOR\" was never defined.
17720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17721 fi
17722 if test -z "${SUPPORT_GLX_TRUE}" && test -z "${SUPPORT_GLX_FALSE}"; then
17723   as_fn_error $? "conditional \"SUPPORT_GLX\" was never defined.
17724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17725 fi
17726 if test -z "${SUPPORT_X11_TRUE}" && test -z "${SUPPORT_X11_FALSE}"; then
17727   as_fn_error $? "conditional \"SUPPORT_X11\" was never defined.
17728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17729 fi
17730 if test -z "${SUPPORT_GDK_TRUE}" && test -z "${SUPPORT_GDK_FALSE}"; then
17731   as_fn_error $? "conditional \"SUPPORT_GDK\" was never defined.
17732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17733 fi
17734 if test -z "${SUPPORT_EGL_TRUE}" && test -z "${SUPPORT_EGL_FALSE}"; then
17735   as_fn_error $? "conditional \"SUPPORT_EGL\" was never defined.
17736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17737 fi
17738 if test -z "${SUPPORT_OSX_TRUE}" && test -z "${SUPPORT_OSX_FALSE}"; then
17739   as_fn_error $? "conditional \"SUPPORT_OSX\" was never defined.
17740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17741 fi
17742 if test -z "${SUPPORT_WIN32_TRUE}" && test -z "${SUPPORT_WIN32_FALSE}"; then
17743   as_fn_error $? "conditional \"SUPPORT_WIN32\" was never defined.
17744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17745 fi
17746 if test -z "${SUPPORT_CEX100_TRUE}" && test -z "${SUPPORT_CEX100_FALSE}"; then
17747   as_fn_error $? "conditional \"SUPPORT_CEX100\" was never defined.
17748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17749 fi
17750 if test -z "${SUPPORT_WAYLAND_TRUE}" && test -z "${SUPPORT_WAYLAND_FALSE}"; then
17751   as_fn_error $? "conditional \"SUPPORT_WAYLAND\" was never defined.
17752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17753 fi
17754 if test -z "${USE_COGL_TRUE}" && test -z "${USE_COGL_FALSE}"; then
17755   as_fn_error $? "conditional \"USE_COGL\" was never defined.
17756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17757 fi
17758 if test -z "${USE_TSLIB_TRUE}" && test -z "${USE_TSLIB_FALSE}"; then
17759   as_fn_error $? "conditional \"USE_TSLIB\" was never defined.
17760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17761 fi
17762 if test -z "${USE_EVDEV_TRUE}" && test -z "${USE_EVDEV_FALSE}"; then
17763   as_fn_error $? "conditional \"USE_EVDEV\" was never defined.
17764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17765 fi
17766 if test -z "${USE_GLD_TRUE}" && test -z "${USE_GLD_FALSE}"; then
17767   as_fn_error $? "conditional \"USE_GLD\" was never defined.
17768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17769 fi
17770 if test -z "${NEED_XKB_UTILS_TRUE}" && test -z "${NEED_XKB_UTILS_FALSE}"; then
17771   as_fn_error $? "conditional \"NEED_XKB_UTILS\" was never defined.
17772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17773 fi
17774 if test -z "${BUILD_XI2_TRUE}" && test -z "${BUILD_XI2_FALSE}"; then
17775   as_fn_error $? "conditional \"BUILD_XI2\" was never defined.
17776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17777 fi
17778 if test -z "${X11_TESTS_TRUE}" && test -z "${X11_TESTS_FALSE}"; then
17779   as_fn_error $? "conditional \"X11_TESTS\" was never defined.
17780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17781 fi
17782 if test -z "${PIXBUF_TESTS_TRUE}" && test -z "${PIXBUF_TESTS_FALSE}"; then
17783   as_fn_error $? "conditional \"PIXBUF_TESTS\" was never defined.
17784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17785 fi
17786 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
17787   as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
17788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17789 fi
17790 if test -z "${PROFILE_TRUE}" && test -z "${PROFILE_FALSE}"; then
17791   as_fn_error $? "conditional \"PROFILE\" was never defined.
17792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17793 fi
17794 if test -z "${GCOV_ENABLED_TRUE}" && test -z "${GCOV_ENABLED_FALSE}"; then
17795   as_fn_error $? "conditional \"GCOV_ENABLED\" was never defined.
17796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17797 fi
17798 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17799   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17801 fi
17802 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17803   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17805 fi
17806 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17807   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17809 fi
17810 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17811   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17813 fi
17814 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17815   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17817 fi
17818 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
17819   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
17820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17821 fi
17822 if test -z "${BUILD_GTK_DOC_TRUE}" && test -z "${BUILD_GTK_DOC_FALSE}"; then
17823   as_fn_error $? "conditional \"BUILD_GTK_DOC\" was never defined.
17824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17825 fi
17826 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
17827   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
17828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17829 fi
17830 if test -z "${ENABLE_PDFS_TRUE}" && test -z "${ENABLE_PDFS_FALSE}"; then
17831   as_fn_error $? "conditional \"ENABLE_PDFS\" was never defined.
17832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17833 fi
17834
17835 : "${CONFIG_STATUS=./config.status}"
17836 ac_write_fail=0
17837 ac_clean_files_save=$ac_clean_files
17838 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17840 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17841 as_write_fail=0
17842 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17843 #! $SHELL
17844 # Generated by $as_me.
17845 # Run this file to recreate the current configuration.
17846 # Compiler output produced by configure, useful for debugging
17847 # configure, is in config.log if it exists.
17848
17849 debug=false
17850 ac_cs_recheck=false
17851 ac_cs_silent=false
17852
17853 SHELL=\${CONFIG_SHELL-$SHELL}
17854 export SHELL
17855 _ASEOF
17856 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17857 ## -------------------- ##
17858 ## M4sh Initialization. ##
17859 ## -------------------- ##
17860
17861 # Be more Bourne compatible
17862 DUALCASE=1; export DUALCASE # for MKS sh
17863 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17864   emulate sh
17865   NULLCMD=:
17866   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17867   # is contrary to our usage.  Disable this feature.
17868   alias -g '${1+"$@"}'='"$@"'
17869   setopt NO_GLOB_SUBST
17870 else
17871   case `(set -o) 2>/dev/null` in #(
17872   *posix*) :
17873     set -o posix ;; #(
17874   *) :
17875      ;;
17876 esac
17877 fi
17878
17879
17880 as_nl='
17881 '
17882 export as_nl
17883 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17884 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17885 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17887 # Prefer a ksh shell builtin over an external printf program on Solaris,
17888 # but without wasting forks for bash or zsh.
17889 if test -z "$BASH_VERSION$ZSH_VERSION" \
17890     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17891   as_echo='print -r --'
17892   as_echo_n='print -rn --'
17893 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17894   as_echo='printf %s\n'
17895   as_echo_n='printf %s'
17896 else
17897   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17898     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17899     as_echo_n='/usr/ucb/echo -n'
17900   else
17901     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17902     as_echo_n_body='eval
17903       arg=$1;
17904       case $arg in #(
17905       *"$as_nl"*)
17906         expr "X$arg" : "X\\(.*\\)$as_nl";
17907         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17908       esac;
17909       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17910     '
17911     export as_echo_n_body
17912     as_echo_n='sh -c $as_echo_n_body as_echo'
17913   fi
17914   export as_echo_body
17915   as_echo='sh -c $as_echo_body as_echo'
17916 fi
17917
17918 # The user is always right.
17919 if test "${PATH_SEPARATOR+set}" != set; then
17920   PATH_SEPARATOR=:
17921   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17922     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17923       PATH_SEPARATOR=';'
17924   }
17925 fi
17926
17927
17928 # IFS
17929 # We need space, tab and new line, in precisely that order.  Quoting is
17930 # there to prevent editors from complaining about space-tab.
17931 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17932 # splitting by setting IFS to empty value.)
17933 IFS=" ""        $as_nl"
17934
17935 # Find who we are.  Look in the path if we contain no directory separator.
17936 as_myself=
17937 case $0 in #((
17938   *[\\/]* ) as_myself=$0 ;;
17939   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17940 for as_dir in $PATH
17941 do
17942   IFS=$as_save_IFS
17943   test -z "$as_dir" && as_dir=.
17944     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17945   done
17946 IFS=$as_save_IFS
17947
17948      ;;
17949 esac
17950 # We did not find ourselves, most probably we were run as `sh COMMAND'
17951 # in which case we are not to be found in the path.
17952 if test "x$as_myself" = x; then
17953   as_myself=$0
17954 fi
17955 if test ! -f "$as_myself"; then
17956   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17957   exit 1
17958 fi
17959
17960 # Unset variables that we do not need and which cause bugs (e.g. in
17961 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17962 # suppresses any "Segmentation fault" message there.  '((' could
17963 # trigger a bug in pdksh 5.2.14.
17964 for as_var in BASH_ENV ENV MAIL MAILPATH
17965 do eval test x\${$as_var+set} = xset \
17966   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17967 done
17968 PS1='$ '
17969 PS2='> '
17970 PS4='+ '
17971
17972 # NLS nuisances.
17973 LC_ALL=C
17974 export LC_ALL
17975 LANGUAGE=C
17976 export LANGUAGE
17977
17978 # CDPATH.
17979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17980
17981
17982 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17983 # ----------------------------------------
17984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17986 # script with STATUS, using 1 if that was 0.
17987 as_fn_error ()
17988 {
17989   as_status=$1; test $as_status -eq 0 && as_status=1
17990   if test "$4"; then
17991     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17992     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17993   fi
17994   $as_echo "$as_me: error: $2" >&2
17995   as_fn_exit $as_status
17996 } # as_fn_error
17997
17998
17999 # as_fn_set_status STATUS
18000 # -----------------------
18001 # Set $? to STATUS, without forking.
18002 as_fn_set_status ()
18003 {
18004   return $1
18005 } # as_fn_set_status
18006
18007 # as_fn_exit STATUS
18008 # -----------------
18009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18010 as_fn_exit ()
18011 {
18012   set +e
18013   as_fn_set_status $1
18014   exit $1
18015 } # as_fn_exit
18016
18017 # as_fn_unset VAR
18018 # ---------------
18019 # Portably unset VAR.
18020 as_fn_unset ()
18021 {
18022   { eval $1=; unset $1;}
18023 }
18024 as_unset=as_fn_unset
18025 # as_fn_append VAR VALUE
18026 # ----------------------
18027 # Append the text in VALUE to the end of the definition contained in VAR. Take
18028 # advantage of any shell optimizations that allow amortized linear growth over
18029 # repeated appends, instead of the typical quadratic growth present in naive
18030 # implementations.
18031 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18032   eval 'as_fn_append ()
18033   {
18034     eval $1+=\$2
18035   }'
18036 else
18037   as_fn_append ()
18038   {
18039     eval $1=\$$1\$2
18040   }
18041 fi # as_fn_append
18042
18043 # as_fn_arith ARG...
18044 # ------------------
18045 # Perform arithmetic evaluation on the ARGs, and store the result in the
18046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18047 # must be portable across $(()) and expr.
18048 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18049   eval 'as_fn_arith ()
18050   {
18051     as_val=$(( $* ))
18052   }'
18053 else
18054   as_fn_arith ()
18055   {
18056     as_val=`expr "$@" || test $? -eq 1`
18057   }
18058 fi # as_fn_arith
18059
18060
18061 if expr a : '\(a\)' >/dev/null 2>&1 &&
18062    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18063   as_expr=expr
18064 else
18065   as_expr=false
18066 fi
18067
18068 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18069   as_basename=basename
18070 else
18071   as_basename=false
18072 fi
18073
18074 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18075   as_dirname=dirname
18076 else
18077   as_dirname=false
18078 fi
18079
18080 as_me=`$as_basename -- "$0" ||
18081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18082          X"$0" : 'X\(//\)$' \| \
18083          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18084 $as_echo X/"$0" |
18085     sed '/^.*\/\([^/][^/]*\)\/*$/{
18086             s//\1/
18087             q
18088           }
18089           /^X\/\(\/\/\)$/{
18090             s//\1/
18091             q
18092           }
18093           /^X\/\(\/\).*/{
18094             s//\1/
18095             q
18096           }
18097           s/.*/./; q'`
18098
18099 # Avoid depending upon Character Ranges.
18100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18103 as_cr_digits='0123456789'
18104 as_cr_alnum=$as_cr_Letters$as_cr_digits
18105
18106 ECHO_C= ECHO_N= ECHO_T=
18107 case `echo -n x` in #(((((
18108 -n*)
18109   case `echo 'xy\c'` in
18110   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18111   xy)  ECHO_C='\c';;
18112   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18113        ECHO_T=' ';;
18114   esac;;
18115 *)
18116   ECHO_N='-n';;
18117 esac
18118
18119 rm -f conf$$ conf$$.exe conf$$.file
18120 if test -d conf$$.dir; then
18121   rm -f conf$$.dir/conf$$.file
18122 else
18123   rm -f conf$$.dir
18124   mkdir conf$$.dir 2>/dev/null
18125 fi
18126 if (echo >conf$$.file) 2>/dev/null; then
18127   if ln -s conf$$.file conf$$ 2>/dev/null; then
18128     as_ln_s='ln -s'
18129     # ... but there are two gotchas:
18130     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18131     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18132     # In both cases, we have to default to `cp -p'.
18133     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18134       as_ln_s='cp -p'
18135   elif ln conf$$.file conf$$ 2>/dev/null; then
18136     as_ln_s=ln
18137   else
18138     as_ln_s='cp -p'
18139   fi
18140 else
18141   as_ln_s='cp -p'
18142 fi
18143 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18144 rmdir conf$$.dir 2>/dev/null
18145
18146
18147 # as_fn_mkdir_p
18148 # -------------
18149 # Create "$as_dir" as a directory, including parents if necessary.
18150 as_fn_mkdir_p ()
18151 {
18152
18153   case $as_dir in #(
18154   -*) as_dir=./$as_dir;;
18155   esac
18156   test -d "$as_dir" || eval $as_mkdir_p || {
18157     as_dirs=
18158     while :; do
18159       case $as_dir in #(
18160       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18161       *) as_qdir=$as_dir;;
18162       esac
18163       as_dirs="'$as_qdir' $as_dirs"
18164       as_dir=`$as_dirname -- "$as_dir" ||
18165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18166          X"$as_dir" : 'X\(//\)[^/]' \| \
18167          X"$as_dir" : 'X\(//\)$' \| \
18168          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18169 $as_echo X"$as_dir" |
18170     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18171             s//\1/
18172             q
18173           }
18174           /^X\(\/\/\)[^/].*/{
18175             s//\1/
18176             q
18177           }
18178           /^X\(\/\/\)$/{
18179             s//\1/
18180             q
18181           }
18182           /^X\(\/\).*/{
18183             s//\1/
18184             q
18185           }
18186           s/.*/./; q'`
18187       test -d "$as_dir" && break
18188     done
18189     test -z "$as_dirs" || eval "mkdir $as_dirs"
18190   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18191
18192
18193 } # as_fn_mkdir_p
18194 if mkdir -p . 2>/dev/null; then
18195   as_mkdir_p='mkdir -p "$as_dir"'
18196 else
18197   test -d ./-p && rmdir ./-p
18198   as_mkdir_p=false
18199 fi
18200
18201 if test -x / >/dev/null 2>&1; then
18202   as_test_x='test -x'
18203 else
18204   if ls -dL / >/dev/null 2>&1; then
18205     as_ls_L_option=L
18206   else
18207     as_ls_L_option=
18208   fi
18209   as_test_x='
18210     eval sh -c '\''
18211       if test -d "$1"; then
18212         test -d "$1/.";
18213       else
18214         case $1 in #(
18215         -*)set "./$1";;
18216         esac;
18217         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18218         ???[sx]*):;;*)false;;esac;fi
18219     '\'' sh
18220   '
18221 fi
18222 as_executable_p=$as_test_x
18223
18224 # Sed expression to map a string onto a valid CPP name.
18225 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18226
18227 # Sed expression to map a string onto a valid variable name.
18228 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18229
18230
18231 exec 6>&1
18232 ## ----------------------------------- ##
18233 ## Main body of $CONFIG_STATUS script. ##
18234 ## ----------------------------------- ##
18235 _ASEOF
18236 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18237
18238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18239 # Save the log message, to keep $0 and so on meaningful, and to
18240 # report actual input values of CONFIG_FILES etc. instead of their
18241 # values after options handling.
18242 ac_log="
18243 This file was extended by clutter $as_me 1.10.0, which was
18244 generated by GNU Autoconf 2.68.  Invocation command line was
18245
18246   CONFIG_FILES    = $CONFIG_FILES
18247   CONFIG_HEADERS  = $CONFIG_HEADERS
18248   CONFIG_LINKS    = $CONFIG_LINKS
18249   CONFIG_COMMANDS = $CONFIG_COMMANDS
18250   $ $0 $@
18251
18252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18253 "
18254
18255 _ACEOF
18256
18257 case $ac_config_files in *"
18258 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18259 esac
18260
18261 case $ac_config_headers in *"
18262 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18263 esac
18264
18265
18266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18267 # Files that config.status was made for.
18268 config_files="$ac_config_files"
18269 config_headers="$ac_config_headers"
18270 config_commands="$ac_config_commands"
18271
18272 _ACEOF
18273
18274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18275 ac_cs_usage="\
18276 \`$as_me' instantiates files and other configuration actions
18277 from templates according to the current configuration.  Unless the files
18278 and actions are specified as TAGs, all are instantiated by default.
18279
18280 Usage: $0 [OPTION]... [TAG]...
18281
18282   -h, --help       print this help, then exit
18283   -V, --version    print version number and configuration settings, then exit
18284       --config     print configuration, then exit
18285   -q, --quiet, --silent
18286                    do not print progress messages
18287   -d, --debug      don't remove temporary files
18288       --recheck    update $as_me by reconfiguring in the same conditions
18289       --file=FILE[:TEMPLATE]
18290                    instantiate the configuration file FILE
18291       --header=FILE[:TEMPLATE]
18292                    instantiate the configuration header FILE
18293
18294 Configuration files:
18295 $config_files
18296
18297 Configuration headers:
18298 $config_headers
18299
18300 Configuration commands:
18301 $config_commands
18302
18303 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=clutter>.
18304 clutter home page: <http://www.clutter-project.org>."
18305
18306 _ACEOF
18307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18308 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18309 ac_cs_version="\\
18310 clutter config.status 1.10.0
18311 configured by $0, generated by GNU Autoconf 2.68,
18312   with options \\"\$ac_cs_config\\"
18313
18314 Copyright (C) 2010 Free Software Foundation, Inc.
18315 This config.status script is free software; the Free Software Foundation
18316 gives unlimited permission to copy, distribute and modify it."
18317
18318 ac_pwd='$ac_pwd'
18319 srcdir='$srcdir'
18320 INSTALL='$INSTALL'
18321 MKDIR_P='$MKDIR_P'
18322 AWK='$AWK'
18323 test -n "\$AWK" || AWK=awk
18324 _ACEOF
18325
18326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18327 # The default lists apply if the user does not specify any file.
18328 ac_need_defaults=:
18329 while test $# != 0
18330 do
18331   case $1 in
18332   --*=?*)
18333     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18334     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18335     ac_shift=:
18336     ;;
18337   --*=)
18338     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18339     ac_optarg=
18340     ac_shift=:
18341     ;;
18342   *)
18343     ac_option=$1
18344     ac_optarg=$2
18345     ac_shift=shift
18346     ;;
18347   esac
18348
18349   case $ac_option in
18350   # Handling of the options.
18351   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18352     ac_cs_recheck=: ;;
18353   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18354     $as_echo "$ac_cs_version"; exit ;;
18355   --config | --confi | --conf | --con | --co | --c )
18356     $as_echo "$ac_cs_config"; exit ;;
18357   --debug | --debu | --deb | --de | --d | -d )
18358     debug=: ;;
18359   --file | --fil | --fi | --f )
18360     $ac_shift
18361     case $ac_optarg in
18362     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18363     '') as_fn_error $? "missing file argument" ;;
18364     esac
18365     as_fn_append CONFIG_FILES " '$ac_optarg'"
18366     ac_need_defaults=false;;
18367   --header | --heade | --head | --hea )
18368     $ac_shift
18369     case $ac_optarg in
18370     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18371     esac
18372     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18373     ac_need_defaults=false;;
18374   --he | --h)
18375     # Conflict between --help and --header
18376     as_fn_error $? "ambiguous option: \`$1'
18377 Try \`$0 --help' for more information.";;
18378   --help | --hel | -h )
18379     $as_echo "$ac_cs_usage"; exit ;;
18380   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18381   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18382     ac_cs_silent=: ;;
18383
18384   # This is an error.
18385   -*) as_fn_error $? "unrecognized option: \`$1'
18386 Try \`$0 --help' for more information." ;;
18387
18388   *) as_fn_append ac_config_targets " $1"
18389      ac_need_defaults=false ;;
18390
18391   esac
18392   shift
18393 done
18394
18395 ac_configure_extra_args=
18396
18397 if $ac_cs_silent; then
18398   exec 6>/dev/null
18399   ac_configure_extra_args="$ac_configure_extra_args --silent"
18400 fi
18401
18402 _ACEOF
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18404 if \$ac_cs_recheck; then
18405   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18406   shift
18407   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18408   CONFIG_SHELL='$SHELL'
18409   export CONFIG_SHELL
18410   exec "\$@"
18411 fi
18412
18413 _ACEOF
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 exec 5>>config.log
18416 {
18417   echo
18418   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18419 ## Running $as_me. ##
18420 _ASBOX
18421   $as_echo "$ac_log"
18422 } >&5
18423
18424 _ACEOF
18425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18426 #
18427 # INIT-COMMANDS
18428 #
18429 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18430
18431
18432 # The HP-UX ksh and POSIX shell print the target directory to stdout
18433 # if CDPATH is set.
18434 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18435
18436 sed_quote_subst='$sed_quote_subst'
18437 double_quote_subst='$double_quote_subst'
18438 delay_variable_subst='$delay_variable_subst'
18439 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18440 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18441 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18442 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18443 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18444 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18445 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18446 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18447 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18448 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18449 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18450 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18451 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18452 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18453 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18454 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18455 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18456 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18457 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18458 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18459 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18460 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18461 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18462 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18463 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18464 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18465 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18466 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18467 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18468 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18469 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18470 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18471 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18472 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18473 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18474 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18475 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18476 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18477 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18478 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18479 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18480 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18481 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18482 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18483 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18484 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18485 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18486 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18487 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18488 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18489 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18490 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18491 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18492 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18493 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18494 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"`'
18495 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18496 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18497 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18498 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18499 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18500 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18501 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18502 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18503 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18504 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18505 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18506 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18507 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18508 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18509 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18510 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18511 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18512 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18513 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18514 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18515 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18516 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18517 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18518 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18519 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18520 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18521 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18522 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18523 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18524 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18525 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18526 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18527 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18528 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18529 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18530 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18531 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18532 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18533 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18534 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18535 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18536 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18537 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18538 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18539 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18540 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18541 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18542 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18543 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18544 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18545 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18546 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18547 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18548 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18549 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18550 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18551 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18552 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18553 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18554 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18555 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18556 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18557 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18558 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18559 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18560 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18561 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18562 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18563 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18564 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18565 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18566 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18567 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18568 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18569
18570 LTCC='$LTCC'
18571 LTCFLAGS='$LTCFLAGS'
18572 compiler='$compiler_DEFAULT'
18573
18574 # A function that is used when there is no print builtin or printf.
18575 func_fallback_echo ()
18576 {
18577   eval 'cat <<_LTECHO_EOF
18578 \$1
18579 _LTECHO_EOF'
18580 }
18581
18582 # Quote evaled strings.
18583 for var in SHELL \
18584 ECHO \
18585 SED \
18586 GREP \
18587 EGREP \
18588 FGREP \
18589 LD \
18590 NM \
18591 LN_S \
18592 lt_SP2NL \
18593 lt_NL2SP \
18594 reload_flag \
18595 OBJDUMP \
18596 deplibs_check_method \
18597 file_magic_cmd \
18598 file_magic_glob \
18599 want_nocaseglob \
18600 DLLTOOL \
18601 sharedlib_from_linklib_cmd \
18602 AR \
18603 AR_FLAGS \
18604 archiver_list_spec \
18605 STRIP \
18606 RANLIB \
18607 CC \
18608 CFLAGS \
18609 compiler \
18610 lt_cv_sys_global_symbol_pipe \
18611 lt_cv_sys_global_symbol_to_cdecl \
18612 lt_cv_sys_global_symbol_to_c_name_address \
18613 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18614 nm_file_list_spec \
18615 lt_prog_compiler_no_builtin_flag \
18616 lt_prog_compiler_pic \
18617 lt_prog_compiler_wl \
18618 lt_prog_compiler_static \
18619 lt_cv_prog_compiler_c_o \
18620 need_locks \
18621 MANIFEST_TOOL \
18622 DSYMUTIL \
18623 NMEDIT \
18624 LIPO \
18625 OTOOL \
18626 OTOOL64 \
18627 shrext_cmds \
18628 export_dynamic_flag_spec \
18629 whole_archive_flag_spec \
18630 compiler_needs_object \
18631 with_gnu_ld \
18632 allow_undefined_flag \
18633 no_undefined_flag \
18634 hardcode_libdir_flag_spec \
18635 hardcode_libdir_flag_spec_ld \
18636 hardcode_libdir_separator \
18637 exclude_expsyms \
18638 include_expsyms \
18639 file_list_spec \
18640 variables_saved_for_relink \
18641 libname_spec \
18642 library_names_spec \
18643 soname_spec \
18644 install_override_mode \
18645 finish_eval \
18646 old_striplib \
18647 striplib; do
18648     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18649     *[\\\\\\\`\\"\\\$]*)
18650       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18651       ;;
18652     *)
18653       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18654       ;;
18655     esac
18656 done
18657
18658 # Double-quote double-evaled strings.
18659 for var in reload_cmds \
18660 old_postinstall_cmds \
18661 old_postuninstall_cmds \
18662 old_archive_cmds \
18663 extract_expsyms_cmds \
18664 old_archive_from_new_cmds \
18665 old_archive_from_expsyms_cmds \
18666 archive_cmds \
18667 archive_expsym_cmds \
18668 module_cmds \
18669 module_expsym_cmds \
18670 export_symbols_cmds \
18671 prelink_cmds \
18672 postlink_cmds \
18673 postinstall_cmds \
18674 postuninstall_cmds \
18675 finish_cmds \
18676 sys_lib_search_path_spec \
18677 sys_lib_dlsearch_path_spec; do
18678     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18679     *[\\\\\\\`\\"\\\$]*)
18680       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18681       ;;
18682     *)
18683       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18684       ;;
18685     esac
18686 done
18687
18688 ac_aux_dir='$ac_aux_dir'
18689 xsi_shell='$xsi_shell'
18690 lt_shell_append='$lt_shell_append'
18691
18692 # See if we are running on zsh, and set the options which allow our
18693 # commands through without removal of \ escapes INIT.
18694 if test -n "\${ZSH_VERSION+set}" ; then
18695    setopt NO_GLOB_SUBST
18696 fi
18697
18698
18699     PACKAGE='$PACKAGE'
18700     VERSION='$VERSION'
18701     TIMESTAMP='$TIMESTAMP'
18702     RM='$RM'
18703     ofile='$ofile'
18704
18705
18706
18707 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18708     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18709     # from automake < 1.5.
18710     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18711     # Capture the value of LINGUAS because we need it to compute CATALOGS.
18712     LINGUAS="${LINGUAS-%UNSET%}"
18713
18714
18715 _ACEOF
18716
18717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18718
18719 # Handling of arguments.
18720 for ac_config_target in $ac_config_targets
18721 do
18722   case $ac_config_target in
18723     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18724     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18725     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18726     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18727     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18728     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
18729     "README") CONFIG_FILES="$CONFIG_FILES README" ;;
18730     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
18731     "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
18732     "build/mingw/Makefile") CONFIG_FILES="$CONFIG_FILES build/mingw/Makefile" ;;
18733     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
18734     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
18735     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
18736     "clutter/Makefile") CONFIG_FILES="$CONFIG_FILES clutter/Makefile" ;;
18737     "clutter/clutter-config.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-config.h" ;;
18738     "clutter/clutter-version.h") CONFIG_FILES="$CONFIG_FILES clutter/clutter-version.h" ;;
18739     "clutter/clutter-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in" ;;
18740     "clutter/cally/cally-$CLUTTER_API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in" ;;
18741     "clutter/cex100/clutter-cex100.h") CONFIG_FILES="$CONFIG_FILES clutter/cex100/clutter-cex100.h" ;;
18742     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18743     "tests/accessibility/Makefile") CONFIG_FILES="$CONFIG_FILES tests/accessibility/Makefile" ;;
18744     "tests/conform/Makefile") CONFIG_FILES="$CONFIG_FILES tests/conform/Makefile" ;;
18745     "tests/conform/test-launcher.sh") CONFIG_FILES="$CONFIG_FILES tests/conform/test-launcher.sh" ;;
18746     "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
18747     "tests/interactive/Makefile") CONFIG_FILES="$CONFIG_FILES tests/interactive/Makefile" ;;
18748     "tests/interactive/wrapper.sh") CONFIG_FILES="$CONFIG_FILES tests/interactive/wrapper.sh" ;;
18749     "tests/micro-bench/Makefile") CONFIG_FILES="$CONFIG_FILES tests/micro-bench/Makefile" ;;
18750     "tests/performance/Makefile") CONFIG_FILES="$CONFIG_FILES tests/performance/Makefile" ;;
18751     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18752     "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
18753     "doc/reference/clutter/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/Makefile" ;;
18754     "doc/reference/clutter/clutter-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/clutter/clutter-docs.xml" ;;
18755     "doc/reference/cally/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/Makefile" ;;
18756     "doc/reference/cally/cally-docs.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/cally/cally-docs.xml" ;;
18757     "doc/common/Makefile") CONFIG_FILES="$CONFIG_FILES doc/common/Makefile" ;;
18758     "doc/cookbook/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/Makefile" ;;
18759     "doc/cookbook/clutter-cookbook.xml") CONFIG_FILES="$CONFIG_FILES doc/cookbook/clutter-cookbook.xml" ;;
18760     "doc/cookbook/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cookbook/examples/Makefile" ;;
18761     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18762
18763   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18764   esac
18765 done
18766
18767
18768 # If the user did not use the arguments to specify the items to instantiate,
18769 # then the envvar interface is used.  Set only those that are not.
18770 # We use the long form for the default assignment because of an extremely
18771 # bizarre bug on SunOS 4.1.3.
18772 if $ac_need_defaults; then
18773   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18774   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18775   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18776 fi
18777
18778 # Have a temporary directory for convenience.  Make it in the build tree
18779 # simply because there is no reason against having it here, and in addition,
18780 # creating and moving files from /tmp can sometimes cause problems.
18781 # Hook for its removal unless debugging.
18782 # Note that there is a small window in which the directory will not be cleaned:
18783 # after its creation but before its name has been assigned to `$tmp'.
18784 $debug ||
18785 {
18786   tmp= ac_tmp=
18787   trap 'exit_status=$?
18788   : "${ac_tmp:=$tmp}"
18789   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18790 ' 0
18791   trap 'as_fn_exit 1' 1 2 13 15
18792 }
18793 # Create a (secure) tmp directory for tmp files.
18794
18795 {
18796   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18797   test -d "$tmp"
18798 }  ||
18799 {
18800   tmp=./conf$$-$RANDOM
18801   (umask 077 && mkdir "$tmp")
18802 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18803 ac_tmp=$tmp
18804
18805 # Set up the scripts for CONFIG_FILES section.
18806 # No need to generate them if there are no CONFIG_FILES.
18807 # This happens for instance with `./config.status config.h'.
18808 if test -n "$CONFIG_FILES"; then
18809
18810
18811 ac_cr=`echo X | tr X '\015'`
18812 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18813 # But we know of no other shell where ac_cr would be empty at this
18814 # point, so we can use a bashism as a fallback.
18815 if test "x$ac_cr" = x; then
18816   eval ac_cr=\$\'\\r\'
18817 fi
18818 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18819 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18820   ac_cs_awk_cr='\\r'
18821 else
18822   ac_cs_awk_cr=$ac_cr
18823 fi
18824
18825 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18826 _ACEOF
18827
18828
18829 {
18830   echo "cat >conf$$subs.awk <<_ACEOF" &&
18831   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18832   echo "_ACEOF"
18833 } >conf$$subs.sh ||
18834   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18835 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18836 ac_delim='%!_!# '
18837 for ac_last_try in false false false false false :; do
18838   . ./conf$$subs.sh ||
18839     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18840
18841   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18842   if test $ac_delim_n = $ac_delim_num; then
18843     break
18844   elif $ac_last_try; then
18845     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18846   else
18847     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18848   fi
18849 done
18850 rm -f conf$$subs.sh
18851
18852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18853 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18854 _ACEOF
18855 sed -n '
18856 h
18857 s/^/S["/; s/!.*/"]=/
18858 p
18859 g
18860 s/^[^!]*!//
18861 :repl
18862 t repl
18863 s/'"$ac_delim"'$//
18864 t delim
18865 :nl
18866 h
18867 s/\(.\{148\}\)..*/\1/
18868 t more1
18869 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18870 p
18871 n
18872 b repl
18873 :more1
18874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18875 p
18876 g
18877 s/.\{148\}//
18878 t nl
18879 :delim
18880 h
18881 s/\(.\{148\}\)..*/\1/
18882 t more2
18883 s/["\\]/\\&/g; s/^/"/; s/$/"/
18884 p
18885 b
18886 :more2
18887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18888 p
18889 g
18890 s/.\{148\}//
18891 t delim
18892 ' <conf$$subs.awk | sed '
18893 /^[^""]/{
18894   N
18895   s/\n//
18896 }
18897 ' >>$CONFIG_STATUS || ac_write_fail=1
18898 rm -f conf$$subs.awk
18899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18900 _ACAWK
18901 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18902   for (key in S) S_is_set[key] = 1
18903   FS = "\a"
18904
18905 }
18906 {
18907   line = $ 0
18908   nfields = split(line, field, "@")
18909   substed = 0
18910   len = length(field[1])
18911   for (i = 2; i < nfields; i++) {
18912     key = field[i]
18913     keylen = length(key)
18914     if (S_is_set[key]) {
18915       value = S[key]
18916       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18917       len += length(value) + length(field[++i])
18918       substed = 1
18919     } else
18920       len += 1 + keylen
18921   }
18922
18923   print line
18924 }
18925
18926 _ACAWK
18927 _ACEOF
18928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18929 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18930   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18931 else
18932   cat
18933 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18934   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18935 _ACEOF
18936
18937 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18938 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18939 # trailing colons and then remove the whole line if VPATH becomes empty
18940 # (actually we leave an empty line to preserve line numbers).
18941 if test "x$srcdir" = x.; then
18942   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18943 h
18944 s///
18945 s/^/:/
18946 s/[      ]*$/:/
18947 s/:\$(srcdir):/:/g
18948 s/:\${srcdir}:/:/g
18949 s/:@srcdir@:/:/g
18950 s/^:*//
18951 s/:*$//
18952 x
18953 s/\(=[   ]*\).*/\1/
18954 G
18955 s/\n//
18956 s/^[^=]*=[       ]*$//
18957 }'
18958 fi
18959
18960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 fi # test -n "$CONFIG_FILES"
18962
18963 # Set up the scripts for CONFIG_HEADERS section.
18964 # No need to generate them if there are no CONFIG_HEADERS.
18965 # This happens for instance with `./config.status Makefile'.
18966 if test -n "$CONFIG_HEADERS"; then
18967 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18968 BEGIN {
18969 _ACEOF
18970
18971 # Transform confdefs.h into an awk script `defines.awk', embedded as
18972 # here-document in config.status, that substitutes the proper values into
18973 # config.h.in to produce config.h.
18974
18975 # Create a delimiter string that does not exist in confdefs.h, to ease
18976 # handling of long lines.
18977 ac_delim='%!_!# '
18978 for ac_last_try in false false :; do
18979   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18980   if test -z "$ac_tt"; then
18981     break
18982   elif $ac_last_try; then
18983     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18984   else
18985     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18986   fi
18987 done
18988
18989 # For the awk script, D is an array of macro values keyed by name,
18990 # likewise P contains macro parameters if any.  Preserve backslash
18991 # newline sequences.
18992
18993 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18994 sed -n '
18995 s/.\{148\}/&'"$ac_delim"'/g
18996 t rset
18997 :rset
18998 s/^[     ]*#[    ]*define[       ][      ]*/ /
18999 t def
19000 d
19001 :def
19002 s/\\$//
19003 t bsnl
19004 s/["\\]/\\&/g
19005 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19006 D["\1"]=" \3"/p
19007 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19008 d
19009 :bsnl
19010 s/["\\]/\\&/g
19011 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19012 D["\1"]=" \3\\\\\\n"\\/p
19013 t cont
19014 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19015 t cont
19016 d
19017 :cont
19018 n
19019 s/.\{148\}/&'"$ac_delim"'/g
19020 t clear
19021 :clear
19022 s/\\$//
19023 t bsnlc
19024 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19025 d
19026 :bsnlc
19027 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19028 b cont
19029 ' <confdefs.h | sed '
19030 s/'"$ac_delim"'/"\\\
19031 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19032
19033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19034   for (key in D) D_is_set[key] = 1
19035   FS = "\a"
19036 }
19037 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19038   line = \$ 0
19039   split(line, arg, " ")
19040   if (arg[1] == "#") {
19041     defundef = arg[2]
19042     mac1 = arg[3]
19043   } else {
19044     defundef = substr(arg[1], 2)
19045     mac1 = arg[2]
19046   }
19047   split(mac1, mac2, "(") #)
19048   macro = mac2[1]
19049   prefix = substr(line, 1, index(line, defundef) - 1)
19050   if (D_is_set[macro]) {
19051     # Preserve the white space surrounding the "#".
19052     print prefix "define", macro P[macro] D[macro]
19053     next
19054   } else {
19055     # Replace #undef with comments.  This is necessary, for example,
19056     # in the case of _POSIX_SOURCE, which is predefined and required
19057     # on some systems where configure will not decide to define it.
19058     if (defundef == "undef") {
19059       print "/*", prefix defundef, macro, "*/"
19060       next
19061     }
19062   }
19063 }
19064 { print }
19065 _ACAWK
19066 _ACEOF
19067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19068   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19069 fi # test -n "$CONFIG_HEADERS"
19070
19071
19072 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19073 shift
19074 for ac_tag
19075 do
19076   case $ac_tag in
19077   :[FHLC]) ac_mode=$ac_tag; continue;;
19078   esac
19079   case $ac_mode$ac_tag in
19080   :[FHL]*:*);;
19081   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19082   :[FH]-) ac_tag=-:-;;
19083   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19084   esac
19085   ac_save_IFS=$IFS
19086   IFS=:
19087   set x $ac_tag
19088   IFS=$ac_save_IFS
19089   shift
19090   ac_file=$1
19091   shift
19092
19093   case $ac_mode in
19094   :L) ac_source=$1;;
19095   :[FH])
19096     ac_file_inputs=
19097     for ac_f
19098     do
19099       case $ac_f in
19100       -) ac_f="$ac_tmp/stdin";;
19101       *) # Look for the file first in the build tree, then in the source tree
19102          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19103          # because $ac_f cannot contain `:'.
19104          test -f "$ac_f" ||
19105            case $ac_f in
19106            [\\/$]*) false;;
19107            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19108            esac ||
19109            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19110       esac
19111       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19112       as_fn_append ac_file_inputs " '$ac_f'"
19113     done
19114
19115     # Let's still pretend it is `configure' which instantiates (i.e., don't
19116     # use $as_me), people would be surprised to read:
19117     #    /* config.h.  Generated by config.status.  */
19118     configure_input='Generated from '`
19119           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19120         `' by configure.'
19121     if test x"$ac_file" != x-; then
19122       configure_input="$ac_file.  $configure_input"
19123       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19124 $as_echo "$as_me: creating $ac_file" >&6;}
19125     fi
19126     # Neutralize special characters interpreted by sed in replacement strings.
19127     case $configure_input in #(
19128     *\&* | *\|* | *\\* )
19129        ac_sed_conf_input=`$as_echo "$configure_input" |
19130        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19131     *) ac_sed_conf_input=$configure_input;;
19132     esac
19133
19134     case $ac_tag in
19135     *:-:* | *:-) cat >"$ac_tmp/stdin" \
19136       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19137     esac
19138     ;;
19139   esac
19140
19141   ac_dir=`$as_dirname -- "$ac_file" ||
19142 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19143          X"$ac_file" : 'X\(//\)[^/]' \| \
19144          X"$ac_file" : 'X\(//\)$' \| \
19145          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19146 $as_echo X"$ac_file" |
19147     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19148             s//\1/
19149             q
19150           }
19151           /^X\(\/\/\)[^/].*/{
19152             s//\1/
19153             q
19154           }
19155           /^X\(\/\/\)$/{
19156             s//\1/
19157             q
19158           }
19159           /^X\(\/\).*/{
19160             s//\1/
19161             q
19162           }
19163           s/.*/./; q'`
19164   as_dir="$ac_dir"; as_fn_mkdir_p
19165   ac_builddir=.
19166
19167 case "$ac_dir" in
19168 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19169 *)
19170   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19171   # A ".." for each directory in $ac_dir_suffix.
19172   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19173   case $ac_top_builddir_sub in
19174   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19175   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19176   esac ;;
19177 esac
19178 ac_abs_top_builddir=$ac_pwd
19179 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19180 # for backward compatibility:
19181 ac_top_builddir=$ac_top_build_prefix
19182
19183 case $srcdir in
19184   .)  # We are building in place.
19185     ac_srcdir=.
19186     ac_top_srcdir=$ac_top_builddir_sub
19187     ac_abs_top_srcdir=$ac_pwd ;;
19188   [\\/]* | ?:[\\/]* )  # Absolute name.
19189     ac_srcdir=$srcdir$ac_dir_suffix;
19190     ac_top_srcdir=$srcdir
19191     ac_abs_top_srcdir=$srcdir ;;
19192   *) # Relative name.
19193     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19194     ac_top_srcdir=$ac_top_build_prefix$srcdir
19195     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19196 esac
19197 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19198
19199
19200   case $ac_mode in
19201   :F)
19202   #
19203   # CONFIG_FILE
19204   #
19205
19206   case $INSTALL in
19207   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19208   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19209   esac
19210   ac_MKDIR_P=$MKDIR_P
19211   case $MKDIR_P in
19212   [\\/$]* | ?:[\\/]* ) ;;
19213   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19214   esac
19215 _ACEOF
19216
19217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19218 # If the template does not know about datarootdir, expand it.
19219 # FIXME: This hack should be removed a few years after 2.60.
19220 ac_datarootdir_hack=; ac_datarootdir_seen=
19221 ac_sed_dataroot='
19222 /datarootdir/ {
19223   p
19224   q
19225 }
19226 /@datadir@/p
19227 /@docdir@/p
19228 /@infodir@/p
19229 /@localedir@/p
19230 /@mandir@/p'
19231 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19232 *datarootdir*) ac_datarootdir_seen=yes;;
19233 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19234   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19235 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19236 _ACEOF
19237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19238   ac_datarootdir_hack='
19239   s&@datadir@&$datadir&g
19240   s&@docdir@&$docdir&g
19241   s&@infodir@&$infodir&g
19242   s&@localedir@&$localedir&g
19243   s&@mandir@&$mandir&g
19244   s&\\\${datarootdir}&$datarootdir&g' ;;
19245 esac
19246 _ACEOF
19247
19248 # Neutralize VPATH when `$srcdir' = `.'.
19249 # Shell code in configure.ac might set extrasub.
19250 # FIXME: do we really want to maintain this feature?
19251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19252 ac_sed_extra="$ac_vpsub
19253 $extrasub
19254 _ACEOF
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19256 :t
19257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19258 s|@configure_input@|$ac_sed_conf_input|;t t
19259 s&@top_builddir@&$ac_top_builddir_sub&;t t
19260 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19261 s&@srcdir@&$ac_srcdir&;t t
19262 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19263 s&@top_srcdir@&$ac_top_srcdir&;t t
19264 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19265 s&@builddir@&$ac_builddir&;t t
19266 s&@abs_builddir@&$ac_abs_builddir&;t t
19267 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19268 s&@INSTALL@&$ac_INSTALL&;t t
19269 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19270 $ac_datarootdir_hack
19271 "
19272 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19273   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19274
19275 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19276   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19277   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19278       "$ac_tmp/out"`; test -z "$ac_out"; } &&
19279   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19280 which seems to be undefined.  Please make sure it is defined" >&5
19281 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19282 which seems to be undefined.  Please make sure it is defined" >&2;}
19283
19284   rm -f "$ac_tmp/stdin"
19285   case $ac_file in
19286   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19287   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19288   esac \
19289   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19290  ;;
19291   :H)
19292   #
19293   # CONFIG_HEADER
19294   #
19295   if test x"$ac_file" != x-; then
19296     {
19297       $as_echo "/* $configure_input  */" \
19298       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19299     } >"$ac_tmp/config.h" \
19300       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19301     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19302       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19303 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19304     else
19305       rm -f "$ac_file"
19306       mv "$ac_tmp/config.h" "$ac_file" \
19307         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19308     fi
19309   else
19310     $as_echo "/* $configure_input  */" \
19311       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19312       || as_fn_error $? "could not create -" "$LINENO" 5
19313   fi
19314 # Compute "$ac_file"'s index in $config_headers.
19315 _am_arg="$ac_file"
19316 _am_stamp_count=1
19317 for _am_header in $config_headers :; do
19318   case $_am_header in
19319     $_am_arg | $_am_arg:* )
19320       break ;;
19321     * )
19322       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19323   esac
19324 done
19325 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19326 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19327          X"$_am_arg" : 'X\(//\)[^/]' \| \
19328          X"$_am_arg" : 'X\(//\)$' \| \
19329          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19330 $as_echo X"$_am_arg" |
19331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19332             s//\1/
19333             q
19334           }
19335           /^X\(\/\/\)[^/].*/{
19336             s//\1/
19337             q
19338           }
19339           /^X\(\/\/\)$/{
19340             s//\1/
19341             q
19342           }
19343           /^X\(\/\).*/{
19344             s//\1/
19345             q
19346           }
19347           s/.*/./; q'`/stamp-h$_am_stamp_count
19348  ;;
19349
19350   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19351 $as_echo "$as_me: executing $ac_file commands" >&6;}
19352  ;;
19353   esac
19354
19355
19356   case $ac_file$ac_mode in
19357     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19358   # Autoconf 2.62 quotes --file arguments for eval, but not when files
19359   # are listed without --file.  Let's play safe and only enable the eval
19360   # if we detect the quoting.
19361   case $CONFIG_FILES in
19362   *\'*) eval set x "$CONFIG_FILES" ;;
19363   *)   set x $CONFIG_FILES ;;
19364   esac
19365   shift
19366   for mf
19367   do
19368     # Strip MF so we end up with the name of the file.
19369     mf=`echo "$mf" | sed -e 's/:.*$//'`
19370     # Check whether this is an Automake generated Makefile or not.
19371     # We used to match only the files named `Makefile.in', but
19372     # some people rename them; so instead we look at the file content.
19373     # Grep'ing the first line is not enough: some people post-process
19374     # each Makefile.in and add a new line on top of each file to say so.
19375     # Grep'ing the whole file is not good either: AIX grep has a line
19376     # limit of 2048, but all sed's we know have understand at least 4000.
19377     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19378       dirpart=`$as_dirname -- "$mf" ||
19379 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19380          X"$mf" : 'X\(//\)[^/]' \| \
19381          X"$mf" : 'X\(//\)$' \| \
19382          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19383 $as_echo X"$mf" |
19384     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19385             s//\1/
19386             q
19387           }
19388           /^X\(\/\/\)[^/].*/{
19389             s//\1/
19390             q
19391           }
19392           /^X\(\/\/\)$/{
19393             s//\1/
19394             q
19395           }
19396           /^X\(\/\).*/{
19397             s//\1/
19398             q
19399           }
19400           s/.*/./; q'`
19401     else
19402       continue
19403     fi
19404     # Extract the definition of DEPDIR, am__include, and am__quote
19405     # from the Makefile without running `make'.
19406     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19407     test -z "$DEPDIR" && continue
19408     am__include=`sed -n 's/^am__include = //p' < "$mf"`
19409     test -z "am__include" && continue
19410     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19411     # When using ansi2knr, U may be empty or an underscore; expand it
19412     U=`sed -n 's/^U = //p' < "$mf"`
19413     # Find all dependency output files, they are included files with
19414     # $(DEPDIR) in their names.  We invoke sed twice because it is the
19415     # simplest approach to changing $(DEPDIR) to its actual value in the
19416     # expansion.
19417     for file in `sed -n "
19418       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19419          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19420       # Make sure the directory exists.
19421       test -f "$dirpart/$file" && continue
19422       fdir=`$as_dirname -- "$file" ||
19423 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19424          X"$file" : 'X\(//\)[^/]' \| \
19425          X"$file" : 'X\(//\)$' \| \
19426          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19427 $as_echo X"$file" |
19428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19429             s//\1/
19430             q
19431           }
19432           /^X\(\/\/\)[^/].*/{
19433             s//\1/
19434             q
19435           }
19436           /^X\(\/\/\)$/{
19437             s//\1/
19438             q
19439           }
19440           /^X\(\/\).*/{
19441             s//\1/
19442             q
19443           }
19444           s/.*/./; q'`
19445       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19446       # echo "creating $dirpart/$file"
19447       echo '# dummy' > "$dirpart/$file"
19448     done
19449   done
19450 }
19451  ;;
19452     "libtool":C)
19453
19454     # See if we are running on zsh, and set the options which allow our
19455     # commands through without removal of \ escapes.
19456     if test -n "${ZSH_VERSION+set}" ; then
19457       setopt NO_GLOB_SUBST
19458     fi
19459
19460     cfgfile="${ofile}T"
19461     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19462     $RM "$cfgfile"
19463
19464     cat <<_LT_EOF >> "$cfgfile"
19465 #! $SHELL
19466
19467 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19468 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19469 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19470 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19471 #
19472 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19473 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19474 #                 Inc.
19475 #   Written by Gordon Matzigkeit, 1996
19476 #
19477 #   This file is part of GNU Libtool.
19478 #
19479 # GNU Libtool is free software; you can redistribute it and/or
19480 # modify it under the terms of the GNU General Public License as
19481 # published by the Free Software Foundation; either version 2 of
19482 # the License, or (at your option) any later version.
19483 #
19484 # As a special exception to the GNU General Public License,
19485 # if you distribute this file as part of a program or library that
19486 # is built using GNU Libtool, you may include this file under the
19487 # same distribution terms that you use for the rest of that program.
19488 #
19489 # GNU Libtool is distributed in the hope that it will be useful,
19490 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19491 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19492 # GNU General Public License for more details.
19493 #
19494 # You should have received a copy of the GNU General Public License
19495 # along with GNU Libtool; see the file COPYING.  If not, a copy
19496 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19497 # obtained by writing to the Free Software Foundation, Inc.,
19498 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19499
19500
19501 # The names of the tagged configurations supported by this script.
19502 available_tags=""
19503
19504 # ### BEGIN LIBTOOL CONFIG
19505
19506 # Which release of libtool.m4 was used?
19507 macro_version=$macro_version
19508 macro_revision=$macro_revision
19509
19510 # Whether or not to build static libraries.
19511 build_old_libs=$enable_static
19512
19513 # Whether or not to build shared libraries.
19514 build_libtool_libs=$enable_shared
19515
19516 # What type of objects to build.
19517 pic_mode=$pic_mode
19518
19519 # Whether or not to optimize for fast installation.
19520 fast_install=$enable_fast_install
19521
19522 # Shell to use when invoking shell scripts.
19523 SHELL=$lt_SHELL
19524
19525 # An echo program that protects backslashes.
19526 ECHO=$lt_ECHO
19527
19528 # The host system.
19529 host_alias=$host_alias
19530 host=$host
19531 host_os=$host_os
19532
19533 # The build system.
19534 build_alias=$build_alias
19535 build=$build
19536 build_os=$build_os
19537
19538 # A sed program that does not truncate output.
19539 SED=$lt_SED
19540
19541 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19542 Xsed="\$SED -e 1s/^X//"
19543
19544 # A grep program that handles long lines.
19545 GREP=$lt_GREP
19546
19547 # An ERE matcher.
19548 EGREP=$lt_EGREP
19549
19550 # A literal string matcher.
19551 FGREP=$lt_FGREP
19552
19553 # A BSD- or MS-compatible name lister.
19554 NM=$lt_NM
19555
19556 # Whether we need soft or hard links.
19557 LN_S=$lt_LN_S
19558
19559 # What is the maximum length of a command?
19560 max_cmd_len=$max_cmd_len
19561
19562 # Object file suffix (normally "o").
19563 objext=$ac_objext
19564
19565 # Executable file suffix (normally "").
19566 exeext=$exeext
19567
19568 # whether the shell understands "unset".
19569 lt_unset=$lt_unset
19570
19571 # turn spaces into newlines.
19572 SP2NL=$lt_lt_SP2NL
19573
19574 # turn newlines into spaces.
19575 NL2SP=$lt_lt_NL2SP
19576
19577 # convert \$build file names to \$host format.
19578 to_host_file_cmd=$lt_cv_to_host_file_cmd
19579
19580 # convert \$build files to toolchain format.
19581 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19582
19583 # An object symbol dumper.
19584 OBJDUMP=$lt_OBJDUMP
19585
19586 # Method to check whether dependent libraries are shared objects.
19587 deplibs_check_method=$lt_deplibs_check_method
19588
19589 # Command to use when deplibs_check_method = "file_magic".
19590 file_magic_cmd=$lt_file_magic_cmd
19591
19592 # How to find potential files when deplibs_check_method = "file_magic".
19593 file_magic_glob=$lt_file_magic_glob
19594
19595 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19596 want_nocaseglob=$lt_want_nocaseglob
19597
19598 # DLL creation program.
19599 DLLTOOL=$lt_DLLTOOL
19600
19601 # Command to associate shared and link libraries.
19602 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19603
19604 # The archiver.
19605 AR=$lt_AR
19606
19607 # Flags to create an archive.
19608 AR_FLAGS=$lt_AR_FLAGS
19609
19610 # How to feed a file listing to the archiver.
19611 archiver_list_spec=$lt_archiver_list_spec
19612
19613 # A symbol stripping program.
19614 STRIP=$lt_STRIP
19615
19616 # Commands used to install an old-style archive.
19617 RANLIB=$lt_RANLIB
19618 old_postinstall_cmds=$lt_old_postinstall_cmds
19619 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19620
19621 # Whether to use a lock for old archive extraction.
19622 lock_old_archive_extraction=$lock_old_archive_extraction
19623
19624 # A C compiler.
19625 LTCC=$lt_CC
19626
19627 # LTCC compiler flags.
19628 LTCFLAGS=$lt_CFLAGS
19629
19630 # Take the output of nm and produce a listing of raw symbols and C names.
19631 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19632
19633 # Transform the output of nm in a proper C declaration.
19634 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19635
19636 # Transform the output of nm in a C name address pair.
19637 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19638
19639 # Transform the output of nm in a C name address pair when lib prefix is needed.
19640 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19641
19642 # Specify filename containing input files for \$NM.
19643 nm_file_list_spec=$lt_nm_file_list_spec
19644
19645 # The root where to search for dependent libraries,and in which our libraries should be installed.
19646 lt_sysroot=$lt_sysroot
19647
19648 # The name of the directory that contains temporary libtool files.
19649 objdir=$objdir
19650
19651 # Used to examine libraries when file_magic_cmd begins with "file".
19652 MAGIC_CMD=$MAGIC_CMD
19653
19654 # Must we lock files when doing compilation?
19655 need_locks=$lt_need_locks
19656
19657 # Manifest tool.
19658 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19659
19660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19661 DSYMUTIL=$lt_DSYMUTIL
19662
19663 # Tool to change global to local symbols on Mac OS X.
19664 NMEDIT=$lt_NMEDIT
19665
19666 # Tool to manipulate fat objects and archives on Mac OS X.
19667 LIPO=$lt_LIPO
19668
19669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19670 OTOOL=$lt_OTOOL
19671
19672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19673 OTOOL64=$lt_OTOOL64
19674
19675 # Old archive suffix (normally "a").
19676 libext=$libext
19677
19678 # Shared library suffix (normally ".so").
19679 shrext_cmds=$lt_shrext_cmds
19680
19681 # The commands to extract the exported symbol list from a shared archive.
19682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19683
19684 # Variables whose values should be saved in libtool wrapper scripts and
19685 # restored at link time.
19686 variables_saved_for_relink=$lt_variables_saved_for_relink
19687
19688 # Do we need the "lib" prefix for modules?
19689 need_lib_prefix=$need_lib_prefix
19690
19691 # Do we need a version for libraries?
19692 need_version=$need_version
19693
19694 # Library versioning type.
19695 version_type=$version_type
19696
19697 # Shared library runtime path variable.
19698 runpath_var=$runpath_var
19699
19700 # Shared library path variable.
19701 shlibpath_var=$shlibpath_var
19702
19703 # Is shlibpath searched before the hard-coded library search path?
19704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19705
19706 # Format of library name prefix.
19707 libname_spec=$lt_libname_spec
19708
19709 # List of archive names.  First name is the real one, the rest are links.
19710 # The last name is the one that the linker finds with -lNAME
19711 library_names_spec=$lt_library_names_spec
19712
19713 # The coded name of the library, if different from the real name.
19714 soname_spec=$lt_soname_spec
19715
19716 # Permission mode override for installation of shared libraries.
19717 install_override_mode=$lt_install_override_mode
19718
19719 # Command to use after installation of a shared archive.
19720 postinstall_cmds=$lt_postinstall_cmds
19721
19722 # Command to use after uninstallation of a shared archive.
19723 postuninstall_cmds=$lt_postuninstall_cmds
19724
19725 # Commands used to finish a libtool library installation in a directory.
19726 finish_cmds=$lt_finish_cmds
19727
19728 # As "finish_cmds", except a single script fragment to be evaled but
19729 # not shown.
19730 finish_eval=$lt_finish_eval
19731
19732 # Whether we should hardcode library paths into libraries.
19733 hardcode_into_libs=$hardcode_into_libs
19734
19735 # Compile-time system search path for libraries.
19736 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19737
19738 # Run-time system search path for libraries.
19739 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19740
19741 # Whether dlopen is supported.
19742 dlopen_support=$enable_dlopen
19743
19744 # Whether dlopen of programs is supported.
19745 dlopen_self=$enable_dlopen_self
19746
19747 # Whether dlopen of statically linked programs is supported.
19748 dlopen_self_static=$enable_dlopen_self_static
19749
19750 # Commands to strip libraries.
19751 old_striplib=$lt_old_striplib
19752 striplib=$lt_striplib
19753
19754
19755 # The linker used to build libraries.
19756 LD=$lt_LD
19757
19758 # How to create reloadable object files.
19759 reload_flag=$lt_reload_flag
19760 reload_cmds=$lt_reload_cmds
19761
19762 # Commands used to build an old-style archive.
19763 old_archive_cmds=$lt_old_archive_cmds
19764
19765 # A language specific compiler.
19766 CC=$lt_compiler
19767
19768 # Is the compiler the GNU compiler?
19769 with_gcc=$GCC
19770
19771 # Compiler flag to turn off builtin functions.
19772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19773
19774 # Additional compiler flags for building library objects.
19775 pic_flag=$lt_lt_prog_compiler_pic
19776
19777 # How to pass a linker flag through the compiler.
19778 wl=$lt_lt_prog_compiler_wl
19779
19780 # Compiler flag to prevent dynamic linking.
19781 link_static_flag=$lt_lt_prog_compiler_static
19782
19783 # Does compiler simultaneously support -c and -o options?
19784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19785
19786 # Whether or not to add -lc for building shared libraries.
19787 build_libtool_need_lc=$archive_cmds_need_lc
19788
19789 # Whether or not to disallow shared libs when runtime libs are static.
19790 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19791
19792 # Compiler flag to allow reflexive dlopens.
19793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19794
19795 # Compiler flag to generate shared objects directly from archives.
19796 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19797
19798 # Whether the compiler copes with passing no objects directly.
19799 compiler_needs_object=$lt_compiler_needs_object
19800
19801 # Create an old-style archive from a shared archive.
19802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19803
19804 # Create a temporary old-style archive to link instead of a shared archive.
19805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19806
19807 # Commands used to build a shared archive.
19808 archive_cmds=$lt_archive_cmds
19809 archive_expsym_cmds=$lt_archive_expsym_cmds
19810
19811 # Commands used to build a loadable module if different from building
19812 # a shared archive.
19813 module_cmds=$lt_module_cmds
19814 module_expsym_cmds=$lt_module_expsym_cmds
19815
19816 # Whether we are building with GNU ld or not.
19817 with_gnu_ld=$lt_with_gnu_ld
19818
19819 # Flag that allows shared libraries with undefined symbols to be built.
19820 allow_undefined_flag=$lt_allow_undefined_flag
19821
19822 # Flag that enforces no undefined symbols.
19823 no_undefined_flag=$lt_no_undefined_flag
19824
19825 # Flag to hardcode \$libdir into a binary during linking.
19826 # This must work even if \$libdir does not exist
19827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19828
19829 # If ld is used when linking, flag to hardcode \$libdir into a binary
19830 # during linking.  This must work even if \$libdir does not exist.
19831 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19832
19833 # Whether we need a single "-rpath" flag with a separated argument.
19834 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19835
19836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19837 # DIR into the resulting binary.
19838 hardcode_direct=$hardcode_direct
19839
19840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19841 # DIR into the resulting binary and the resulting library dependency is
19842 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19843 # library is relocated.
19844 hardcode_direct_absolute=$hardcode_direct_absolute
19845
19846 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19847 # into the resulting binary.
19848 hardcode_minus_L=$hardcode_minus_L
19849
19850 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19851 # into the resulting binary.
19852 hardcode_shlibpath_var=$hardcode_shlibpath_var
19853
19854 # Set to "yes" if building a shared library automatically hardcodes DIR
19855 # into the library and all subsequent libraries and executables linked
19856 # against it.
19857 hardcode_automatic=$hardcode_automatic
19858
19859 # Set to yes if linker adds runtime paths of dependent libraries
19860 # to runtime path list.
19861 inherit_rpath=$inherit_rpath
19862
19863 # Whether libtool must link a program against all its dependency libraries.
19864 link_all_deplibs=$link_all_deplibs
19865
19866 # Set to "yes" if exported symbols are required.
19867 always_export_symbols=$always_export_symbols
19868
19869 # The commands to list exported symbols.
19870 export_symbols_cmds=$lt_export_symbols_cmds
19871
19872 # Symbols that should not be listed in the preloaded symbols.
19873 exclude_expsyms=$lt_exclude_expsyms
19874
19875 # Symbols that must always be exported.
19876 include_expsyms=$lt_include_expsyms
19877
19878 # Commands necessary for linking programs (against libraries) with templates.
19879 prelink_cmds=$lt_prelink_cmds
19880
19881 # Commands necessary for finishing linking programs.
19882 postlink_cmds=$lt_postlink_cmds
19883
19884 # Specify filename containing input files.
19885 file_list_spec=$lt_file_list_spec
19886
19887 # How to hardcode a shared library path into an executable.
19888 hardcode_action=$hardcode_action
19889
19890 # ### END LIBTOOL CONFIG
19891
19892 _LT_EOF
19893
19894   case $host_os in
19895   aix3*)
19896     cat <<\_LT_EOF >> "$cfgfile"
19897 # AIX sometimes has problems with the GCC collect2 program.  For some
19898 # reason, if we set the COLLECT_NAMES environment variable, the problems
19899 # vanish in a puff of smoke.
19900 if test "X${COLLECT_NAMES+set}" != Xset; then
19901   COLLECT_NAMES=
19902   export COLLECT_NAMES
19903 fi
19904 _LT_EOF
19905     ;;
19906   esac
19907
19908
19909 ltmain="$ac_aux_dir/ltmain.sh"
19910
19911
19912   # We use sed instead of cat because bash on DJGPP gets confused if
19913   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19914   # text mode, it properly converts lines to CR/LF.  This bash problem
19915   # is reportedly fixed, but why not run on old versions too?
19916   sed '$q' "$ltmain" >> "$cfgfile" \
19917      || (rm -f "$cfgfile"; exit 1)
19918
19919   if test x"$xsi_shell" = xyes; then
19920   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19921 func_dirname ()\
19922 {\
19923 \    case ${1} in\
19924 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19925 \      *  ) func_dirname_result="${3}" ;;\
19926 \    esac\
19927 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19928   && mv -f "$cfgfile.tmp" "$cfgfile" \
19929     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19930 test 0 -eq $? || _lt_function_replace_fail=:
19931
19932
19933   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19934 func_basename ()\
19935 {\
19936 \    func_basename_result="${1##*/}"\
19937 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19938   && mv -f "$cfgfile.tmp" "$cfgfile" \
19939     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19940 test 0 -eq $? || _lt_function_replace_fail=:
19941
19942
19943   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19944 func_dirname_and_basename ()\
19945 {\
19946 \    case ${1} in\
19947 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19948 \      *  ) func_dirname_result="${3}" ;;\
19949 \    esac\
19950 \    func_basename_result="${1##*/}"\
19951 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19952   && mv -f "$cfgfile.tmp" "$cfgfile" \
19953     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19954 test 0 -eq $? || _lt_function_replace_fail=:
19955
19956
19957   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19958 func_stripname ()\
19959 {\
19960 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19961 \    # positional parameters, so assign one to ordinary parameter first.\
19962 \    func_stripname_result=${3}\
19963 \    func_stripname_result=${func_stripname_result#"${1}"}\
19964 \    func_stripname_result=${func_stripname_result%"${2}"}\
19965 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19966   && mv -f "$cfgfile.tmp" "$cfgfile" \
19967     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19968 test 0 -eq $? || _lt_function_replace_fail=:
19969
19970
19971   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19972 func_split_long_opt ()\
19973 {\
19974 \    func_split_long_opt_name=${1%%=*}\
19975 \    func_split_long_opt_arg=${1#*=}\
19976 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19977   && mv -f "$cfgfile.tmp" "$cfgfile" \
19978     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19979 test 0 -eq $? || _lt_function_replace_fail=:
19980
19981
19982   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19983 func_split_short_opt ()\
19984 {\
19985 \    func_split_short_opt_arg=${1#??}\
19986 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19987 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19988   && mv -f "$cfgfile.tmp" "$cfgfile" \
19989     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19990 test 0 -eq $? || _lt_function_replace_fail=:
19991
19992
19993   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19994 func_lo2o ()\
19995 {\
19996 \    case ${1} in\
19997 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19998 \      *)    func_lo2o_result=${1} ;;\
19999 \    esac\
20000 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20001   && mv -f "$cfgfile.tmp" "$cfgfile" \
20002     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20003 test 0 -eq $? || _lt_function_replace_fail=:
20004
20005
20006   sed -e '/^func_xform ()$/,/^} # func_xform /c\
20007 func_xform ()\
20008 {\
20009     func_xform_result=${1%.*}.lo\
20010 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20011   && mv -f "$cfgfile.tmp" "$cfgfile" \
20012     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20013 test 0 -eq $? || _lt_function_replace_fail=:
20014
20015
20016   sed -e '/^func_arith ()$/,/^} # func_arith /c\
20017 func_arith ()\
20018 {\
20019     func_arith_result=$(( $* ))\
20020 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20021   && mv -f "$cfgfile.tmp" "$cfgfile" \
20022     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20023 test 0 -eq $? || _lt_function_replace_fail=:
20024
20025
20026   sed -e '/^func_len ()$/,/^} # func_len /c\
20027 func_len ()\
20028 {\
20029     func_len_result=${#1}\
20030 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20031   && mv -f "$cfgfile.tmp" "$cfgfile" \
20032     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20033 test 0 -eq $? || _lt_function_replace_fail=:
20034
20035 fi
20036
20037 if test x"$lt_shell_append" = xyes; then
20038   sed -e '/^func_append ()$/,/^} # func_append /c\
20039 func_append ()\
20040 {\
20041     eval "${1}+=\\${2}"\
20042 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20043   && mv -f "$cfgfile.tmp" "$cfgfile" \
20044     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20045 test 0 -eq $? || _lt_function_replace_fail=:
20046
20047
20048   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20049 func_append_quoted ()\
20050 {\
20051 \    func_quote_for_eval "${2}"\
20052 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20053 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20054   && mv -f "$cfgfile.tmp" "$cfgfile" \
20055     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20056 test 0 -eq $? || _lt_function_replace_fail=:
20057
20058
20059   # Save a `func_append' function call where possible by direct use of '+='
20060   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20061     && mv -f "$cfgfile.tmp" "$cfgfile" \
20062       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20063   test 0 -eq $? || _lt_function_replace_fail=:
20064 else
20065   # Save a `func_append' function call even when '+=' is not available
20066   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20067     && mv -f "$cfgfile.tmp" "$cfgfile" \
20068       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20069   test 0 -eq $? || _lt_function_replace_fail=:
20070 fi
20071
20072 if test x"$_lt_function_replace_fail" = x":"; then
20073   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20074 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20075 fi
20076
20077
20078    mv -f "$cfgfile" "$ofile" ||
20079     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20080   chmod +x "$ofile"
20081
20082  ;;
20083     "po-directories":C)
20084     for ac_file in $CONFIG_FILES; do
20085       # Support "outfile[:infile[:infile...]]"
20086       case "$ac_file" in
20087         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20088       esac
20089       # PO directories have a Makefile.in generated from Makefile.in.in.
20090       case "$ac_file" in */Makefile.in)
20091         # Adjust a relative srcdir.
20092         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20093         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20094         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20095         # In autoconf-2.13 it is called $ac_given_srcdir.
20096         # In autoconf-2.50 it is called $srcdir.
20097         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20098         case "$ac_given_srcdir" in
20099           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20100           /*) top_srcdir="$ac_given_srcdir" ;;
20101           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
20102         esac
20103         # Treat a directory as a PO directory if and only if it has a
20104         # POTFILES.in file. This allows packages to have multiple PO
20105         # directories under different names or in different locations.
20106         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20107           rm -f "$ac_dir/POTFILES"
20108           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20109           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20110           POMAKEFILEDEPS="POTFILES.in"
20111           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20112           # on $ac_dir but don't depend on user-specified configuration
20113           # parameters.
20114           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20115             # The LINGUAS file contains the set of available languages.
20116             if test -n "$OBSOLETE_ALL_LINGUAS"; then
20117               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20118             fi
20119             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20120             # Hide the ALL_LINGUAS assigment from automake < 1.5.
20121             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20122             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20123           else
20124             # The set of available languages was given in configure.in.
20125             # Hide the ALL_LINGUAS assigment from automake < 1.5.
20126             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20127           fi
20128           # Compute POFILES
20129           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20130           # Compute UPDATEPOFILES
20131           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20132           # Compute DUMMYPOFILES
20133           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20134           # Compute GMOFILES
20135           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20136           case "$ac_given_srcdir" in
20137             .) srcdirpre= ;;
20138             *) srcdirpre='$(srcdir)/' ;;
20139           esac
20140           POFILES=
20141           UPDATEPOFILES=
20142           DUMMYPOFILES=
20143           GMOFILES=
20144           for lang in $ALL_LINGUAS; do
20145             POFILES="$POFILES $srcdirpre$lang.po"
20146             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20147             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20148             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20149           done
20150           # CATALOGS depends on both $ac_dir and the user's LINGUAS
20151           # environment variable.
20152           INST_LINGUAS=
20153           if test -n "$ALL_LINGUAS"; then
20154             for presentlang in $ALL_LINGUAS; do
20155               useit=no
20156               if test "%UNSET%" != "$LINGUAS"; then
20157                 desiredlanguages="$LINGUAS"
20158               else
20159                 desiredlanguages="$ALL_LINGUAS"
20160               fi
20161               for desiredlang in $desiredlanguages; do
20162                 # Use the presentlang catalog if desiredlang is
20163                 #   a. equal to presentlang, or
20164                 #   b. a variant of presentlang (because in this case,
20165                 #      presentlang can be used as a fallback for messages
20166                 #      which are not translated in the desiredlang catalog).
20167                 case "$desiredlang" in
20168                   "$presentlang"*) useit=yes;;
20169                 esac
20170               done
20171               if test $useit = yes; then
20172                 INST_LINGUAS="$INST_LINGUAS $presentlang"
20173               fi
20174             done
20175           fi
20176           CATALOGS=
20177           if test -n "$INST_LINGUAS"; then
20178             for lang in $INST_LINGUAS; do
20179               CATALOGS="$CATALOGS $lang.gmo"
20180             done
20181           fi
20182           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20183           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"
20184           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20185             if test -f "$f"; then
20186               case "$f" in
20187                 *.orig | *.bak | *~) ;;
20188                 *) cat "$f" >> "$ac_dir/Makefile" ;;
20189               esac
20190             fi
20191           done
20192         fi
20193         ;;
20194       esac
20195     done ;;
20196
20197   esac
20198 done # for ac_tag
20199
20200
20201 as_fn_exit 0
20202 _ACEOF
20203 ac_clean_files=$ac_clean_files_save
20204
20205 test $ac_write_fail = 0 ||
20206   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20207
20208
20209 # configure is writing to config.log, and then calls config.status.
20210 # config.status does its own redirection, appending to config.log.
20211 # Unfortunately, on DOS this fails, as config.log is still kept open
20212 # by configure, so config.status won't be able to write to it; its
20213 # output is simply discarded.  So we exec the FD to /dev/null,
20214 # effectively closing config.log, so it can be properly (re)opened and
20215 # appended to by config.status.  When coming back to configure, we
20216 # need to make the FD available again.
20217 if test "$no_create" != yes; then
20218   ac_cs_success=:
20219   ac_config_status_args=
20220   test "$silent" = yes &&
20221     ac_config_status_args="$ac_config_status_args --quiet"
20222   exec 5>/dev/null
20223   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20224   exec 5>>config.log
20225   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20226   # would make configure fail if this is the last instruction.
20227   $ac_cs_success || as_fn_exit 1
20228 fi
20229 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20230   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20231 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20232 fi
20233
20234
20235
20236 echo ""
20237 echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})"
20238
20239 # Global flags
20240 echo ""
20241 echo " • Global:"
20242 echo "        Prefix: ${prefix}"
20243 echo "        Libdir: ${libdir}"
20244 echo "        Sysconfdir: ${sysconfdir}"
20245
20246 # Compiler/Debug related flags
20247 echo ""
20248 echo " • Compiler options:"
20249 echo "        Clutter debug level: ${enable_debug}"
20250 echo "        Compiler flags: ${CFLAGS} ${MAINTAINER_CFLAGS}"
20251 echo "        Profiling enabled: ${enable_profile}"
20252 echo "        Enable coverage tests: ${enable_gcov}"
20253 echo "        Enable deprecated symbols: ${enable_deprecated}"
20254
20255 # Documentation
20256 echo ""
20257 echo " • Documentation:"
20258 echo "        Build API Reference: ${enable_gtk_doc}"
20259 echo "        Build Additional Documentation: ${enable_docs} (Generate PDF: ${enable_pdfs})"
20260
20261 # Miscellaneous
20262 echo ""
20263 echo " • Extra:"
20264 echo "        Build introspection data: ${enable_introspection}"
20265 echo "        Build conformance test suite: ${enable_conformance}"
20266 echo "        Build X11-specific tests: ${x11_tests}"
20267 echo "        Build tests using GDK-Pixbuf: ${pixbuf_tests}"
20268
20269 # Clutter backend related flags
20270 echo ""
20271 echo " • Clutter Backends:"
20272
20273 if test "x$experimental_backend" = "xno"; then
20274 echo "        Windowing systems: ${CLUTTER_BACKENDS}"
20275 else
20276 echo "        Windowing systems: ${CLUTTER_BACKENDS} (WARNING: Experimental backends enabled)"
20277 fi
20278
20279 if test "x$experimental_input_backend" = "xno"; then
20280 echo "        Input backends: ${CLUTTER_INPUT_BACKENDS}"
20281 else
20282 echo "        Input backends: ${CLUTTER_INPUT_BACKENDS} (WARNING: Experimental backends enabled)"
20283 fi
20284
20285 if test "x$SUPPORT_X11" = "x1"; then
20286 echo ""
20287 echo "     - X11 backend options:"
20288 echo "        Enabled extensions: ${X11_EXTS}"
20289 fi
20290
20291 if test "x$SUPPORT_CEX100" = "x1"; then
20292 echo ""
20293 echo "     - CEx100 backend options (WARNING: Experimental):"
20294 echo "        libGDL include prefix: ${CLUTTER_CEX100_LIBGDL_PREFIX}"
20295 fi
20296
20297 if test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"; then
20298 echo ""
20299 echo "     - Wayland compositor support enabled (WARNING: Experimental)"
20300 fi
20301
20302 echo ""
20303
20304 # General warning about experimental features
20305 if test "x$experimental_backend" = "xyes"; then
20306 echo ""
20307 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
20308 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20309 echo ""
20310 echo "  The stability of your build might be affected by one or more"
20311 echo "  experimental backends or experimental and unsupported features"
20312 echo ""
20313 echo "*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*"
20314 echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
20315 echo ""
20316 fi