cleanup specfile for packaging
[profile/ivi/gtk3.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gtk+ 3.4.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B
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='gtk+'
573 PACKAGE_TARNAME='gtk+'
574 PACKAGE_VERSION='3.4.0'
575 PACKAGE_STRING='gtk+ 3.4.0'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B'
577 PACKAGE_URL=''
578
579 ac_unique_file="gdk/gdktypes.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 ac_header_list=
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 GTK_LINK_FLAGS
622 ENABLE_MAN_FALSE
623 ENABLE_MAN_TRUE
624 XMLCATALOG
625 XML_CATALOG_FILE
626 XSLTPROC
627 HAVE_DOCBOOK_FALSE
628 HAVE_DOCBOOK_TRUE
629 DB2HTML
630 GTK_DOC_USE_REBASE_FALSE
631 GTK_DOC_USE_REBASE_TRUE
632 GTK_DOC_USE_LIBTOOL_FALSE
633 GTK_DOC_USE_LIBTOOL_TRUE
634 GTK_DOC_BUILD_PDF_FALSE
635 GTK_DOC_BUILD_PDF_TRUE
636 GTK_DOC_BUILD_HTML_FALSE
637 GTK_DOC_BUILD_HTML_TRUE
638 ENABLE_GTK_DOC_FALSE
639 ENABLE_GTK_DOC_TRUE
640 GTKDOC_DEPS_LIBS
641 GTKDOC_DEPS_CFLAGS
642 HTML_DIR
643 GTKDOC_MKPDF
644 GTKDOC_REBASE
645 GTKDOC_CHECK
646 HAVE_COLORD_FALSE
647 HAVE_COLORD_TRUE
648 COLORD_LIBS
649 COLORD_CFLAGS
650 ENABLE_PACKAGEKIT_FALSE
651 ENABLE_PACKAGEKIT_TRUE
652 HAVE_INTROSPECTION_FALSE
653 HAVE_INTROSPECTION_TRUE
654 INTROSPECTION_MAKEFILE
655 INTROSPECTION_LIBS
656 INTROSPECTION_CFLAGS
657 INTROSPECTION_TYPELIBDIR
658 INTROSPECTION_GIRDIR
659 INTROSPECTION_GENERATE
660 INTROSPECTION_COMPILER
661 INTROSPECTION_SCANNER
662 GSETTINGS_RULES
663 GLIB_COMPILE_SCHEMAS
664 gsettingsschemadir
665 GSETTINGS_DISABLE_SCHEMAS_COMPILE
666 TEST_PRINT_BACKEND_FALSE
667 TEST_PRINT_BACKEND_TRUE
668 HAVE_PAPI_CUPS_FALSE
669 HAVE_PAPI_CUPS_TRUE
670 HAVE_PAPI_FALSE
671 HAVE_PAPI_TRUE
672 HAVE_HTTP_AUTHSTRING
673 CUPS_LIBS
674 CUPS_CFLAGS
675 CUPS_API_MINOR
676 CUPS_API_MAJOR
677 CUPS_CONFIG
678 HAVE_CUPS_FALSE
679 HAVE_CUPS_TRUE
680 GAIL_INET_LIBS
681 GDK_PIXBUF_LIBS
682 GTK_XIM_FLAGS
683 GTK_DEBUG_FLAGS
684 CAIRO_PREFIX
685 PANGO_PREFIX
686 ATK_PREFIX
687 GLIB_PREFIX
688 GTK_DEP_CFLAGS
689 GTK_DEP_LIBS
690 GTK_EXTRA_CFLAGS
691 GTK_EXTRA_LIBS
692 GTK_PRIVATE_PACKAGES
693 GTK_PACKAGES
694 GDK_DEP_CFLAGS
695 GDK_DEP_LIBS
696 GDK_EXTRA_CFLAGS
697 GDK_EXTRA_LIBS
698 GDK_PRIVATE_PACKAGES
699 GDK_PACKAGES
700 USE_X11_FALSE
701 USE_X11_TRUE
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 GDK_PIXBUF_CSOURCE
708 USE_EXTERNAL_ICON_CACHE_FALSE
709 USE_EXTERNAL_ICON_CACHE_TRUE
710 GTK_UPDATE_ICON_CACHE
711 CROSS_COMPILING_FALSE
712 CROSS_COMPILING_TRUE
713 INCLUDE_IM_XIM_FALSE
714 INCLUDE_IM_XIM_TRUE
715 INCLUDE_IM_VIQR_FALSE
716 INCLUDE_IM_VIQR_TRUE
717 INCLUDE_IM_TI_ET_FALSE
718 INCLUDE_IM_TI_ET_TRUE
719 INCLUDE_IM_TI_ER_FALSE
720 INCLUDE_IM_TI_ER_TRUE
721 INCLUDE_IM_THAI_FALSE
722 INCLUDE_IM_THAI_TRUE
723 INCLUDE_IM_MULTIPRESS_FALSE
724 INCLUDE_IM_MULTIPRESS_TRUE
725 INCLUDE_IM_IPA_FALSE
726 INCLUDE_IM_IPA_TRUE
727 INCLUDE_IM_INUKTITUT_FALSE
728 INCLUDE_IM_INUKTITUT_TRUE
729 INCLUDE_IM_IME_FALSE
730 INCLUDE_IM_IME_TRUE
731 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE
732 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE
733 INCLUDE_IM_CEDILLA_FALSE
734 INCLUDE_IM_CEDILLA_TRUE
735 INCLUDE_IM_AM_ET_FALSE
736 INCLUDE_IM_AM_ET_TRUE
737 INCLUDED_IMMODULE_DEFINE
738 INCLUDED_IMMODULE_OBJ
739 HAVE_INCLUDED_IMMMODULES_FALSE
740 HAVE_INCLUDED_IMMMODULES_TRUE
741 BUILD_DYNAMIC_MODULES_FALSE
742 BUILD_DYNAMIC_MODULES_TRUE
743 GLIB_COMPILE_RESOURCES
744 GLIB_MKENUMS
745 GOBJECT_QUERY
746 GLIB_GENMARSHAL
747 GLIB_LIBS
748 GLIB_CFLAGS
749 MATH_LIB
750 MKINSTALLDIRS
751 POSUB
752 POFILES
753 PO_IN_DATADIR_FALSE
754 PO_IN_DATADIR_TRUE
755 INTLLIBS
756 INSTOBJEXT
757 GMOFILES
758 DATADIRNAME
759 CATOBJEXT
760 CATALOGS
761 XGETTEXT
762 GMSGFMT
763 MSGFMT_OPTS
764 MSGFMT
765 USE_NLS
766 REBUILD
767 INDENT
768 PERL
769 DISABLE_EXPLICIT_DEPS_FALSE
770 DISABLE_EXPLICIT_DEPS_TRUE
771 LIBTOOL_EXPORT_OPTIONS
772 GMODULE_LIBS
773 GMODULE_CFLAGS
774 CAIRO_BACKEND_LIBS
775 CAIRO_BACKEND_CFLAGS
776 BASE_DEPENDENCIES_LIBS
777 BASE_DEPENDENCIES_CFLAGS
778 PKG_CONFIG_LIBDIR
779 PKG_CONFIG_PATH
780 PKG_CONFIG
781 GDK_BACKENDS
782 USE_WAYLAND_FALSE
783 USE_WAYLAND_TRUE
784 USE_BROADWAY_FALSE
785 USE_BROADWAY_TRUE
786 USE_QUARTZ_FALSE
787 USE_QUARTZ_TRUE
788 USE_WIN32_FALSE
789 USE_WIN32_TRUE
790 BUILD_ICON_CACHE_FALSE
791 BUILD_ICON_CACHE_TRUE
792 MS_LIB_AVAILABLE_FALSE
793 MS_LIB_AVAILABLE_TRUE
794 ms_librarian
795 WINDRES
796 OS_LINUX_FALSE
797 OS_LINUX_TRUE
798 OS_UNIX_FALSE
799 OS_UNIX_TRUE
800 OS_WIN32_FALSE
801 OS_WIN32_TRUE
802 PLATFORM_WIN32_FALSE
803 PLATFORM_WIN32_TRUE
804 am__fastdepCCAS_FALSE
805 am__fastdepCCAS_TRUE
806 CCASDEPMODE
807 CCASFLAGS
808 CCAS
809 CXXCPP
810 CPP
811 OTOOL64
812 OTOOL
813 LIPO
814 NMEDIT
815 DSYMUTIL
816 MANIFEST_TOOL
817 RANLIB
818 ac_ct_AR
819 AR
820 LN_S
821 NM
822 ac_ct_DUMPBIN
823 DUMPBIN
824 LD
825 FGREP
826 EGREP
827 GREP
828 SED
829 LIBTOOL
830 OBJDUMP
831 DLLTOOL
832 AS
833 HAVE_OBJC_FALSE
834 HAVE_OBJC_TRUE
835 HAVE_CXX_FALSE
836 HAVE_CXX_TRUE
837 am__fastdepCXX_FALSE
838 am__fastdepCXX_TRUE
839 CXXDEPMODE
840 CXXFLAGS
841 ac_ct_CXX
842 CXX
843 EXE_MANIFEST_ARCHITECTURE
844 LIB_EXE_MACHINE_FLAG
845 host_os
846 host_vendor
847 host_cpu
848 host
849 build_os
850 build_vendor
851 build_cpu
852 build
853 GETTEXT_PACKAGE
854 am__fastdepCC_FALSE
855 am__fastdepCC_TRUE
856 CCDEPMODE
857 am__nodep
858 AMDEPBACKSLASH
859 AMDEP_FALSE
860 AMDEP_TRUE
861 am__quote
862 am__include
863 DEPDIR
864 OBJEXT
865 EXEEXT
866 ac_ct_CC
867 CPPFLAGS
868 LDFLAGS
869 CFLAGS
870 CC
871 GAIL_LT_CURRENT_MINUS_AGE
872 GAIL_LT_VERSION_INFO
873 LT_CURRENT_MINUS_AGE
874 LT_VERSION_INFO
875 GTK_BINARY_VERSION
876 GTK_VERSION
877 GTK_API_VERSION
878 GTK_BINARY_AGE
879 GTK_INTERFACE_AGE
880 GTK_MICRO_VERSION
881 GTK_MINOR_VERSION
882 GTK_MAJOR_VERSION
883 AM_BACKSLASH
884 AM_DEFAULT_VERBOSITY
885 AM_DEFAULT_V
886 AM_V
887 MAINT
888 MAINTAINER_MODE_FALSE
889 MAINTAINER_MODE_TRUE
890 am__untar
891 am__tar
892 AMTAR
893 am__leading_dot
894 SET_MAKE
895 AWK
896 mkdir_p
897 MKDIR_P
898 INSTALL_STRIP_PROGRAM
899 STRIP
900 install_sh
901 MAKEINFO
902 AUTOHEADER
903 AUTOMAKE
904 AUTOCONF
905 ACLOCAL
906 VERSION
907 PACKAGE
908 CYGPATH_W
909 am__isrc
910 INSTALL_DATA
911 INSTALL_SCRIPT
912 INSTALL_PROGRAM
913 INTROSPECTION_REQUIRED_VERSION
914 GDK_PIXBUF_REQUIRED_VERSION
915 CAIRO_REQUIRED_VERSION
916 ATK_REQUIRED_VERSION
917 PANGO_REQUIRED_VERSION
918 GLIB_REQUIRED_VERSION
919 target_alias
920 host_alias
921 build_alias
922 LIBS
923 ECHO_T
924 ECHO_N
925 ECHO_C
926 DEFS
927 mandir
928 localedir
929 libdir
930 psdir
931 pdfdir
932 dvidir
933 htmldir
934 infodir
935 docdir
936 oldincludedir
937 includedir
938 localstatedir
939 sharedstatedir
940 sysconfdir
941 datadir
942 datarootdir
943 libexecdir
944 sbindir
945 bindir
946 program_transform_name
947 prefix
948 exec_prefix
949 PACKAGE_URL
950 PACKAGE_BUGREPORT
951 PACKAGE_STRING
952 PACKAGE_VERSION
953 PACKAGE_TARNAME
954 PACKAGE_NAME
955 PATH_SEPARATOR
956 SHELL'
957 ac_subst_files=''
958 ac_user_opts='
959 enable_option_checking
960 enable_maintainer_mode
961 enable_silent_rules
962 enable_dependency_tracking
963 enable_static
964 enable_shared
965 with_pic
966 enable_fast_install
967 with_gnu_ld
968 with_sysroot
969 enable_libtool_lock
970 enable_largefile
971 enable_debug
972 enable_rebuilds
973 enable_gtk2_dependency
974 enable_xkb
975 enable_xinerama
976 enable_xrandr
977 enable_xfixes
978 enable_xcomposite
979 enable_xdamage
980 enable_x11_backend
981 enable_win32_backend
982 enable_quartz_backend
983 enable_broadway_backend
984 enable_wayland_backend
985 enable_quartz_relocation
986 enable_explicit_deps
987 enable_glibtest
988 enable_modules
989 with_included_immodules
990 with_x
991 enable_cups
992 enable_papi
993 enable_test_print_backend
994 enable_schemas_compile
995 enable_introspection
996 enable_packagekit
997 enable_colord
998 with_html_dir
999 enable_gtk_doc
1000 enable_gtk_doc_html
1001 enable_gtk_doc_pdf
1002 enable_man
1003 with_xml_catalog
1004 enable_Bsymbolic
1005 '
1006       ac_precious_vars='build_alias
1007 host_alias
1008 target_alias
1009 CC
1010 CFLAGS
1011 LDFLAGS
1012 LIBS
1013 CPPFLAGS
1014 CXX
1015 CXXFLAGS
1016 CCC
1017 CPP
1018 CXXCPP
1019 CCAS
1020 CCASFLAGS
1021 PKG_CONFIG
1022 PKG_CONFIG_PATH
1023 PKG_CONFIG_LIBDIR
1024 BASE_DEPENDENCIES_CFLAGS
1025 BASE_DEPENDENCIES_LIBS
1026 CAIRO_BACKEND_CFLAGS
1027 CAIRO_BACKEND_LIBS
1028 GMODULE_CFLAGS
1029 GMODULE_LIBS
1030 XMKMF
1031 COLORD_CFLAGS
1032 COLORD_LIBS
1033 GTKDOC_DEPS_CFLAGS
1034 GTKDOC_DEPS_LIBS'
1035
1036
1037 # Initialize some variables set by options.
1038 ac_init_help=
1039 ac_init_version=false
1040 ac_unrecognized_opts=
1041 ac_unrecognized_sep=
1042 # The variables have the same names as the options, with
1043 # dashes changed to underlines.
1044 cache_file=/dev/null
1045 exec_prefix=NONE
1046 no_create=
1047 no_recursion=
1048 prefix=NONE
1049 program_prefix=NONE
1050 program_suffix=NONE
1051 program_transform_name=s,x,x,
1052 silent=
1053 site=
1054 srcdir=
1055 verbose=
1056 x_includes=NONE
1057 x_libraries=NONE
1058
1059 # Installation directory options.
1060 # These are left unexpanded so users can "make install exec_prefix=/foo"
1061 # and all the variables that are supposed to be based on exec_prefix
1062 # by default will actually change.
1063 # Use braces instead of parens because sh, perl, etc. also accept them.
1064 # (The list follows the same order as the GNU Coding Standards.)
1065 bindir='${exec_prefix}/bin'
1066 sbindir='${exec_prefix}/sbin'
1067 libexecdir='${exec_prefix}/libexec'
1068 datarootdir='${prefix}/share'
1069 datadir='${datarootdir}'
1070 sysconfdir='${prefix}/etc'
1071 sharedstatedir='${prefix}/com'
1072 localstatedir='${prefix}/var'
1073 includedir='${prefix}/include'
1074 oldincludedir='/usr/include'
1075 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1076 infodir='${datarootdir}/info'
1077 htmldir='${docdir}'
1078 dvidir='${docdir}'
1079 pdfdir='${docdir}'
1080 psdir='${docdir}'
1081 libdir='${exec_prefix}/lib'
1082 localedir='${datarootdir}/locale'
1083 mandir='${datarootdir}/man'
1084
1085 ac_prev=
1086 ac_dashdash=
1087 for ac_option
1088 do
1089   # If the previous option needs an argument, assign it.
1090   if test -n "$ac_prev"; then
1091     eval $ac_prev=\$ac_option
1092     ac_prev=
1093     continue
1094   fi
1095
1096   case $ac_option in
1097   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1098   *=)   ac_optarg= ;;
1099   *)    ac_optarg=yes ;;
1100   esac
1101
1102   # Accept the important Cygnus configure options, so we can diagnose typos.
1103
1104   case $ac_dashdash$ac_option in
1105   --)
1106     ac_dashdash=yes ;;
1107
1108   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1109     ac_prev=bindir ;;
1110   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1111     bindir=$ac_optarg ;;
1112
1113   -build | --build | --buil | --bui | --bu)
1114     ac_prev=build_alias ;;
1115   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1116     build_alias=$ac_optarg ;;
1117
1118   -cache-file | --cache-file | --cache-fil | --cache-fi \
1119   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1120     ac_prev=cache_file ;;
1121   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1122   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1123     cache_file=$ac_optarg ;;
1124
1125   --config-cache | -C)
1126     cache_file=config.cache ;;
1127
1128   -datadir | --datadir | --datadi | --datad)
1129     ac_prev=datadir ;;
1130   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1131     datadir=$ac_optarg ;;
1132
1133   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1134   | --dataroo | --dataro | --datar)
1135     ac_prev=datarootdir ;;
1136   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1137   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1138     datarootdir=$ac_optarg ;;
1139
1140   -disable-* | --disable-*)
1141     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1142     # Reject names that are not valid shell variable names.
1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144       as_fn_error $? "invalid feature name: $ac_useropt"
1145     ac_useropt_orig=$ac_useropt
1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147     case $ac_user_opts in
1148       *"
1149 "enable_$ac_useropt"
1150 "*) ;;
1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1152          ac_unrecognized_sep=', ';;
1153     esac
1154     eval enable_$ac_useropt=no ;;
1155
1156   -docdir | --docdir | --docdi | --doc | --do)
1157     ac_prev=docdir ;;
1158   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1159     docdir=$ac_optarg ;;
1160
1161   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1162     ac_prev=dvidir ;;
1163   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1164     dvidir=$ac_optarg ;;
1165
1166   -enable-* | --enable-*)
1167     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1168     # Reject names that are not valid shell variable names.
1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170       as_fn_error $? "invalid feature name: $ac_useropt"
1171     ac_useropt_orig=$ac_useropt
1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173     case $ac_user_opts in
1174       *"
1175 "enable_$ac_useropt"
1176 "*) ;;
1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1178          ac_unrecognized_sep=', ';;
1179     esac
1180     eval enable_$ac_useropt=\$ac_optarg ;;
1181
1182   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184   | --exec | --exe | --ex)
1185     ac_prev=exec_prefix ;;
1186   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188   | --exec=* | --exe=* | --ex=*)
1189     exec_prefix=$ac_optarg ;;
1190
1191   -gas | --gas | --ga | --g)
1192     # Obsolete; use --with-gas.
1193     with_gas=yes ;;
1194
1195   -help | --help | --hel | --he | -h)
1196     ac_init_help=long ;;
1197   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198     ac_init_help=recursive ;;
1199   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200     ac_init_help=short ;;
1201
1202   -host | --host | --hos | --ho)
1203     ac_prev=host_alias ;;
1204   -host=* | --host=* | --hos=* | --ho=*)
1205     host_alias=$ac_optarg ;;
1206
1207   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208     ac_prev=htmldir ;;
1209   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210   | --ht=*)
1211     htmldir=$ac_optarg ;;
1212
1213   -includedir | --includedir | --includedi | --included | --include \
1214   | --includ | --inclu | --incl | --inc)
1215     ac_prev=includedir ;;
1216   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217   | --includ=* | --inclu=* | --incl=* | --inc=*)
1218     includedir=$ac_optarg ;;
1219
1220   -infodir | --infodir | --infodi | --infod | --info | --inf)
1221     ac_prev=infodir ;;
1222   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223     infodir=$ac_optarg ;;
1224
1225   -libdir | --libdir | --libdi | --libd)
1226     ac_prev=libdir ;;
1227   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228     libdir=$ac_optarg ;;
1229
1230   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231   | --libexe | --libex | --libe)
1232     ac_prev=libexecdir ;;
1233   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234   | --libexe=* | --libex=* | --libe=*)
1235     libexecdir=$ac_optarg ;;
1236
1237   -localedir | --localedir | --localedi | --localed | --locale)
1238     ac_prev=localedir ;;
1239   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240     localedir=$ac_optarg ;;
1241
1242   -localstatedir | --localstatedir | --localstatedi | --localstated \
1243   | --localstate | --localstat | --localsta | --localst | --locals)
1244     ac_prev=localstatedir ;;
1245   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247     localstatedir=$ac_optarg ;;
1248
1249   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250     ac_prev=mandir ;;
1251   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252     mandir=$ac_optarg ;;
1253
1254   -nfp | --nfp | --nf)
1255     # Obsolete; use --without-fp.
1256     with_fp=no ;;
1257
1258   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259   | --no-cr | --no-c | -n)
1260     no_create=yes ;;
1261
1262   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1264     no_recursion=yes ;;
1265
1266   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268   | --oldin | --oldi | --old | --ol | --o)
1269     ac_prev=oldincludedir ;;
1270   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273     oldincludedir=$ac_optarg ;;
1274
1275   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276     ac_prev=prefix ;;
1277   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278     prefix=$ac_optarg ;;
1279
1280   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281   | --program-pre | --program-pr | --program-p)
1282     ac_prev=program_prefix ;;
1283   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285     program_prefix=$ac_optarg ;;
1286
1287   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288   | --program-suf | --program-su | --program-s)
1289     ac_prev=program_suffix ;;
1290   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292     program_suffix=$ac_optarg ;;
1293
1294   -program-transform-name | --program-transform-name \
1295   | --program-transform-nam | --program-transform-na \
1296   | --program-transform-n | --program-transform- \
1297   | --program-transform | --program-transfor \
1298   | --program-transfo | --program-transf \
1299   | --program-trans | --program-tran \
1300   | --progr-tra | --program-tr | --program-t)
1301     ac_prev=program_transform_name ;;
1302   -program-transform-name=* | --program-transform-name=* \
1303   | --program-transform-nam=* | --program-transform-na=* \
1304   | --program-transform-n=* | --program-transform-=* \
1305   | --program-transform=* | --program-transfor=* \
1306   | --program-transfo=* | --program-transf=* \
1307   | --program-trans=* | --program-tran=* \
1308   | --progr-tra=* | --program-tr=* | --program-t=*)
1309     program_transform_name=$ac_optarg ;;
1310
1311   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312     ac_prev=pdfdir ;;
1313   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314     pdfdir=$ac_optarg ;;
1315
1316   -psdir | --psdir | --psdi | --psd | --ps)
1317     ac_prev=psdir ;;
1318   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1319     psdir=$ac_optarg ;;
1320
1321   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322   | -silent | --silent | --silen | --sile | --sil)
1323     silent=yes ;;
1324
1325   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326     ac_prev=sbindir ;;
1327   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328   | --sbi=* | --sb=*)
1329     sbindir=$ac_optarg ;;
1330
1331   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333   | --sharedst | --shareds | --shared | --share | --shar \
1334   | --sha | --sh)
1335     ac_prev=sharedstatedir ;;
1336   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339   | --sha=* | --sh=*)
1340     sharedstatedir=$ac_optarg ;;
1341
1342   -site | --site | --sit)
1343     ac_prev=site ;;
1344   -site=* | --site=* | --sit=*)
1345     site=$ac_optarg ;;
1346
1347   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348     ac_prev=srcdir ;;
1349   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350     srcdir=$ac_optarg ;;
1351
1352   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353   | --syscon | --sysco | --sysc | --sys | --sy)
1354     ac_prev=sysconfdir ;;
1355   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357     sysconfdir=$ac_optarg ;;
1358
1359   -target | --target | --targe | --targ | --tar | --ta | --t)
1360     ac_prev=target_alias ;;
1361   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362     target_alias=$ac_optarg ;;
1363
1364   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1365     verbose=yes ;;
1366
1367   -version | --version | --versio | --versi | --vers | -V)
1368     ac_init_version=: ;;
1369
1370   -with-* | --with-*)
1371     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372     # Reject names that are not valid shell variable names.
1373     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374       as_fn_error $? "invalid package name: $ac_useropt"
1375     ac_useropt_orig=$ac_useropt
1376     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1377     case $ac_user_opts in
1378       *"
1379 "with_$ac_useropt"
1380 "*) ;;
1381       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1382          ac_unrecognized_sep=', ';;
1383     esac
1384     eval with_$ac_useropt=\$ac_optarg ;;
1385
1386   -without-* | --without-*)
1387     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1388     # Reject names that are not valid shell variable names.
1389     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390       as_fn_error $? "invalid package name: $ac_useropt"
1391     ac_useropt_orig=$ac_useropt
1392     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393     case $ac_user_opts in
1394       *"
1395 "with_$ac_useropt"
1396 "*) ;;
1397       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1398          ac_unrecognized_sep=', ';;
1399     esac
1400     eval with_$ac_useropt=no ;;
1401
1402   --x)
1403     # Obsolete; use --with-x.
1404     with_x=yes ;;
1405
1406   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1407   | --x-incl | --x-inc | --x-in | --x-i)
1408     ac_prev=x_includes ;;
1409   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1410   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1411     x_includes=$ac_optarg ;;
1412
1413   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1414   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1415     ac_prev=x_libraries ;;
1416   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1417   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1418     x_libraries=$ac_optarg ;;
1419
1420   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1421 Try \`$0 --help' for more information"
1422     ;;
1423
1424   *=*)
1425     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1426     # Reject names that are not valid shell variable names.
1427     case $ac_envvar in #(
1428       '' | [0-9]* | *[!_$as_cr_alnum]* )
1429       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1430     esac
1431     eval $ac_envvar=\$ac_optarg
1432     export $ac_envvar ;;
1433
1434   *)
1435     # FIXME: should be removed in autoconf 3.0.
1436     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1437     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1438       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1439     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1440     ;;
1441
1442   esac
1443 done
1444
1445 if test -n "$ac_prev"; then
1446   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1447   as_fn_error $? "missing argument to $ac_option"
1448 fi
1449
1450 if test -n "$ac_unrecognized_opts"; then
1451   case $enable_option_checking in
1452     no) ;;
1453     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1454     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1455   esac
1456 fi
1457
1458 # Check all directory arguments for consistency.
1459 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1460                 datadir sysconfdir sharedstatedir localstatedir includedir \
1461                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1462                 libdir localedir mandir
1463 do
1464   eval ac_val=\$$ac_var
1465   # Remove trailing slashes.
1466   case $ac_val in
1467     */ )
1468       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1469       eval $ac_var=\$ac_val;;
1470   esac
1471   # Be sure to have absolute directory names.
1472   case $ac_val in
1473     [\\/$]* | ?:[\\/]* )  continue;;
1474     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1475   esac
1476   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1477 done
1478
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1482 build=$build_alias
1483 host=$host_alias
1484 target=$target_alias
1485
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x; then
1488   if test "x$build_alias" = x; then
1489     cross_compiling=maybe
1490     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1491     If a cross compiler is detected then cross compile mode will be used" >&2
1492   elif test "x$build_alias" != "x$host_alias"; then
1493     cross_compiling=yes
1494   fi
1495 fi
1496
1497 ac_tool_prefix=
1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1499
1500 test "$silent" = yes && exec 6>/dev/null
1501
1502
1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di=`ls -di .` &&
1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506   as_fn_error $? "working directory cannot be determined"
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508   as_fn_error $? "pwd does not report name of working directory"
1509
1510
1511 # Find the source files, if location was not specified.
1512 if test -z "$srcdir"; then
1513   ac_srcdir_defaulted=yes
1514   # Try the directory containing this script, then the parent directory.
1515   ac_confdir=`$as_dirname -- "$as_myself" ||
1516 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1517          X"$as_myself" : 'X\(//\)[^/]' \| \
1518          X"$as_myself" : 'X\(//\)$' \| \
1519          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1520 $as_echo X"$as_myself" |
1521     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1522             s//\1/
1523             q
1524           }
1525           /^X\(\/\/\)[^/].*/{
1526             s//\1/
1527             q
1528           }
1529           /^X\(\/\/\)$/{
1530             s//\1/
1531             q
1532           }
1533           /^X\(\/\).*/{
1534             s//\1/
1535             q
1536           }
1537           s/.*/./; q'`
1538   srcdir=$ac_confdir
1539   if test ! -r "$srcdir/$ac_unique_file"; then
1540     srcdir=..
1541   fi
1542 else
1543   ac_srcdir_defaulted=no
1544 fi
1545 if test ! -r "$srcdir/$ac_unique_file"; then
1546   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1547   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1548 fi
1549 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1550 ac_abs_confdir=`(
1551         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1552         pwd)`
1553 # When building in place, set srcdir=.
1554 if test "$ac_abs_confdir" = "$ac_pwd"; then
1555   srcdir=.
1556 fi
1557 # Remove unnecessary trailing slashes from srcdir.
1558 # Double slashes in file names in object file debugging info
1559 # mess up M-x gdb in Emacs.
1560 case $srcdir in
1561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1562 esac
1563 for ac_var in $ac_precious_vars; do
1564   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565   eval ac_env_${ac_var}_value=\$${ac_var}
1566   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1568 done
1569
1570 #
1571 # Report the --help message.
1572 #
1573 if test "$ac_init_help" = "long"; then
1574   # Omit some internal or obsolete options to make the list less imposing.
1575   # This message is too long to be a string in the A/UX 3.1 sh.
1576   cat <<_ACEOF
1577 \`configure' configures gtk+ 3.4.0 to adapt to many kinds of systems.
1578
1579 Usage: $0 [OPTION]... [VAR=VALUE]...
1580
1581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582 VAR=VALUE.  See below for descriptions of some of the useful variables.
1583
1584 Defaults for the options are specified in brackets.
1585
1586 Configuration:
1587   -h, --help              display this help and exit
1588       --help=short        display options specific to this package
1589       --help=recursive    display the short help of all the included packages
1590   -V, --version           display version information and exit
1591   -q, --quiet, --silent   do not print \`checking ...' messages
1592       --cache-file=FILE   cache test results in FILE [disabled]
1593   -C, --config-cache      alias for \`--cache-file=config.cache'
1594   -n, --no-create         do not create output files
1595       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1596
1597 Installation directories:
1598   --prefix=PREFIX         install architecture-independent files in PREFIX
1599                           [$ac_default_prefix]
1600   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1601                           [PREFIX]
1602
1603 By default, \`make install' will install all the files in
1604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606 for instance \`--prefix=\$HOME'.
1607
1608 For better control, use the options below.
1609
1610 Fine tuning of the installation directories:
1611   --bindir=DIR            user executables [EPREFIX/bin]
1612   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1613   --libexecdir=DIR        program executables [EPREFIX/libexec]
1614   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1615   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1616   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1617   --libdir=DIR            object code libraries [EPREFIX/lib]
1618   --includedir=DIR        C header files [PREFIX/include]
1619   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1620   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1621   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1622   --infodir=DIR           info documentation [DATAROOTDIR/info]
1623   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1624   --mandir=DIR            man documentation [DATAROOTDIR/man]
1625   --docdir=DIR            documentation root [DATAROOTDIR/doc/gtk+]
1626   --htmldir=DIR           html documentation [DOCDIR]
1627   --dvidir=DIR            dvi documentation [DOCDIR]
1628   --pdfdir=DIR            pdf documentation [DOCDIR]
1629   --psdir=DIR             ps documentation [DOCDIR]
1630 _ACEOF
1631
1632   cat <<\_ACEOF
1633
1634 Program names:
1635   --program-prefix=PREFIX            prepend PREFIX to installed program names
1636   --program-suffix=SUFFIX            append SUFFIX to installed program names
1637   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1638
1639 X features:
1640   --x-includes=DIR    X include files are in DIR
1641   --x-libraries=DIR   X library files are in DIR
1642
1643 System types:
1644   --build=BUILD     configure for building on BUILD [guessed]
1645   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1646 _ACEOF
1647 fi
1648
1649 if test -n "$ac_init_help"; then
1650   case $ac_init_help in
1651      short | recursive ) echo "Configuration of gtk+ 3.4.0:";;
1652    esac
1653   cat <<\_ACEOF
1654
1655 Optional Features:
1656   --disable-option-checking  ignore unrecognized --enable/--with options
1657   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1658   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1659   --disable-maintainer-mode  disable make rules and dependencies not useful
1660                           (and sometimes confusing) to the casual installer
1661   --enable-silent-rules          less verbose build output (undo: `make V=1')
1662   --disable-silent-rules         verbose build output (undo: `make V=0')
1663   --disable-dependency-tracking  speeds up one-time build
1664   --enable-dependency-tracking   do not reject slow dependency extractors
1665   --enable-static[=PKGS]  build static libraries [default=no]
1666   --enable-shared[=PKGS]  build shared libraries [default=yes]
1667   --enable-fast-install[=PKGS]
1668                           optimize for fast installation [default=yes]
1669   --disable-libtool-lock  avoid locking (might break parallel builds)
1670   --disable-largefile     omit support for large files
1671   --enable-debug=[no/minimum/yes]
1672                           turn on debugging [default=debug_default]
1673   --disable-rebuilds      disable all source autogeneration rules
1674   --enable-gtk2-dependency
1675                           Do not build gtk-update-icon-cache and other shared
1676                           tools
1677   --enable-xkb            support XKB extension [default=maybe]
1678   --enable-xinerama       support Xinerama extension [default=maybe]
1679   --enable-xrandr         support XRandR extension [default=maybe]
1680   --enable-xfixes         support XFixes extension [default=maybe]
1681   --enable-xcomposite     support X Composite extension [default=maybe]
1682   --enable-xdamage        support X Damage extension [default=maybe]
1683   --enable-x11-backend    enable the X11 gdk backend
1684   --enable-win32-backend  enable the Win32 gdk backend
1685   --enable-quartz-backend enable the quartz gdk backend
1686   --enable-broadway-backend
1687                           enable the broadway (HTML5) gdk backend
1688   --enable-wayland-backend
1689                           enable the wayland gdk backend
1690   --enable-quartz-relocation
1691                           enable bundle-based relocation functions
1692   --enable-explicit-deps=[yes/no/auto]
1693                           use explicit dependencies in .pc files
1694                           [default=auto]
1695   --disable-glibtest      do not try to compile and run a test GLIB program
1696   --disable-modules       disable dynamic module loading
1697   --disable-cups          disable cups print backend
1698   --disable-papi          disable papi print backend
1699   --enable-test-print-backend
1700                           build test print backend
1701   --disable-schemas-compile
1702                           Disable regeneration of gschemas.compiled on install
1703   --enable-introspection=[no/auto/yes]
1704                           Enable introspection for this build
1705   --enable-packagekit=[yes/no/auto]
1706                           build PackageKit open-with module [default=auto]
1707   --enable-colord=[yes/no/auto]
1708                           build colord support code [default=auto]
1709   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1710   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1711   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1712   --enable-man            regenerate man pages from Docbook [default=no]
1713   --disable-Bsymbolic     avoid linking with -Bsymbolic
1714
1715 Optional Packages:
1716   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1717   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1718   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1719                           both]
1720   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1721   --with-sysroot=DIR Search for dependent libraries within DIR
1722                         (or the compiler's sysroot if not specified).
1723   --with-included-immodules=MODULE1,MODULE2,...
1724                           build the specified input methods into gtk
1725   --with-x                use the X Window System
1726   --with-html-dir=PATH    path to installed docs
1727   --with-xml-catalog=CATALOG
1728                           path to xml catalog to use
1729
1730 Some influential environment variables:
1731   CC          C compiler command
1732   CFLAGS      C compiler flags
1733   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1734               nonstandard directory <lib dir>
1735   LIBS        libraries to pass to the linker, e.g. -l<library>
1736   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1737               you have headers in a nonstandard directory <include dir>
1738   CXX         C++ compiler command
1739   CXXFLAGS    C++ compiler flags
1740   CPP         C preprocessor
1741   CXXCPP      C++ preprocessor
1742   CCAS        assembler compiler command (defaults to CC)
1743   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1744   PKG_CONFIG  path to pkg-config utility
1745   PKG_CONFIG_PATH
1746               directories to add to pkg-config's search path
1747   PKG_CONFIG_LIBDIR
1748               path overriding pkg-config's built-in search path
1749   BASE_DEPENDENCIES_CFLAGS
1750               C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
1751   BASE_DEPENDENCIES_LIBS
1752               linker flags for BASE_DEPENDENCIES, overriding pkg-config
1753   CAIRO_BACKEND_CFLAGS
1754               C compiler flags for CAIRO_BACKEND, overriding pkg-config
1755   CAIRO_BACKEND_LIBS
1756               linker flags for CAIRO_BACKEND, overriding pkg-config
1757   GMODULE_CFLAGS
1758               C compiler flags for GMODULE, overriding pkg-config
1759   GMODULE_LIBS
1760               linker flags for GMODULE, overriding pkg-config
1761   XMKMF       Path to xmkmf, Makefile generator for X Window System
1762   COLORD_CFLAGS
1763               C compiler flags for COLORD, overriding pkg-config
1764   COLORD_LIBS linker flags for COLORD, overriding pkg-config
1765   GTKDOC_DEPS_CFLAGS
1766               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1767   GTKDOC_DEPS_LIBS
1768               linker flags for GTKDOC_DEPS, overriding pkg-config
1769
1770 Use these variables to override the choices made by `configure' or to help
1771 it to find libraries and programs with nonstandard names/locations.
1772
1773 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
1774 _ACEOF
1775 ac_status=$?
1776 fi
1777
1778 if test "$ac_init_help" = "recursive"; then
1779   # If there are subdirs, report their specific --help.
1780   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1781     test -d "$ac_dir" ||
1782       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1783       continue
1784     ac_builddir=.
1785
1786 case "$ac_dir" in
1787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1788 *)
1789   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1790   # A ".." for each directory in $ac_dir_suffix.
1791   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1792   case $ac_top_builddir_sub in
1793   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1794   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1795   esac ;;
1796 esac
1797 ac_abs_top_builddir=$ac_pwd
1798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1799 # for backward compatibility:
1800 ac_top_builddir=$ac_top_build_prefix
1801
1802 case $srcdir in
1803   .)  # We are building in place.
1804     ac_srcdir=.
1805     ac_top_srcdir=$ac_top_builddir_sub
1806     ac_abs_top_srcdir=$ac_pwd ;;
1807   [\\/]* | ?:[\\/]* )  # Absolute name.
1808     ac_srcdir=$srcdir$ac_dir_suffix;
1809     ac_top_srcdir=$srcdir
1810     ac_abs_top_srcdir=$srcdir ;;
1811   *) # Relative name.
1812     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1813     ac_top_srcdir=$ac_top_build_prefix$srcdir
1814     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1815 esac
1816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1817
1818     cd "$ac_dir" || { ac_status=$?; continue; }
1819     # Check for guested configure.
1820     if test -f "$ac_srcdir/configure.gnu"; then
1821       echo &&
1822       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1823     elif test -f "$ac_srcdir/configure"; then
1824       echo &&
1825       $SHELL "$ac_srcdir/configure" --help=recursive
1826     else
1827       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1828     fi || ac_status=$?
1829     cd "$ac_pwd" || { ac_status=$?; break; }
1830   done
1831 fi
1832
1833 test -n "$ac_init_help" && exit $ac_status
1834 if $ac_init_version; then
1835   cat <<\_ACEOF
1836 gtk+ configure 3.4.0
1837 generated by GNU Autoconf 2.68
1838
1839 Copyright (C) 2010 Free Software Foundation, Inc.
1840 This configure script is free software; the Free Software Foundation
1841 gives unlimited permission to copy, distribute and modify it.
1842 _ACEOF
1843   exit
1844 fi
1845
1846 ## ------------------------ ##
1847 ## Autoconf initialization. ##
1848 ## ------------------------ ##
1849
1850 # ac_fn_c_try_compile LINENO
1851 # --------------------------
1852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_c_try_compile ()
1854 {
1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856   rm -f conftest.$ac_objext
1857   if { { ac_try="$ac_compile"
1858 case "(($ac_try" in
1859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860   *) ac_try_echo=$ac_try;;
1861 esac
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864   (eval "$ac_compile") 2>conftest.err
1865   ac_status=$?
1866   if test -s conftest.err; then
1867     grep -v '^ *+' conftest.err >conftest.er1
1868     cat conftest.er1 >&5
1869     mv -f conftest.er1 conftest.err
1870   fi
1871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872   test $ac_status = 0; } && {
1873          test -z "$ac_c_werror_flag" ||
1874          test ! -s conftest.err
1875        } && test -s conftest.$ac_objext; then :
1876   ac_retval=0
1877 else
1878   $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1880
1881         ac_retval=1
1882 fi
1883   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884   as_fn_set_status $ac_retval
1885
1886 } # ac_fn_c_try_compile
1887
1888 # ac_fn_cxx_try_compile LINENO
1889 # ----------------------------
1890 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1891 ac_fn_cxx_try_compile ()
1892 {
1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894   rm -f conftest.$ac_objext
1895   if { { ac_try="$ac_compile"
1896 case "(($ac_try" in
1897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898   *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902   (eval "$ac_compile") 2>conftest.err
1903   ac_status=$?
1904   if test -s conftest.err; then
1905     grep -v '^ *+' conftest.err >conftest.er1
1906     cat conftest.er1 >&5
1907     mv -f conftest.er1 conftest.err
1908   fi
1909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910   test $ac_status = 0; } && {
1911          test -z "$ac_cxx_werror_flag" ||
1912          test ! -s conftest.err
1913        } && test -s conftest.$ac_objext; then :
1914   ac_retval=0
1915 else
1916   $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1918
1919         ac_retval=1
1920 fi
1921   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922   as_fn_set_status $ac_retval
1923
1924 } # ac_fn_cxx_try_compile
1925
1926 # ac_fn_c_try_link LINENO
1927 # -----------------------
1928 # Try to link conftest.$ac_ext, and return whether this succeeded.
1929 ac_fn_c_try_link ()
1930 {
1931   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932   rm -f conftest.$ac_objext conftest$ac_exeext
1933   if { { ac_try="$ac_link"
1934 case "(($ac_try" in
1935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936   *) ac_try_echo=$ac_try;;
1937 esac
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940   (eval "$ac_link") 2>conftest.err
1941   ac_status=$?
1942   if test -s conftest.err; then
1943     grep -v '^ *+' conftest.err >conftest.er1
1944     cat conftest.er1 >&5
1945     mv -f conftest.er1 conftest.err
1946   fi
1947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948   test $ac_status = 0; } && {
1949          test -z "$ac_c_werror_flag" ||
1950          test ! -s conftest.err
1951        } && test -s conftest$ac_exeext && {
1952          test "$cross_compiling" = yes ||
1953          $as_test_x conftest$ac_exeext
1954        }; then :
1955   ac_retval=0
1956 else
1957   $as_echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.$ac_ext >&5
1959
1960         ac_retval=1
1961 fi
1962   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1963   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1964   # interfere with the next link command; also delete a directory that is
1965   # left behind by Apple's compiler.  We do this before executing the actions.
1966   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968   as_fn_set_status $ac_retval
1969
1970 } # ac_fn_c_try_link
1971
1972 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1973 # -------------------------------------------------------
1974 # Tests whether HEADER exists and can be compiled using the include files in
1975 # INCLUDES, setting the cache variable VAR accordingly.
1976 ac_fn_c_check_header_compile ()
1977 {
1978   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 $as_echo_n "checking for $2... " >&6; }
1981 if eval \${$3+:} false; then :
1982   $as_echo_n "(cached) " >&6
1983 else
1984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h.  */
1986 $4
1987 #include <$2>
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990   eval "$3=yes"
1991 else
1992   eval "$3=no"
1993 fi
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 fi
1996 eval ac_res=\$$3
1997                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998 $as_echo "$ac_res" >&6; }
1999   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000
2001 } # ac_fn_c_check_header_compile
2002
2003 # ac_fn_c_try_cpp LINENO
2004 # ----------------------
2005 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2006 ac_fn_c_try_cpp ()
2007 {
2008   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009   if { { ac_try="$ac_cpp conftest.$ac_ext"
2010 case "(($ac_try" in
2011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2012   *) ac_try_echo=$ac_try;;
2013 esac
2014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2015 $as_echo "$ac_try_echo"; } >&5
2016   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2017   ac_status=$?
2018   if test -s conftest.err; then
2019     grep -v '^ *+' conftest.err >conftest.er1
2020     cat conftest.er1 >&5
2021     mv -f conftest.er1 conftest.err
2022   fi
2023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2024   test $ac_status = 0; } > conftest.i && {
2025          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2026          test ! -s conftest.err
2027        }; then :
2028   ac_retval=0
2029 else
2030   $as_echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2032
2033     ac_retval=1
2034 fi
2035   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036   as_fn_set_status $ac_retval
2037
2038 } # ac_fn_c_try_cpp
2039
2040 # ac_fn_c_try_run LINENO
2041 # ----------------------
2042 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2043 # that executables *can* be run.
2044 ac_fn_c_try_run ()
2045 {
2046   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047   if { { ac_try="$ac_link"
2048 case "(($ac_try" in
2049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050   *) ac_try_echo=$ac_try;;
2051 esac
2052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053 $as_echo "$ac_try_echo"; } >&5
2054   (eval "$ac_link") 2>&5
2055   ac_status=$?
2056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2058   { { case "(($ac_try" in
2059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060   *) ac_try_echo=$ac_try;;
2061 esac
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064   (eval "$ac_try") 2>&5
2065   ac_status=$?
2066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067   test $ac_status = 0; }; }; then :
2068   ac_retval=0
2069 else
2070   $as_echo "$as_me: program exited with status $ac_status" >&5
2071        $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.$ac_ext >&5
2073
2074        ac_retval=$ac_status
2075 fi
2076   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2077   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078   as_fn_set_status $ac_retval
2079
2080 } # ac_fn_c_try_run
2081
2082 # ac_fn_c_check_func LINENO FUNC VAR
2083 # ----------------------------------
2084 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2085 ac_fn_c_check_func ()
2086 {
2087   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089 $as_echo_n "checking for $2... " >&6; }
2090 if eval \${$3+:} false; then :
2091   $as_echo_n "(cached) " >&6
2092 else
2093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h.  */
2095 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2097 #define $2 innocuous_$2
2098
2099 /* System header to define __stub macros and hopefully few prototypes,
2100     which can conflict with char $2 (); below.
2101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2102     <limits.h> exists even on freestanding compilers.  */
2103
2104 #ifdef __STDC__
2105 # include <limits.h>
2106 #else
2107 # include <assert.h>
2108 #endif
2109
2110 #undef $2
2111
2112 /* Override any GCC internal prototype to avoid an error.
2113    Use char because int might match the return type of a GCC
2114    builtin and then its argument prototype would still apply.  */
2115 #ifdef __cplusplus
2116 extern "C"
2117 #endif
2118 char $2 ();
2119 /* The GNU C library defines this for functions which it implements
2120     to always fail with ENOSYS.  Some functions are actually named
2121     something starting with __ and the normal name is an alias.  */
2122 #if defined __stub_$2 || defined __stub___$2
2123 choke me
2124 #endif
2125
2126 int
2127 main ()
2128 {
2129 return $2 ();
2130   ;
2131   return 0;
2132 }
2133 _ACEOF
2134 if ac_fn_c_try_link "$LINENO"; then :
2135   eval "$3=yes"
2136 else
2137   eval "$3=no"
2138 fi
2139 rm -f core conftest.err conftest.$ac_objext \
2140     conftest$ac_exeext conftest.$ac_ext
2141 fi
2142 eval ac_res=\$$3
2143                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2144 $as_echo "$ac_res" >&6; }
2145   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2146
2147 } # ac_fn_c_check_func
2148
2149 # ac_fn_cxx_try_cpp LINENO
2150 # ------------------------
2151 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2152 ac_fn_cxx_try_cpp ()
2153 {
2154   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155   if { { ac_try="$ac_cpp conftest.$ac_ext"
2156 case "(($ac_try" in
2157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158   *) ac_try_echo=$ac_try;;
2159 esac
2160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2161 $as_echo "$ac_try_echo"; } >&5
2162   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2163   ac_status=$?
2164   if test -s conftest.err; then
2165     grep -v '^ *+' conftest.err >conftest.er1
2166     cat conftest.er1 >&5
2167     mv -f conftest.er1 conftest.err
2168   fi
2169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2170   test $ac_status = 0; } > conftest.i && {
2171          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2172          test ! -s conftest.err
2173        }; then :
2174   ac_retval=0
2175 else
2176   $as_echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.$ac_ext >&5
2178
2179     ac_retval=1
2180 fi
2181   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182   as_fn_set_status $ac_retval
2183
2184 } # ac_fn_cxx_try_cpp
2185
2186 # ac_fn_cxx_try_link LINENO
2187 # -------------------------
2188 # Try to link conftest.$ac_ext, and return whether this succeeded.
2189 ac_fn_cxx_try_link ()
2190 {
2191   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192   rm -f conftest.$ac_objext conftest$ac_exeext
2193   if { { ac_try="$ac_link"
2194 case "(($ac_try" in
2195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2196   *) ac_try_echo=$ac_try;;
2197 esac
2198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2199 $as_echo "$ac_try_echo"; } >&5
2200   (eval "$ac_link") 2>conftest.err
2201   ac_status=$?
2202   if test -s conftest.err; then
2203     grep -v '^ *+' conftest.err >conftest.er1
2204     cat conftest.er1 >&5
2205     mv -f conftest.er1 conftest.err
2206   fi
2207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2208   test $ac_status = 0; } && {
2209          test -z "$ac_cxx_werror_flag" ||
2210          test ! -s conftest.err
2211        } && test -s conftest$ac_exeext && {
2212          test "$cross_compiling" = yes ||
2213          $as_test_x conftest$ac_exeext
2214        }; then :
2215   ac_retval=0
2216 else
2217   $as_echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.$ac_ext >&5
2219
2220         ac_retval=1
2221 fi
2222   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2223   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2224   # interfere with the next link command; also delete a directory that is
2225   # left behind by Apple's compiler.  We do this before executing the actions.
2226   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2227   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2228   as_fn_set_status $ac_retval
2229
2230 } # ac_fn_cxx_try_link
2231
2232 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2233 # -------------------------------------------------------
2234 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2235 # the include files in INCLUDES and setting the cache variable VAR
2236 # accordingly.
2237 ac_fn_c_check_header_mongrel ()
2238 {
2239   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240   if eval \${$3+:} false; then :
2241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2242 $as_echo_n "checking for $2... " >&6; }
2243 if eval \${$3+:} false; then :
2244   $as_echo_n "(cached) " >&6
2245 fi
2246 eval ac_res=\$$3
2247                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 else
2250   # Is the header compilable?
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2252 $as_echo_n "checking $2 usability... " >&6; }
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h.  */
2255 $4
2256 #include <$2>
2257 _ACEOF
2258 if ac_fn_c_try_compile "$LINENO"; then :
2259   ac_header_compiler=yes
2260 else
2261   ac_header_compiler=no
2262 fi
2263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2265 $as_echo "$ac_header_compiler" >&6; }
2266
2267 # Is the header present?
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2269 $as_echo_n "checking $2 presence... " >&6; }
2270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h.  */
2272 #include <$2>
2273 _ACEOF
2274 if ac_fn_c_try_cpp "$LINENO"; then :
2275   ac_header_preproc=yes
2276 else
2277   ac_header_preproc=no
2278 fi
2279 rm -f conftest.err conftest.i conftest.$ac_ext
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2281 $as_echo "$ac_header_preproc" >&6; }
2282
2283 # So?  What about this header?
2284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2285   yes:no: )
2286     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2287 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2288     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2289 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2290     ;;
2291   no:yes:* )
2292     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2293 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2294     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2295 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2296     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2297 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2298     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2299 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2300     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2301 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2302 ( $as_echo "## --------------------------------------------------------------------- ##
2303 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B ##
2304 ## --------------------------------------------------------------------- ##"
2305      ) | sed "s/^/$as_me: WARNING:     /" >&2
2306     ;;
2307 esac
2308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2309 $as_echo_n "checking for $2... " >&6; }
2310 if eval \${$3+:} false; then :
2311   $as_echo_n "(cached) " >&6
2312 else
2313   eval "$3=\$ac_header_compiler"
2314 fi
2315 eval ac_res=\$$3
2316                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 fi
2319   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320
2321 } # ac_fn_c_check_header_mongrel
2322
2323 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2324 # ----------------------------------------------------
2325 # Tries to find if the field MEMBER exists in type AGGR, after including
2326 # INCLUDES, setting cache variable VAR accordingly.
2327 ac_fn_c_check_member ()
2328 {
2329   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2331 $as_echo_n "checking for $2.$3... " >&6; }
2332 if eval \${$4+:} false; then :
2333   $as_echo_n "(cached) " >&6
2334 else
2335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h.  */
2337 $5
2338 int
2339 main ()
2340 {
2341 static $2 ac_aggr;
2342 if (ac_aggr.$3)
2343 return 0;
2344   ;
2345   return 0;
2346 }
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349   eval "$4=yes"
2350 else
2351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h.  */
2353 $5
2354 int
2355 main ()
2356 {
2357 static $2 ac_aggr;
2358 if (sizeof ac_aggr.$3)
2359 return 0;
2360   ;
2361   return 0;
2362 }
2363 _ACEOF
2364 if ac_fn_c_try_compile "$LINENO"; then :
2365   eval "$4=yes"
2366 else
2367   eval "$4=no"
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 fi
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 fi
2373 eval ac_res=\$$4
2374                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2375 $as_echo "$ac_res" >&6; }
2376   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2377
2378 } # ac_fn_c_check_member
2379
2380 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2381 # -------------------------------------------
2382 # Tests whether TYPE exists after having included INCLUDES, setting cache
2383 # variable VAR accordingly.
2384 ac_fn_c_check_type ()
2385 {
2386   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2388 $as_echo_n "checking for $2... " >&6; }
2389 if eval \${$3+:} false; then :
2390   $as_echo_n "(cached) " >&6
2391 else
2392   eval "$3=no"
2393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h.  */
2395 $4
2396 int
2397 main ()
2398 {
2399 if (sizeof ($2))
2400          return 0;
2401   ;
2402   return 0;
2403 }
2404 _ACEOF
2405 if ac_fn_c_try_compile "$LINENO"; then :
2406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h.  */
2408 $4
2409 int
2410 main ()
2411 {
2412 if (sizeof (($2)))
2413             return 0;
2414   ;
2415   return 0;
2416 }
2417 _ACEOF
2418 if ac_fn_c_try_compile "$LINENO"; then :
2419
2420 else
2421   eval "$3=yes"
2422 fi
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424 fi
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 fi
2427 eval ac_res=\$$3
2428                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2429 $as_echo "$ac_res" >&6; }
2430   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2431
2432 } # ac_fn_c_check_type
2433 cat >config.log <<_ACEOF
2434 This file contains any messages produced by compilers while
2435 running configure, to aid debugging if configure makes a mistake.
2436
2437 It was created by gtk+ $as_me 3.4.0, which was
2438 generated by GNU Autoconf 2.68.  Invocation command line was
2439
2440   $ $0 $@
2441
2442 _ACEOF
2443 exec 5>>config.log
2444 {
2445 cat <<_ASUNAME
2446 ## --------- ##
2447 ## Platform. ##
2448 ## --------- ##
2449
2450 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2451 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2452 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2453 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2454 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2455
2456 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2457 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2458
2459 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2460 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2461 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2462 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2463 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2464 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2465 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2466
2467 _ASUNAME
2468
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2471 do
2472   IFS=$as_save_IFS
2473   test -z "$as_dir" && as_dir=.
2474     $as_echo "PATH: $as_dir"
2475   done
2476 IFS=$as_save_IFS
2477
2478 } >&5
2479
2480 cat >&5 <<_ACEOF
2481
2482
2483 ## ----------- ##
2484 ## Core tests. ##
2485 ## ----------- ##
2486
2487 _ACEOF
2488
2489
2490 # Keep a trace of the command line.
2491 # Strip out --no-create and --no-recursion so they do not pile up.
2492 # Strip out --silent because we don't want to record it for future runs.
2493 # Also quote any args containing shell meta-characters.
2494 # Make two passes to allow for proper duplicate-argument suppression.
2495 ac_configure_args=
2496 ac_configure_args0=
2497 ac_configure_args1=
2498 ac_must_keep_next=false
2499 for ac_pass in 1 2
2500 do
2501   for ac_arg
2502   do
2503     case $ac_arg in
2504     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2505     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2506     | -silent | --silent | --silen | --sile | --sil)
2507       continue ;;
2508     *\'*)
2509       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2510     esac
2511     case $ac_pass in
2512     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2513     2)
2514       as_fn_append ac_configure_args1 " '$ac_arg'"
2515       if test $ac_must_keep_next = true; then
2516         ac_must_keep_next=false # Got value, back to normal.
2517       else
2518         case $ac_arg in
2519           *=* | --config-cache | -C | -disable-* | --disable-* \
2520           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2521           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2522           | -with-* | --with-* | -without-* | --without-* | --x)
2523             case "$ac_configure_args0 " in
2524               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2525             esac
2526             ;;
2527           -* ) ac_must_keep_next=true ;;
2528         esac
2529       fi
2530       as_fn_append ac_configure_args " '$ac_arg'"
2531       ;;
2532     esac
2533   done
2534 done
2535 { ac_configure_args0=; unset ac_configure_args0;}
2536 { ac_configure_args1=; unset ac_configure_args1;}
2537
2538 # When interrupted or exit'd, cleanup temporary files, and complete
2539 # config.log.  We remove comments because anyway the quotes in there
2540 # would cause problems or look ugly.
2541 # WARNING: Use '\'' to represent an apostrophe within the trap.
2542 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2543 trap 'exit_status=$?
2544   # Save into config.log some information that might help in debugging.
2545   {
2546     echo
2547
2548     $as_echo "## ---------------- ##
2549 ## Cache variables. ##
2550 ## ---------------- ##"
2551     echo
2552     # The following way of writing the cache mishandles newlines in values,
2553 (
2554   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2555     eval ac_val=\$$ac_var
2556     case $ac_val in #(
2557     *${as_nl}*)
2558       case $ac_var in #(
2559       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2561       esac
2562       case $ac_var in #(
2563       _ | IFS | as_nl) ;; #(
2564       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2565       *) { eval $ac_var=; unset $ac_var;} ;;
2566       esac ;;
2567     esac
2568   done
2569   (set) 2>&1 |
2570     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2571     *${as_nl}ac_space=\ *)
2572       sed -n \
2573         "s/'\''/'\''\\\\'\'''\''/g;
2574           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2575       ;; #(
2576     *)
2577       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2578       ;;
2579     esac |
2580     sort
2581 )
2582     echo
2583
2584     $as_echo "## ----------------- ##
2585 ## Output variables. ##
2586 ## ----------------- ##"
2587     echo
2588     for ac_var in $ac_subst_vars
2589     do
2590       eval ac_val=\$$ac_var
2591       case $ac_val in
2592       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2593       esac
2594       $as_echo "$ac_var='\''$ac_val'\''"
2595     done | sort
2596     echo
2597
2598     if test -n "$ac_subst_files"; then
2599       $as_echo "## ------------------- ##
2600 ## File substitutions. ##
2601 ## ------------------- ##"
2602       echo
2603       for ac_var in $ac_subst_files
2604       do
2605         eval ac_val=\$$ac_var
2606         case $ac_val in
2607         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2608         esac
2609         $as_echo "$ac_var='\''$ac_val'\''"
2610       done | sort
2611       echo
2612     fi
2613
2614     if test -s confdefs.h; then
2615       $as_echo "## ----------- ##
2616 ## confdefs.h. ##
2617 ## ----------- ##"
2618       echo
2619       cat confdefs.h
2620       echo
2621     fi
2622     test "$ac_signal" != 0 &&
2623       $as_echo "$as_me: caught signal $ac_signal"
2624     $as_echo "$as_me: exit $exit_status"
2625   } >&5
2626   rm -f core *.core core.conftest.* &&
2627     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2628     exit $exit_status
2629 ' 0
2630 for ac_signal in 1 2 13 15; do
2631   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2632 done
2633 ac_signal=0
2634
2635 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2636 rm -f -r conftest* confdefs.h
2637
2638 $as_echo "/* confdefs.h */" > confdefs.h
2639
2640 # Predefined preprocessor variables.
2641
2642 cat >>confdefs.h <<_ACEOF
2643 #define PACKAGE_NAME "$PACKAGE_NAME"
2644 _ACEOF
2645
2646 cat >>confdefs.h <<_ACEOF
2647 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2648 _ACEOF
2649
2650 cat >>confdefs.h <<_ACEOF
2651 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2652 _ACEOF
2653
2654 cat >>confdefs.h <<_ACEOF
2655 #define PACKAGE_STRING "$PACKAGE_STRING"
2656 _ACEOF
2657
2658 cat >>confdefs.h <<_ACEOF
2659 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2660 _ACEOF
2661
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE_URL "$PACKAGE_URL"
2664 _ACEOF
2665
2666
2667 # Let the site file select an alternate cache file if it wants to.
2668 # Prefer an explicitly selected file to automatically selected ones.
2669 ac_site_file1=NONE
2670 ac_site_file2=NONE
2671 if test -n "$CONFIG_SITE"; then
2672   # We do not want a PATH search for config.site.
2673   case $CONFIG_SITE in #((
2674     -*)  ac_site_file1=./$CONFIG_SITE;;
2675     */*) ac_site_file1=$CONFIG_SITE;;
2676     *)   ac_site_file1=./$CONFIG_SITE;;
2677   esac
2678 elif test "x$prefix" != xNONE; then
2679   ac_site_file1=$prefix/share/config.site
2680   ac_site_file2=$prefix/etc/config.site
2681 else
2682   ac_site_file1=$ac_default_prefix/share/config.site
2683   ac_site_file2=$ac_default_prefix/etc/config.site
2684 fi
2685 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2686 do
2687   test "x$ac_site_file" = xNONE && continue
2688   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2689     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2690 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2691     sed 's/^/| /' "$ac_site_file" >&5
2692     . "$ac_site_file" \
2693       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 as_fn_error $? "failed to load site script $ac_site_file
2696 See \`config.log' for more details" "$LINENO" 5; }
2697   fi
2698 done
2699
2700 if test -r "$cache_file"; then
2701   # Some versions of bash will fail to source /dev/null (special files
2702   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2703   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2704     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2705 $as_echo "$as_me: loading cache $cache_file" >&6;}
2706     case $cache_file in
2707       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2708       *)                      . "./$cache_file";;
2709     esac
2710   fi
2711 else
2712   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2713 $as_echo "$as_me: creating cache $cache_file" >&6;}
2714   >$cache_file
2715 fi
2716
2717 as_fn_append ac_header_list " stdlib.h"
2718 as_fn_append ac_header_list " unistd.h"
2719 as_fn_append ac_header_list " sys/param.h"
2720 # Check that the precious variables saved in the cache have kept the same
2721 # value.
2722 ac_cache_corrupted=false
2723 for ac_var in $ac_precious_vars; do
2724   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2725   eval ac_new_set=\$ac_env_${ac_var}_set
2726   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2727   eval ac_new_val=\$ac_env_${ac_var}_value
2728   case $ac_old_set,$ac_new_set in
2729     set,)
2730       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2732       ac_cache_corrupted=: ;;
2733     ,set)
2734       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2735 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2736       ac_cache_corrupted=: ;;
2737     ,);;
2738     *)
2739       if test "x$ac_old_val" != "x$ac_new_val"; then
2740         # differences in whitespace do not lead to failure.
2741         ac_old_val_w=`echo x $ac_old_val`
2742         ac_new_val_w=`echo x $ac_new_val`
2743         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2744           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2745 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2746           ac_cache_corrupted=:
2747         else
2748           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2749 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2750           eval $ac_var=\$ac_old_val
2751         fi
2752         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2753 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2754         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2755 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2756       fi;;
2757   esac
2758   # Pass precious variables to config.status.
2759   if test "$ac_new_set" = set; then
2760     case $ac_new_val in
2761     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2762     *) ac_arg=$ac_var=$ac_new_val ;;
2763     esac
2764     case " $ac_configure_args " in
2765       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2766       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2767     esac
2768   fi
2769 done
2770 if $ac_cache_corrupted; then
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2773   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2774 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2775   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2776 fi
2777 ## -------------------- ##
2778 ## Main body of script. ##
2779 ## -------------------- ##
2780
2781 ac_ext=c
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2786
2787
2788
2789 ac_config_headers="$ac_config_headers config.h"
2790
2791
2792
2793 ac_aux_dir=
2794 for ac_dir in build-aux "$srcdir"/build-aux; do
2795   if test -f "$ac_dir/install-sh"; then
2796     ac_aux_dir=$ac_dir
2797     ac_install_sh="$ac_aux_dir/install-sh -c"
2798     break
2799   elif test -f "$ac_dir/install.sh"; then
2800     ac_aux_dir=$ac_dir
2801     ac_install_sh="$ac_aux_dir/install.sh -c"
2802     break
2803   elif test -f "$ac_dir/shtool"; then
2804     ac_aux_dir=$ac_dir
2805     ac_install_sh="$ac_aux_dir/shtool install -c"
2806     break
2807   fi
2808 done
2809 if test -z "$ac_aux_dir"; then
2810   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2811 fi
2812
2813 # These three variables are undocumented and unsupported,
2814 # and are intended to be withdrawn in a future Autoconf release.
2815 # They can cause serious problems if a builder's source tree is in a directory
2816 # whose full name contains unusual characters.
2817 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2818 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2819 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2820
2821
2822
2823 # Define a string for the earliest version that this release has
2824 # backwards binary compatibility with for all interfaces a module
2825 # might. Unless we add module-only API with lower stability
2826 # guarantees, this should be unchanged until we break binary compat
2827 # for GTK+.
2828 #
2829 #GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$LT_CURRENT
2830
2831
2832 # required versions of other packages
2833
2834
2835
2836
2837
2838
2839 GLIB_REQUIRED_VERSION=2.31.20
2840 PANGO_REQUIRED_VERSION=1.29.0
2841 ATK_REQUIRED_VERSION=2.1.5
2842 CAIRO_REQUIRED_VERSION=1.10.0
2843 GDK_PIXBUF_REQUIRED_VERSION=2.25.2
2844 INTROSPECTION_REQUIRED_VERSION=0.10.1
2845
2846
2847
2848
2849
2850
2851
2852
2853 # Save this value here, since automake will set cflags later
2854 cflags_set=${CFLAGS+set}
2855
2856 am__api_version='1.11'
2857
2858 # Find a good install program.  We prefer a C program (faster),
2859 # so one script is as good as another.  But avoid the broken or
2860 # incompatible versions:
2861 # SysV /etc/install, /usr/sbin/install
2862 # SunOS /usr/etc/install
2863 # IRIX /sbin/install
2864 # AIX /bin/install
2865 # AmigaOS /C/install, which installs bootblocks on floppy discs
2866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2869 # OS/2's system install, which has a completely different semantic
2870 # ./install, which can be erroneously created by make from ./install.sh.
2871 # Reject install programs that cannot install multiple files.
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2873 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2874 if test -z "$INSTALL"; then
2875 if ${ac_cv_path_install+:} false; then :
2876   $as_echo_n "(cached) " >&6
2877 else
2878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 for as_dir in $PATH
2880 do
2881   IFS=$as_save_IFS
2882   test -z "$as_dir" && as_dir=.
2883     # Account for people who put trailing slashes in PATH elements.
2884 case $as_dir/ in #((
2885   ./ | .// | /[cC]/* | \
2886   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2887   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2888   /usr/ucb/* ) ;;
2889   *)
2890     # OSF1 and SCO ODT 3.0 have their own names for install.
2891     # Don't use installbsd from OSF since it installs stuff as root
2892     # by default.
2893     for ac_prog in ginstall scoinst install; do
2894       for ac_exec_ext in '' $ac_executable_extensions; do
2895         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2896           if test $ac_prog = install &&
2897             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898             # AIX install.  It has an incompatible calling convention.
2899             :
2900           elif test $ac_prog = install &&
2901             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2902             # program-specific install script used by HP pwplus--don't use.
2903             :
2904           else
2905             rm -rf conftest.one conftest.two conftest.dir
2906             echo one > conftest.one
2907             echo two > conftest.two
2908             mkdir conftest.dir
2909             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2910               test -s conftest.one && test -s conftest.two &&
2911               test -s conftest.dir/conftest.one &&
2912               test -s conftest.dir/conftest.two
2913             then
2914               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2915               break 3
2916             fi
2917           fi
2918         fi
2919       done
2920     done
2921     ;;
2922 esac
2923
2924   done
2925 IFS=$as_save_IFS
2926
2927 rm -rf conftest.one conftest.two conftest.dir
2928
2929 fi
2930   if test "${ac_cv_path_install+set}" = set; then
2931     INSTALL=$ac_cv_path_install
2932   else
2933     # As a last resort, use the slow shell script.  Don't cache a
2934     # value for INSTALL within a source directory, because that will
2935     # break other packages using the cache if that directory is
2936     # removed, or if the value is a relative name.
2937     INSTALL=$ac_install_sh
2938   fi
2939 fi
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2941 $as_echo "$INSTALL" >&6; }
2942
2943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2944 # It thinks the first close brace ends the variable substitution.
2945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2946
2947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2948
2949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2950
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2952 $as_echo_n "checking whether build environment is sane... " >&6; }
2953 # Just in case
2954 sleep 1
2955 echo timestamp > conftest.file
2956 # Reject unsafe characters in $srcdir or the absolute working directory
2957 # name.  Accept space and tab only in the latter.
2958 am_lf='
2959 '
2960 case `pwd` in
2961   *[\\\"\#\$\&\'\`$am_lf]*)
2962     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2963 esac
2964 case $srcdir in
2965   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2966     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2967 esac
2968
2969 # Do `set' in a subshell so we don't clobber the current shell's
2970 # arguments.  Must try -L first in case configure is actually a
2971 # symlink; some systems play weird games with the mod time of symlinks
2972 # (eg FreeBSD returns the mod time of the symlink's containing
2973 # directory).
2974 if (
2975    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2976    if test "$*" = "X"; then
2977       # -L didn't work.
2978       set X `ls -t "$srcdir/configure" conftest.file`
2979    fi
2980    rm -f conftest.file
2981    if test "$*" != "X $srcdir/configure conftest.file" \
2982       && test "$*" != "X conftest.file $srcdir/configure"; then
2983
2984       # If neither matched, then we have a broken ls.  This can happen
2985       # if, for instance, CONFIG_SHELL is bash and it inherits a
2986       # broken ls alias from the environment.  This has actually
2987       # happened.  Such a system could not be considered "sane".
2988       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2989 alias in your environment" "$LINENO" 5
2990    fi
2991
2992    test "$2" = conftest.file
2993    )
2994 then
2995    # Ok.
2996    :
2997 else
2998    as_fn_error $? "newly created file is older than distributed files!
2999 Check your system clock" "$LINENO" 5
3000 fi
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3002 $as_echo "yes" >&6; }
3003 test "$program_prefix" != NONE &&
3004   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3005 # Use a double $ so make ignores it.
3006 test "$program_suffix" != NONE &&
3007   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3008 # Double any \ or $.
3009 # By default was `s,x,x', remove it if useless.
3010 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3011 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3012
3013 # expand $ac_aux_dir to an absolute path
3014 am_aux_dir=`cd $ac_aux_dir && pwd`
3015
3016 if test x"${MISSING+set}" != xset; then
3017   case $am_aux_dir in
3018   *\ * | *\     *)
3019     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3020   *)
3021     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3022   esac
3023 fi
3024 # Use eval to expand $SHELL
3025 if eval "$MISSING --run true"; then
3026   am_missing_run="$MISSING --run "
3027 else
3028   am_missing_run=
3029   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3030 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3031 fi
3032
3033 if test x"${install_sh}" != xset; then
3034   case $am_aux_dir in
3035   *\ * | *\     *)
3036     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3037   *)
3038     install_sh="\${SHELL} $am_aux_dir/install-sh"
3039   esac
3040 fi
3041
3042 # Installed binaries are usually stripped using `strip' when the user
3043 # run `make install-strip'.  However `strip' might not be the right
3044 # tool to use in cross-compilation environments, therefore Automake
3045 # will honor the `STRIP' environment variable to overrule this program.
3046 if test "$cross_compiling" != no; then
3047   if test -n "$ac_tool_prefix"; then
3048   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3049 set dummy ${ac_tool_prefix}strip; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_STRIP+:} false; then :
3053   $as_echo_n "(cached) " >&6
3054 else
3055   if test -n "$STRIP"; then
3056   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3057 else
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 for as_dir in $PATH
3060 do
3061   IFS=$as_save_IFS
3062   test -z "$as_dir" && as_dir=.
3063     for ac_exec_ext in '' $ac_executable_extensions; do
3064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067     break 2
3068   fi
3069 done
3070   done
3071 IFS=$as_save_IFS
3072
3073 fi
3074 fi
3075 STRIP=$ac_cv_prog_STRIP
3076 if test -n "$STRIP"; then
3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3078 $as_echo "$STRIP" >&6; }
3079 else
3080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3082 fi
3083
3084
3085 fi
3086 if test -z "$ac_cv_prog_STRIP"; then
3087   ac_ct_STRIP=$STRIP
3088   # Extract the first word of "strip", so it can be a program name with args.
3089 set dummy strip; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3093   $as_echo_n "(cached) " >&6
3094 else
3095   if test -n "$ac_ct_STRIP"; then
3096   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3097 else
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 for as_dir in $PATH
3100 do
3101   IFS=$as_save_IFS
3102   test -z "$as_dir" && as_dir=.
3103     for ac_exec_ext in '' $ac_executable_extensions; do
3104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105     ac_cv_prog_ac_ct_STRIP="strip"
3106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107     break 2
3108   fi
3109 done
3110   done
3111 IFS=$as_save_IFS
3112
3113 fi
3114 fi
3115 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3116 if test -n "$ac_ct_STRIP"; then
3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3118 $as_echo "$ac_ct_STRIP" >&6; }
3119 else
3120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3122 fi
3123
3124   if test "x$ac_ct_STRIP" = x; then
3125     STRIP=":"
3126   else
3127     case $cross_compiling:$ac_tool_warned in
3128 yes:)
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3132 esac
3133     STRIP=$ac_ct_STRIP
3134   fi
3135 else
3136   STRIP="$ac_cv_prog_STRIP"
3137 fi
3138
3139 fi
3140 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3141
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3143 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3144 if test -z "$MKDIR_P"; then
3145   if ${ac_cv_path_mkdir+:} false; then :
3146   $as_echo_n "(cached) " >&6
3147 else
3148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3150 do
3151   IFS=$as_save_IFS
3152   test -z "$as_dir" && as_dir=.
3153     for ac_prog in mkdir gmkdir; do
3154          for ac_exec_ext in '' $ac_executable_extensions; do
3155            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3156            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3157              'mkdir (GNU coreutils) '* | \
3158              'mkdir (coreutils) '* | \
3159              'mkdir (fileutils) '4.1*)
3160                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3161                break 3;;
3162            esac
3163          done
3164        done
3165   done
3166 IFS=$as_save_IFS
3167
3168 fi
3169
3170   test -d ./--version && rmdir ./--version
3171   if test "${ac_cv_path_mkdir+set}" = set; then
3172     MKDIR_P="$ac_cv_path_mkdir -p"
3173   else
3174     # As a last resort, use the slow shell script.  Don't cache a
3175     # value for MKDIR_P within a source directory, because that will
3176     # break other packages using the cache if that directory is
3177     # removed, or if the value is a relative name.
3178     MKDIR_P="$ac_install_sh -d"
3179   fi
3180 fi
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3182 $as_echo "$MKDIR_P" >&6; }
3183
3184 mkdir_p="$MKDIR_P"
3185 case $mkdir_p in
3186   [\\/$]* | ?:[\\/]*) ;;
3187   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3188 esac
3189
3190 for ac_prog in gawk mawk nawk awk
3191 do
3192   # Extract the first word of "$ac_prog", so it can be a program name with args.
3193 set dummy $ac_prog; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_AWK+:} false; then :
3197   $as_echo_n "(cached) " >&6
3198 else
3199   if test -n "$AWK"; then
3200   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3201 else
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 for as_dir in $PATH
3204 do
3205   IFS=$as_save_IFS
3206   test -z "$as_dir" && as_dir=.
3207     for ac_exec_ext in '' $ac_executable_extensions; do
3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209     ac_cv_prog_AWK="$ac_prog"
3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211     break 2
3212   fi
3213 done
3214   done
3215 IFS=$as_save_IFS
3216
3217 fi
3218 fi
3219 AWK=$ac_cv_prog_AWK
3220 if test -n "$AWK"; then
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3222 $as_echo "$AWK" >&6; }
3223 else
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 fi
3227
3228
3229   test -n "$AWK" && break
3230 done
3231
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3234 set x ${MAKE-make}
3235 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3236 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3237   $as_echo_n "(cached) " >&6
3238 else
3239   cat >conftest.make <<\_ACEOF
3240 SHELL = /bin/sh
3241 all:
3242         @echo '@@@%%%=$(MAKE)=@@@%%%'
3243 _ACEOF
3244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3246   *@@@%%%=?*=@@@%%%*)
3247     eval ac_cv_prog_make_${ac_make}_set=yes;;
3248   *)
3249     eval ac_cv_prog_make_${ac_make}_set=no;;
3250 esac
3251 rm -f conftest.make
3252 fi
3253 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 $as_echo "yes" >&6; }
3256   SET_MAKE=
3257 else
3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260   SET_MAKE="MAKE=${MAKE-make}"
3261 fi
3262
3263 rm -rf .tst 2>/dev/null
3264 mkdir .tst 2>/dev/null
3265 if test -d .tst; then
3266   am__leading_dot=.
3267 else
3268   am__leading_dot=_
3269 fi
3270 rmdir .tst 2>/dev/null
3271
3272 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3273   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3274   # is not polluted with repeated "-I."
3275   am__isrc=' -I$(srcdir)'
3276   # test to see if srcdir already configured
3277   if test -f $srcdir/config.status; then
3278     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3279   fi
3280 fi
3281
3282 # test whether we have cygpath
3283 if test -z "$CYGPATH_W"; then
3284   if (cygpath --version) >/dev/null 2>/dev/null; then
3285     CYGPATH_W='cygpath -w'
3286   else
3287     CYGPATH_W=echo
3288   fi
3289 fi
3290
3291
3292 # Define the identity of the package.
3293  PACKAGE='gtk+'
3294  VERSION='3.4.0'
3295
3296
3297 # Some tools Automake needs.
3298
3299 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3300
3301
3302 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3303
3304
3305 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3306
3307
3308 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3309
3310
3311 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3312
3313 # We need awk for the "check" target.  The system "awk" is bad on
3314 # some platforms.
3315 # Always define AMTAR for backward compatibility.  Yes, it's still used
3316 # in the wild :-(  We should find a proper way to deprecate it ...
3317 AMTAR='$${TAR-tar}'
3318
3319
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3321 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3322 # Loop over all known methods to create a tar archive until one works.
3323 _am_tools='gnutar plaintar pax cpio none'
3324 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3325 # Do not fold the above two line into one, because Tru64 sh and
3326 # Solaris sh will not grok spaces in the rhs of `-'.
3327 for _am_tool in $_am_tools
3328 do
3329   case $_am_tool in
3330   gnutar)
3331     for _am_tar in tar gnutar gtar;
3332     do
3333       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3334    ($_am_tar --version) >&5 2>&5
3335    ac_status=$?
3336    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337    (exit $ac_status); } && break
3338     done
3339     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3340     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3341     am__untar="$_am_tar -xf -"
3342     ;;
3343   plaintar)
3344     # Must skip GNU tar: if it does not support --format= it doesn't create
3345     # ustar tarball either.
3346     (tar --version) >/dev/null 2>&1 && continue
3347     am__tar='tar chf - "$$tardir"'
3348     am__tar_='tar chf - "$tardir"'
3349     am__untar='tar xf -'
3350     ;;
3351   pax)
3352     am__tar='pax -L -x ustar -w "$$tardir"'
3353     am__tar_='pax -L -x ustar -w "$tardir"'
3354     am__untar='pax -r'
3355     ;;
3356   cpio)
3357     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3358     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3359     am__untar='cpio -i -H ustar -d'
3360     ;;
3361   none)
3362     am__tar=false
3363     am__tar_=false
3364     am__untar=false
3365     ;;
3366   esac
3367
3368   # If the value was cached, stop now.  We just wanted to have am__tar
3369   # and am__untar set.
3370   test -n "${am_cv_prog_tar_ustar}" && break
3371
3372   # tar/untar a dummy directory, and stop if the command works
3373   rm -rf conftest.dir
3374   mkdir conftest.dir
3375   echo GrepMe > conftest.dir/file
3376   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3377    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3378    ac_status=$?
3379    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380    (exit $ac_status); }
3381   rm -rf conftest.dir
3382   if test -s conftest.tar; then
3383     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3384    ($am__untar <conftest.tar) >&5 2>&5
3385    ac_status=$?
3386    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387    (exit $ac_status); }
3388     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3389   fi
3390 done
3391 rm -rf conftest.dir
3392
3393 if ${am_cv_prog_tar_ustar+:} false; then :
3394   $as_echo_n "(cached) " >&6
3395 else
3396   am_cv_prog_tar_ustar=$_am_tool
3397 fi
3398
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3400 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3401
3402
3403
3404
3405
3406
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3408 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3409     # Check whether --enable-maintainer-mode was given.
3410 if test "${enable_maintainer_mode+set}" = set; then :
3411   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3412 else
3413   USE_MAINTAINER_MODE=yes
3414 fi
3415
3416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3417 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3418    if test $USE_MAINTAINER_MODE = yes; then
3419   MAINTAINER_MODE_TRUE=
3420   MAINTAINER_MODE_FALSE='#'
3421 else
3422   MAINTAINER_MODE_TRUE='#'
3423   MAINTAINER_MODE_FALSE=
3424 fi
3425
3426   MAINT=$MAINTAINER_MODE_TRUE
3427
3428
3429
3430 # Support silent build rules. Disable
3431 # by either passing --disable-silent-rules to configure or passing V=1
3432 # to make
3433 # Check whether --enable-silent-rules was given.
3434 if test "${enable_silent_rules+set}" = set; then :
3435   enableval=$enable_silent_rules;
3436 fi
3437
3438 case $enable_silent_rules in
3439 yes) AM_DEFAULT_VERBOSITY=0;;
3440 no)  AM_DEFAULT_VERBOSITY=1;;
3441 *)   AM_DEFAULT_VERBOSITY=0;;
3442 esac
3443 am_make=${MAKE-make}
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3445 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3446 if ${am_cv_make_support_nested_variables+:} false; then :
3447   $as_echo_n "(cached) " >&6
3448 else
3449   if $as_echo 'TRUE=$(BAR$(V))
3450 BAR0=false
3451 BAR1=true
3452 V=1
3453 am__doit:
3454         @$(TRUE)
3455 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3456   am_cv_make_support_nested_variables=yes
3457 else
3458   am_cv_make_support_nested_variables=no
3459 fi
3460 fi
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3462 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3463 if test $am_cv_make_support_nested_variables = yes; then
3464     AM_V='$(V)'
3465   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3466 else
3467   AM_V=$AM_DEFAULT_VERBOSITY
3468   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3469 fi
3470 AM_BACKSLASH='\'
3471
3472
3473 #
3474 # For each of the libraries we build, we define the following
3475 # substituted variables:
3476 #
3477 # foo_PACKAGES:     pkg-config packages this library requires
3478 # foo_EXTRA_LIBS:   Libraries this module requires not pulled in by pkg-config
3479 # foo_EXTRA_CFLAGS: cflags this module requires not pulled in by pkg-config
3480 # foo_DEP_LIBS:     All libraries this module requires
3481 # foo_DEP_CFLAGS:   All cflags this module requires
3482
3483
3484 GTK_MAJOR_VERSION=3
3485 GTK_MINOR_VERSION=4
3486 GTK_MICRO_VERSION=0
3487 GTK_INTERFACE_AGE=0
3488 GTK_BINARY_AGE=400
3489 GTK_VERSION=3.4.0
3490 GTK_API_VERSION=3.0
3491 GTK_BINARY_VERSION=3.0.0
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501 # libtool versioning
3502 #LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
3503 #LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
3504 #LT_REVISION=$GTK_INTERFACE_AGE
3505 #LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
3506 #LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
3507
3508
3509
3510
3511 LT_VERSION_INFO="400:0:400"
3512 LT_CURRENT_MINUS_AGE=0
3513
3514
3515
3516
3517
3518
3519
3520
3521 GAIL_LT_VERSION_INFO=0:0:0
3522
3523 GAIL_LT_CURRENT_MINUS_AGE=0
3524
3525
3526 # Checks for programs.
3527 ac_ext=c
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3532 if test -n "$ac_tool_prefix"; then
3533   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3534 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538   $as_echo_n "(cached) " >&6
3539 else
3540   if test -n "$CC"; then
3541   ac_cv_prog_CC="$CC" # Let the user override the test.
3542 else
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 for as_dir in $PATH
3545 do
3546   IFS=$as_save_IFS
3547   test -z "$as_dir" && as_dir=.
3548     for ac_exec_ext in '' $ac_executable_extensions; do
3549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552     break 2
3553   fi
3554 done
3555   done
3556 IFS=$as_save_IFS
3557
3558 fi
3559 fi
3560 CC=$ac_cv_prog_CC
3561 if test -n "$CC"; then
3562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3564 else
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 fi
3568
3569
3570 fi
3571 if test -z "$ac_cv_prog_CC"; then
3572   ac_ct_CC=$CC
3573   # Extract the first word of "gcc", so it can be a program name with args.
3574 set dummy gcc; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3578   $as_echo_n "(cached) " >&6
3579 else
3580   if test -n "$ac_ct_CC"; then
3581   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3582 else
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 for as_dir in $PATH
3585 do
3586   IFS=$as_save_IFS
3587   test -z "$as_dir" && as_dir=.
3588     for ac_exec_ext in '' $ac_executable_extensions; do
3589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590     ac_cv_prog_ac_ct_CC="gcc"
3591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592     break 2
3593   fi
3594 done
3595   done
3596 IFS=$as_save_IFS
3597
3598 fi
3599 fi
3600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3603 $as_echo "$ac_ct_CC" >&6; }
3604 else
3605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 fi
3608
3609   if test "x$ac_ct_CC" = x; then
3610     CC=""
3611   else
3612     case $cross_compiling:$ac_tool_warned in
3613 yes:)
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3616 ac_tool_warned=yes ;;
3617 esac
3618     CC=$ac_ct_CC
3619   fi
3620 else
3621   CC="$ac_cv_prog_CC"
3622 fi
3623
3624 if test -z "$CC"; then
3625           if test -n "$ac_tool_prefix"; then
3626     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3627 set dummy ${ac_tool_prefix}cc; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_CC+:} false; then :
3631   $as_echo_n "(cached) " >&6
3632 else
3633   if test -n "$CC"; then
3634   ac_cv_prog_CC="$CC" # Let the user override the test.
3635 else
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 for as_dir in $PATH
3638 do
3639   IFS=$as_save_IFS
3640   test -z "$as_dir" && as_dir=.
3641     for ac_exec_ext in '' $ac_executable_extensions; do
3642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643     ac_cv_prog_CC="${ac_tool_prefix}cc"
3644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645     break 2
3646   fi
3647 done
3648   done
3649 IFS=$as_save_IFS
3650
3651 fi
3652 fi
3653 CC=$ac_cv_prog_CC
3654 if test -n "$CC"; then
3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3657 else
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3660 fi
3661
3662
3663   fi
3664 fi
3665 if test -z "$CC"; then
3666   # Extract the first word of "cc", so it can be a program name with args.
3667 set dummy cc; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_CC+:} false; then :
3671   $as_echo_n "(cached) " >&6
3672 else
3673   if test -n "$CC"; then
3674   ac_cv_prog_CC="$CC" # Let the user override the test.
3675 else
3676   ac_prog_rejected=no
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 for as_dir in $PATH
3679 do
3680   IFS=$as_save_IFS
3681   test -z "$as_dir" && as_dir=.
3682     for ac_exec_ext in '' $ac_executable_extensions; do
3683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3685        ac_prog_rejected=yes
3686        continue
3687      fi
3688     ac_cv_prog_CC="cc"
3689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690     break 2
3691   fi
3692 done
3693   done
3694 IFS=$as_save_IFS
3695
3696 if test $ac_prog_rejected = yes; then
3697   # We found a bogon in the path, so make sure we never use it.
3698   set dummy $ac_cv_prog_CC
3699   shift
3700   if test $# != 0; then
3701     # We chose a different compiler from the bogus one.
3702     # However, it has the same basename, so the bogon will be chosen
3703     # first if we set CC to just the basename; use the full file name.
3704     shift
3705     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3706   fi
3707 fi
3708 fi
3709 fi
3710 CC=$ac_cv_prog_CC
3711 if test -n "$CC"; then
3712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3713 $as_echo "$CC" >&6; }
3714 else
3715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3717 fi
3718
3719
3720 fi
3721 if test -z "$CC"; then
3722   if test -n "$ac_tool_prefix"; then
3723   for ac_prog in cl.exe
3724   do
3725     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false; then :
3730   $as_echo_n "(cached) " >&6
3731 else
3732   if test -n "$CC"; then
3733   ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3737 do
3738   IFS=$as_save_IFS
3739   test -z "$as_dir" && as_dir=.
3740     for ac_exec_ext in '' $ac_executable_extensions; do
3741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744     break 2
3745   fi
3746 done
3747   done
3748 IFS=$as_save_IFS
3749
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762     test -n "$CC" && break
3763   done
3764 fi
3765 if test -z "$CC"; then
3766   ac_ct_CC=$CC
3767   for ac_prog in cl.exe
3768 do
3769   # Extract the first word of "$ac_prog", so it can be a program name with args.
3770 set dummy $ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3774   $as_echo_n "(cached) " >&6
3775 else
3776   if test -n "$ac_ct_CC"; then
3777   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3781 do
3782   IFS=$as_save_IFS
3783   test -z "$as_dir" && as_dir=.
3784     for ac_exec_ext in '' $ac_executable_extensions; do
3785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786     ac_cv_prog_ac_ct_CC="$ac_prog"
3787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788     break 2
3789   fi
3790 done
3791   done
3792 IFS=$as_save_IFS
3793
3794 fi
3795 fi
3796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3797 if test -n "$ac_ct_CC"; then
3798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3799 $as_echo "$ac_ct_CC" >&6; }
3800 else
3801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3803 fi
3804
3805
3806   test -n "$ac_ct_CC" && break
3807 done
3808
3809   if test "x$ac_ct_CC" = x; then
3810     CC=""
3811   else
3812     case $cross_compiling:$ac_tool_warned in
3813 yes:)
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3816 ac_tool_warned=yes ;;
3817 esac
3818     CC=$ac_ct_CC
3819   fi
3820 fi
3821
3822 fi
3823
3824
3825 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $? "no acceptable C compiler found in \$PATH
3828 See \`config.log' for more details" "$LINENO" 5; }
3829
3830 # Provide some information about the compiler.
3831 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3832 set X $ac_compile
3833 ac_compiler=$2
3834 for ac_option in --version -v -V -qversion; do
3835   { { ac_try="$ac_compiler $ac_option >&5"
3836 case "(($ac_try" in
3837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838   *) ac_try_echo=$ac_try;;
3839 esac
3840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3841 $as_echo "$ac_try_echo"; } >&5
3842   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3843   ac_status=$?
3844   if test -s conftest.err; then
3845     sed '10a\
3846 ... rest of stderr output deleted ...
3847          10q' conftest.err >conftest.er1
3848     cat conftest.er1 >&5
3849   fi
3850   rm -f conftest.er1 conftest.err
3851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852   test $ac_status = 0; }
3853 done
3854
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h.  */
3857
3858 int
3859 main ()
3860 {
3861
3862   ;
3863   return 0;
3864 }
3865 _ACEOF
3866 ac_clean_files_save=$ac_clean_files
3867 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3868 # Try to create an executable without -o first, disregard a.out.
3869 # It will help us diagnose broken compilers, and finding out an intuition
3870 # of exeext.
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3872 $as_echo_n "checking whether the C compiler works... " >&6; }
3873 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3874
3875 # The possible output files:
3876 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3877
3878 ac_rmfiles=
3879 for ac_file in $ac_files
3880 do
3881   case $ac_file in
3882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3883     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3884   esac
3885 done
3886 rm -f $ac_rmfiles
3887
3888 if { { ac_try="$ac_link_default"
3889 case "(($ac_try" in
3890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891   *) ac_try_echo=$ac_try;;
3892 esac
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895   (eval "$ac_link_default") 2>&5
3896   ac_status=$?
3897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898   test $ac_status = 0; }; then :
3899   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3900 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3901 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3902 # so that the user can short-circuit this test for compilers unknown to
3903 # Autoconf.
3904 for ac_file in $ac_files ''
3905 do
3906   test -f "$ac_file" || continue
3907   case $ac_file in
3908     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3909         ;;
3910     [ab].out )
3911         # We found the default executable, but exeext='' is most
3912         # certainly right.
3913         break;;
3914     *.* )
3915         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3916         then :; else
3917            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3918         fi
3919         # We set ac_cv_exeext here because the later test for it is not
3920         # safe: cross compilers may not add the suffix if given an `-o'
3921         # argument, so we may need to know it at that point already.
3922         # Even if this section looks crufty: it has the advantage of
3923         # actually working.
3924         break;;
3925     * )
3926         break;;
3927   esac
3928 done
3929 test "$ac_cv_exeext" = no && ac_cv_exeext=
3930
3931 else
3932   ac_file=''
3933 fi
3934 if test -z "$ac_file"; then :
3935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3937 $as_echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3939
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 77 "C compiler cannot create executables
3943 See \`config.log' for more details" "$LINENO" 5; }
3944 else
3945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3946 $as_echo "yes" >&6; }
3947 fi
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3949 $as_echo_n "checking for C compiler default output file name... " >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3951 $as_echo "$ac_file" >&6; }
3952 ac_exeext=$ac_cv_exeext
3953
3954 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3955 ac_clean_files=$ac_clean_files_save
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3957 $as_echo_n "checking for suffix of executables... " >&6; }
3958 if { { ac_try="$ac_link"
3959 case "(($ac_try" in
3960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961   *) ac_try_echo=$ac_try;;
3962 esac
3963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965   (eval "$ac_link") 2>&5
3966   ac_status=$?
3967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968   test $ac_status = 0; }; then :
3969   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3970 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3971 # work properly (i.e., refer to `conftest.exe'), while it won't with
3972 # `rm'.
3973 for ac_file in conftest.exe conftest conftest.*; do
3974   test -f "$ac_file" || continue
3975   case $ac_file in
3976     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3977     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978           break;;
3979     * ) break;;
3980   esac
3981 done
3982 else
3983   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3986 See \`config.log' for more details" "$LINENO" 5; }
3987 fi
3988 rm -f conftest conftest$ac_cv_exeext
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3990 $as_echo "$ac_cv_exeext" >&6; }
3991
3992 rm -f conftest.$ac_ext
3993 EXEEXT=$ac_cv_exeext
3994 ac_exeext=$EXEEXT
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h.  */
3997 #include <stdio.h>
3998 int
3999 main ()
4000 {
4001 FILE *f = fopen ("conftest.out", "w");
4002  return ferror (f) || fclose (f) != 0;
4003
4004   ;
4005   return 0;
4006 }
4007 _ACEOF
4008 ac_clean_files="$ac_clean_files conftest.out"
4009 # Check that the compiler produces executables we can run.  If not, either
4010 # the compiler is broken, or we cross compile.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4012 $as_echo_n "checking whether we are cross compiling... " >&6; }
4013 if test "$cross_compiling" != yes; then
4014   { { ac_try="$ac_link"
4015 case "(($ac_try" in
4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017   *) ac_try_echo=$ac_try;;
4018 esac
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021   (eval "$ac_link") 2>&5
4022   ac_status=$?
4023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024   test $ac_status = 0; }
4025   if { ac_try='./conftest$ac_cv_exeext'
4026   { { case "(($ac_try" in
4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028   *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032   (eval "$ac_try") 2>&5
4033   ac_status=$?
4034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035   test $ac_status = 0; }; }; then
4036     cross_compiling=no
4037   else
4038     if test "$cross_compiling" = maybe; then
4039         cross_compiling=yes
4040     else
4041         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 as_fn_error $? "cannot run C compiled programs.
4044 If you meant to cross compile, use \`--host'.
4045 See \`config.log' for more details" "$LINENO" 5; }
4046     fi
4047   fi
4048 fi
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4050 $as_echo "$cross_compiling" >&6; }
4051
4052 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4053 ac_clean_files=$ac_clean_files_save
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4055 $as_echo_n "checking for suffix of object files... " >&6; }
4056 if ${ac_cv_objext+:} false; then :
4057   $as_echo_n "(cached) " >&6
4058 else
4059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h.  */
4061
4062 int
4063 main ()
4064 {
4065
4066   ;
4067   return 0;
4068 }
4069 _ACEOF
4070 rm -f conftest.o conftest.obj
4071 if { { ac_try="$ac_compile"
4072 case "(($ac_try" in
4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074   *) ac_try_echo=$ac_try;;
4075 esac
4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 $as_echo "$ac_try_echo"; } >&5
4078   (eval "$ac_compile") 2>&5
4079   ac_status=$?
4080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081   test $ac_status = 0; }; then :
4082   for ac_file in conftest.o conftest.obj conftest.*; do
4083   test -f "$ac_file" || continue;
4084   case $ac_file in
4085     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4086     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4087        break;;
4088   esac
4089 done
4090 else
4091   $as_echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4093
4094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4096 as_fn_error $? "cannot compute suffix of object files: cannot compile
4097 See \`config.log' for more details" "$LINENO" 5; }
4098 fi
4099 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4100 fi
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4102 $as_echo "$ac_cv_objext" >&6; }
4103 OBJEXT=$ac_cv_objext
4104 ac_objext=$OBJEXT
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4106 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4107 if ${ac_cv_c_compiler_gnu+:} false; then :
4108   $as_echo_n "(cached) " >&6
4109 else
4110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h.  */
4112
4113 int
4114 main ()
4115 {
4116 #ifndef __GNUC__
4117        choke me
4118 #endif
4119
4120   ;
4121   return 0;
4122 }
4123 _ACEOF
4124 if ac_fn_c_try_compile "$LINENO"; then :
4125   ac_compiler_gnu=yes
4126 else
4127   ac_compiler_gnu=no
4128 fi
4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4131
4132 fi
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4134 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4135 if test $ac_compiler_gnu = yes; then
4136   GCC=yes
4137 else
4138   GCC=
4139 fi
4140 ac_test_CFLAGS=${CFLAGS+set}
4141 ac_save_CFLAGS=$CFLAGS
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4143 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4144 if ${ac_cv_prog_cc_g+:} false; then :
4145   $as_echo_n "(cached) " >&6
4146 else
4147   ac_save_c_werror_flag=$ac_c_werror_flag
4148    ac_c_werror_flag=yes
4149    ac_cv_prog_cc_g=no
4150    CFLAGS="-g"
4151    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h.  */
4153
4154 int
4155 main ()
4156 {
4157
4158   ;
4159   return 0;
4160 }
4161 _ACEOF
4162 if ac_fn_c_try_compile "$LINENO"; then :
4163   ac_cv_prog_cc_g=yes
4164 else
4165   CFLAGS=""
4166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h.  */
4168
4169 int
4170 main ()
4171 {
4172
4173   ;
4174   return 0;
4175 }
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178
4179 else
4180   ac_c_werror_flag=$ac_save_c_werror_flag
4181          CFLAGS="-g"
4182          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h.  */
4184
4185 int
4186 main ()
4187 {
4188
4189   ;
4190   return 0;
4191 }
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194   ac_cv_prog_cc_g=yes
4195 fi
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 fi
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 fi
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201    ac_c_werror_flag=$ac_save_c_werror_flag
4202 fi
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4204 $as_echo "$ac_cv_prog_cc_g" >&6; }
4205 if test "$ac_test_CFLAGS" = set; then
4206   CFLAGS=$ac_save_CFLAGS
4207 elif test $ac_cv_prog_cc_g = yes; then
4208   if test "$GCC" = yes; then
4209     CFLAGS="-g -O2"
4210   else
4211     CFLAGS="-g"
4212   fi
4213 else
4214   if test "$GCC" = yes; then
4215     CFLAGS="-O2"
4216   else
4217     CFLAGS=
4218   fi
4219 fi
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4221 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4222 if ${ac_cv_prog_cc_c89+:} false; then :
4223   $as_echo_n "(cached) " >&6
4224 else
4225   ac_cv_prog_cc_c89=no
4226 ac_save_CC=$CC
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h.  */
4229 #include <stdarg.h>
4230 #include <stdio.h>
4231 #include <sys/types.h>
4232 #include <sys/stat.h>
4233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4234 struct buf { int x; };
4235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4236 static char *e (p, i)
4237      char **p;
4238      int i;
4239 {
4240   return p[i];
4241 }
4242 static char *f (char * (*g) (char **, int), char **p, ...)
4243 {
4244   char *s;
4245   va_list v;
4246   va_start (v,p);
4247   s = g (p, va_arg (v,int));
4248   va_end (v);
4249   return s;
4250 }
4251
4252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4253    function prototypes and stuff, but not '\xHH' hex character constants.
4254    These don't provoke an error unfortunately, instead are silently treated
4255    as 'x'.  The following induces an error, until -std is added to get
4256    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4257    array size at least.  It's necessary to write '\x00'==0 to get something
4258    that's true only with -std.  */
4259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4260
4261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4262    inside strings and character constants.  */
4263 #define FOO(x) 'x'
4264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4265
4266 int test (int i, double x);
4267 struct s1 {int (*f) (int a);};
4268 struct s2 {int (*f) (double a);};
4269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4270 int argc;
4271 char **argv;
4272 int
4273 main ()
4274 {
4275 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4276   ;
4277   return 0;
4278 }
4279 _ACEOF
4280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4281         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4282 do
4283   CC="$ac_save_CC $ac_arg"
4284   if ac_fn_c_try_compile "$LINENO"; then :
4285   ac_cv_prog_cc_c89=$ac_arg
4286 fi
4287 rm -f core conftest.err conftest.$ac_objext
4288   test "x$ac_cv_prog_cc_c89" != "xno" && break
4289 done
4290 rm -f conftest.$ac_ext
4291 CC=$ac_save_CC
4292
4293 fi
4294 # AC_CACHE_VAL
4295 case "x$ac_cv_prog_cc_c89" in
4296   x)
4297     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4298 $as_echo "none needed" >&6; } ;;
4299   xno)
4300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4301 $as_echo "unsupported" >&6; } ;;
4302   *)
4303     CC="$CC $ac_cv_prog_cc_c89"
4304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4305 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4306 esac
4307 if test "x$ac_cv_prog_cc_c89" != xno; then :
4308
4309 fi
4310
4311 ac_ext=c
4312 ac_cpp='$CPP $CPPFLAGS'
4313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4316 DEPDIR="${am__leading_dot}deps"
4317
4318 ac_config_commands="$ac_config_commands depfiles"
4319
4320
4321 am_make=${MAKE-make}
4322 cat > confinc << 'END'
4323 am__doit:
4324         @echo this is the am__doit target
4325 .PHONY: am__doit
4326 END
4327 # If we don't find an include directive, just comment out the code.
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4329 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4330 am__include="#"
4331 am__quote=
4332 _am_result=none
4333 # First try GNU make style include.
4334 echo "include confinc" > confmf
4335 # Ignore all kinds of additional output from `make'.
4336 case `$am_make -s -f confmf 2> /dev/null` in #(
4337 *the\ am__doit\ target*)
4338   am__include=include
4339   am__quote=
4340   _am_result=GNU
4341   ;;
4342 esac
4343 # Now try BSD make style include.
4344 if test "$am__include" = "#"; then
4345    echo '.include "confinc"' > confmf
4346    case `$am_make -s -f confmf 2> /dev/null` in #(
4347    *the\ am__doit\ target*)
4348      am__include=.include
4349      am__quote="\""
4350      _am_result=BSD
4351      ;;
4352    esac
4353 fi
4354
4355
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4357 $as_echo "$_am_result" >&6; }
4358 rm -f confinc confmf
4359
4360 # Check whether --enable-dependency-tracking was given.
4361 if test "${enable_dependency_tracking+set}" = set; then :
4362   enableval=$enable_dependency_tracking;
4363 fi
4364
4365 if test "x$enable_dependency_tracking" != xno; then
4366   am_depcomp="$ac_aux_dir/depcomp"
4367   AMDEPBACKSLASH='\'
4368   am__nodep='_no'
4369 fi
4370  if test "x$enable_dependency_tracking" != xno; then
4371   AMDEP_TRUE=
4372   AMDEP_FALSE='#'
4373 else
4374   AMDEP_TRUE='#'
4375   AMDEP_FALSE=
4376 fi
4377
4378
4379
4380 depcc="$CC"   am_compiler_list=
4381
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 $as_echo_n "checking dependency style of $depcc... " >&6; }
4384 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4385   $as_echo_n "(cached) " >&6
4386 else
4387   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4388   # We make a subdir and do the tests there.  Otherwise we can end up
4389   # making bogus files that we don't know about and never remove.  For
4390   # instance it was reported that on HP-UX the gcc test will end up
4391   # making a dummy file named `D' -- because `-MD' means `put the output
4392   # in D'.
4393   rm -rf conftest.dir
4394   mkdir conftest.dir
4395   # Copy depcomp to subdir because otherwise we won't find it if we're
4396   # using a relative directory.
4397   cp "$am_depcomp" conftest.dir
4398   cd conftest.dir
4399   # We will build objects and dependencies in a subdirectory because
4400   # it helps to detect inapplicable dependency modes.  For instance
4401   # both Tru64's cc and ICC support -MD to output dependencies as a
4402   # side effect of compilation, but ICC will put the dependencies in
4403   # the current directory while Tru64 will put them in the object
4404   # directory.
4405   mkdir sub
4406
4407   am_cv_CC_dependencies_compiler_type=none
4408   if test "$am_compiler_list" = ""; then
4409      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4410   fi
4411   am__universal=false
4412   case " $depcc " in #(
4413      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4414      esac
4415
4416   for depmode in $am_compiler_list; do
4417     # Setup a source with many dependencies, because some compilers
4418     # like to wrap large dependency lists on column 80 (with \), and
4419     # we should not choose a depcomp mode which is confused by this.
4420     #
4421     # We need to recreate these files for each test, as the compiler may
4422     # overwrite some of them when testing with obscure command lines.
4423     # This happens at least with the AIX C compiler.
4424     : > sub/conftest.c
4425     for i in 1 2 3 4 5 6; do
4426       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4427       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4428       # Solaris 8's {/usr,}/bin/sh.
4429       touch sub/conftst$i.h
4430     done
4431     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4432
4433     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4434     # mode.  It turns out that the SunPro C++ compiler does not properly
4435     # handle `-M -o', and we need to detect this.  Also, some Intel
4436     # versions had trouble with output in subdirs
4437     am__obj=sub/conftest.${OBJEXT-o}
4438     am__minus_obj="-o $am__obj"
4439     case $depmode in
4440     gcc)
4441       # This depmode causes a compiler race in universal mode.
4442       test "$am__universal" = false || continue
4443       ;;
4444     nosideeffect)
4445       # after this tag, mechanisms are not by side-effect, so they'll
4446       # only be used when explicitly requested
4447       if test "x$enable_dependency_tracking" = xyes; then
4448         continue
4449       else
4450         break
4451       fi
4452       ;;
4453     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4454       # This compiler won't grok `-c -o', but also, the minuso test has
4455       # not run yet.  These depmodes are late enough in the game, and
4456       # so weak that their functioning should not be impacted.
4457       am__obj=conftest.${OBJEXT-o}
4458       am__minus_obj=
4459       ;;
4460     none) break ;;
4461     esac
4462     if depmode=$depmode \
4463        source=sub/conftest.c object=$am__obj \
4464        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4465        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4466          >/dev/null 2>conftest.err &&
4467        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4468        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4469        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4470        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4471       # icc doesn't choke on unknown options, it will just issue warnings
4472       # or remarks (even with -Werror).  So we grep stderr for any message
4473       # that says an option was ignored or not supported.
4474       # When given -MP, icc 7.0 and 7.1 complain thusly:
4475       #   icc: Command line warning: ignoring option '-M'; no argument required
4476       # The diagnosis changed in icc 8.0:
4477       #   icc: Command line remark: option '-MP' not supported
4478       if (grep 'ignoring option' conftest.err ||
4479           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4480         am_cv_CC_dependencies_compiler_type=$depmode
4481         break
4482       fi
4483     fi
4484   done
4485
4486   cd ..
4487   rm -rf conftest.dir
4488 else
4489   am_cv_CC_dependencies_compiler_type=none
4490 fi
4491
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4494 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4496
4497  if
4498   test "x$enable_dependency_tracking" != xno \
4499   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4500   am__fastdepCC_TRUE=
4501   am__fastdepCC_FALSE='#'
4502 else
4503   am__fastdepCC_TRUE='#'
4504   am__fastdepCC_FALSE=
4505 fi
4506
4507
4508 if test "x$CC" != xcc; then
4509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4510 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4511 else
4512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4513 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4514 fi
4515 set dummy $CC; ac_cc=`$as_echo "$2" |
4516                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4517 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4518   $as_echo_n "(cached) " >&6
4519 else
4520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h.  */
4522
4523 int
4524 main ()
4525 {
4526
4527   ;
4528   return 0;
4529 }
4530 _ACEOF
4531 # Make sure it works both with $CC and with simple cc.
4532 # We do the test twice because some compilers refuse to overwrite an
4533 # existing .o file with -o, though they will create one.
4534 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4535 rm -f conftest2.*
4536 if { { case "(($ac_try" in
4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538   *) ac_try_echo=$ac_try;;
4539 esac
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542   (eval "$ac_try") 2>&5
4543   ac_status=$?
4544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4545   test $ac_status = 0; } &&
4546    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4548   *) ac_try_echo=$ac_try;;
4549 esac
4550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4551 $as_echo "$ac_try_echo"; } >&5
4552   (eval "$ac_try") 2>&5
4553   ac_status=$?
4554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555   test $ac_status = 0; };
4556 then
4557   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4558   if test "x$CC" != xcc; then
4559     # Test first that cc exists at all.
4560     if { ac_try='cc -c conftest.$ac_ext >&5'
4561   { { case "(($ac_try" in
4562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563   *) ac_try_echo=$ac_try;;
4564 esac
4565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4566 $as_echo "$ac_try_echo"; } >&5
4567   (eval "$ac_try") 2>&5
4568   ac_status=$?
4569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570   test $ac_status = 0; }; }; then
4571       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4572       rm -f conftest2.*
4573       if { { case "(($ac_try" in
4574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575   *) ac_try_echo=$ac_try;;
4576 esac
4577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4578 $as_echo "$ac_try_echo"; } >&5
4579   (eval "$ac_try") 2>&5
4580   ac_status=$?
4581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582   test $ac_status = 0; } &&
4583          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585   *) ac_try_echo=$ac_try;;
4586 esac
4587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4588 $as_echo "$ac_try_echo"; } >&5
4589   (eval "$ac_try") 2>&5
4590   ac_status=$?
4591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592   test $ac_status = 0; };
4593       then
4594         # cc works too.
4595         :
4596       else
4597         # cc exists but doesn't like -o.
4598         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4599       fi
4600     fi
4601   fi
4602 else
4603   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4604 fi
4605 rm -f core conftest*
4606
4607 fi
4608 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4610 $as_echo "yes" >&6; }
4611 else
4612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4614
4615 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4616
4617 fi
4618
4619    case $ac_cv_prog_cc_stdc in #(
4620   no) :
4621     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4622   *) :
4623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4624 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4625 if ${ac_cv_prog_cc_c99+:} false; then :
4626   $as_echo_n "(cached) " >&6
4627 else
4628   ac_cv_prog_cc_c99=no
4629 ac_save_CC=$CC
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h.  */
4632 #include <stdarg.h>
4633 #include <stdbool.h>
4634 #include <stdlib.h>
4635 #include <wchar.h>
4636 #include <stdio.h>
4637
4638 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4639 #define debug(...) fprintf (stderr, __VA_ARGS__)
4640 #define showlist(...) puts (#__VA_ARGS__)
4641 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4642 static void
4643 test_varargs_macros (void)
4644 {
4645   int x = 1234;
4646   int y = 5678;
4647   debug ("Flag");
4648   debug ("X = %d\n", x);
4649   showlist (The first, second, and third items.);
4650   report (x>y, "x is %d but y is %d", x, y);
4651 }
4652
4653 // Check long long types.
4654 #define BIG64 18446744073709551615ull
4655 #define BIG32 4294967295ul
4656 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4657 #if !BIG_OK
4658   your preprocessor is broken;
4659 #endif
4660 #if BIG_OK
4661 #else
4662   your preprocessor is broken;
4663 #endif
4664 static long long int bignum = -9223372036854775807LL;
4665 static unsigned long long int ubignum = BIG64;
4666
4667 struct incomplete_array
4668 {
4669   int datasize;
4670   double data[];
4671 };
4672
4673 struct named_init {
4674   int number;
4675   const wchar_t *name;
4676   double average;
4677 };
4678
4679 typedef const char *ccp;
4680
4681 static inline int
4682 test_restrict (ccp restrict text)
4683 {
4684   // See if C++-style comments work.
4685   // Iterate through items via the restricted pointer.
4686   // Also check for declarations in for loops.
4687   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4688     continue;
4689   return 0;
4690 }
4691
4692 // Check varargs and va_copy.
4693 static void
4694 test_varargs (const char *format, ...)
4695 {
4696   va_list args;
4697   va_start (args, format);
4698   va_list args_copy;
4699   va_copy (args_copy, args);
4700
4701   const char *str;
4702   int number;
4703   float fnumber;
4704
4705   while (*format)
4706     {
4707       switch (*format++)
4708         {
4709         case 's': // string
4710           str = va_arg (args_copy, const char *);
4711           break;
4712         case 'd': // int
4713           number = va_arg (args_copy, int);
4714           break;
4715         case 'f': // float
4716           fnumber = va_arg (args_copy, double);
4717           break;
4718         default:
4719           break;
4720         }
4721     }
4722   va_end (args_copy);
4723   va_end (args);
4724 }
4725
4726 int
4727 main ()
4728 {
4729
4730   // Check bool.
4731   _Bool success = false;
4732
4733   // Check restrict.
4734   if (test_restrict ("String literal") == 0)
4735     success = true;
4736   char *restrict newvar = "Another string";
4737
4738   // Check varargs.
4739   test_varargs ("s, d' f .", "string", 65, 34.234);
4740   test_varargs_macros ();
4741
4742   // Check flexible array members.
4743   struct incomplete_array *ia =
4744     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4745   ia->datasize = 10;
4746   for (int i = 0; i < ia->datasize; ++i)
4747     ia->data[i] = i * 1.234;
4748
4749   // Check named initializers.
4750   struct named_init ni = {
4751     .number = 34,
4752     .name = L"Test wide string",
4753     .average = 543.34343,
4754   };
4755
4756   ni.number = 58;
4757
4758   int dynamic_array[ni.number];
4759   dynamic_array[ni.number - 1] = 543;
4760
4761   // work around unused variable warnings
4762   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4763           || dynamic_array[ni.number - 1] != 543);
4764
4765   ;
4766   return 0;
4767 }
4768 _ACEOF
4769 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4770 do
4771   CC="$ac_save_CC $ac_arg"
4772   if ac_fn_c_try_compile "$LINENO"; then :
4773   ac_cv_prog_cc_c99=$ac_arg
4774 fi
4775 rm -f core conftest.err conftest.$ac_objext
4776   test "x$ac_cv_prog_cc_c99" != "xno" && break
4777 done
4778 rm -f conftest.$ac_ext
4779 CC=$ac_save_CC
4780
4781 fi
4782 # AC_CACHE_VAL
4783 case "x$ac_cv_prog_cc_c99" in
4784   x)
4785     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4786 $as_echo "none needed" >&6; } ;;
4787   xno)
4788     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4789 $as_echo "unsupported" >&6; } ;;
4790   *)
4791     CC="$CC $ac_cv_prog_cc_c99"
4792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4793 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4794 esac
4795 if test "x$ac_cv_prog_cc_c99" != xno; then :
4796   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4797 else
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4799 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4800 if ${ac_cv_prog_cc_c89+:} false; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   ac_cv_prog_cc_c89=no
4804 ac_save_CC=$CC
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h.  */
4807 #include <stdarg.h>
4808 #include <stdio.h>
4809 #include <sys/types.h>
4810 #include <sys/stat.h>
4811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4812 struct buf { int x; };
4813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4814 static char *e (p, i)
4815      char **p;
4816      int i;
4817 {
4818   return p[i];
4819 }
4820 static char *f (char * (*g) (char **, int), char **p, ...)
4821 {
4822   char *s;
4823   va_list v;
4824   va_start (v,p);
4825   s = g (p, va_arg (v,int));
4826   va_end (v);
4827   return s;
4828 }
4829
4830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4831    function prototypes and stuff, but not '\xHH' hex character constants.
4832    These don't provoke an error unfortunately, instead are silently treated
4833    as 'x'.  The following induces an error, until -std is added to get
4834    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4835    array size at least.  It's necessary to write '\x00'==0 to get something
4836    that's true only with -std.  */
4837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4838
4839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4840    inside strings and character constants.  */
4841 #define FOO(x) 'x'
4842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4843
4844 int test (int i, double x);
4845 struct s1 {int (*f) (int a);};
4846 struct s2 {int (*f) (double a);};
4847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4848 int argc;
4849 char **argv;
4850 int
4851 main ()
4852 {
4853 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4854   ;
4855   return 0;
4856 }
4857 _ACEOF
4858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4859         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4860 do
4861   CC="$ac_save_CC $ac_arg"
4862   if ac_fn_c_try_compile "$LINENO"; then :
4863   ac_cv_prog_cc_c89=$ac_arg
4864 fi
4865 rm -f core conftest.err conftest.$ac_objext
4866   test "x$ac_cv_prog_cc_c89" != "xno" && break
4867 done
4868 rm -f conftest.$ac_ext
4869 CC=$ac_save_CC
4870
4871 fi
4872 # AC_CACHE_VAL
4873 case "x$ac_cv_prog_cc_c89" in
4874   x)
4875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4876 $as_echo "none needed" >&6; } ;;
4877   xno)
4878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4879 $as_echo "unsupported" >&6; } ;;
4880   *)
4881     CC="$CC $ac_cv_prog_cc_c89"
4882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4883 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4884 esac
4885 if test "x$ac_cv_prog_cc_c89" != xno; then :
4886   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4887 else
4888   ac_cv_prog_cc_stdc=no
4889 fi
4890
4891 fi
4892  ;;
4893 esac
4894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4895 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4896   if ${ac_cv_prog_cc_stdc+:} false; then :
4897   $as_echo_n "(cached) " >&6
4898 fi
4899
4900   case $ac_cv_prog_cc_stdc in #(
4901   no) :
4902     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4903 $as_echo "unsupported" >&6; } ;; #(
4904   '') :
4905     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4906 $as_echo "none needed" >&6; } ;; #(
4907   *) :
4908     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4909 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4910 esac
4911
4912
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4914 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4915 set x ${MAKE-make}
4916 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4917 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4918   $as_echo_n "(cached) " >&6
4919 else
4920   cat >conftest.make <<\_ACEOF
4921 SHELL = /bin/sh
4922 all:
4923         @echo '@@@%%%=$(MAKE)=@@@%%%'
4924 _ACEOF
4925 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4926 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4927   *@@@%%%=?*=@@@%%%*)
4928     eval ac_cv_prog_make_${ac_make}_set=yes;;
4929   *)
4930     eval ac_cv_prog_make_${ac_make}_set=no;;
4931 esac
4932 rm -f conftest.make
4933 fi
4934 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4937   SET_MAKE=
4938 else
4939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941   SET_MAKE="MAKE=${MAKE-make}"
4942 fi
4943
4944
4945
4946 GETTEXT_PACKAGE=gtk30
4947
4948
4949 cat >>confdefs.h <<_ACEOF
4950 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4951 _ACEOF
4952
4953
4954 # Make sure we can run config.sub.
4955 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4956   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4957
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4959 $as_echo_n "checking build system type... " >&6; }
4960 if ${ac_cv_build+:} false; then :
4961   $as_echo_n "(cached) " >&6
4962 else
4963   ac_build_alias=$build_alias
4964 test "x$ac_build_alias" = x &&
4965   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4966 test "x$ac_build_alias" = x &&
4967   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4968 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4969   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4970
4971 fi
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4973 $as_echo "$ac_cv_build" >&6; }
4974 case $ac_cv_build in
4975 *-*-*) ;;
4976 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4977 esac
4978 build=$ac_cv_build
4979 ac_save_IFS=$IFS; IFS='-'
4980 set x $ac_cv_build
4981 shift
4982 build_cpu=$1
4983 build_vendor=$2
4984 shift; shift
4985 # Remember, the first character of IFS is used to create $*,
4986 # except with old shells:
4987 build_os=$*
4988 IFS=$ac_save_IFS
4989 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4990
4991
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4993 $as_echo_n "checking host system type... " >&6; }
4994 if ${ac_cv_host+:} false; then :
4995   $as_echo_n "(cached) " >&6
4996 else
4997   if test "x$host_alias" = x; then
4998   ac_cv_host=$ac_cv_build
4999 else
5000   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5001     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5002 fi
5003
5004 fi
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5006 $as_echo "$ac_cv_host" >&6; }
5007 case $ac_cv_host in
5008 *-*-*) ;;
5009 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5010 esac
5011 host=$ac_cv_host
5012 ac_save_IFS=$IFS; IFS='-'
5013 set x $ac_cv_host
5014 shift
5015 host_cpu=$1
5016 host_vendor=$2
5017 shift; shift
5018 # Remember, the first character of IFS is used to create $*,
5019 # except with old shells:
5020 host_os=$*
5021 IFS=$ac_save_IFS
5022 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5023
5024
5025
5026 MATH_LIB=-lm
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
5028 $as_echo_n "checking for native Win32... " >&6; }
5029 LIB_EXE_MACHINE_FLAG=X86
5030 EXE_MANIFEST_ARCHITECTURE=X86
5031 case "$host" in
5032   *-*-mingw*)
5033     os_win32=yes
5034     gio_can_sniff=no
5035     MATH_LIB=
5036     case "$host" in
5037     x86_64-*-*)
5038       LIB_EXE_MACHINE_FLAG=X64
5039       EXE_MANIFEST_ARCHITECTURE=AMD64
5040       ;;
5041     esac
5042     ;;
5043   *)
5044     os_win32=no
5045     ;;
5046 esac
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
5048 $as_echo "$os_win32" >&6; }
5049
5050
5051
5052
5053 case $host in
5054   *-*-linux*)
5055     os_linux=yes
5056     ;;
5057 esac
5058
5059 if test -n "$ac_tool_prefix"; then
5060   for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5061   do
5062     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if ${ac_cv_prog_CXX+:} false; then :
5067   $as_echo_n "(cached) " >&6
5068 else
5069   if test -n "$CXX"; then
5070   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5071 else
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073 for as_dir in $PATH
5074 do
5075   IFS=$as_save_IFS
5076   test -z "$as_dir" && as_dir=.
5077     for ac_exec_ext in '' $ac_executable_extensions; do
5078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081     break 2
5082   fi
5083 done
5084   done
5085 IFS=$as_save_IFS
5086
5087 fi
5088 fi
5089 CXX=$ac_cv_prog_CXX
5090 if test -n "$CXX"; then
5091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5092 $as_echo "$CXX" >&6; }
5093 else
5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5096 fi
5097
5098
5099     test -n "$CXX" && break
5100   done
5101 fi
5102 if test -z "$CXX"; then
5103   ac_ct_CXX=$CXX
5104   for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5105 do
5106   # Extract the first word of "$ac_prog", so it can be a program name with args.
5107 set dummy $ac_prog; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5111   $as_echo_n "(cached) " >&6
5112 else
5113   if test -n "$ac_ct_CXX"; then
5114   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5118 do
5119   IFS=$as_save_IFS
5120   test -z "$as_dir" && as_dir=.
5121     for ac_exec_ext in '' $ac_executable_extensions; do
5122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123     ac_cv_prog_ac_ct_CXX="$ac_prog"
5124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125     break 2
5126   fi
5127 done
5128   done
5129 IFS=$as_save_IFS
5130
5131 fi
5132 fi
5133 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5134 if test -n "$ac_ct_CXX"; then
5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5136 $as_echo "$ac_ct_CXX" >&6; }
5137 else
5138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 fi
5141
5142
5143   test -n "$ac_ct_CXX" && break
5144 done
5145
5146   if test "x$ac_ct_CXX" = x; then
5147     CXX="gcc"
5148   else
5149     case $cross_compiling:$ac_tool_warned in
5150 yes:)
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5153 ac_tool_warned=yes ;;
5154 esac
5155     CXX=$ac_ct_CXX
5156   fi
5157 fi
5158
5159 ac_ext=cpp
5160 ac_cpp='$CXXCPP $CPPFLAGS'
5161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5164
5165
5166 ac_ext=cpp
5167 ac_cpp='$CXXCPP $CPPFLAGS'
5168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5171 if test -z "$CXX"; then
5172   if test -n "$CCC"; then
5173     CXX=$CCC
5174   else
5175     if test -n "$ac_tool_prefix"; then
5176   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5177   do
5178     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_CXX+:} false; then :
5183   $as_echo_n "(cached) " >&6
5184 else
5185   if test -n "$CXX"; then
5186   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5187 else
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5190 do
5191   IFS=$as_save_IFS
5192   test -z "$as_dir" && as_dir=.
5193     for ac_exec_ext in '' $ac_executable_extensions; do
5194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197     break 2
5198   fi
5199 done
5200   done
5201 IFS=$as_save_IFS
5202
5203 fi
5204 fi
5205 CXX=$ac_cv_prog_CXX
5206 if test -n "$CXX"; then
5207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5208 $as_echo "$CXX" >&6; }
5209 else
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5212 fi
5213
5214
5215     test -n "$CXX" && break
5216   done
5217 fi
5218 if test -z "$CXX"; then
5219   ac_ct_CXX=$CXX
5220   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5221 do
5222   # Extract the first word of "$ac_prog", so it can be a program name with args.
5223 set dummy $ac_prog; ac_word=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5227   $as_echo_n "(cached) " >&6
5228 else
5229   if test -n "$ac_ct_CXX"; then
5230   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5231 else
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5234 do
5235   IFS=$as_save_IFS
5236   test -z "$as_dir" && as_dir=.
5237     for ac_exec_ext in '' $ac_executable_extensions; do
5238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239     ac_cv_prog_ac_ct_CXX="$ac_prog"
5240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241     break 2
5242   fi
5243 done
5244   done
5245 IFS=$as_save_IFS
5246
5247 fi
5248 fi
5249 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5250 if test -n "$ac_ct_CXX"; then
5251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5252 $as_echo "$ac_ct_CXX" >&6; }
5253 else
5254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5256 fi
5257
5258
5259   test -n "$ac_ct_CXX" && break
5260 done
5261
5262   if test "x$ac_ct_CXX" = x; then
5263     CXX="g++"
5264   else
5265     case $cross_compiling:$ac_tool_warned in
5266 yes:)
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5269 ac_tool_warned=yes ;;
5270 esac
5271     CXX=$ac_ct_CXX
5272   fi
5273 fi
5274
5275   fi
5276 fi
5277 # Provide some information about the compiler.
5278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5279 set X $ac_compile
5280 ac_compiler=$2
5281 for ac_option in --version -v -V -qversion; do
5282   { { ac_try="$ac_compiler $ac_option >&5"
5283 case "(($ac_try" in
5284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285   *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 $as_echo "$ac_try_echo"; } >&5
5289   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5290   ac_status=$?
5291   if test -s conftest.err; then
5292     sed '10a\
5293 ... rest of stderr output deleted ...
5294          10q' conftest.err >conftest.er1
5295     cat conftest.er1 >&5
5296   fi
5297   rm -f conftest.er1 conftest.err
5298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299   test $ac_status = 0; }
5300 done
5301
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5303 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5304 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5305   $as_echo_n "(cached) " >&6
5306 else
5307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h.  */
5309
5310 int
5311 main ()
5312 {
5313 #ifndef __GNUC__
5314        choke me
5315 #endif
5316
5317   ;
5318   return 0;
5319 }
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5322   ac_compiler_gnu=yes
5323 else
5324   ac_compiler_gnu=no
5325 fi
5326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5328
5329 fi
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5331 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5332 if test $ac_compiler_gnu = yes; then
5333   GXX=yes
5334 else
5335   GXX=
5336 fi
5337 ac_test_CXXFLAGS=${CXXFLAGS+set}
5338 ac_save_CXXFLAGS=$CXXFLAGS
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5340 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5341 if ${ac_cv_prog_cxx_g+:} false; then :
5342   $as_echo_n "(cached) " >&6
5343 else
5344   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5345    ac_cxx_werror_flag=yes
5346    ac_cv_prog_cxx_g=no
5347    CXXFLAGS="-g"
5348    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h.  */
5350
5351 int
5352 main ()
5353 {
5354
5355   ;
5356   return 0;
5357 }
5358 _ACEOF
5359 if ac_fn_cxx_try_compile "$LINENO"; then :
5360   ac_cv_prog_cxx_g=yes
5361 else
5362   CXXFLAGS=""
5363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h.  */
5365
5366 int
5367 main ()
5368 {
5369
5370   ;
5371   return 0;
5372 }
5373 _ACEOF
5374 if ac_fn_cxx_try_compile "$LINENO"; then :
5375
5376 else
5377   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5378          CXXFLAGS="-g"
5379          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h.  */
5381
5382 int
5383 main ()
5384 {
5385
5386   ;
5387   return 0;
5388 }
5389 _ACEOF
5390 if ac_fn_cxx_try_compile "$LINENO"; then :
5391   ac_cv_prog_cxx_g=yes
5392 fi
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 fi
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 fi
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5399 fi
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5401 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5402 if test "$ac_test_CXXFLAGS" = set; then
5403   CXXFLAGS=$ac_save_CXXFLAGS
5404 elif test $ac_cv_prog_cxx_g = yes; then
5405   if test "$GXX" = yes; then
5406     CXXFLAGS="-g -O2"
5407   else
5408     CXXFLAGS="-g"
5409   fi
5410 else
5411   if test "$GXX" = yes; then
5412     CXXFLAGS="-O2"
5413   else
5414     CXXFLAGS=
5415   fi
5416 fi
5417 ac_ext=cpp
5418 ac_cpp='$CXXCPP $CPPFLAGS'
5419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5422
5423 depcc="$CXX"  am_compiler_list=
5424
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5426 $as_echo_n "checking dependency style of $depcc... " >&6; }
5427 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5431   # We make a subdir and do the tests there.  Otherwise we can end up
5432   # making bogus files that we don't know about and never remove.  For
5433   # instance it was reported that on HP-UX the gcc test will end up
5434   # making a dummy file named `D' -- because `-MD' means `put the output
5435   # in D'.
5436   rm -rf conftest.dir
5437   mkdir conftest.dir
5438   # Copy depcomp to subdir because otherwise we won't find it if we're
5439   # using a relative directory.
5440   cp "$am_depcomp" conftest.dir
5441   cd conftest.dir
5442   # We will build objects and dependencies in a subdirectory because
5443   # it helps to detect inapplicable dependency modes.  For instance
5444   # both Tru64's cc and ICC support -MD to output dependencies as a
5445   # side effect of compilation, but ICC will put the dependencies in
5446   # the current directory while Tru64 will put them in the object
5447   # directory.
5448   mkdir sub
5449
5450   am_cv_CXX_dependencies_compiler_type=none
5451   if test "$am_compiler_list" = ""; then
5452      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5453   fi
5454   am__universal=false
5455   case " $depcc " in #(
5456      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5457      esac
5458
5459   for depmode in $am_compiler_list; do
5460     # Setup a source with many dependencies, because some compilers
5461     # like to wrap large dependency lists on column 80 (with \), and
5462     # we should not choose a depcomp mode which is confused by this.
5463     #
5464     # We need to recreate these files for each test, as the compiler may
5465     # overwrite some of them when testing with obscure command lines.
5466     # This happens at least with the AIX C compiler.
5467     : > sub/conftest.c
5468     for i in 1 2 3 4 5 6; do
5469       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5470       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5471       # Solaris 8's {/usr,}/bin/sh.
5472       touch sub/conftst$i.h
5473     done
5474     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5475
5476     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5477     # mode.  It turns out that the SunPro C++ compiler does not properly
5478     # handle `-M -o', and we need to detect this.  Also, some Intel
5479     # versions had trouble with output in subdirs
5480     am__obj=sub/conftest.${OBJEXT-o}
5481     am__minus_obj="-o $am__obj"
5482     case $depmode in
5483     gcc)
5484       # This depmode causes a compiler race in universal mode.
5485       test "$am__universal" = false || continue
5486       ;;
5487     nosideeffect)
5488       # after this tag, mechanisms are not by side-effect, so they'll
5489       # only be used when explicitly requested
5490       if test "x$enable_dependency_tracking" = xyes; then
5491         continue
5492       else
5493         break
5494       fi
5495       ;;
5496     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5497       # This compiler won't grok `-c -o', but also, the minuso test has
5498       # not run yet.  These depmodes are late enough in the game, and
5499       # so weak that their functioning should not be impacted.
5500       am__obj=conftest.${OBJEXT-o}
5501       am__minus_obj=
5502       ;;
5503     none) break ;;
5504     esac
5505     if depmode=$depmode \
5506        source=sub/conftest.c object=$am__obj \
5507        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5508        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5509          >/dev/null 2>conftest.err &&
5510        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5511        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5512        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5513        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5514       # icc doesn't choke on unknown options, it will just issue warnings
5515       # or remarks (even with -Werror).  So we grep stderr for any message
5516       # that says an option was ignored or not supported.
5517       # When given -MP, icc 7.0 and 7.1 complain thusly:
5518       #   icc: Command line warning: ignoring option '-M'; no argument required
5519       # The diagnosis changed in icc 8.0:
5520       #   icc: Command line remark: option '-MP' not supported
5521       if (grep 'ignoring option' conftest.err ||
5522           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5523         am_cv_CXX_dependencies_compiler_type=$depmode
5524         break
5525       fi
5526     fi
5527   done
5528
5529   cd ..
5530   rm -rf conftest.dir
5531 else
5532   am_cv_CXX_dependencies_compiler_type=none
5533 fi
5534
5535 fi
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5537 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5538 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5539
5540  if
5541   test "x$enable_dependency_tracking" != xno \
5542   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5543   am__fastdepCXX_TRUE=
5544   am__fastdepCXX_FALSE='#'
5545 else
5546   am__fastdepCXX_TRUE='#'
5547   am__fastdepCXX_FALSE=
5548 fi
5549
5550
5551
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h.  */
5554
5555 int
5556 main ()
5557 {
5558 class a { int b; } c;
5559   ;
5560   return 0;
5561 }
5562 _ACEOF
5563 if ac_fn_cxx_try_compile "$LINENO"; then :
5564
5565 else
5566   CXX=
5567 fi
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569  if test "$CXX" != ""; then
5570   HAVE_CXX_TRUE=
5571   HAVE_CXX_FALSE='#'
5572 else
5573   HAVE_CXX_TRUE='#'
5574   HAVE_CXX_FALSE=
5575 fi
5576
5577
5578 gtk_save_cxxflags="$CXXFLAGS"
5579 CXXFLAGS="$CXXFLAGS -x objective-c++"
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h.  */
5582 @interface Foo @end
5583 int
5584 main ()
5585 {
5586
5587   ;
5588   return 0;
5589 }
5590 _ACEOF
5591 if ac_fn_cxx_try_compile "$LINENO"; then :
5592   OBJC=yes
5593 else
5594   OBJC=no
5595 fi
5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5597  if test "$OBJC" = "yes"; then
5598   HAVE_OBJC_TRUE=
5599   HAVE_OBJC_FALSE='#'
5600 else
5601   HAVE_OBJC_TRUE='#'
5602   HAVE_OBJC_FALSE=
5603 fi
5604
5605 CXXFLAGS="$gtk_save_cxxflags"
5606 ac_ext=c
5607 ac_cpp='$CPP $CPPFLAGS'
5608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5611
5612
5613 if test "$os_win32" = "yes"; then
5614   if test x$enable_static = xyes -o x$enable_static = x; then
5615     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
5616 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
5617     enable_static=no
5618   fi
5619   if test x$enable_shared = xno; then
5620     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
5621 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
5622   fi
5623   enable_shared=yes
5624 fi
5625
5626
5627 case `pwd` in
5628   *\ * | *\     *)
5629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5630 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5631 esac
5632
5633
5634
5635 macro_version='2.4.2'
5636 macro_revision='1.3337'
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650 ltmain="$ac_aux_dir/ltmain.sh"
5651
5652 # Backslashify metacharacters that are still active within
5653 # double-quoted strings.
5654 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5655
5656 # Same as above, but do not quote variable references.
5657 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5658
5659 # Sed substitution to delay expansion of an escaped shell variable in a
5660 # double_quote_subst'ed string.
5661 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5662
5663 # Sed substitution to delay expansion of an escaped single quote.
5664 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5665
5666 # Sed substitution to avoid accidental globbing in evaled expressions
5667 no_glob_subst='s/\*/\\\*/g'
5668
5669 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5670 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5671 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5672
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5674 $as_echo_n "checking how to print strings... " >&6; }
5675 # Test print first, because it will be a builtin if present.
5676 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5677    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5678   ECHO='print -r --'
5679 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5680   ECHO='printf %s\n'
5681 else
5682   # Use this function as a fallback that always works.
5683   func_fallback_echo ()
5684   {
5685     eval 'cat <<_LTECHO_EOF
5686 $1
5687 _LTECHO_EOF'
5688   }
5689   ECHO='func_fallback_echo'
5690 fi
5691
5692 # func_echo_all arg...
5693 # Invoke $ECHO with all args, space-separated.
5694 func_echo_all ()
5695 {
5696     $ECHO ""
5697 }
5698
5699 case "$ECHO" in
5700   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5701 $as_echo "printf" >&6; } ;;
5702   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5703 $as_echo "print -r" >&6; } ;;
5704   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5705 $as_echo "cat" >&6; } ;;
5706 esac
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5722 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5723 if ${ac_cv_path_SED+:} false; then :
5724   $as_echo_n "(cached) " >&6
5725 else
5726             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5727      for ac_i in 1 2 3 4 5 6 7; do
5728        ac_script="$ac_script$as_nl$ac_script"
5729      done
5730      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5731      { ac_script=; unset ac_script;}
5732      if test -z "$SED"; then
5733   ac_path_SED_found=false
5734   # Loop through the user's path and test for each of PROGNAME-LIST
5735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5737 do
5738   IFS=$as_save_IFS
5739   test -z "$as_dir" && as_dir=.
5740     for ac_prog in sed gsed; do
5741     for ac_exec_ext in '' $ac_executable_extensions; do
5742       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5743       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5744 # Check for GNU ac_path_SED and select it if it is found.
5745   # Check for GNU $ac_path_SED
5746 case `"$ac_path_SED" --version 2>&1` in
5747 *GNU*)
5748   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5749 *)
5750   ac_count=0
5751   $as_echo_n 0123456789 >"conftest.in"
5752   while :
5753   do
5754     cat "conftest.in" "conftest.in" >"conftest.tmp"
5755     mv "conftest.tmp" "conftest.in"
5756     cp "conftest.in" "conftest.nl"
5757     $as_echo '' >> "conftest.nl"
5758     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5759     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5760     as_fn_arith $ac_count + 1 && ac_count=$as_val
5761     if test $ac_count -gt ${ac_path_SED_max-0}; then
5762       # Best one so far, save it but keep looking for a better one
5763       ac_cv_path_SED="$ac_path_SED"
5764       ac_path_SED_max=$ac_count
5765     fi
5766     # 10*(2^10) chars as input seems more than enough
5767     test $ac_count -gt 10 && break
5768   done
5769   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5770 esac
5771
5772       $ac_path_SED_found && break 3
5773     done
5774   done
5775   done
5776 IFS=$as_save_IFS
5777   if test -z "$ac_cv_path_SED"; then
5778     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5779   fi
5780 else
5781   ac_cv_path_SED=$SED
5782 fi
5783
5784 fi
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5786 $as_echo "$ac_cv_path_SED" >&6; }
5787  SED="$ac_cv_path_SED"
5788   rm -f conftest.sed
5789
5790 test -z "$SED" && SED=sed
5791 Xsed="$SED -e 1s/^X//"
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5804 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5805 if ${ac_cv_path_GREP+:} false; then :
5806   $as_echo_n "(cached) " >&6
5807 else
5808   if test -z "$GREP"; then
5809   ac_path_GREP_found=false
5810   # Loop through the user's path and test for each of PROGNAME-LIST
5811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5813 do
5814   IFS=$as_save_IFS
5815   test -z "$as_dir" && as_dir=.
5816     for ac_prog in grep ggrep; do
5817     for ac_exec_ext in '' $ac_executable_extensions; do
5818       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5819       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5820 # Check for GNU ac_path_GREP and select it if it is found.
5821   # Check for GNU $ac_path_GREP
5822 case `"$ac_path_GREP" --version 2>&1` in
5823 *GNU*)
5824   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5825 *)
5826   ac_count=0
5827   $as_echo_n 0123456789 >"conftest.in"
5828   while :
5829   do
5830     cat "conftest.in" "conftest.in" >"conftest.tmp"
5831     mv "conftest.tmp" "conftest.in"
5832     cp "conftest.in" "conftest.nl"
5833     $as_echo 'GREP' >> "conftest.nl"
5834     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5835     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5836     as_fn_arith $ac_count + 1 && ac_count=$as_val
5837     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5838       # Best one so far, save it but keep looking for a better one
5839       ac_cv_path_GREP="$ac_path_GREP"
5840       ac_path_GREP_max=$ac_count
5841     fi
5842     # 10*(2^10) chars as input seems more than enough
5843     test $ac_count -gt 10 && break
5844   done
5845   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5846 esac
5847
5848       $ac_path_GREP_found && break 3
5849     done
5850   done
5851   done
5852 IFS=$as_save_IFS
5853   if test -z "$ac_cv_path_GREP"; then
5854     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5855   fi
5856 else
5857   ac_cv_path_GREP=$GREP
5858 fi
5859
5860 fi
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5862 $as_echo "$ac_cv_path_GREP" >&6; }
5863  GREP="$ac_cv_path_GREP"
5864
5865
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5867 $as_echo_n "checking for egrep... " >&6; }
5868 if ${ac_cv_path_EGREP+:} false; then :
5869   $as_echo_n "(cached) " >&6
5870 else
5871   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5872    then ac_cv_path_EGREP="$GREP -E"
5873    else
5874      if test -z "$EGREP"; then
5875   ac_path_EGREP_found=false
5876   # Loop through the user's path and test for each of PROGNAME-LIST
5877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5879 do
5880   IFS=$as_save_IFS
5881   test -z "$as_dir" && as_dir=.
5882     for ac_prog in egrep; do
5883     for ac_exec_ext in '' $ac_executable_extensions; do
5884       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5885       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5886 # Check for GNU ac_path_EGREP and select it if it is found.
5887   # Check for GNU $ac_path_EGREP
5888 case `"$ac_path_EGREP" --version 2>&1` in
5889 *GNU*)
5890   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5891 *)
5892   ac_count=0
5893   $as_echo_n 0123456789 >"conftest.in"
5894   while :
5895   do
5896     cat "conftest.in" "conftest.in" >"conftest.tmp"
5897     mv "conftest.tmp" "conftest.in"
5898     cp "conftest.in" "conftest.nl"
5899     $as_echo 'EGREP' >> "conftest.nl"
5900     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5901     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5902     as_fn_arith $ac_count + 1 && ac_count=$as_val
5903     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5904       # Best one so far, save it but keep looking for a better one
5905       ac_cv_path_EGREP="$ac_path_EGREP"
5906       ac_path_EGREP_max=$ac_count
5907     fi
5908     # 10*(2^10) chars as input seems more than enough
5909     test $ac_count -gt 10 && break
5910   done
5911   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5912 esac
5913
5914       $ac_path_EGREP_found && break 3
5915     done
5916   done
5917   done
5918 IFS=$as_save_IFS
5919   if test -z "$ac_cv_path_EGREP"; then
5920     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5921   fi
5922 else
5923   ac_cv_path_EGREP=$EGREP
5924 fi
5925
5926    fi
5927 fi
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5929 $as_echo "$ac_cv_path_EGREP" >&6; }
5930  EGREP="$ac_cv_path_EGREP"
5931
5932
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5934 $as_echo_n "checking for fgrep... " >&6; }
5935 if ${ac_cv_path_FGREP+:} false; then :
5936   $as_echo_n "(cached) " >&6
5937 else
5938   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5939    then ac_cv_path_FGREP="$GREP -F"
5940    else
5941      if test -z "$FGREP"; then
5942   ac_path_FGREP_found=false
5943   # Loop through the user's path and test for each of PROGNAME-LIST
5944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5946 do
5947   IFS=$as_save_IFS
5948   test -z "$as_dir" && as_dir=.
5949     for ac_prog in fgrep; do
5950     for ac_exec_ext in '' $ac_executable_extensions; do
5951       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5952       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5953 # Check for GNU ac_path_FGREP and select it if it is found.
5954   # Check for GNU $ac_path_FGREP
5955 case `"$ac_path_FGREP" --version 2>&1` in
5956 *GNU*)
5957   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5958 *)
5959   ac_count=0
5960   $as_echo_n 0123456789 >"conftest.in"
5961   while :
5962   do
5963     cat "conftest.in" "conftest.in" >"conftest.tmp"
5964     mv "conftest.tmp" "conftest.in"
5965     cp "conftest.in" "conftest.nl"
5966     $as_echo 'FGREP' >> "conftest.nl"
5967     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5968     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5969     as_fn_arith $ac_count + 1 && ac_count=$as_val
5970     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5971       # Best one so far, save it but keep looking for a better one
5972       ac_cv_path_FGREP="$ac_path_FGREP"
5973       ac_path_FGREP_max=$ac_count
5974     fi
5975     # 10*(2^10) chars as input seems more than enough
5976     test $ac_count -gt 10 && break
5977   done
5978   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5979 esac
5980
5981       $ac_path_FGREP_found && break 3
5982     done
5983   done
5984   done
5985 IFS=$as_save_IFS
5986   if test -z "$ac_cv_path_FGREP"; then
5987     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5988   fi
5989 else
5990   ac_cv_path_FGREP=$FGREP
5991 fi
5992
5993    fi
5994 fi
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5996 $as_echo "$ac_cv_path_FGREP" >&6; }
5997  FGREP="$ac_cv_path_FGREP"
5998
5999
6000 test -z "$GREP" && GREP=grep
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020 # Check whether --with-gnu-ld was given.
6021 if test "${with_gnu_ld+set}" = set; then :
6022   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6023 else
6024   with_gnu_ld=no
6025 fi
6026
6027 ac_prog=ld
6028 if test "$GCC" = yes; then
6029   # Check if gcc -print-prog-name=ld gives a path.
6030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6031 $as_echo_n "checking for ld used by $CC... " >&6; }
6032   case $host in
6033   *-*-mingw*)
6034     # gcc leaves a trailing carriage return which upsets mingw
6035     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6036   *)
6037     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6038   esac
6039   case $ac_prog in
6040     # Accept absolute paths.
6041     [\\/]* | ?:[\\/]*)
6042       re_direlt='/[^/][^/]*/\.\./'
6043       # Canonicalize the pathname of ld
6044       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6045       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6046         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6047       done
6048       test -z "$LD" && LD="$ac_prog"
6049       ;;
6050   "")
6051     # If it fails, then pretend we aren't using GCC.
6052     ac_prog=ld
6053     ;;
6054   *)
6055     # If it is relative, then search for the first ld in PATH.
6056     with_gnu_ld=unknown
6057     ;;
6058   esac
6059 elif test "$with_gnu_ld" = yes; then
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6061 $as_echo_n "checking for GNU ld... " >&6; }
6062 else
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6064 $as_echo_n "checking for non-GNU ld... " >&6; }
6065 fi
6066 if ${lt_cv_path_LD+:} false; then :
6067   $as_echo_n "(cached) " >&6
6068 else
6069   if test -z "$LD"; then
6070   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6071   for ac_dir in $PATH; do
6072     IFS="$lt_save_ifs"
6073     test -z "$ac_dir" && ac_dir=.
6074     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6075       lt_cv_path_LD="$ac_dir/$ac_prog"
6076       # Check to see if the program is GNU ld.  I'd rather use --version,
6077       # but apparently some variants of GNU ld only accept -v.
6078       # Break only if it was the GNU/non-GNU ld that we prefer.
6079       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6080       *GNU* | *'with BFD'*)
6081         test "$with_gnu_ld" != no && break
6082         ;;
6083       *)
6084         test "$with_gnu_ld" != yes && break
6085         ;;
6086       esac
6087     fi
6088   done
6089   IFS="$lt_save_ifs"
6090 else
6091   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6092 fi
6093 fi
6094
6095 LD="$lt_cv_path_LD"
6096 if test -n "$LD"; then
6097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6098 $as_echo "$LD" >&6; }
6099 else
6100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6102 fi
6103 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6105 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6106 if ${lt_cv_prog_gnu_ld+:} false; then :
6107   $as_echo_n "(cached) " >&6
6108 else
6109   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6110 case `$LD -v 2>&1 </dev/null` in
6111 *GNU* | *'with BFD'*)
6112   lt_cv_prog_gnu_ld=yes
6113   ;;
6114 *)
6115   lt_cv_prog_gnu_ld=no
6116   ;;
6117 esac
6118 fi
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6120 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6121 with_gnu_ld=$lt_cv_prog_gnu_ld
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6132 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6133 if ${lt_cv_path_NM+:} false; then :
6134   $as_echo_n "(cached) " >&6
6135 else
6136   if test -n "$NM"; then
6137   # Let the user override the test.
6138   lt_cv_path_NM="$NM"
6139 else
6140   lt_nm_to_check="${ac_tool_prefix}nm"
6141   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6142     lt_nm_to_check="$lt_nm_to_check nm"
6143   fi
6144   for lt_tmp_nm in $lt_nm_to_check; do
6145     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6146     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6147       IFS="$lt_save_ifs"
6148       test -z "$ac_dir" && ac_dir=.
6149       tmp_nm="$ac_dir/$lt_tmp_nm"
6150       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6151         # Check to see if the nm accepts a BSD-compat flag.
6152         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6153         #   nm: unknown option "B" ignored
6154         # Tru64's nm complains that /dev/null is an invalid object file
6155         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6156         */dev/null* | *'Invalid file or object type'*)
6157           lt_cv_path_NM="$tmp_nm -B"
6158           break
6159           ;;
6160         *)
6161           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6162           */dev/null*)
6163             lt_cv_path_NM="$tmp_nm -p"
6164             break
6165             ;;
6166           *)
6167             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6168             continue # so that we can try to find one that supports BSD flags
6169             ;;
6170           esac
6171           ;;
6172         esac
6173       fi
6174     done
6175     IFS="$lt_save_ifs"
6176   done
6177   : ${lt_cv_path_NM=no}
6178 fi
6179 fi
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6181 $as_echo "$lt_cv_path_NM" >&6; }
6182 if test "$lt_cv_path_NM" != "no"; then
6183   NM="$lt_cv_path_NM"
6184 else
6185   # Didn't find any BSD compatible name lister, look for dumpbin.
6186   if test -n "$DUMPBIN"; then :
6187     # Let the user override the test.
6188   else
6189     if test -n "$ac_tool_prefix"; then
6190   for ac_prog in dumpbin "link -dump"
6191   do
6192     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_DUMPBIN+:} false; then :
6197   $as_echo_n "(cached) " >&6
6198 else
6199   if test -n "$DUMPBIN"; then
6200   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6204 do
6205   IFS=$as_save_IFS
6206   test -z "$as_dir" && as_dir=.
6207     for ac_exec_ext in '' $ac_executable_extensions; do
6208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6209     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211     break 2
6212   fi
6213 done
6214   done
6215 IFS=$as_save_IFS
6216
6217 fi
6218 fi
6219 DUMPBIN=$ac_cv_prog_DUMPBIN
6220 if test -n "$DUMPBIN"; then
6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6222 $as_echo "$DUMPBIN" >&6; }
6223 else
6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 fi
6227
6228
6229     test -n "$DUMPBIN" && break
6230   done
6231 fi
6232 if test -z "$DUMPBIN"; then
6233   ac_ct_DUMPBIN=$DUMPBIN
6234   for ac_prog in dumpbin "link -dump"
6235 do
6236   # Extract the first word of "$ac_prog", so it can be a program name with args.
6237 set dummy $ac_prog; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6241   $as_echo_n "(cached) " >&6
6242 else
6243   if test -n "$ac_ct_DUMPBIN"; then
6244   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6245 else
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH
6248 do
6249   IFS=$as_save_IFS
6250   test -z "$as_dir" && as_dir=.
6251     for ac_exec_ext in '' $ac_executable_extensions; do
6252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6255     break 2
6256   fi
6257 done
6258   done
6259 IFS=$as_save_IFS
6260
6261 fi
6262 fi
6263 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6264 if test -n "$ac_ct_DUMPBIN"; then
6265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6266 $as_echo "$ac_ct_DUMPBIN" >&6; }
6267 else
6268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6270 fi
6271
6272
6273   test -n "$ac_ct_DUMPBIN" && break
6274 done
6275
6276   if test "x$ac_ct_DUMPBIN" = x; then
6277     DUMPBIN=":"
6278   else
6279     case $cross_compiling:$ac_tool_warned in
6280 yes:)
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6284 esac
6285     DUMPBIN=$ac_ct_DUMPBIN
6286   fi
6287 fi
6288
6289     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6290     *COFF*)
6291       DUMPBIN="$DUMPBIN -symbols"
6292       ;;
6293     *)
6294       DUMPBIN=:
6295       ;;
6296     esac
6297   fi
6298
6299   if test "$DUMPBIN" != ":"; then
6300     NM="$DUMPBIN"
6301   fi
6302 fi
6303 test -z "$NM" && NM=nm
6304
6305
6306
6307
6308
6309
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6311 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6312 if ${lt_cv_nm_interface+:} false; then :
6313   $as_echo_n "(cached) " >&6
6314 else
6315   lt_cv_nm_interface="BSD nm"
6316   echo "int some_variable = 0;" > conftest.$ac_ext
6317   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6318   (eval "$ac_compile" 2>conftest.err)
6319   cat conftest.err >&5
6320   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6321   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6322   cat conftest.err >&5
6323   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6324   cat conftest.out >&5
6325   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6326     lt_cv_nm_interface="MS dumpbin"
6327   fi
6328   rm -f conftest*
6329 fi
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6331 $as_echo "$lt_cv_nm_interface" >&6; }
6332
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6334 $as_echo_n "checking whether ln -s works... " >&6; }
6335 LN_S=$as_ln_s
6336 if test "$LN_S" = "ln -s"; then
6337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6338 $as_echo "yes" >&6; }
6339 else
6340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6341 $as_echo "no, using $LN_S" >&6; }
6342 fi
6343
6344 # find the maximum length of command line arguments
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6346 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6347 if ${lt_cv_sys_max_cmd_len+:} false; then :
6348   $as_echo_n "(cached) " >&6
6349 else
6350     i=0
6351   teststring="ABCD"
6352
6353   case $build_os in
6354   msdosdjgpp*)
6355     # On DJGPP, this test can blow up pretty badly due to problems in libc
6356     # (any single argument exceeding 2000 bytes causes a buffer overrun
6357     # during glob expansion).  Even if it were fixed, the result of this
6358     # check would be larger than it should be.
6359     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6360     ;;
6361
6362   gnu*)
6363     # Under GNU Hurd, this test is not required because there is
6364     # no limit to the length of command line arguments.
6365     # Libtool will interpret -1 as no limit whatsoever
6366     lt_cv_sys_max_cmd_len=-1;
6367     ;;
6368
6369   cygwin* | mingw* | cegcc*)
6370     # On Win9x/ME, this test blows up -- it succeeds, but takes
6371     # about 5 minutes as the teststring grows exponentially.
6372     # Worse, since 9x/ME are not pre-emptively multitasking,
6373     # you end up with a "frozen" computer, even though with patience
6374     # the test eventually succeeds (with a max line length of 256k).
6375     # Instead, let's just punt: use the minimum linelength reported by
6376     # all of the supported platforms: 8192 (on NT/2K/XP).
6377     lt_cv_sys_max_cmd_len=8192;
6378     ;;
6379
6380   mint*)
6381     # On MiNT this can take a long time and run out of memory.
6382     lt_cv_sys_max_cmd_len=8192;
6383     ;;
6384
6385   amigaos*)
6386     # On AmigaOS with pdksh, this test takes hours, literally.
6387     # So we just punt and use a minimum line length of 8192.
6388     lt_cv_sys_max_cmd_len=8192;
6389     ;;
6390
6391   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6392     # This has been around since 386BSD, at least.  Likely further.
6393     if test -x /sbin/sysctl; then
6394       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6395     elif test -x /usr/sbin/sysctl; then
6396       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6397     else
6398       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6399     fi
6400     # And add a safety zone
6401     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6402     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6403     ;;
6404
6405   interix*)
6406     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6407     lt_cv_sys_max_cmd_len=196608
6408     ;;
6409
6410   os2*)
6411     # The test takes a long time on OS/2.
6412     lt_cv_sys_max_cmd_len=8192
6413     ;;
6414
6415   osf*)
6416     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6417     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6418     # nice to cause kernel panics so lets avoid the loop below.
6419     # First set a reasonable default.
6420     lt_cv_sys_max_cmd_len=16384
6421     #
6422     if test -x /sbin/sysconfig; then
6423       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6424         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6425       esac
6426     fi
6427     ;;
6428   sco3.2v5*)
6429     lt_cv_sys_max_cmd_len=102400
6430     ;;
6431   sysv5* | sco5v6* | sysv4.2uw2*)
6432     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6433     if test -n "$kargmax"; then
6434       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6435     else
6436       lt_cv_sys_max_cmd_len=32768
6437     fi
6438     ;;
6439   *)
6440     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6441     if test -n "$lt_cv_sys_max_cmd_len"; then
6442       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6443       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6444     else
6445       # Make teststring a little bigger before we do anything with it.
6446       # a 1K string should be a reasonable start.
6447       for i in 1 2 3 4 5 6 7 8 ; do
6448         teststring=$teststring$teststring
6449       done
6450       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6451       # If test is not a shell built-in, we'll probably end up computing a
6452       # maximum length that is only half of the actual maximum length, but
6453       # we can't tell.
6454       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6455                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6456               test $i != 17 # 1/2 MB should be enough
6457       do
6458         i=`expr $i + 1`
6459         teststring=$teststring$teststring
6460       done
6461       # Only check the string length outside the loop.
6462       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6463       teststring=
6464       # Add a significant safety factor because C++ compilers can tack on
6465       # massive amounts of additional arguments before passing them to the
6466       # linker.  It appears as though 1/2 is a usable value.
6467       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6468     fi
6469     ;;
6470   esac
6471
6472 fi
6473
6474 if test -n $lt_cv_sys_max_cmd_len ; then
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6476 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6477 else
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6479 $as_echo "none" >&6; }
6480 fi
6481 max_cmd_len=$lt_cv_sys_max_cmd_len
6482
6483
6484
6485
6486
6487
6488 : ${CP="cp -f"}
6489 : ${MV="mv -f"}
6490 : ${RM="rm -f"}
6491
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6493 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6494 # Try some XSI features
6495 xsi_shell=no
6496 ( _lt_dummy="a/b/c"
6497   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6498       = c,a/b,b/c, \
6499     && eval 'test $(( 1 + 1 )) -eq 2 \
6500     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6501   && xsi_shell=yes
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6503 $as_echo "$xsi_shell" >&6; }
6504
6505
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6507 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6508 lt_shell_append=no
6509 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6510     >/dev/null 2>&1 \
6511   && lt_shell_append=yes
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6513 $as_echo "$lt_shell_append" >&6; }
6514
6515
6516 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6517   lt_unset=unset
6518 else
6519   lt_unset=false
6520 fi
6521
6522
6523
6524
6525
6526 # test EBCDIC or ASCII
6527 case `echo X|tr X '\101'` in
6528  A) # ASCII based system
6529     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6530   lt_SP2NL='tr \040 \012'
6531   lt_NL2SP='tr \015\012 \040\040'
6532   ;;
6533  *) # EBCDIC based system
6534   lt_SP2NL='tr \100 \n'
6535   lt_NL2SP='tr \r\n \100\100'
6536   ;;
6537 esac
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6548 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6549 if ${lt_cv_to_host_file_cmd+:} false; then :
6550   $as_echo_n "(cached) " >&6
6551 else
6552   case $host in
6553   *-*-mingw* )
6554     case $build in
6555       *-*-mingw* ) # actually msys
6556         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6557         ;;
6558       *-*-cygwin* )
6559         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6560         ;;
6561       * ) # otherwise, assume *nix
6562         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6563         ;;
6564     esac
6565     ;;
6566   *-*-cygwin* )
6567     case $build in
6568       *-*-mingw* ) # actually msys
6569         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6570         ;;
6571       *-*-cygwin* )
6572         lt_cv_to_host_file_cmd=func_convert_file_noop
6573         ;;
6574       * ) # otherwise, assume *nix
6575         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6576         ;;
6577     esac
6578     ;;
6579   * ) # unhandled hosts (and "normal" native builds)
6580     lt_cv_to_host_file_cmd=func_convert_file_noop
6581     ;;
6582 esac
6583
6584 fi
6585
6586 to_host_file_cmd=$lt_cv_to_host_file_cmd
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6588 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6589
6590
6591
6592
6593
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6595 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6596 if ${lt_cv_to_tool_file_cmd+:} false; then :
6597   $as_echo_n "(cached) " >&6
6598 else
6599   #assume ordinary cross tools, or native build.
6600 lt_cv_to_tool_file_cmd=func_convert_file_noop
6601 case $host in
6602   *-*-mingw* )
6603     case $build in
6604       *-*-mingw* ) # actually msys
6605         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6606         ;;
6607     esac
6608     ;;
6609 esac
6610
6611 fi
6612
6613 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6615 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6616
6617
6618
6619
6620
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6622 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6623 if ${lt_cv_ld_reload_flag+:} false; then :
6624   $as_echo_n "(cached) " >&6
6625 else
6626   lt_cv_ld_reload_flag='-r'
6627 fi
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6629 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6630 reload_flag=$lt_cv_ld_reload_flag
6631 case $reload_flag in
6632 "" | " "*) ;;
6633 *) reload_flag=" $reload_flag" ;;
6634 esac
6635 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6636 case $host_os in
6637   cygwin* | mingw* | pw32* | cegcc*)
6638     if test "$GCC" != yes; then
6639       reload_cmds=false
6640     fi
6641     ;;
6642   darwin*)
6643     if test "$GCC" = yes; then
6644       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6645     else
6646       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6647     fi
6648     ;;
6649 esac
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659 if test -n "$ac_tool_prefix"; then
6660   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6661 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_OBJDUMP+:} false; then :
6665   $as_echo_n "(cached) " >&6
6666 else
6667   if test -n "$OBJDUMP"; then
6668   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6672 do
6673   IFS=$as_save_IFS
6674   test -z "$as_dir" && as_dir=.
6675     for ac_exec_ext in '' $ac_executable_extensions; do
6676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679     break 2
6680   fi
6681 done
6682   done
6683 IFS=$as_save_IFS
6684
6685 fi
6686 fi
6687 OBJDUMP=$ac_cv_prog_OBJDUMP
6688 if test -n "$OBJDUMP"; then
6689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6690 $as_echo "$OBJDUMP" >&6; }
6691 else
6692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6694 fi
6695
6696
6697 fi
6698 if test -z "$ac_cv_prog_OBJDUMP"; then
6699   ac_ct_OBJDUMP=$OBJDUMP
6700   # Extract the first word of "objdump", so it can be a program name with args.
6701 set dummy objdump; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6705   $as_echo_n "(cached) " >&6
6706 else
6707   if test -n "$ac_ct_OBJDUMP"; then
6708   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6709 else
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 for as_dir in $PATH
6712 do
6713   IFS=$as_save_IFS
6714   test -z "$as_dir" && as_dir=.
6715     for ac_exec_ext in '' $ac_executable_extensions; do
6716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719     break 2
6720   fi
6721 done
6722   done
6723 IFS=$as_save_IFS
6724
6725 fi
6726 fi
6727 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6728 if test -n "$ac_ct_OBJDUMP"; then
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6730 $as_echo "$ac_ct_OBJDUMP" >&6; }
6731 else
6732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6734 fi
6735
6736   if test "x$ac_ct_OBJDUMP" = x; then
6737     OBJDUMP="false"
6738   else
6739     case $cross_compiling:$ac_tool_warned in
6740 yes:)
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743 ac_tool_warned=yes ;;
6744 esac
6745     OBJDUMP=$ac_ct_OBJDUMP
6746   fi
6747 else
6748   OBJDUMP="$ac_cv_prog_OBJDUMP"
6749 fi
6750
6751 test -z "$OBJDUMP" && OBJDUMP=objdump
6752
6753
6754
6755
6756
6757
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6759 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6760 if ${lt_cv_deplibs_check_method+:} false; then :
6761   $as_echo_n "(cached) " >&6
6762 else
6763   lt_cv_file_magic_cmd='$MAGIC_CMD'
6764 lt_cv_file_magic_test_file=
6765 lt_cv_deplibs_check_method='unknown'
6766 # Need to set the preceding variable on all platforms that support
6767 # interlibrary dependencies.
6768 # 'none' -- dependencies not supported.
6769 # `unknown' -- same as none, but documents that we really don't know.
6770 # 'pass_all' -- all dependencies passed with no checks.
6771 # 'test_compile' -- check by making test program.
6772 # 'file_magic [[regex]]' -- check by looking for files in library path
6773 # which responds to the $file_magic_cmd with a given extended regex.
6774 # If you have `file' or equivalent on your system and you're not sure
6775 # whether `pass_all' will *always* work, you probably want this one.
6776
6777 case $host_os in
6778 aix[4-9]*)
6779   lt_cv_deplibs_check_method=pass_all
6780   ;;
6781
6782 beos*)
6783   lt_cv_deplibs_check_method=pass_all
6784   ;;
6785
6786 bsdi[45]*)
6787   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6788   lt_cv_file_magic_cmd='/usr/bin/file -L'
6789   lt_cv_file_magic_test_file=/shlib/libc.so
6790   ;;
6791
6792 cygwin*)
6793   # func_win32_libid is a shell function defined in ltmain.sh
6794   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6795   lt_cv_file_magic_cmd='func_win32_libid'
6796   ;;
6797
6798 mingw* | pw32*)
6799   # Base MSYS/MinGW do not provide the 'file' command needed by
6800   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6801   # unless we find 'file', for example because we are cross-compiling.
6802   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6803   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6804     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6805     lt_cv_file_magic_cmd='func_win32_libid'
6806   else
6807     # Keep this pattern in sync with the one in func_win32_libid.
6808     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6809     lt_cv_file_magic_cmd='$OBJDUMP -f'
6810   fi
6811   ;;
6812
6813 cegcc*)
6814   # use the weaker test based on 'objdump'. See mingw*.
6815   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6816   lt_cv_file_magic_cmd='$OBJDUMP -f'
6817   ;;
6818
6819 darwin* | rhapsody*)
6820   lt_cv_deplibs_check_method=pass_all
6821   ;;
6822
6823 freebsd* | dragonfly*)
6824   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6825     case $host_cpu in
6826     i*86 )
6827       # Not sure whether the presence of OpenBSD here was a mistake.
6828       # Let's accept both of them until this is cleared up.
6829       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6830       lt_cv_file_magic_cmd=/usr/bin/file
6831       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6832       ;;
6833     esac
6834   else
6835     lt_cv_deplibs_check_method=pass_all
6836   fi
6837   ;;
6838
6839 gnu*)
6840   lt_cv_deplibs_check_method=pass_all
6841   ;;
6842
6843 haiku*)
6844   lt_cv_deplibs_check_method=pass_all
6845   ;;
6846
6847 hpux10.20* | hpux11*)
6848   lt_cv_file_magic_cmd=/usr/bin/file
6849   case $host_cpu in
6850   ia64*)
6851     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6852     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6853     ;;
6854   hppa*64*)
6855     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]'
6856     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6857     ;;
6858   *)
6859     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6860     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6861     ;;
6862   esac
6863   ;;
6864
6865 interix[3-9]*)
6866   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6867   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6868   ;;
6869
6870 irix5* | irix6* | nonstopux*)
6871   case $LD in
6872   *-32|*"-32 ") libmagic=32-bit;;
6873   *-n32|*"-n32 ") libmagic=N32;;
6874   *-64|*"-64 ") libmagic=64-bit;;
6875   *) libmagic=never-match;;
6876   esac
6877   lt_cv_deplibs_check_method=pass_all
6878   ;;
6879
6880 # This must be glibc/ELF.
6881 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6882   lt_cv_deplibs_check_method=pass_all
6883   ;;
6884
6885 netbsd*)
6886   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6887     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6888   else
6889     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6890   fi
6891   ;;
6892
6893 newos6*)
6894   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6895   lt_cv_file_magic_cmd=/usr/bin/file
6896   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6897   ;;
6898
6899 *nto* | *qnx*)
6900   lt_cv_deplibs_check_method=pass_all
6901   ;;
6902
6903 openbsd*)
6904   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6905     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6906   else
6907     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6908   fi
6909   ;;
6910
6911 osf3* | osf4* | osf5*)
6912   lt_cv_deplibs_check_method=pass_all
6913   ;;
6914
6915 rdos*)
6916   lt_cv_deplibs_check_method=pass_all
6917   ;;
6918
6919 solaris*)
6920   lt_cv_deplibs_check_method=pass_all
6921   ;;
6922
6923 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6924   lt_cv_deplibs_check_method=pass_all
6925   ;;
6926
6927 sysv4 | sysv4.3*)
6928   case $host_vendor in
6929   motorola)
6930     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]'
6931     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6932     ;;
6933   ncr)
6934     lt_cv_deplibs_check_method=pass_all
6935     ;;
6936   sequent)
6937     lt_cv_file_magic_cmd='/bin/file'
6938     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6939     ;;
6940   sni)
6941     lt_cv_file_magic_cmd='/bin/file'
6942     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6943     lt_cv_file_magic_test_file=/lib/libc.so
6944     ;;
6945   siemens)
6946     lt_cv_deplibs_check_method=pass_all
6947     ;;
6948   pc)
6949     lt_cv_deplibs_check_method=pass_all
6950     ;;
6951   esac
6952   ;;
6953
6954 tpf*)
6955   lt_cv_deplibs_check_method=pass_all
6956   ;;
6957 esac
6958
6959 fi
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6961 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6962
6963 file_magic_glob=
6964 want_nocaseglob=no
6965 if test "$build" = "$host"; then
6966   case $host_os in
6967   mingw* | pw32*)
6968     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6969       want_nocaseglob=yes
6970     else
6971       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6972     fi
6973     ;;
6974   esac
6975 fi
6976
6977 file_magic_cmd=$lt_cv_file_magic_cmd
6978 deplibs_check_method=$lt_cv_deplibs_check_method
6979 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002 if test -n "$ac_tool_prefix"; then
7003   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7004 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_DLLTOOL+:} false; then :
7008   $as_echo_n "(cached) " >&6
7009 else
7010   if test -n "$DLLTOOL"; then
7011   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7012 else
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH
7015 do
7016   IFS=$as_save_IFS
7017   test -z "$as_dir" && as_dir=.
7018     for ac_exec_ext in '' $ac_executable_extensions; do
7019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7020     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022     break 2
7023   fi
7024 done
7025   done
7026 IFS=$as_save_IFS
7027
7028 fi
7029 fi
7030 DLLTOOL=$ac_cv_prog_DLLTOOL
7031 if test -n "$DLLTOOL"; then
7032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7033 $as_echo "$DLLTOOL" >&6; }
7034 else
7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7037 fi
7038
7039
7040 fi
7041 if test -z "$ac_cv_prog_DLLTOOL"; then
7042   ac_ct_DLLTOOL=$DLLTOOL
7043   # Extract the first word of "dlltool", so it can be a program name with args.
7044 set dummy dlltool; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7048   $as_echo_n "(cached) " >&6
7049 else
7050   if test -n "$ac_ct_DLLTOOL"; then
7051   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7052 else
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in $PATH
7055 do
7056   IFS=$as_save_IFS
7057   test -z "$as_dir" && as_dir=.
7058     for ac_exec_ext in '' $ac_executable_extensions; do
7059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062     break 2
7063   fi
7064 done
7065   done
7066 IFS=$as_save_IFS
7067
7068 fi
7069 fi
7070 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7071 if test -n "$ac_ct_DLLTOOL"; then
7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7073 $as_echo "$ac_ct_DLLTOOL" >&6; }
7074 else
7075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7077 fi
7078
7079   if test "x$ac_ct_DLLTOOL" = x; then
7080     DLLTOOL="false"
7081   else
7082     case $cross_compiling:$ac_tool_warned in
7083 yes:)
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7086 ac_tool_warned=yes ;;
7087 esac
7088     DLLTOOL=$ac_ct_DLLTOOL
7089   fi
7090 else
7091   DLLTOOL="$ac_cv_prog_DLLTOOL"
7092 fi
7093
7094 test -z "$DLLTOOL" && DLLTOOL=dlltool
7095
7096
7097
7098
7099
7100
7101
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7103 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7104 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7105   $as_echo_n "(cached) " >&6
7106 else
7107   lt_cv_sharedlib_from_linklib_cmd='unknown'
7108
7109 case $host_os in
7110 cygwin* | mingw* | pw32* | cegcc*)
7111   # two different shell functions defined in ltmain.sh
7112   # decide which to use based on capabilities of $DLLTOOL
7113   case `$DLLTOOL --help 2>&1` in
7114   *--identify-strict*)
7115     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7116     ;;
7117   *)
7118     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7119     ;;
7120   esac
7121   ;;
7122 *)
7123   # fallback: assume linklib IS sharedlib
7124   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7125   ;;
7126 esac
7127
7128 fi
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7130 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7131 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7132 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7133
7134
7135
7136
7137
7138
7139
7140
7141 if test -n "$ac_tool_prefix"; then
7142   for ac_prog in ar
7143   do
7144     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_AR+:} false; then :
7149   $as_echo_n "(cached) " >&6
7150 else
7151   if test -n "$AR"; then
7152   ac_cv_prog_AR="$AR" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7156 do
7157   IFS=$as_save_IFS
7158   test -z "$as_dir" && as_dir=.
7159     for ac_exec_ext in '' $ac_executable_extensions; do
7160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7161     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163     break 2
7164   fi
7165 done
7166   done
7167 IFS=$as_save_IFS
7168
7169 fi
7170 fi
7171 AR=$ac_cv_prog_AR
7172 if test -n "$AR"; then
7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7174 $as_echo "$AR" >&6; }
7175 else
7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7178 fi
7179
7180
7181     test -n "$AR" && break
7182   done
7183 fi
7184 if test -z "$AR"; then
7185   ac_ct_AR=$AR
7186   for ac_prog in ar
7187 do
7188   # Extract the first word of "$ac_prog", so it can be a program name with args.
7189 set dummy $ac_prog; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7193   $as_echo_n "(cached) " >&6
7194 else
7195   if test -n "$ac_ct_AR"; then
7196   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7200 do
7201   IFS=$as_save_IFS
7202   test -z "$as_dir" && as_dir=.
7203     for ac_exec_ext in '' $ac_executable_extensions; do
7204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205     ac_cv_prog_ac_ct_AR="$ac_prog"
7206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207     break 2
7208   fi
7209 done
7210   done
7211 IFS=$as_save_IFS
7212
7213 fi
7214 fi
7215 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7216 if test -n "$ac_ct_AR"; then
7217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7218 $as_echo "$ac_ct_AR" >&6; }
7219 else
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7222 fi
7223
7224
7225   test -n "$ac_ct_AR" && break
7226 done
7227
7228   if test "x$ac_ct_AR" = x; then
7229     AR="false"
7230   else
7231     case $cross_compiling:$ac_tool_warned in
7232 yes:)
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7236 esac
7237     AR=$ac_ct_AR
7238   fi
7239 fi
7240
7241 : ${AR=ar}
7242 : ${AR_FLAGS=cru}
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7255 $as_echo_n "checking for archiver @FILE support... " >&6; }
7256 if ${lt_cv_ar_at_file+:} false; then :
7257   $as_echo_n "(cached) " >&6
7258 else
7259   lt_cv_ar_at_file=no
7260    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h.  */
7262
7263 int
7264 main ()
7265 {
7266
7267   ;
7268   return 0;
7269 }
7270 _ACEOF
7271 if ac_fn_c_try_compile "$LINENO"; then :
7272   echo conftest.$ac_objext > conftest.lst
7273       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7274       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7275   (eval $lt_ar_try) 2>&5
7276   ac_status=$?
7277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7278   test $ac_status = 0; }
7279       if test "$ac_status" -eq 0; then
7280         # Ensure the archiver fails upon bogus file names.
7281         rm -f conftest.$ac_objext libconftest.a
7282         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7283   (eval $lt_ar_try) 2>&5
7284   ac_status=$?
7285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7286   test $ac_status = 0; }
7287         if test "$ac_status" -ne 0; then
7288           lt_cv_ar_at_file=@
7289         fi
7290       fi
7291       rm -f conftest.* libconftest.a
7292
7293 fi
7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7295
7296 fi
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7298 $as_echo "$lt_cv_ar_at_file" >&6; }
7299
7300 if test "x$lt_cv_ar_at_file" = xno; then
7301   archiver_list_spec=
7302 else
7303   archiver_list_spec=$lt_cv_ar_at_file
7304 fi
7305
7306
7307
7308
7309
7310
7311
7312 if test -n "$ac_tool_prefix"; then
7313   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7314 set dummy ${ac_tool_prefix}strip; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if ${ac_cv_prog_STRIP+:} false; then :
7318   $as_echo_n "(cached) " >&6
7319 else
7320   if test -n "$STRIP"; then
7321   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7325 do
7326   IFS=$as_save_IFS
7327   test -z "$as_dir" && as_dir=.
7328     for ac_exec_ext in '' $ac_executable_extensions; do
7329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332     break 2
7333   fi
7334 done
7335   done
7336 IFS=$as_save_IFS
7337
7338 fi
7339 fi
7340 STRIP=$ac_cv_prog_STRIP
7341 if test -n "$STRIP"; then
7342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7343 $as_echo "$STRIP" >&6; }
7344 else
7345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7347 fi
7348
7349
7350 fi
7351 if test -z "$ac_cv_prog_STRIP"; then
7352   ac_ct_STRIP=$STRIP
7353   # Extract the first word of "strip", so it can be a program name with args.
7354 set dummy strip; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7358   $as_echo_n "(cached) " >&6
7359 else
7360   if test -n "$ac_ct_STRIP"; then
7361   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7365 do
7366   IFS=$as_save_IFS
7367   test -z "$as_dir" && as_dir=.
7368     for ac_exec_ext in '' $ac_executable_extensions; do
7369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370     ac_cv_prog_ac_ct_STRIP="strip"
7371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372     break 2
7373   fi
7374 done
7375   done
7376 IFS=$as_save_IFS
7377
7378 fi
7379 fi
7380 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7381 if test -n "$ac_ct_STRIP"; then
7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7383 $as_echo "$ac_ct_STRIP" >&6; }
7384 else
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7387 fi
7388
7389   if test "x$ac_ct_STRIP" = x; then
7390     STRIP=":"
7391   else
7392     case $cross_compiling:$ac_tool_warned in
7393 yes:)
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396 ac_tool_warned=yes ;;
7397 esac
7398     STRIP=$ac_ct_STRIP
7399   fi
7400 else
7401   STRIP="$ac_cv_prog_STRIP"
7402 fi
7403
7404 test -z "$STRIP" && STRIP=:
7405
7406
7407
7408
7409
7410
7411 if test -n "$ac_tool_prefix"; then
7412   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if ${ac_cv_prog_RANLIB+:} false; then :
7417   $as_echo_n "(cached) " >&6
7418 else
7419   if test -n "$RANLIB"; then
7420   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7424 do
7425   IFS=$as_save_IFS
7426   test -z "$as_dir" && as_dir=.
7427     for ac_exec_ext in '' $ac_executable_extensions; do
7428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431     break 2
7432   fi
7433 done
7434   done
7435 IFS=$as_save_IFS
7436
7437 fi
7438 fi
7439 RANLIB=$ac_cv_prog_RANLIB
7440 if test -n "$RANLIB"; then
7441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7442 $as_echo "$RANLIB" >&6; }
7443 else
7444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7446 fi
7447
7448
7449 fi
7450 if test -z "$ac_cv_prog_RANLIB"; then
7451   ac_ct_RANLIB=$RANLIB
7452   # Extract the first word of "ranlib", so it can be a program name with args.
7453 set dummy ranlib; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7457   $as_echo_n "(cached) " >&6
7458 else
7459   if test -n "$ac_ct_RANLIB"; then
7460   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465   IFS=$as_save_IFS
7466   test -z "$as_dir" && as_dir=.
7467     for ac_exec_ext in '' $ac_executable_extensions; do
7468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469     ac_cv_prog_ac_ct_RANLIB="ranlib"
7470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471     break 2
7472   fi
7473 done
7474   done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7480 if test -n "$ac_ct_RANLIB"; then
7481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7482 $as_echo "$ac_ct_RANLIB" >&6; }
7483 else
7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488   if test "x$ac_ct_RANLIB" = x; then
7489     RANLIB=":"
7490   else
7491     case $cross_compiling:$ac_tool_warned in
7492 yes:)
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7495 ac_tool_warned=yes ;;
7496 esac
7497     RANLIB=$ac_ct_RANLIB
7498   fi
7499 else
7500   RANLIB="$ac_cv_prog_RANLIB"
7501 fi
7502
7503 test -z "$RANLIB" && RANLIB=:
7504
7505
7506
7507
7508
7509
7510 # Determine commands to create old-style static archives.
7511 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7512 old_postinstall_cmds='chmod 644 $oldlib'
7513 old_postuninstall_cmds=
7514
7515 if test -n "$RANLIB"; then
7516   case $host_os in
7517   openbsd*)
7518     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7519     ;;
7520   *)
7521     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7522     ;;
7523   esac
7524   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7525 fi
7526
7527 case $host_os in
7528   darwin*)
7529     lock_old_archive_extraction=yes ;;
7530   *)
7531     lock_old_archive_extraction=no ;;
7532 esac
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572 # If no C compiler was specified, use CC.
7573 LTCC=${LTCC-"$CC"}
7574
7575 # If no C compiler flags were specified, use CFLAGS.
7576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7577
7578 # Allow CC to be a program name with arguments.
7579 compiler=$CC
7580
7581
7582 # Check for command to grab the raw symbol name followed by C symbol from nm.
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7584 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7585 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7586   $as_echo_n "(cached) " >&6
7587 else
7588
7589 # These are sane defaults that work on at least a few old systems.
7590 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7591
7592 # Character class describing NM global symbol codes.
7593 symcode='[BCDEGRST]'
7594
7595 # Regexp to match symbols that can be accessed directly from C.
7596 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7597
7598 # Define system-specific variables.
7599 case $host_os in
7600 aix*)
7601   symcode='[BCDT]'
7602   ;;
7603 cygwin* | mingw* | pw32* | cegcc*)
7604   symcode='[ABCDGISTW]'
7605   ;;
7606 hpux*)
7607   if test "$host_cpu" = ia64; then
7608     symcode='[ABCDEGRST]'
7609   fi
7610   ;;
7611 irix* | nonstopux*)
7612   symcode='[BCDEGRST]'
7613   ;;
7614 osf*)
7615   symcode='[BCDEGQRST]'
7616   ;;
7617 solaris*)
7618   symcode='[BDRT]'
7619   ;;
7620 sco3.2v5*)
7621   symcode='[DT]'
7622   ;;
7623 sysv4.2uw2*)
7624   symcode='[DT]'
7625   ;;
7626 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7627   symcode='[ABDT]'
7628   ;;
7629 sysv4)
7630   symcode='[DFNSTU]'
7631   ;;
7632 esac
7633
7634 # If we're using GNU nm, then use its standard symbol codes.
7635 case `$NM -V 2>&1` in
7636 *GNU* | *'with BFD'*)
7637   symcode='[ABCDGIRSTW]' ;;
7638 esac
7639
7640 # Transform an extracted symbol line into a proper C declaration.
7641 # Some systems (esp. on ia64) link data and code symbols differently,
7642 # so use this general approach.
7643 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7644
7645 # Transform an extracted symbol line into symbol name and symbol address
7646 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7647 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'"
7648
7649 # Handle CRLF in mingw tool chain
7650 opt_cr=
7651 case $build_os in
7652 mingw*)
7653   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7654   ;;
7655 esac
7656
7657 # Try without a prefix underscore, then with it.
7658 for ac_symprfx in "" "_"; do
7659
7660   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7661   symxfrm="\\1 $ac_symprfx\\2 \\2"
7662
7663   # Write the raw and C identifiers.
7664   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7665     # Fake it for dumpbin and say T for any non-static function
7666     # and D for any global variable.
7667     # Also find C++ and __fastcall symbols from MSVC++,
7668     # which start with @ or ?.
7669     lt_cv_sys_global_symbol_pipe="$AWK '"\
7670 "     {last_section=section; section=\$ 3};"\
7671 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7672 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7673 "     \$ 0!~/External *\|/{next};"\
7674 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7675 "     {if(hide[section]) next};"\
7676 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7677 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7678 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7679 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7680 "     ' prfx=^$ac_symprfx"
7681   else
7682     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7683   fi
7684   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7685
7686   # Check to see that the pipe works correctly.
7687   pipe_works=no
7688
7689   rm -f conftest*
7690   cat > conftest.$ac_ext <<_LT_EOF
7691 #ifdef __cplusplus
7692 extern "C" {
7693 #endif
7694 char nm_test_var;
7695 void nm_test_func(void);
7696 void nm_test_func(void){}
7697 #ifdef __cplusplus
7698 }
7699 #endif
7700 int main(){nm_test_var='a';nm_test_func();return(0);}
7701 _LT_EOF
7702
7703   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7704   (eval $ac_compile) 2>&5
7705   ac_status=$?
7706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707   test $ac_status = 0; }; then
7708     # Now try to grab the symbols.
7709     nlist=conftest.nm
7710     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7711   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7712   ac_status=$?
7713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7714   test $ac_status = 0; } && test -s "$nlist"; then
7715       # Try sorting and uniquifying the output.
7716       if sort "$nlist" | uniq > "$nlist"T; then
7717         mv -f "$nlist"T "$nlist"
7718       else
7719         rm -f "$nlist"T
7720       fi
7721
7722       # Make sure that we snagged all the symbols we need.
7723       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7724         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7725           cat <<_LT_EOF > conftest.$ac_ext
7726 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7727 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7728 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7729    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7730 # define LT_DLSYM_CONST
7731 #elif defined(__osf__)
7732 /* This system does not cope well with relocations in const data.  */
7733 # define LT_DLSYM_CONST
7734 #else
7735 # define LT_DLSYM_CONST const
7736 #endif
7737
7738 #ifdef __cplusplus
7739 extern "C" {
7740 #endif
7741
7742 _LT_EOF
7743           # Now generate the symbol file.
7744           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7745
7746           cat <<_LT_EOF >> conftest.$ac_ext
7747
7748 /* The mapping between symbol names and symbols.  */
7749 LT_DLSYM_CONST struct {
7750   const char *name;
7751   void       *address;
7752 }
7753 lt__PROGRAM__LTX_preloaded_symbols[] =
7754 {
7755   { "@PROGRAM@", (void *) 0 },
7756 _LT_EOF
7757           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7758           cat <<\_LT_EOF >> conftest.$ac_ext
7759   {0, (void *) 0}
7760 };
7761
7762 /* This works around a problem in FreeBSD linker */
7763 #ifdef FREEBSD_WORKAROUND
7764 static const void *lt_preloaded_setup() {
7765   return lt__PROGRAM__LTX_preloaded_symbols;
7766 }
7767 #endif
7768
7769 #ifdef __cplusplus
7770 }
7771 #endif
7772 _LT_EOF
7773           # Now try linking the two files.
7774           mv conftest.$ac_objext conftstm.$ac_objext
7775           lt_globsym_save_LIBS=$LIBS
7776           lt_globsym_save_CFLAGS=$CFLAGS
7777           LIBS="conftstm.$ac_objext"
7778           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7779           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7780   (eval $ac_link) 2>&5
7781   ac_status=$?
7782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7783   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7784             pipe_works=yes
7785           fi
7786           LIBS=$lt_globsym_save_LIBS
7787           CFLAGS=$lt_globsym_save_CFLAGS
7788         else
7789           echo "cannot find nm_test_func in $nlist" >&5
7790         fi
7791       else
7792         echo "cannot find nm_test_var in $nlist" >&5
7793       fi
7794     else
7795       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7796     fi
7797   else
7798     echo "$progname: failed program was:" >&5
7799     cat conftest.$ac_ext >&5
7800   fi
7801   rm -rf conftest* conftst*
7802
7803   # Do not use the global_symbol_pipe unless it works.
7804   if test "$pipe_works" = yes; then
7805     break
7806   else
7807     lt_cv_sys_global_symbol_pipe=
7808   fi
7809 done
7810
7811 fi
7812
7813 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7814   lt_cv_sys_global_symbol_to_cdecl=
7815 fi
7816 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7818 $as_echo "failed" >&6; }
7819 else
7820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7821 $as_echo "ok" >&6; }
7822 fi
7823
7824 # Response file support.
7825 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7826   nm_file_list_spec='@'
7827 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7828   nm_file_list_spec='@'
7829 fi
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7858 $as_echo_n "checking for sysroot... " >&6; }
7859
7860 # Check whether --with-sysroot was given.
7861 if test "${with_sysroot+set}" = set; then :
7862   withval=$with_sysroot;
7863 else
7864   with_sysroot=no
7865 fi
7866
7867
7868 lt_sysroot=
7869 case ${with_sysroot} in #(
7870  yes)
7871    if test "$GCC" = yes; then
7872      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7873    fi
7874    ;; #(
7875  /*)
7876    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7877    ;; #(
7878  no|'')
7879    ;; #(
7880  *)
7881    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7882 $as_echo "${with_sysroot}" >&6; }
7883    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7884    ;;
7885 esac
7886
7887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7888 $as_echo "${lt_sysroot:-no}" >&6; }
7889
7890
7891
7892
7893
7894 # Check whether --enable-libtool-lock was given.
7895 if test "${enable_libtool_lock+set}" = set; then :
7896   enableval=$enable_libtool_lock;
7897 fi
7898
7899 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7900
7901 # Some flags need to be propagated to the compiler or linker for good
7902 # libtool support.
7903 case $host in
7904 ia64-*-hpux*)
7905   # Find out which ABI we are using.
7906   echo 'int i;' > conftest.$ac_ext
7907   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7908   (eval $ac_compile) 2>&5
7909   ac_status=$?
7910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7911   test $ac_status = 0; }; then
7912     case `/usr/bin/file conftest.$ac_objext` in
7913       *ELF-32*)
7914         HPUX_IA64_MODE="32"
7915         ;;
7916       *ELF-64*)
7917         HPUX_IA64_MODE="64"
7918         ;;
7919     esac
7920   fi
7921   rm -rf conftest*
7922   ;;
7923 *-*-irix6*)
7924   # Find out which ABI we are using.
7925   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7926   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7927   (eval $ac_compile) 2>&5
7928   ac_status=$?
7929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7930   test $ac_status = 0; }; then
7931     if test "$lt_cv_prog_gnu_ld" = yes; then
7932       case `/usr/bin/file conftest.$ac_objext` in
7933         *32-bit*)
7934           LD="${LD-ld} -melf32bsmip"
7935           ;;
7936         *N32*)
7937           LD="${LD-ld} -melf32bmipn32"
7938           ;;
7939         *64-bit*)
7940           LD="${LD-ld} -melf64bmip"
7941         ;;
7942       esac
7943     else
7944       case `/usr/bin/file conftest.$ac_objext` in
7945         *32-bit*)
7946           LD="${LD-ld} -32"
7947           ;;
7948         *N32*)
7949           LD="${LD-ld} -n32"
7950           ;;
7951         *64-bit*)
7952           LD="${LD-ld} -64"
7953           ;;
7954       esac
7955     fi
7956   fi
7957   rm -rf conftest*
7958   ;;
7959
7960 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7961 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7962   # Find out which ABI we are using.
7963   echo 'int i;' > conftest.$ac_ext
7964   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7965   (eval $ac_compile) 2>&5
7966   ac_status=$?
7967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7968   test $ac_status = 0; }; then
7969     case `/usr/bin/file conftest.o` in
7970       *32-bit*)
7971         case $host in
7972           x86_64-*kfreebsd*-gnu)
7973             LD="${LD-ld} -m elf_i386_fbsd"
7974             ;;
7975           x86_64-*linux*)
7976             LD="${LD-ld} -m elf_i386"
7977             ;;
7978           ppc64-*linux*|powerpc64-*linux*)
7979             LD="${LD-ld} -m elf32ppclinux"
7980             ;;
7981           s390x-*linux*)
7982             LD="${LD-ld} -m elf_s390"
7983             ;;
7984           sparc64-*linux*)
7985             LD="${LD-ld} -m elf32_sparc"
7986             ;;
7987         esac
7988         ;;
7989       *64-bit*)
7990         case $host in
7991           x86_64-*kfreebsd*-gnu)
7992             LD="${LD-ld} -m elf_x86_64_fbsd"
7993             ;;
7994           x86_64-*linux*)
7995             LD="${LD-ld} -m elf_x86_64"
7996             ;;
7997           ppc*-*linux*|powerpc*-*linux*)
7998             LD="${LD-ld} -m elf64ppc"
7999             ;;
8000           s390*-*linux*|s390*-*tpf*)
8001             LD="${LD-ld} -m elf64_s390"
8002             ;;
8003           sparc*-*linux*)
8004             LD="${LD-ld} -m elf64_sparc"
8005             ;;
8006         esac
8007         ;;
8008     esac
8009   fi
8010   rm -rf conftest*
8011   ;;
8012
8013 *-*-sco3.2v5*)
8014   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8015   SAVE_CFLAGS="$CFLAGS"
8016   CFLAGS="$CFLAGS -belf"
8017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8018 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8019 if ${lt_cv_cc_needs_belf+:} false; then :
8020   $as_echo_n "(cached) " >&6
8021 else
8022   ac_ext=c
8023 ac_cpp='$CPP $CPPFLAGS'
8024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8027
8028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h.  */
8030
8031 int
8032 main ()
8033 {
8034
8035   ;
8036   return 0;
8037 }
8038 _ACEOF
8039 if ac_fn_c_try_link "$LINENO"; then :
8040   lt_cv_cc_needs_belf=yes
8041 else
8042   lt_cv_cc_needs_belf=no
8043 fi
8044 rm -f core conftest.err conftest.$ac_objext \
8045     conftest$ac_exeext conftest.$ac_ext
8046      ac_ext=c
8047 ac_cpp='$CPP $CPPFLAGS'
8048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8051
8052 fi
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8054 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8055   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8056     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8057     CFLAGS="$SAVE_CFLAGS"
8058   fi
8059   ;;
8060 *-*solaris*)
8061   # Find out which ABI we are using.
8062   echo 'int i;' > conftest.$ac_ext
8063   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8064   (eval $ac_compile) 2>&5
8065   ac_status=$?
8066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8067   test $ac_status = 0; }; then
8068     case `/usr/bin/file conftest.o` in
8069     *64-bit*)
8070       case $lt_cv_prog_gnu_ld in
8071       yes*)
8072         case $host in
8073         i?86-*-solaris*)
8074           LD="${LD-ld} -m elf_x86_64"
8075           ;;
8076         sparc*-*-solaris*)
8077           LD="${LD-ld} -m elf64_sparc"
8078           ;;
8079         esac
8080         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8081         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8082           LD="${LD-ld}_sol2"
8083         fi
8084         ;;
8085       *)
8086         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8087           LD="${LD-ld} -64"
8088         fi
8089         ;;
8090       esac
8091       ;;
8092     esac
8093   fi
8094   rm -rf conftest*
8095   ;;
8096 esac
8097
8098 need_locks="$enable_libtool_lock"
8099
8100 if test -n "$ac_tool_prefix"; then
8101   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8102 set dummy ${ac_tool_prefix}mt; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8106   $as_echo_n "(cached) " >&6
8107 else
8108   if test -n "$MANIFEST_TOOL"; then
8109   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8110 else
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 for as_dir in $PATH
8113 do
8114   IFS=$as_save_IFS
8115   test -z "$as_dir" && as_dir=.
8116     for ac_exec_ext in '' $ac_executable_extensions; do
8117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8118     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8120     break 2
8121   fi
8122 done
8123   done
8124 IFS=$as_save_IFS
8125
8126 fi
8127 fi
8128 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8129 if test -n "$MANIFEST_TOOL"; then
8130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8131 $as_echo "$MANIFEST_TOOL" >&6; }
8132 else
8133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8135 fi
8136
8137
8138 fi
8139 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8140   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8141   # Extract the first word of "mt", so it can be a program name with args.
8142 set dummy mt; ac_word=$2
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8144 $as_echo_n "checking for $ac_word... " >&6; }
8145 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8146   $as_echo_n "(cached) " >&6
8147 else
8148   if test -n "$ac_ct_MANIFEST_TOOL"; then
8149   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8150 else
8151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8152 for as_dir in $PATH
8153 do
8154   IFS=$as_save_IFS
8155   test -z "$as_dir" && as_dir=.
8156     for ac_exec_ext in '' $ac_executable_extensions; do
8157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8160     break 2
8161   fi
8162 done
8163   done
8164 IFS=$as_save_IFS
8165
8166 fi
8167 fi
8168 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8169 if test -n "$ac_ct_MANIFEST_TOOL"; then
8170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8171 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8172 else
8173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8175 fi
8176
8177   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8178     MANIFEST_TOOL=":"
8179   else
8180     case $cross_compiling:$ac_tool_warned in
8181 yes:)
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8184 ac_tool_warned=yes ;;
8185 esac
8186     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8187   fi
8188 else
8189   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8190 fi
8191
8192 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8194 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8195 if ${lt_cv_path_mainfest_tool+:} false; then :
8196   $as_echo_n "(cached) " >&6
8197 else
8198   lt_cv_path_mainfest_tool=no
8199   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8200   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8201   cat conftest.err >&5
8202   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8203     lt_cv_path_mainfest_tool=yes
8204   fi
8205   rm -f conftest*
8206 fi
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8208 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8209 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8210   MANIFEST_TOOL=:
8211 fi
8212
8213
8214
8215
8216
8217
8218   case $host_os in
8219     rhapsody* | darwin*)
8220     if test -n "$ac_tool_prefix"; then
8221   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8222 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8226   $as_echo_n "(cached) " >&6
8227 else
8228   if test -n "$DSYMUTIL"; then
8229   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8230 else
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 for as_dir in $PATH
8233 do
8234   IFS=$as_save_IFS
8235   test -z "$as_dir" && as_dir=.
8236     for ac_exec_ext in '' $ac_executable_extensions; do
8237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8238     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240     break 2
8241   fi
8242 done
8243   done
8244 IFS=$as_save_IFS
8245
8246 fi
8247 fi
8248 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8249 if test -n "$DSYMUTIL"; then
8250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8251 $as_echo "$DSYMUTIL" >&6; }
8252 else
8253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8255 fi
8256
8257
8258 fi
8259 if test -z "$ac_cv_prog_DSYMUTIL"; then
8260   ac_ct_DSYMUTIL=$DSYMUTIL
8261   # Extract the first word of "dsymutil", so it can be a program name with args.
8262 set dummy dsymutil; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8266   $as_echo_n "(cached) " >&6
8267 else
8268   if test -n "$ac_ct_DSYMUTIL"; then
8269   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8270 else
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8272 for as_dir in $PATH
8273 do
8274   IFS=$as_save_IFS
8275   test -z "$as_dir" && as_dir=.
8276     for ac_exec_ext in '' $ac_executable_extensions; do
8277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8278     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280     break 2
8281   fi
8282 done
8283   done
8284 IFS=$as_save_IFS
8285
8286 fi
8287 fi
8288 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8289 if test -n "$ac_ct_DSYMUTIL"; then
8290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8291 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8292 else
8293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8295 fi
8296
8297   if test "x$ac_ct_DSYMUTIL" = x; then
8298     DSYMUTIL=":"
8299   else
8300     case $cross_compiling:$ac_tool_warned in
8301 yes:)
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8304 ac_tool_warned=yes ;;
8305 esac
8306     DSYMUTIL=$ac_ct_DSYMUTIL
8307   fi
8308 else
8309   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8310 fi
8311
8312     if test -n "$ac_tool_prefix"; then
8313   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8314 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if ${ac_cv_prog_NMEDIT+:} false; then :
8318   $as_echo_n "(cached) " >&6
8319 else
8320   if test -n "$NMEDIT"; then
8321   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8322 else
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in $PATH
8325 do
8326   IFS=$as_save_IFS
8327   test -z "$as_dir" && as_dir=.
8328     for ac_exec_ext in '' $ac_executable_extensions; do
8329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332     break 2
8333   fi
8334 done
8335   done
8336 IFS=$as_save_IFS
8337
8338 fi
8339 fi
8340 NMEDIT=$ac_cv_prog_NMEDIT
8341 if test -n "$NMEDIT"; then
8342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8343 $as_echo "$NMEDIT" >&6; }
8344 else
8345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8347 fi
8348
8349
8350 fi
8351 if test -z "$ac_cv_prog_NMEDIT"; then
8352   ac_ct_NMEDIT=$NMEDIT
8353   # Extract the first word of "nmedit", so it can be a program name with args.
8354 set dummy nmedit; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8356 $as_echo_n "checking for $ac_word... " >&6; }
8357 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8358   $as_echo_n "(cached) " >&6
8359 else
8360   if test -n "$ac_ct_NMEDIT"; then
8361   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8362 else
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8364 for as_dir in $PATH
8365 do
8366   IFS=$as_save_IFS
8367   test -z "$as_dir" && as_dir=.
8368     for ac_exec_ext in '' $ac_executable_extensions; do
8369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8370     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372     break 2
8373   fi
8374 done
8375   done
8376 IFS=$as_save_IFS
8377
8378 fi
8379 fi
8380 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8381 if test -n "$ac_ct_NMEDIT"; then
8382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8383 $as_echo "$ac_ct_NMEDIT" >&6; }
8384 else
8385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8387 fi
8388
8389   if test "x$ac_ct_NMEDIT" = x; then
8390     NMEDIT=":"
8391   else
8392     case $cross_compiling:$ac_tool_warned in
8393 yes:)
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8396 ac_tool_warned=yes ;;
8397 esac
8398     NMEDIT=$ac_ct_NMEDIT
8399   fi
8400 else
8401   NMEDIT="$ac_cv_prog_NMEDIT"
8402 fi
8403
8404     if test -n "$ac_tool_prefix"; then
8405   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8406 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 $as_echo_n "checking for $ac_word... " >&6; }
8409 if ${ac_cv_prog_LIPO+:} false; then :
8410   $as_echo_n "(cached) " >&6
8411 else
8412   if test -n "$LIPO"; then
8413   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8414 else
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 for as_dir in $PATH
8417 do
8418   IFS=$as_save_IFS
8419   test -z "$as_dir" && as_dir=.
8420     for ac_exec_ext in '' $ac_executable_extensions; do
8421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424     break 2
8425   fi
8426 done
8427   done
8428 IFS=$as_save_IFS
8429
8430 fi
8431 fi
8432 LIPO=$ac_cv_prog_LIPO
8433 if test -n "$LIPO"; then
8434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8435 $as_echo "$LIPO" >&6; }
8436 else
8437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8439 fi
8440
8441
8442 fi
8443 if test -z "$ac_cv_prog_LIPO"; then
8444   ac_ct_LIPO=$LIPO
8445   # Extract the first word of "lipo", so it can be a program name with args.
8446 set dummy lipo; ac_word=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8448 $as_echo_n "checking for $ac_word... " >&6; }
8449 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8450   $as_echo_n "(cached) " >&6
8451 else
8452   if test -n "$ac_ct_LIPO"; then
8453   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8454 else
8455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8456 for as_dir in $PATH
8457 do
8458   IFS=$as_save_IFS
8459   test -z "$as_dir" && as_dir=.
8460     for ac_exec_ext in '' $ac_executable_extensions; do
8461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8462     ac_cv_prog_ac_ct_LIPO="lipo"
8463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464     break 2
8465   fi
8466 done
8467   done
8468 IFS=$as_save_IFS
8469
8470 fi
8471 fi
8472 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8473 if test -n "$ac_ct_LIPO"; then
8474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8475 $as_echo "$ac_ct_LIPO" >&6; }
8476 else
8477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8478 $as_echo "no" >&6; }
8479 fi
8480
8481   if test "x$ac_ct_LIPO" = x; then
8482     LIPO=":"
8483   else
8484     case $cross_compiling:$ac_tool_warned in
8485 yes:)
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8488 ac_tool_warned=yes ;;
8489 esac
8490     LIPO=$ac_ct_LIPO
8491   fi
8492 else
8493   LIPO="$ac_cv_prog_LIPO"
8494 fi
8495
8496     if test -n "$ac_tool_prefix"; then
8497   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8498 set dummy ${ac_tool_prefix}otool; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8500 $as_echo_n "checking for $ac_word... " >&6; }
8501 if ${ac_cv_prog_OTOOL+:} false; then :
8502   $as_echo_n "(cached) " >&6
8503 else
8504   if test -n "$OTOOL"; then
8505   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8506 else
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8508 for as_dir in $PATH
8509 do
8510   IFS=$as_save_IFS
8511   test -z "$as_dir" && as_dir=.
8512     for ac_exec_ext in '' $ac_executable_extensions; do
8513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516     break 2
8517   fi
8518 done
8519   done
8520 IFS=$as_save_IFS
8521
8522 fi
8523 fi
8524 OTOOL=$ac_cv_prog_OTOOL
8525 if test -n "$OTOOL"; then
8526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8527 $as_echo "$OTOOL" >&6; }
8528 else
8529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8531 fi
8532
8533
8534 fi
8535 if test -z "$ac_cv_prog_OTOOL"; then
8536   ac_ct_OTOOL=$OTOOL
8537   # Extract the first word of "otool", so it can be a program name with args.
8538 set dummy otool; ac_word=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 $as_echo_n "checking for $ac_word... " >&6; }
8541 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8542   $as_echo_n "(cached) " >&6
8543 else
8544   if test -n "$ac_ct_OTOOL"; then
8545   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8546 else
8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 for as_dir in $PATH
8549 do
8550   IFS=$as_save_IFS
8551   test -z "$as_dir" && as_dir=.
8552     for ac_exec_ext in '' $ac_executable_extensions; do
8553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8554     ac_cv_prog_ac_ct_OTOOL="otool"
8555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556     break 2
8557   fi
8558 done
8559   done
8560 IFS=$as_save_IFS
8561
8562 fi
8563 fi
8564 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8565 if test -n "$ac_ct_OTOOL"; then
8566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8567 $as_echo "$ac_ct_OTOOL" >&6; }
8568 else
8569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8571 fi
8572
8573   if test "x$ac_ct_OTOOL" = x; then
8574     OTOOL=":"
8575   else
8576     case $cross_compiling:$ac_tool_warned in
8577 yes:)
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8580 ac_tool_warned=yes ;;
8581 esac
8582     OTOOL=$ac_ct_OTOOL
8583   fi
8584 else
8585   OTOOL="$ac_cv_prog_OTOOL"
8586 fi
8587
8588     if test -n "$ac_tool_prefix"; then
8589   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8590 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8592 $as_echo_n "checking for $ac_word... " >&6; }
8593 if ${ac_cv_prog_OTOOL64+:} false; then :
8594   $as_echo_n "(cached) " >&6
8595 else
8596   if test -n "$OTOOL64"; then
8597   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8598 else
8599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8600 for as_dir in $PATH
8601 do
8602   IFS=$as_save_IFS
8603   test -z "$as_dir" && as_dir=.
8604     for ac_exec_ext in '' $ac_executable_extensions; do
8605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8606     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608     break 2
8609   fi
8610 done
8611   done
8612 IFS=$as_save_IFS
8613
8614 fi
8615 fi
8616 OTOOL64=$ac_cv_prog_OTOOL64
8617 if test -n "$OTOOL64"; then
8618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8619 $as_echo "$OTOOL64" >&6; }
8620 else
8621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622 $as_echo "no" >&6; }
8623 fi
8624
8625
8626 fi
8627 if test -z "$ac_cv_prog_OTOOL64"; then
8628   ac_ct_OTOOL64=$OTOOL64
8629   # Extract the first word of "otool64", so it can be a program name with args.
8630 set dummy otool64; ac_word=$2
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8632 $as_echo_n "checking for $ac_word... " >&6; }
8633 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8634   $as_echo_n "(cached) " >&6
8635 else
8636   if test -n "$ac_ct_OTOOL64"; then
8637   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8638 else
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8640 for as_dir in $PATH
8641 do
8642   IFS=$as_save_IFS
8643   test -z "$as_dir" && as_dir=.
8644     for ac_exec_ext in '' $ac_executable_extensions; do
8645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8646     ac_cv_prog_ac_ct_OTOOL64="otool64"
8647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8648     break 2
8649   fi
8650 done
8651   done
8652 IFS=$as_save_IFS
8653
8654 fi
8655 fi
8656 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8657 if test -n "$ac_ct_OTOOL64"; then
8658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8659 $as_echo "$ac_ct_OTOOL64" >&6; }
8660 else
8661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 $as_echo "no" >&6; }
8663 fi
8664
8665   if test "x$ac_ct_OTOOL64" = x; then
8666     OTOOL64=":"
8667   else
8668     case $cross_compiling:$ac_tool_warned in
8669 yes:)
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8672 ac_tool_warned=yes ;;
8673 esac
8674     OTOOL64=$ac_ct_OTOOL64
8675   fi
8676 else
8677   OTOOL64="$ac_cv_prog_OTOOL64"
8678 fi
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8707 $as_echo_n "checking for -single_module linker flag... " >&6; }
8708 if ${lt_cv_apple_cc_single_mod+:} false; then :
8709   $as_echo_n "(cached) " >&6
8710 else
8711   lt_cv_apple_cc_single_mod=no
8712       if test -z "${LT_MULTI_MODULE}"; then
8713         # By default we will add the -single_module flag. You can override
8714         # by either setting the environment variable LT_MULTI_MODULE
8715         # non-empty at configure time, or by adding -multi_module to the
8716         # link flags.
8717         rm -rf libconftest.dylib*
8718         echo "int foo(void){return 1;}" > conftest.c
8719         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8720 -dynamiclib -Wl,-single_module conftest.c" >&5
8721         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8722           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8723         _lt_result=$?
8724         # If there is a non-empty error log, and "single_module"
8725         # appears in it, assume the flag caused a linker warning
8726         if test -s conftest.err && $GREP single_module conftest.err; then
8727           cat conftest.err >&5
8728         # Otherwise, if the output was created with a 0 exit code from
8729         # the compiler, it worked.
8730         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8731           lt_cv_apple_cc_single_mod=yes
8732         else
8733           cat conftest.err >&5
8734         fi
8735         rm -rf libconftest.dylib*
8736         rm -f conftest.*
8737       fi
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8740 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8741
8742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8743 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8744 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8745   $as_echo_n "(cached) " >&6
8746 else
8747   lt_cv_ld_exported_symbols_list=no
8748       save_LDFLAGS=$LDFLAGS
8749       echo "_main" > conftest.sym
8750       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h.  */
8753
8754 int
8755 main ()
8756 {
8757
8758   ;
8759   return 0;
8760 }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763   lt_cv_ld_exported_symbols_list=yes
8764 else
8765   lt_cv_ld_exported_symbols_list=no
8766 fi
8767 rm -f core conftest.err conftest.$ac_objext \
8768     conftest$ac_exeext conftest.$ac_ext
8769         LDFLAGS="$save_LDFLAGS"
8770
8771 fi
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8773 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8774
8775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8776 $as_echo_n "checking for -force_load linker flag... " >&6; }
8777 if ${lt_cv_ld_force_load+:} false; then :
8778   $as_echo_n "(cached) " >&6
8779 else
8780   lt_cv_ld_force_load=no
8781       cat > conftest.c << _LT_EOF
8782 int forced_loaded() { return 2;}
8783 _LT_EOF
8784       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8785       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8786       echo "$AR cru libconftest.a conftest.o" >&5
8787       $AR cru libconftest.a conftest.o 2>&5
8788       echo "$RANLIB libconftest.a" >&5
8789       $RANLIB libconftest.a 2>&5
8790       cat > conftest.c << _LT_EOF
8791 int main() { return 0;}
8792 _LT_EOF
8793       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8794       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8795       _lt_result=$?
8796       if test -s conftest.err && $GREP force_load conftest.err; then
8797         cat conftest.err >&5
8798       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8799         lt_cv_ld_force_load=yes
8800       else
8801         cat conftest.err >&5
8802       fi
8803         rm -f conftest.err libconftest.a conftest conftest.c
8804         rm -rf conftest.dSYM
8805
8806 fi
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8808 $as_echo "$lt_cv_ld_force_load" >&6; }
8809     case $host_os in
8810     rhapsody* | darwin1.[012])
8811       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8812     darwin1.*)
8813       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8814     darwin*) # darwin 5.x on
8815       # if running on 10.5 or later, the deployment target defaults
8816       # to the OS version, if on x86, and 10.4, the deployment
8817       # target defaults to 10.4. Don't you love it?
8818       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8819         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8820           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8821         10.[012]*)
8822           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8823         10.*)
8824           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8825       esac
8826     ;;
8827   esac
8828     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8829       _lt_dar_single_mod='$single_module'
8830     fi
8831     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8832       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8833     else
8834       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8835     fi
8836     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8837       _lt_dsymutil='~$DSYMUTIL $lib || :'
8838     else
8839       _lt_dsymutil=
8840     fi
8841     ;;
8842   esac
8843
8844 ac_ext=c
8845 ac_cpp='$CPP $CPPFLAGS'
8846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8850 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8851 # On Suns, sometimes $CPP names a directory.
8852 if test -n "$CPP" && test -d "$CPP"; then
8853   CPP=
8854 fi
8855 if test -z "$CPP"; then
8856   if ${ac_cv_prog_CPP+:} false; then :
8857   $as_echo_n "(cached) " >&6
8858 else
8859       # Double quotes because CPP needs to be expanded
8860     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8861     do
8862       ac_preproc_ok=false
8863 for ac_c_preproc_warn_flag in '' yes
8864 do
8865   # Use a header file that comes with gcc, so configuring glibc
8866   # with a fresh cross-compiler works.
8867   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8868   # <limits.h> exists even on freestanding compilers.
8869   # On the NeXT, cc -E runs the code through the compiler's parser,
8870   # not just through cpp. "Syntax error" is here to catch this case.
8871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h.  */
8873 #ifdef __STDC__
8874 # include <limits.h>
8875 #else
8876 # include <assert.h>
8877 #endif
8878                      Syntax error
8879 _ACEOF
8880 if ac_fn_c_try_cpp "$LINENO"; then :
8881
8882 else
8883   # Broken: fails on valid input.
8884 continue
8885 fi
8886 rm -f conftest.err conftest.i conftest.$ac_ext
8887
8888   # OK, works on sane cases.  Now check whether nonexistent headers
8889   # can be detected and how.
8890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h.  */
8892 #include <ac_nonexistent.h>
8893 _ACEOF
8894 if ac_fn_c_try_cpp "$LINENO"; then :
8895   # Broken: success on invalid input.
8896 continue
8897 else
8898   # Passes both tests.
8899 ac_preproc_ok=:
8900 break
8901 fi
8902 rm -f conftest.err conftest.i conftest.$ac_ext
8903
8904 done
8905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8906 rm -f conftest.i conftest.err conftest.$ac_ext
8907 if $ac_preproc_ok; then :
8908   break
8909 fi
8910
8911     done
8912     ac_cv_prog_CPP=$CPP
8913
8914 fi
8915   CPP=$ac_cv_prog_CPP
8916 else
8917   ac_cv_prog_CPP=$CPP
8918 fi
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8920 $as_echo "$CPP" >&6; }
8921 ac_preproc_ok=false
8922 for ac_c_preproc_warn_flag in '' yes
8923 do
8924   # Use a header file that comes with gcc, so configuring glibc
8925   # with a fresh cross-compiler works.
8926   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8927   # <limits.h> exists even on freestanding compilers.
8928   # On the NeXT, cc -E runs the code through the compiler's parser,
8929   # not just through cpp. "Syntax error" is here to catch this case.
8930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h.  */
8932 #ifdef __STDC__
8933 # include <limits.h>
8934 #else
8935 # include <assert.h>
8936 #endif
8937                      Syntax error
8938 _ACEOF
8939 if ac_fn_c_try_cpp "$LINENO"; then :
8940
8941 else
8942   # Broken: fails on valid input.
8943 continue
8944 fi
8945 rm -f conftest.err conftest.i conftest.$ac_ext
8946
8947   # OK, works on sane cases.  Now check whether nonexistent headers
8948   # can be detected and how.
8949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8950 /* end confdefs.h.  */
8951 #include <ac_nonexistent.h>
8952 _ACEOF
8953 if ac_fn_c_try_cpp "$LINENO"; then :
8954   # Broken: success on invalid input.
8955 continue
8956 else
8957   # Passes both tests.
8958 ac_preproc_ok=:
8959 break
8960 fi
8961 rm -f conftest.err conftest.i conftest.$ac_ext
8962
8963 done
8964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8965 rm -f conftest.i conftest.err conftest.$ac_ext
8966 if $ac_preproc_ok; then :
8967
8968 else
8969   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8971 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8972 See \`config.log' for more details" "$LINENO" 5; }
8973 fi
8974
8975 ac_ext=c
8976 ac_cpp='$CPP $CPPFLAGS'
8977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8980
8981
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8983 $as_echo_n "checking for ANSI C header files... " >&6; }
8984 if ${ac_cv_header_stdc+:} false; then :
8985   $as_echo_n "(cached) " >&6
8986 else
8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h.  */
8989 #include <stdlib.h>
8990 #include <stdarg.h>
8991 #include <string.h>
8992 #include <float.h>
8993
8994 int
8995 main ()
8996 {
8997
8998   ;
8999   return 0;
9000 }
9001 _ACEOF
9002 if ac_fn_c_try_compile "$LINENO"; then :
9003   ac_cv_header_stdc=yes
9004 else
9005   ac_cv_header_stdc=no
9006 fi
9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9008
9009 if test $ac_cv_header_stdc = yes; then
9010   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h.  */
9013 #include <string.h>
9014
9015 _ACEOF
9016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9017   $EGREP "memchr" >/dev/null 2>&1; then :
9018
9019 else
9020   ac_cv_header_stdc=no
9021 fi
9022 rm -f conftest*
9023
9024 fi
9025
9026 if test $ac_cv_header_stdc = yes; then
9027   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h.  */
9030 #include <stdlib.h>
9031
9032 _ACEOF
9033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9034   $EGREP "free" >/dev/null 2>&1; then :
9035
9036 else
9037   ac_cv_header_stdc=no
9038 fi
9039 rm -f conftest*
9040
9041 fi
9042
9043 if test $ac_cv_header_stdc = yes; then
9044   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9045   if test "$cross_compiling" = yes; then :
9046   :
9047 else
9048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h.  */
9050 #include <ctype.h>
9051 #include <stdlib.h>
9052 #if ((' ' & 0x0FF) == 0x020)
9053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9055 #else
9056 # define ISLOWER(c) \
9057                    (('a' <= (c) && (c) <= 'i') \
9058                      || ('j' <= (c) && (c) <= 'r') \
9059                      || ('s' <= (c) && (c) <= 'z'))
9060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9061 #endif
9062
9063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9064 int
9065 main ()
9066 {
9067   int i;
9068   for (i = 0; i < 256; i++)
9069     if (XOR (islower (i), ISLOWER (i))
9070         || toupper (i) != TOUPPER (i))
9071       return 2;
9072   return 0;
9073 }
9074 _ACEOF
9075 if ac_fn_c_try_run "$LINENO"; then :
9076
9077 else
9078   ac_cv_header_stdc=no
9079 fi
9080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9081   conftest.$ac_objext conftest.beam conftest.$ac_ext
9082 fi
9083
9084 fi
9085 fi
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9087 $as_echo "$ac_cv_header_stdc" >&6; }
9088 if test $ac_cv_header_stdc = yes; then
9089
9090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9091
9092 fi
9093
9094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9095 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9096                   inttypes.h stdint.h unistd.h
9097 do :
9098   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9100 "
9101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9102   cat >>confdefs.h <<_ACEOF
9103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9104 _ACEOF
9105
9106 fi
9107
9108 done
9109
9110
9111 for ac_header in dlfcn.h
9112 do :
9113   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9114 "
9115 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9116   cat >>confdefs.h <<_ACEOF
9117 #define HAVE_DLFCN_H 1
9118 _ACEOF
9119
9120 fi
9121
9122 done
9123
9124
9125
9126 func_stripname_cnf ()
9127 {
9128   case ${2} in
9129   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9130   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9131   esac
9132 } # func_stripname_cnf
9133
9134
9135
9136
9137
9138 # Set options
9139 # Check whether --enable-static was given.
9140 if test "${enable_static+set}" = set; then :
9141   enableval=$enable_static; p=${PACKAGE-default}
9142     case $enableval in
9143     yes) enable_static=yes ;;
9144     no) enable_static=no ;;
9145     *)
9146      enable_static=no
9147       # Look at the argument we got.  We use all the common list separators.
9148       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9149       for pkg in $enableval; do
9150         IFS="$lt_save_ifs"
9151         if test "X$pkg" = "X$p"; then
9152           enable_static=yes
9153         fi
9154       done
9155       IFS="$lt_save_ifs"
9156       ;;
9157     esac
9158 else
9159   enable_static=no
9160 fi
9161
9162
9163
9164
9165
9166
9167
9168 enable_win32_dll=yes
9169
9170 case $host in
9171 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9172   if test -n "$ac_tool_prefix"; then
9173   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9174 set dummy ${ac_tool_prefix}as; ac_word=$2
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176 $as_echo_n "checking for $ac_word... " >&6; }
9177 if ${ac_cv_prog_AS+:} false; then :
9178   $as_echo_n "(cached) " >&6
9179 else
9180   if test -n "$AS"; then
9181   ac_cv_prog_AS="$AS" # Let the user override the test.
9182 else
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184 for as_dir in $PATH
9185 do
9186   IFS=$as_save_IFS
9187   test -z "$as_dir" && as_dir=.
9188     for ac_exec_ext in '' $ac_executable_extensions; do
9189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9190     ac_cv_prog_AS="${ac_tool_prefix}as"
9191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9192     break 2
9193   fi
9194 done
9195   done
9196 IFS=$as_save_IFS
9197
9198 fi
9199 fi
9200 AS=$ac_cv_prog_AS
9201 if test -n "$AS"; then
9202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9203 $as_echo "$AS" >&6; }
9204 else
9205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9206 $as_echo "no" >&6; }
9207 fi
9208
9209
9210 fi
9211 if test -z "$ac_cv_prog_AS"; then
9212   ac_ct_AS=$AS
9213   # Extract the first word of "as", so it can be a program name with args.
9214 set dummy as; ac_word=$2
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216 $as_echo_n "checking for $ac_word... " >&6; }
9217 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9218   $as_echo_n "(cached) " >&6
9219 else
9220   if test -n "$ac_ct_AS"; then
9221   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9222 else
9223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224 for as_dir in $PATH
9225 do
9226   IFS=$as_save_IFS
9227   test -z "$as_dir" && as_dir=.
9228     for ac_exec_ext in '' $ac_executable_extensions; do
9229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9230     ac_cv_prog_ac_ct_AS="as"
9231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232     break 2
9233   fi
9234 done
9235   done
9236 IFS=$as_save_IFS
9237
9238 fi
9239 fi
9240 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9241 if test -n "$ac_ct_AS"; then
9242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9243 $as_echo "$ac_ct_AS" >&6; }
9244 else
9245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9246 $as_echo "no" >&6; }
9247 fi
9248
9249   if test "x$ac_ct_AS" = x; then
9250     AS="false"
9251   else
9252     case $cross_compiling:$ac_tool_warned in
9253 yes:)
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9256 ac_tool_warned=yes ;;
9257 esac
9258     AS=$ac_ct_AS
9259   fi
9260 else
9261   AS="$ac_cv_prog_AS"
9262 fi
9263
9264   if test -n "$ac_tool_prefix"; then
9265   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9266 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268 $as_echo_n "checking for $ac_word... " >&6; }
9269 if ${ac_cv_prog_DLLTOOL+:} false; then :
9270   $as_echo_n "(cached) " >&6
9271 else
9272   if test -n "$DLLTOOL"; then
9273   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9274 else
9275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276 for as_dir in $PATH
9277 do
9278   IFS=$as_save_IFS
9279   test -z "$as_dir" && as_dir=.
9280     for ac_exec_ext in '' $ac_executable_extensions; do
9281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9282     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9284     break 2
9285   fi
9286 done
9287   done
9288 IFS=$as_save_IFS
9289
9290 fi
9291 fi
9292 DLLTOOL=$ac_cv_prog_DLLTOOL
9293 if test -n "$DLLTOOL"; then
9294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9295 $as_echo "$DLLTOOL" >&6; }
9296 else
9297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9299 fi
9300
9301
9302 fi
9303 if test -z "$ac_cv_prog_DLLTOOL"; then
9304   ac_ct_DLLTOOL=$DLLTOOL
9305   # Extract the first word of "dlltool", so it can be a program name with args.
9306 set dummy dlltool; ac_word=$2
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9308 $as_echo_n "checking for $ac_word... " >&6; }
9309 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9310   $as_echo_n "(cached) " >&6
9311 else
9312   if test -n "$ac_ct_DLLTOOL"; then
9313   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9314 else
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 for as_dir in $PATH
9317 do
9318   IFS=$as_save_IFS
9319   test -z "$as_dir" && as_dir=.
9320     for ac_exec_ext in '' $ac_executable_extensions; do
9321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9324     break 2
9325   fi
9326 done
9327   done
9328 IFS=$as_save_IFS
9329
9330 fi
9331 fi
9332 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9333 if test -n "$ac_ct_DLLTOOL"; then
9334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9335 $as_echo "$ac_ct_DLLTOOL" >&6; }
9336 else
9337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9339 fi
9340
9341   if test "x$ac_ct_DLLTOOL" = x; then
9342     DLLTOOL="false"
9343   else
9344     case $cross_compiling:$ac_tool_warned in
9345 yes:)
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9348 ac_tool_warned=yes ;;
9349 esac
9350     DLLTOOL=$ac_ct_DLLTOOL
9351   fi
9352 else
9353   DLLTOOL="$ac_cv_prog_DLLTOOL"
9354 fi
9355
9356   if test -n "$ac_tool_prefix"; then
9357   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9358 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9360 $as_echo_n "checking for $ac_word... " >&6; }
9361 if ${ac_cv_prog_OBJDUMP+:} false; then :
9362   $as_echo_n "(cached) " >&6
9363 else
9364   if test -n "$OBJDUMP"; then
9365   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9366 else
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 for as_dir in $PATH
9369 do
9370   IFS=$as_save_IFS
9371   test -z "$as_dir" && as_dir=.
9372     for ac_exec_ext in '' $ac_executable_extensions; do
9373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9374     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376     break 2
9377   fi
9378 done
9379   done
9380 IFS=$as_save_IFS
9381
9382 fi
9383 fi
9384 OBJDUMP=$ac_cv_prog_OBJDUMP
9385 if test -n "$OBJDUMP"; then
9386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9387 $as_echo "$OBJDUMP" >&6; }
9388 else
9389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390 $as_echo "no" >&6; }
9391 fi
9392
9393
9394 fi
9395 if test -z "$ac_cv_prog_OBJDUMP"; then
9396   ac_ct_OBJDUMP=$OBJDUMP
9397   # Extract the first word of "objdump", so it can be a program name with args.
9398 set dummy objdump; ac_word=$2
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9400 $as_echo_n "checking for $ac_word... " >&6; }
9401 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9402   $as_echo_n "(cached) " >&6
9403 else
9404   if test -n "$ac_ct_OBJDUMP"; then
9405   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9406 else
9407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9408 for as_dir in $PATH
9409 do
9410   IFS=$as_save_IFS
9411   test -z "$as_dir" && as_dir=.
9412     for ac_exec_ext in '' $ac_executable_extensions; do
9413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9416     break 2
9417   fi
9418 done
9419   done
9420 IFS=$as_save_IFS
9421
9422 fi
9423 fi
9424 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9425 if test -n "$ac_ct_OBJDUMP"; then
9426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9427 $as_echo "$ac_ct_OBJDUMP" >&6; }
9428 else
9429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9430 $as_echo "no" >&6; }
9431 fi
9432
9433   if test "x$ac_ct_OBJDUMP" = x; then
9434     OBJDUMP="false"
9435   else
9436     case $cross_compiling:$ac_tool_warned in
9437 yes:)
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9440 ac_tool_warned=yes ;;
9441 esac
9442     OBJDUMP=$ac_ct_OBJDUMP
9443   fi
9444 else
9445   OBJDUMP="$ac_cv_prog_OBJDUMP"
9446 fi
9447
9448   ;;
9449 esac
9450
9451 test -z "$AS" && AS=as
9452
9453
9454
9455
9456
9457 test -z "$DLLTOOL" && DLLTOOL=dlltool
9458
9459
9460
9461
9462
9463 test -z "$OBJDUMP" && OBJDUMP=objdump
9464
9465
9466
9467
9468
9469
9470
9471         enable_dlopen=no
9472
9473
9474
9475             # Check whether --enable-shared was given.
9476 if test "${enable_shared+set}" = set; then :
9477   enableval=$enable_shared; p=${PACKAGE-default}
9478     case $enableval in
9479     yes) enable_shared=yes ;;
9480     no) enable_shared=no ;;
9481     *)
9482       enable_shared=no
9483       # Look at the argument we got.  We use all the common list separators.
9484       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9485       for pkg in $enableval; do
9486         IFS="$lt_save_ifs"
9487         if test "X$pkg" = "X$p"; then
9488           enable_shared=yes
9489         fi
9490       done
9491       IFS="$lt_save_ifs"
9492       ;;
9493     esac
9494 else
9495   enable_shared=yes
9496 fi
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508 # Check whether --with-pic was given.
9509 if test "${with_pic+set}" = set; then :
9510   withval=$with_pic; lt_p=${PACKAGE-default}
9511     case $withval in
9512     yes|no) pic_mode=$withval ;;
9513     *)
9514       pic_mode=default
9515       # Look at the argument we got.  We use all the common list separators.
9516       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9517       for lt_pkg in $withval; do
9518         IFS="$lt_save_ifs"
9519         if test "X$lt_pkg" = "X$lt_p"; then
9520           pic_mode=yes
9521         fi
9522       done
9523       IFS="$lt_save_ifs"
9524       ;;
9525     esac
9526 else
9527   pic_mode=default
9528 fi
9529
9530
9531 test -z "$pic_mode" && pic_mode=default
9532
9533
9534
9535
9536
9537
9538
9539   # Check whether --enable-fast-install was given.
9540 if test "${enable_fast_install+set}" = set; then :
9541   enableval=$enable_fast_install; p=${PACKAGE-default}
9542     case $enableval in
9543     yes) enable_fast_install=yes ;;
9544     no) enable_fast_install=no ;;
9545     *)
9546       enable_fast_install=no
9547       # Look at the argument we got.  We use all the common list separators.
9548       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9549       for pkg in $enableval; do
9550         IFS="$lt_save_ifs"
9551         if test "X$pkg" = "X$p"; then
9552           enable_fast_install=yes
9553         fi
9554       done
9555       IFS="$lt_save_ifs"
9556       ;;
9557     esac
9558 else
9559   enable_fast_install=yes
9560 fi
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572 # This can be used to rebuild libtool when needed
9573 LIBTOOL_DEPS="$ltmain"
9574
9575 # Always use our own libtool.
9576 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607 test -z "$LN_S" && LN_S="ln -s"
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622 if test -n "${ZSH_VERSION+set}" ; then
9623    setopt NO_GLOB_SUBST
9624 fi
9625
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9627 $as_echo_n "checking for objdir... " >&6; }
9628 if ${lt_cv_objdir+:} false; then :
9629   $as_echo_n "(cached) " >&6
9630 else
9631   rm -f .libs 2>/dev/null
9632 mkdir .libs 2>/dev/null
9633 if test -d .libs; then
9634   lt_cv_objdir=.libs
9635 else
9636   # MS-DOS does not allow filenames that begin with a dot.
9637   lt_cv_objdir=_libs
9638 fi
9639 rmdir .libs 2>/dev/null
9640 fi
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9642 $as_echo "$lt_cv_objdir" >&6; }
9643 objdir=$lt_cv_objdir
9644
9645
9646
9647
9648
9649 cat >>confdefs.h <<_ACEOF
9650 #define LT_OBJDIR "$lt_cv_objdir/"
9651 _ACEOF
9652
9653
9654
9655
9656 case $host_os in
9657 aix3*)
9658   # AIX sometimes has problems with the GCC collect2 program.  For some
9659   # reason, if we set the COLLECT_NAMES environment variable, the problems
9660   # vanish in a puff of smoke.
9661   if test "X${COLLECT_NAMES+set}" != Xset; then
9662     COLLECT_NAMES=
9663     export COLLECT_NAMES
9664   fi
9665   ;;
9666 esac
9667
9668 # Global variables:
9669 ofile=libtool
9670 can_build_shared=yes
9671
9672 # All known linkers require a `.a' archive for static linking (except MSVC,
9673 # which needs '.lib').
9674 libext=a
9675
9676 with_gnu_ld="$lt_cv_prog_gnu_ld"
9677
9678 old_CC="$CC"
9679 old_CFLAGS="$CFLAGS"
9680
9681 # Set sane defaults for various variables
9682 test -z "$CC" && CC=cc
9683 test -z "$LTCC" && LTCC=$CC
9684 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9685 test -z "$LD" && LD=ld
9686 test -z "$ac_objext" && ac_objext=o
9687
9688 for cc_temp in $compiler""; do
9689   case $cc_temp in
9690     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9691     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9692     \-*) ;;
9693     *) break;;
9694   esac
9695 done
9696 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9697
9698
9699 # Only perform the check for file, if the check method requires it
9700 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9701 case $deplibs_check_method in
9702 file_magic*)
9703   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9705 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9706 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9707   $as_echo_n "(cached) " >&6
9708 else
9709   case $MAGIC_CMD in
9710 [\\/*] |  ?:[\\/]*)
9711   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9712   ;;
9713 *)
9714   lt_save_MAGIC_CMD="$MAGIC_CMD"
9715   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9716   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9717   for ac_dir in $ac_dummy; do
9718     IFS="$lt_save_ifs"
9719     test -z "$ac_dir" && ac_dir=.
9720     if test -f $ac_dir/${ac_tool_prefix}file; then
9721       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9722       if test -n "$file_magic_test_file"; then
9723         case $deplibs_check_method in
9724         "file_magic "*)
9725           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9726           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9727           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9728             $EGREP "$file_magic_regex" > /dev/null; then
9729             :
9730           else
9731             cat <<_LT_EOF 1>&2
9732
9733 *** Warning: the command libtool uses to detect shared libraries,
9734 *** $file_magic_cmd, produces output that libtool cannot recognize.
9735 *** The result is that libtool may fail to recognize shared libraries
9736 *** as such.  This will affect the creation of libtool libraries that
9737 *** depend on shared libraries, but programs linked with such libtool
9738 *** libraries will work regardless of this problem.  Nevertheless, you
9739 *** may want to report the problem to your system manager and/or to
9740 *** bug-libtool@gnu.org
9741
9742 _LT_EOF
9743           fi ;;
9744         esac
9745       fi
9746       break
9747     fi
9748   done
9749   IFS="$lt_save_ifs"
9750   MAGIC_CMD="$lt_save_MAGIC_CMD"
9751   ;;
9752 esac
9753 fi
9754
9755 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9756 if test -n "$MAGIC_CMD"; then
9757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9758 $as_echo "$MAGIC_CMD" >&6; }
9759 else
9760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9761 $as_echo "no" >&6; }
9762 fi
9763
9764
9765
9766
9767
9768 if test -z "$lt_cv_path_MAGIC_CMD"; then
9769   if test -n "$ac_tool_prefix"; then
9770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9771 $as_echo_n "checking for file... " >&6; }
9772 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9773   $as_echo_n "(cached) " >&6
9774 else
9775   case $MAGIC_CMD in
9776 [\\/*] |  ?:[\\/]*)
9777   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9778   ;;
9779 *)
9780   lt_save_MAGIC_CMD="$MAGIC_CMD"
9781   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9782   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9783   for ac_dir in $ac_dummy; do
9784     IFS="$lt_save_ifs"
9785     test -z "$ac_dir" && ac_dir=.
9786     if test -f $ac_dir/file; then
9787       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9788       if test -n "$file_magic_test_file"; then
9789         case $deplibs_check_method in
9790         "file_magic "*)
9791           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9792           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9793           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9794             $EGREP "$file_magic_regex" > /dev/null; then
9795             :
9796           else
9797             cat <<_LT_EOF 1>&2
9798
9799 *** Warning: the command libtool uses to detect shared libraries,
9800 *** $file_magic_cmd, produces output that libtool cannot recognize.
9801 *** The result is that libtool may fail to recognize shared libraries
9802 *** as such.  This will affect the creation of libtool libraries that
9803 *** depend on shared libraries, but programs linked with such libtool
9804 *** libraries will work regardless of this problem.  Nevertheless, you
9805 *** may want to report the problem to your system manager and/or to
9806 *** bug-libtool@gnu.org
9807
9808 _LT_EOF
9809           fi ;;
9810         esac
9811       fi
9812       break
9813     fi
9814   done
9815   IFS="$lt_save_ifs"
9816   MAGIC_CMD="$lt_save_MAGIC_CMD"
9817   ;;
9818 esac
9819 fi
9820
9821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9822 if test -n "$MAGIC_CMD"; then
9823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9824 $as_echo "$MAGIC_CMD" >&6; }
9825 else
9826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9828 fi
9829
9830
9831   else
9832     MAGIC_CMD=:
9833   fi
9834 fi
9835
9836   fi
9837   ;;
9838 esac
9839
9840 # Use C for the default configuration in the libtool script
9841
9842 lt_save_CC="$CC"
9843 ac_ext=c
9844 ac_cpp='$CPP $CPPFLAGS'
9845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9848
9849
9850 # Source file extension for C test sources.
9851 ac_ext=c
9852
9853 # Object file extension for compiled C test sources.
9854 objext=o
9855 objext=$objext
9856
9857 # Code to be used in simple compile tests
9858 lt_simple_compile_test_code="int some_variable = 0;"
9859
9860 # Code to be used in simple link tests
9861 lt_simple_link_test_code='int main(){return(0);}'
9862
9863
9864
9865
9866
9867
9868
9869 # If no C compiler was specified, use CC.
9870 LTCC=${LTCC-"$CC"}
9871
9872 # If no C compiler flags were specified, use CFLAGS.
9873 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9874
9875 # Allow CC to be a program name with arguments.
9876 compiler=$CC
9877
9878 # Save the default compiler, since it gets overwritten when the other
9879 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9880 compiler_DEFAULT=$CC
9881
9882 # save warnings/boilerplate of simple test code
9883 ac_outfile=conftest.$ac_objext
9884 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9885 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9886 _lt_compiler_boilerplate=`cat conftest.err`
9887 $RM conftest*
9888
9889 ac_outfile=conftest.$ac_objext
9890 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9891 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9892 _lt_linker_boilerplate=`cat conftest.err`
9893 $RM -r conftest*
9894
9895
9896 ## CAVEAT EMPTOR:
9897 ## There is no encapsulation within the following macros, do not change
9898 ## the running order or otherwise move them around unless you know exactly
9899 ## what you are doing...
9900 if test -n "$compiler"; then
9901
9902 lt_prog_compiler_no_builtin_flag=
9903
9904 if test "$GCC" = yes; then
9905   case $cc_basename in
9906   nvcc*)
9907     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9908   *)
9909     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9910   esac
9911
9912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9913 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9914 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9915   $as_echo_n "(cached) " >&6
9916 else
9917   lt_cv_prog_compiler_rtti_exceptions=no
9918    ac_outfile=conftest.$ac_objext
9919    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9920    lt_compiler_flag="-fno-rtti -fno-exceptions"
9921    # Insert the option either (1) after the last *FLAGS variable, or
9922    # (2) before a word containing "conftest.", or (3) at the end.
9923    # Note that $ac_compile itself does not contain backslashes and begins
9924    # with a dollar sign (not a hyphen), so the echo should work correctly.
9925    # The option is referenced via a variable to avoid confusing sed.
9926    lt_compile=`echo "$ac_compile" | $SED \
9927    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9928    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9929    -e 's:$: $lt_compiler_flag:'`
9930    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9931    (eval "$lt_compile" 2>conftest.err)
9932    ac_status=$?
9933    cat conftest.err >&5
9934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935    if (exit $ac_status) && test -s "$ac_outfile"; then
9936      # The compiler can only warn and ignore the option if not recognized
9937      # So say no if there are warnings other than the usual output.
9938      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9939      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9940      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9941        lt_cv_prog_compiler_rtti_exceptions=yes
9942      fi
9943    fi
9944    $RM conftest*
9945
9946 fi
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9948 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9949
9950 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9951     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9952 else
9953     :
9954 fi
9955
9956 fi
9957
9958
9959
9960
9961
9962
9963   lt_prog_compiler_wl=
9964 lt_prog_compiler_pic=
9965 lt_prog_compiler_static=
9966
9967
9968   if test "$GCC" = yes; then
9969     lt_prog_compiler_wl='-Wl,'
9970     lt_prog_compiler_static='-static'
9971
9972     case $host_os in
9973       aix*)
9974       # All AIX code is PIC.
9975       if test "$host_cpu" = ia64; then
9976         # AIX 5 now supports IA64 processor
9977         lt_prog_compiler_static='-Bstatic'
9978       fi
9979       ;;
9980
9981     amigaos*)
9982       case $host_cpu in
9983       powerpc)
9984             # see comment about AmigaOS4 .so support
9985             lt_prog_compiler_pic='-fPIC'
9986         ;;
9987       m68k)
9988             # FIXME: we need at least 68020 code to build shared libraries, but
9989             # adding the `-m68020' flag to GCC prevents building anything better,
9990             # like `-m68040'.
9991             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9992         ;;
9993       esac
9994       ;;
9995
9996     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9997       # PIC is the default for these OSes.
9998       ;;
9999
10000     mingw* | cygwin* | pw32* | os2* | cegcc*)
10001       # This hack is so that the source file can tell whether it is being
10002       # built for inclusion in a dll (and should export symbols for example).
10003       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10004       # (--disable-auto-import) libraries
10005       lt_prog_compiler_pic='-DDLL_EXPORT'
10006       ;;
10007
10008     darwin* | rhapsody*)
10009       # PIC is the default on this platform
10010       # Common symbols not allowed in MH_DYLIB files
10011       lt_prog_compiler_pic='-fno-common'
10012       ;;
10013
10014     haiku*)
10015       # PIC is the default for Haiku.
10016       # The "-static" flag exists, but is broken.
10017       lt_prog_compiler_static=
10018       ;;
10019
10020     hpux*)
10021       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10022       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10023       # sets the default TLS model and affects inlining.
10024       case $host_cpu in
10025       hppa*64*)
10026         # +Z the default
10027         ;;
10028       *)
10029         lt_prog_compiler_pic='-fPIC'
10030         ;;
10031       esac
10032       ;;
10033
10034     interix[3-9]*)
10035       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10036       # Instead, we relocate shared libraries at runtime.
10037       ;;
10038
10039     msdosdjgpp*)
10040       # Just because we use GCC doesn't mean we suddenly get shared libraries
10041       # on systems that don't support them.
10042       lt_prog_compiler_can_build_shared=no
10043       enable_shared=no
10044       ;;
10045
10046     *nto* | *qnx*)
10047       # QNX uses GNU C++, but need to define -shared option too, otherwise
10048       # it will coredump.
10049       lt_prog_compiler_pic='-fPIC -shared'
10050       ;;
10051
10052     sysv4*MP*)
10053       if test -d /usr/nec; then
10054         lt_prog_compiler_pic=-Kconform_pic
10055       fi
10056       ;;
10057
10058     *)
10059       lt_prog_compiler_pic='-fPIC'
10060       ;;
10061     esac
10062
10063     case $cc_basename in
10064     nvcc*) # Cuda Compiler Driver 2.2
10065       lt_prog_compiler_wl='-Xlinker '
10066       if test -n "$lt_prog_compiler_pic"; then
10067         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10068       fi
10069       ;;
10070     esac
10071   else
10072     # PORTME Check for flag to pass linker flags through the system compiler.
10073     case $host_os in
10074     aix*)
10075       lt_prog_compiler_wl='-Wl,'
10076       if test "$host_cpu" = ia64; then
10077         # AIX 5 now supports IA64 processor
10078         lt_prog_compiler_static='-Bstatic'
10079       else
10080         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10081       fi
10082       ;;
10083
10084     mingw* | cygwin* | pw32* | os2* | cegcc*)
10085       # This hack is so that the source file can tell whether it is being
10086       # built for inclusion in a dll (and should export symbols for example).
10087       lt_prog_compiler_pic='-DDLL_EXPORT'
10088       ;;
10089
10090     hpux9* | hpux10* | hpux11*)
10091       lt_prog_compiler_wl='-Wl,'
10092       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10093       # not for PA HP-UX.
10094       case $host_cpu in
10095       hppa*64*|ia64*)
10096         # +Z the default
10097         ;;
10098       *)
10099         lt_prog_compiler_pic='+Z'
10100         ;;
10101       esac
10102       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10103       lt_prog_compiler_static='${wl}-a ${wl}archive'
10104       ;;
10105
10106     irix5* | irix6* | nonstopux*)
10107       lt_prog_compiler_wl='-Wl,'
10108       # PIC (with -KPIC) is the default.
10109       lt_prog_compiler_static='-non_shared'
10110       ;;
10111
10112     linux* | k*bsd*-gnu | kopensolaris*-gnu)
10113       case $cc_basename in
10114       # old Intel for x86_64 which still supported -KPIC.
10115       ecc*)
10116         lt_prog_compiler_wl='-Wl,'
10117         lt_prog_compiler_pic='-KPIC'
10118         lt_prog_compiler_static='-static'
10119         ;;
10120       # icc used to be incompatible with GCC.
10121       # ICC 10 doesn't accept -KPIC any more.
10122       icc* | ifort*)
10123         lt_prog_compiler_wl='-Wl,'
10124         lt_prog_compiler_pic='-fPIC'
10125         lt_prog_compiler_static='-static'
10126         ;;
10127       # Lahey Fortran 8.1.
10128       lf95*)
10129         lt_prog_compiler_wl='-Wl,'
10130         lt_prog_compiler_pic='--shared'
10131         lt_prog_compiler_static='--static'
10132         ;;
10133       nagfor*)
10134         # NAG Fortran compiler
10135         lt_prog_compiler_wl='-Wl,-Wl,,'
10136         lt_prog_compiler_pic='-PIC'
10137         lt_prog_compiler_static='-Bstatic'
10138         ;;
10139       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10140         # Portland Group compilers (*not* the Pentium gcc compiler,
10141         # which looks to be a dead project)
10142         lt_prog_compiler_wl='-Wl,'
10143         lt_prog_compiler_pic='-fpic'
10144         lt_prog_compiler_static='-Bstatic'
10145         ;;
10146       ccc*)
10147         lt_prog_compiler_wl='-Wl,'
10148         # All Alpha code is PIC.
10149         lt_prog_compiler_static='-non_shared'
10150         ;;
10151       xl* | bgxl* | bgf* | mpixl*)
10152         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10153         lt_prog_compiler_wl='-Wl,'
10154         lt_prog_compiler_pic='-qpic'
10155         lt_prog_compiler_static='-qstaticlink'
10156         ;;
10157       *)
10158         case `$CC -V 2>&1 | sed 5q` in
10159         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10160           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10161           lt_prog_compiler_pic='-KPIC'
10162           lt_prog_compiler_static='-Bstatic'
10163           lt_prog_compiler_wl=''
10164           ;;
10165         *Sun\ F* | *Sun*Fortran*)
10166           lt_prog_compiler_pic='-KPIC'
10167           lt_prog_compiler_static='-Bstatic'
10168           lt_prog_compiler_wl='-Qoption ld '
10169           ;;
10170         *Sun\ C*)
10171           # Sun C 5.9
10172           lt_prog_compiler_pic='-KPIC'
10173           lt_prog_compiler_static='-Bstatic'
10174           lt_prog_compiler_wl='-Wl,'
10175           ;;
10176         *Intel*\ [CF]*Compiler*)
10177           lt_prog_compiler_wl='-Wl,'
10178           lt_prog_compiler_pic='-fPIC'
10179           lt_prog_compiler_static='-static'
10180           ;;
10181         *Portland\ Group*)
10182           lt_prog_compiler_wl='-Wl,'
10183           lt_prog_compiler_pic='-fpic'
10184           lt_prog_compiler_static='-Bstatic'
10185           ;;
10186         esac
10187         ;;
10188       esac
10189       ;;
10190
10191     newsos6)
10192       lt_prog_compiler_pic='-KPIC'
10193       lt_prog_compiler_static='-Bstatic'
10194       ;;
10195
10196     *nto* | *qnx*)
10197       # QNX uses GNU C++, but need to define -shared option too, otherwise
10198       # it will coredump.
10199       lt_prog_compiler_pic='-fPIC -shared'
10200       ;;
10201
10202     osf3* | osf4* | osf5*)
10203       lt_prog_compiler_wl='-Wl,'
10204       # All OSF/1 code is PIC.
10205       lt_prog_compiler_static='-non_shared'
10206       ;;
10207
10208     rdos*)
10209       lt_prog_compiler_static='-non_shared'
10210       ;;
10211
10212     solaris*)
10213       lt_prog_compiler_pic='-KPIC'
10214       lt_prog_compiler_static='-Bstatic'
10215       case $cc_basename in
10216       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10217         lt_prog_compiler_wl='-Qoption ld ';;
10218       *)
10219         lt_prog_compiler_wl='-Wl,';;
10220       esac
10221       ;;
10222
10223     sunos4*)
10224       lt_prog_compiler_wl='-Qoption ld '
10225       lt_prog_compiler_pic='-PIC'
10226       lt_prog_compiler_static='-Bstatic'
10227       ;;
10228
10229     sysv4 | sysv4.2uw2* | sysv4.3*)
10230       lt_prog_compiler_wl='-Wl,'
10231       lt_prog_compiler_pic='-KPIC'
10232       lt_prog_compiler_static='-Bstatic'
10233       ;;
10234
10235     sysv4*MP*)
10236       if test -d /usr/nec ;then
10237         lt_prog_compiler_pic='-Kconform_pic'
10238         lt_prog_compiler_static='-Bstatic'
10239       fi
10240       ;;
10241
10242     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10243       lt_prog_compiler_wl='-Wl,'
10244       lt_prog_compiler_pic='-KPIC'
10245       lt_prog_compiler_static='-Bstatic'
10246       ;;
10247
10248     unicos*)
10249       lt_prog_compiler_wl='-Wl,'
10250       lt_prog_compiler_can_build_shared=no
10251       ;;
10252
10253     uts4*)
10254       lt_prog_compiler_pic='-pic'
10255       lt_prog_compiler_static='-Bstatic'
10256       ;;
10257
10258     *)
10259       lt_prog_compiler_can_build_shared=no
10260       ;;
10261     esac
10262   fi
10263
10264 case $host_os in
10265   # For platforms which do not support PIC, -DPIC is meaningless:
10266   *djgpp*)
10267     lt_prog_compiler_pic=
10268     ;;
10269   *)
10270     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10271     ;;
10272 esac
10273
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10275 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10276 if ${lt_cv_prog_compiler_pic+:} false; then :
10277   $as_echo_n "(cached) " >&6
10278 else
10279   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10280 fi
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10282 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10283 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10284
10285 #
10286 # Check to make sure the PIC flag actually works.
10287 #
10288 if test -n "$lt_prog_compiler_pic"; then
10289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10290 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10291 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10292   $as_echo_n "(cached) " >&6
10293 else
10294   lt_cv_prog_compiler_pic_works=no
10295    ac_outfile=conftest.$ac_objext
10296    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10297    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10298    # Insert the option either (1) after the last *FLAGS variable, or
10299    # (2) before a word containing "conftest.", or (3) at the end.
10300    # Note that $ac_compile itself does not contain backslashes and begins
10301    # with a dollar sign (not a hyphen), so the echo should work correctly.
10302    # The option is referenced via a variable to avoid confusing sed.
10303    lt_compile=`echo "$ac_compile" | $SED \
10304    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10305    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10306    -e 's:$: $lt_compiler_flag:'`
10307    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10308    (eval "$lt_compile" 2>conftest.err)
10309    ac_status=$?
10310    cat conftest.err >&5
10311    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312    if (exit $ac_status) && test -s "$ac_outfile"; then
10313      # The compiler can only warn and ignore the option if not recognized
10314      # So say no if there are warnings other than the usual output.
10315      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10316      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10317      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10318        lt_cv_prog_compiler_pic_works=yes
10319      fi
10320    fi
10321    $RM conftest*
10322
10323 fi
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10325 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10326
10327 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10328     case $lt_prog_compiler_pic in
10329      "" | " "*) ;;
10330      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10331      esac
10332 else
10333     lt_prog_compiler_pic=
10334      lt_prog_compiler_can_build_shared=no
10335 fi
10336
10337 fi
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349 #
10350 # Check to make sure the static flag actually works.
10351 #
10352 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10354 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10355 if ${lt_cv_prog_compiler_static_works+:} false; then :
10356   $as_echo_n "(cached) " >&6
10357 else
10358   lt_cv_prog_compiler_static_works=no
10359    save_LDFLAGS="$LDFLAGS"
10360    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10361    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10362    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10363      # The linker can only warn and ignore the option if not recognized
10364      # So say no if there are warnings
10365      if test -s conftest.err; then
10366        # Append any errors to the config.log.
10367        cat conftest.err 1>&5
10368        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10369        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10370        if diff conftest.exp conftest.er2 >/dev/null; then
10371          lt_cv_prog_compiler_static_works=yes
10372        fi
10373      else
10374        lt_cv_prog_compiler_static_works=yes
10375      fi
10376    fi
10377    $RM -r conftest*
10378    LDFLAGS="$save_LDFLAGS"
10379
10380 fi
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10382 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10383
10384 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10385     :
10386 else
10387     lt_prog_compiler_static=
10388 fi
10389
10390
10391
10392
10393
10394
10395
10396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10397 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10398 if ${lt_cv_prog_compiler_c_o+:} false; then :
10399   $as_echo_n "(cached) " >&6
10400 else
10401   lt_cv_prog_compiler_c_o=no
10402    $RM -r conftest 2>/dev/null
10403    mkdir conftest
10404    cd conftest
10405    mkdir out
10406    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10407
10408    lt_compiler_flag="-o out/conftest2.$ac_objext"
10409    # Insert the option either (1) after the last *FLAGS variable, or
10410    # (2) before a word containing "conftest.", or (3) at the end.
10411    # Note that $ac_compile itself does not contain backslashes and begins
10412    # with a dollar sign (not a hyphen), so the echo should work correctly.
10413    lt_compile=`echo "$ac_compile" | $SED \
10414    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10415    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10416    -e 's:$: $lt_compiler_flag:'`
10417    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10418    (eval "$lt_compile" 2>out/conftest.err)
10419    ac_status=$?
10420    cat out/conftest.err >&5
10421    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10423    then
10424      # The compiler can only warn and ignore the option if not recognized
10425      # So say no if there are warnings
10426      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10427      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10428      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10429        lt_cv_prog_compiler_c_o=yes
10430      fi
10431    fi
10432    chmod u+w . 2>&5
10433    $RM conftest*
10434    # SGI C++ compiler will create directory out/ii_files/ for
10435    # template instantiation
10436    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10437    $RM out/* && rmdir out
10438    cd ..
10439    $RM -r conftest
10440    $RM conftest*
10441
10442 fi
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10444 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10445
10446
10447
10448
10449
10450
10451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10452 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10453 if ${lt_cv_prog_compiler_c_o+:} false; then :
10454   $as_echo_n "(cached) " >&6
10455 else
10456   lt_cv_prog_compiler_c_o=no
10457    $RM -r conftest 2>/dev/null
10458    mkdir conftest
10459    cd conftest
10460    mkdir out
10461    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10462
10463    lt_compiler_flag="-o out/conftest2.$ac_objext"
10464    # Insert the option either (1) after the last *FLAGS variable, or
10465    # (2) before a word containing "conftest.", or (3) at the end.
10466    # Note that $ac_compile itself does not contain backslashes and begins
10467    # with a dollar sign (not a hyphen), so the echo should work correctly.
10468    lt_compile=`echo "$ac_compile" | $SED \
10469    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10470    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10471    -e 's:$: $lt_compiler_flag:'`
10472    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10473    (eval "$lt_compile" 2>out/conftest.err)
10474    ac_status=$?
10475    cat out/conftest.err >&5
10476    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10478    then
10479      # The compiler can only warn and ignore the option if not recognized
10480      # So say no if there are warnings
10481      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10482      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10483      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10484        lt_cv_prog_compiler_c_o=yes
10485      fi
10486    fi
10487    chmod u+w . 2>&5
10488    $RM conftest*
10489    # SGI C++ compiler will create directory out/ii_files/ for
10490    # template instantiation
10491    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10492    $RM out/* && rmdir out
10493    cd ..
10494    $RM -r conftest
10495    $RM conftest*
10496
10497 fi
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10499 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10500
10501
10502
10503
10504 hard_links="nottested"
10505 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10506   # do not overwrite the value of need_locks provided by the user
10507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10508 $as_echo_n "checking if we can lock with hard links... " >&6; }
10509   hard_links=yes
10510   $RM conftest*
10511   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10512   touch conftest.a
10513   ln conftest.a conftest.b 2>&5 || hard_links=no
10514   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10516 $as_echo "$hard_links" >&6; }
10517   if test "$hard_links" = no; then
10518     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10519 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10520     need_locks=warn
10521   fi
10522 else
10523   need_locks=no
10524 fi
10525
10526
10527
10528
10529
10530
10531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10532 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10533
10534   runpath_var=
10535   allow_undefined_flag=
10536   always_export_symbols=no
10537   archive_cmds=
10538   archive_expsym_cmds=
10539   compiler_needs_object=no
10540   enable_shared_with_static_runtimes=no
10541   export_dynamic_flag_spec=
10542   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10543   hardcode_automatic=no
10544   hardcode_direct=no
10545   hardcode_direct_absolute=no
10546   hardcode_libdir_flag_spec=
10547   hardcode_libdir_separator=
10548   hardcode_minus_L=no
10549   hardcode_shlibpath_var=unsupported
10550   inherit_rpath=no
10551   link_all_deplibs=unknown
10552   module_cmds=
10553   module_expsym_cmds=
10554   old_archive_from_new_cmds=
10555   old_archive_from_expsyms_cmds=
10556   thread_safe_flag_spec=
10557   whole_archive_flag_spec=
10558   # include_expsyms should be a list of space-separated symbols to be *always*
10559   # included in the symbol list
10560   include_expsyms=
10561   # exclude_expsyms can be an extended regexp of symbols to exclude
10562   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10563   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10564   # as well as any symbol that contains `d'.
10565   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10566   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10567   # platforms (ab)use it in PIC code, but their linkers get confused if
10568   # the symbol is explicitly referenced.  Since portable code cannot
10569   # rely on this symbol name, it's probably fine to never include it in
10570   # preloaded symbol tables.
10571   # Exclude shared library initialization/finalization symbols.
10572   extract_expsyms_cmds=
10573
10574   case $host_os in
10575   cygwin* | mingw* | pw32* | cegcc*)
10576     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10577     # When not using gcc, we currently assume that we are using
10578     # Microsoft Visual C++.
10579     if test "$GCC" != yes; then
10580       with_gnu_ld=no
10581     fi
10582     ;;
10583   interix*)
10584     # we just hope/assume this is gcc and not c89 (= MSVC++)
10585     with_gnu_ld=yes
10586     ;;
10587   openbsd*)
10588     with_gnu_ld=no
10589     ;;
10590   esac
10591
10592   ld_shlibs=yes
10593
10594   # On some targets, GNU ld is compatible enough with the native linker
10595   # that we're better off using the native interface for both.
10596   lt_use_gnu_ld_interface=no
10597   if test "$with_gnu_ld" = yes; then
10598     case $host_os in
10599       aix*)
10600         # The AIX port of GNU ld has always aspired to compatibility
10601         # with the native linker.  However, as the warning in the GNU ld
10602         # block says, versions before 2.19.5* couldn't really create working
10603         # shared libraries, regardless of the interface used.
10604         case `$LD -v 2>&1` in
10605           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10606           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10607           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10608           *)
10609             lt_use_gnu_ld_interface=yes
10610             ;;
10611         esac
10612         ;;
10613       *)
10614         lt_use_gnu_ld_interface=yes
10615         ;;
10616     esac
10617   fi
10618
10619   if test "$lt_use_gnu_ld_interface" = yes; then
10620     # If archive_cmds runs LD, not CC, wlarc should be empty
10621     wlarc='${wl}'
10622
10623     # Set some defaults for GNU ld with shared library support. These
10624     # are reset later if shared libraries are not supported. Putting them
10625     # here allows them to be overridden if necessary.
10626     runpath_var=LD_RUN_PATH
10627     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10628     export_dynamic_flag_spec='${wl}--export-dynamic'
10629     # ancient GNU ld didn't support --whole-archive et. al.
10630     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10631       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10632     else
10633       whole_archive_flag_spec=
10634     fi
10635     supports_anon_versioning=no
10636     case `$LD -v 2>&1` in
10637       *GNU\ gold*) supports_anon_versioning=yes ;;
10638       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10639       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10640       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10641       *\ 2.11.*) ;; # other 2.11 versions
10642       *) supports_anon_versioning=yes ;;
10643     esac
10644
10645     # See if GNU ld supports shared libraries.
10646     case $host_os in
10647     aix[3-9]*)
10648       # On AIX/PPC, the GNU linker is very broken
10649       if test "$host_cpu" != ia64; then
10650         ld_shlibs=no
10651         cat <<_LT_EOF 1>&2
10652
10653 *** Warning: the GNU linker, at least up to release 2.19, is reported
10654 *** to be unable to reliably create shared libraries on AIX.
10655 *** Therefore, libtool is disabling shared libraries support.  If you
10656 *** really care for shared libraries, you may want to install binutils
10657 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10658 *** You will then need to restart the configuration process.
10659
10660 _LT_EOF
10661       fi
10662       ;;
10663
10664     amigaos*)
10665       case $host_cpu in
10666       powerpc)
10667             # see comment about AmigaOS4 .so support
10668             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10669             archive_expsym_cmds=''
10670         ;;
10671       m68k)
10672             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)'
10673             hardcode_libdir_flag_spec='-L$libdir'
10674             hardcode_minus_L=yes
10675         ;;
10676       esac
10677       ;;
10678
10679     beos*)
10680       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10681         allow_undefined_flag=unsupported
10682         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10683         # support --undefined.  This deserves some investigation.  FIXME
10684         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10685       else
10686         ld_shlibs=no
10687       fi
10688       ;;
10689
10690     cygwin* | mingw* | pw32* | cegcc*)
10691       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10692       # as there is no search path for DLLs.
10693       hardcode_libdir_flag_spec='-L$libdir'
10694       export_dynamic_flag_spec='${wl}--export-all-symbols'
10695       allow_undefined_flag=unsupported
10696       always_export_symbols=no
10697       enable_shared_with_static_runtimes=yes
10698       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'
10699       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10700
10701       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10702         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10703         # If the export-symbols file already is a .def file (1st line
10704         # is EXPORTS), use it as is; otherwise, prepend...
10705         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10706           cp $export_symbols $output_objdir/$soname.def;
10707         else
10708           echo EXPORTS > $output_objdir/$soname.def;
10709           cat $export_symbols >> $output_objdir/$soname.def;
10710         fi~
10711         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10712       else
10713         ld_shlibs=no
10714       fi
10715       ;;
10716
10717     haiku*)
10718       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10719       link_all_deplibs=yes
10720       ;;
10721
10722     interix[3-9]*)
10723       hardcode_direct=no
10724       hardcode_shlibpath_var=no
10725       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10726       export_dynamic_flag_spec='${wl}-E'
10727       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10728       # Instead, shared libraries are loaded at an image base (0x10000000 by
10729       # default) and relocated if they conflict, which is a slow very memory
10730       # consuming and fragmenting process.  To avoid this, we pick a random,
10731       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10732       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10733       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10734       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'
10735       ;;
10736
10737     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10738       tmp_diet=no
10739       if test "$host_os" = linux-dietlibc; then
10740         case $cc_basename in
10741           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10742         esac
10743       fi
10744       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10745          && test "$tmp_diet" = no
10746       then
10747         tmp_addflag=' $pic_flag'
10748         tmp_sharedflag='-shared'
10749         case $cc_basename,$host_cpu in
10750         pgcc*)                          # Portland Group C compiler
10751           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'
10752           tmp_addflag=' $pic_flag'
10753           ;;
10754         pgf77* | pgf90* | pgf95* | pgfortran*)
10755                                         # Portland Group f77 and f90 compilers
10756           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'
10757           tmp_addflag=' $pic_flag -Mnomain' ;;
10758         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10759           tmp_addflag=' -i_dynamic' ;;
10760         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10761           tmp_addflag=' -i_dynamic -nofor_main' ;;
10762         ifc* | ifort*)                  # Intel Fortran compiler
10763           tmp_addflag=' -nofor_main' ;;
10764         lf95*)                          # Lahey Fortran 8.1
10765           whole_archive_flag_spec=
10766           tmp_sharedflag='--shared' ;;
10767         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10768           tmp_sharedflag='-qmkshrobj'
10769           tmp_addflag= ;;
10770         nvcc*)  # Cuda Compiler Driver 2.2
10771           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'
10772           compiler_needs_object=yes
10773           ;;
10774         esac
10775         case `$CC -V 2>&1 | sed 5q` in
10776         *Sun\ C*)                       # Sun C 5.9
10777           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'
10778           compiler_needs_object=yes
10779           tmp_sharedflag='-G' ;;
10780         *Sun\ F*)                       # Sun Fortran 8.3
10781           tmp_sharedflag='-G' ;;
10782         esac
10783         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10784
10785         if test "x$supports_anon_versioning" = xyes; then
10786           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10787             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10788             echo "local: *; };" >> $output_objdir/$libname.ver~
10789             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10790         fi
10791
10792         case $cc_basename in
10793         xlf* | bgf* | bgxlf* | mpixlf*)
10794           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10795           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10796           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10797           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10798           if test "x$supports_anon_versioning" = xyes; then
10799             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10800               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10801               echo "local: *; };" >> $output_objdir/$libname.ver~
10802               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10803           fi
10804           ;;
10805         esac
10806       else
10807         ld_shlibs=no
10808       fi
10809       ;;
10810
10811     netbsd*)
10812       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10813         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10814         wlarc=
10815       else
10816         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10817         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10818       fi
10819       ;;
10820
10821     solaris*)
10822       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10823         ld_shlibs=no
10824         cat <<_LT_EOF 1>&2
10825
10826 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10827 *** create shared libraries on Solaris systems.  Therefore, libtool
10828 *** is disabling shared libraries support.  We urge you to upgrade GNU
10829 *** binutils to release 2.9.1 or newer.  Another option is to modify
10830 *** your PATH or compiler configuration so that the native linker is
10831 *** used, and then restart.
10832
10833 _LT_EOF
10834       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10835         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10836         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10837       else
10838         ld_shlibs=no
10839       fi
10840       ;;
10841
10842     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10843       case `$LD -v 2>&1` in
10844         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10845         ld_shlibs=no
10846         cat <<_LT_EOF 1>&2
10847
10848 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10849 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10850 *** is disabling shared libraries support.  We urge you to upgrade GNU
10851 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10852 *** your PATH or compiler configuration so that the native linker is
10853 *** used, and then restart.
10854
10855 _LT_EOF
10856         ;;
10857         *)
10858           # For security reasons, it is highly recommended that you always
10859           # use absolute paths for naming shared libraries, and exclude the
10860           # DT_RUNPATH tag from executables and libraries.  But doing so
10861           # requires that you compile everything twice, which is a pain.
10862           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10863             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10864             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10865             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10866           else
10867             ld_shlibs=no
10868           fi
10869         ;;
10870       esac
10871       ;;
10872
10873     sunos4*)
10874       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10875       wlarc=
10876       hardcode_direct=yes
10877       hardcode_shlibpath_var=no
10878       ;;
10879
10880     *)
10881       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10882         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10883         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10884       else
10885         ld_shlibs=no
10886       fi
10887       ;;
10888     esac
10889
10890     if test "$ld_shlibs" = no; then
10891       runpath_var=
10892       hardcode_libdir_flag_spec=
10893       export_dynamic_flag_spec=
10894       whole_archive_flag_spec=
10895     fi
10896   else
10897     # PORTME fill in a description of your system's linker (not GNU ld)
10898     case $host_os in
10899     aix3*)
10900       allow_undefined_flag=unsupported
10901       always_export_symbols=yes
10902       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'
10903       # Note: this linker hardcodes the directories in LIBPATH if there
10904       # are no directories specified by -L.
10905       hardcode_minus_L=yes
10906       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10907         # Neither direct hardcoding nor static linking is supported with a
10908         # broken collect2.
10909         hardcode_direct=unsupported
10910       fi
10911       ;;
10912
10913     aix[4-9]*)
10914       if test "$host_cpu" = ia64; then
10915         # On IA64, the linker does run time linking by default, so we don't
10916         # have to do anything special.
10917         aix_use_runtimelinking=no
10918         exp_sym_flag='-Bexport'
10919         no_entry_flag=""
10920       else
10921         # If we're using GNU nm, then we don't want the "-C" option.
10922         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10923         # Also, AIX nm treats weak defined symbols like other global
10924         # defined symbols, whereas GNU nm marks them as "W".
10925         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10926           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'
10927         else
10928           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'
10929         fi
10930         aix_use_runtimelinking=no
10931
10932         # Test if we are trying to use run time linking or normal
10933         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10934         # need to do runtime linking.
10935         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10936           for ld_flag in $LDFLAGS; do
10937           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10938             aix_use_runtimelinking=yes
10939             break
10940           fi
10941           done
10942           ;;
10943         esac
10944
10945         exp_sym_flag='-bexport'
10946         no_entry_flag='-bnoentry'
10947       fi
10948
10949       # When large executables or shared objects are built, AIX ld can
10950       # have problems creating the table of contents.  If linking a library
10951       # or program results in "error TOC overflow" add -mminimal-toc to
10952       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10953       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10954
10955       archive_cmds=''
10956       hardcode_direct=yes
10957       hardcode_direct_absolute=yes
10958       hardcode_libdir_separator=':'
10959       link_all_deplibs=yes
10960       file_list_spec='${wl}-f,'
10961
10962       if test "$GCC" = yes; then
10963         case $host_os in aix4.[012]|aix4.[012].*)
10964         # We only want to do this on AIX 4.2 and lower, the check
10965         # below for broken collect2 doesn't work under 4.3+
10966           collect2name=`${CC} -print-prog-name=collect2`
10967           if test -f "$collect2name" &&
10968            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10969           then
10970           # We have reworked collect2
10971           :
10972           else
10973           # We have old collect2
10974           hardcode_direct=unsupported
10975           # It fails to find uninstalled libraries when the uninstalled
10976           # path is not listed in the libpath.  Setting hardcode_minus_L
10977           # to unsupported forces relinking
10978           hardcode_minus_L=yes
10979           hardcode_libdir_flag_spec='-L$libdir'
10980           hardcode_libdir_separator=
10981           fi
10982           ;;
10983         esac
10984         shared_flag='-shared'
10985         if test "$aix_use_runtimelinking" = yes; then
10986           shared_flag="$shared_flag "'${wl}-G'
10987         fi
10988       else
10989         # not using gcc
10990         if test "$host_cpu" = ia64; then
10991         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10992         # chokes on -Wl,-G. The following line is correct:
10993           shared_flag='-G'
10994         else
10995           if test "$aix_use_runtimelinking" = yes; then
10996             shared_flag='${wl}-G'
10997           else
10998             shared_flag='${wl}-bM:SRE'
10999           fi
11000         fi
11001       fi
11002
11003       export_dynamic_flag_spec='${wl}-bexpall'
11004       # It seems that -bexpall does not export symbols beginning with
11005       # underscore (_), so it is better to generate a list of symbols to export.
11006       always_export_symbols=yes
11007       if test "$aix_use_runtimelinking" = yes; then
11008         # Warning - without using the other runtime loading flags (-brtl),
11009         # -berok will link without error, but may produce a broken library.
11010         allow_undefined_flag='-berok'
11011         # Determine the default libpath from the value encoded in an
11012         # empty executable.
11013         if test "${lt_cv_aix_libpath+set}" = set; then
11014   aix_libpath=$lt_cv_aix_libpath
11015 else
11016   if ${lt_cv_aix_libpath_+:} false; then :
11017   $as_echo_n "(cached) " >&6
11018 else
11019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h.  */
11021
11022 int
11023 main ()
11024 {
11025
11026   ;
11027   return 0;
11028 }
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11031
11032   lt_aix_libpath_sed='
11033       /Import File Strings/,/^$/ {
11034           /^0/ {
11035               s/^0  *\([^ ]*\) *$/\1/
11036               p
11037           }
11038       }'
11039   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11040   # Check for a 64-bit object if we didn't find anything.
11041   if test -z "$lt_cv_aix_libpath_"; then
11042     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11043   fi
11044 fi
11045 rm -f core conftest.err conftest.$ac_objext \
11046     conftest$ac_exeext conftest.$ac_ext
11047   if test -z "$lt_cv_aix_libpath_"; then
11048     lt_cv_aix_libpath_="/usr/lib:/lib"
11049   fi
11050
11051 fi
11052
11053   aix_libpath=$lt_cv_aix_libpath_
11054 fi
11055
11056         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11057         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"
11058       else
11059         if test "$host_cpu" = ia64; then
11060           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11061           allow_undefined_flag="-z nodefs"
11062           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"
11063         else
11064          # Determine the default libpath from the value encoded in an
11065          # empty executable.
11066          if test "${lt_cv_aix_libpath+set}" = set; then
11067   aix_libpath=$lt_cv_aix_libpath
11068 else
11069   if ${lt_cv_aix_libpath_+:} false; then :
11070   $as_echo_n "(cached) " >&6
11071 else
11072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h.  */
11074
11075 int
11076 main ()
11077 {
11078
11079   ;
11080   return 0;
11081 }
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084
11085   lt_aix_libpath_sed='
11086       /Import File Strings/,/^$/ {
11087           /^0/ {
11088               s/^0  *\([^ ]*\) *$/\1/
11089               p
11090           }
11091       }'
11092   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11093   # Check for a 64-bit object if we didn't find anything.
11094   if test -z "$lt_cv_aix_libpath_"; then
11095     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11096   fi
11097 fi
11098 rm -f core conftest.err conftest.$ac_objext \
11099     conftest$ac_exeext conftest.$ac_ext
11100   if test -z "$lt_cv_aix_libpath_"; then
11101     lt_cv_aix_libpath_="/usr/lib:/lib"
11102   fi
11103
11104 fi
11105
11106   aix_libpath=$lt_cv_aix_libpath_
11107 fi
11108
11109          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11110           # Warning - without using the other run time loading flags,
11111           # -berok will link without error, but may produce a broken library.
11112           no_undefined_flag=' ${wl}-bernotok'
11113           allow_undefined_flag=' ${wl}-berok'
11114           if test "$with_gnu_ld" = yes; then
11115             # We only use this code for GNU lds that support --whole-archive.
11116             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11117           else
11118             # Exported symbols can be pulled into shared objects from archives
11119             whole_archive_flag_spec='$convenience'
11120           fi
11121           archive_cmds_need_lc=yes
11122           # This is similar to how AIX traditionally builds its shared libraries.
11123           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'
11124         fi
11125       fi
11126       ;;
11127
11128     amigaos*)
11129       case $host_cpu in
11130       powerpc)
11131             # see comment about AmigaOS4 .so support
11132             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11133             archive_expsym_cmds=''
11134         ;;
11135       m68k)
11136             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)'
11137             hardcode_libdir_flag_spec='-L$libdir'
11138             hardcode_minus_L=yes
11139         ;;
11140       esac
11141       ;;
11142
11143     bsdi[45]*)
11144       export_dynamic_flag_spec=-rdynamic
11145       ;;
11146
11147     cygwin* | mingw* | pw32* | cegcc*)
11148       # When not using gcc, we currently assume that we are using
11149       # Microsoft Visual C++.
11150       # hardcode_libdir_flag_spec is actually meaningless, as there is
11151       # no search path for DLLs.
11152       case $cc_basename in
11153       cl*)
11154         # Native MSVC
11155         hardcode_libdir_flag_spec=' '
11156         allow_undefined_flag=unsupported
11157         always_export_symbols=yes
11158         file_list_spec='@'
11159         # Tell ltmain to make .lib files, not .a files.
11160         libext=lib
11161         # Tell ltmain to make .dll files, not .so files.
11162         shrext_cmds=".dll"
11163         # FIXME: Setting linknames here is a bad hack.
11164         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11165         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11166             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11167           else
11168             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11169           fi~
11170           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11171           linknames='
11172         # The linker will not automatically build a static lib if we build a DLL.
11173         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11174         enable_shared_with_static_runtimes=yes
11175         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11176         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11177         # Don't use ranlib
11178         old_postinstall_cmds='chmod 644 $oldlib'
11179         postlink_cmds='lt_outputfile="@OUTPUT@"~
11180           lt_tool_outputfile="@TOOL_OUTPUT@"~
11181           case $lt_outputfile in
11182             *.exe|*.EXE) ;;
11183             *)
11184               lt_outputfile="$lt_outputfile.exe"
11185               lt_tool_outputfile="$lt_tool_outputfile.exe"
11186               ;;
11187           esac~
11188           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11189             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11190             $RM "$lt_outputfile.manifest";
11191           fi'
11192         ;;
11193       *)
11194         # Assume MSVC wrapper
11195         hardcode_libdir_flag_spec=' '
11196         allow_undefined_flag=unsupported
11197         # Tell ltmain to make .lib files, not .a files.
11198         libext=lib
11199         # Tell ltmain to make .dll files, not .so files.
11200         shrext_cmds=".dll"
11201         # FIXME: Setting linknames here is a bad hack.
11202         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11203         # The linker will automatically build a .lib file if we build a DLL.
11204         old_archive_from_new_cmds='true'
11205         # FIXME: Should let the user specify the lib program.
11206         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11207         enable_shared_with_static_runtimes=yes
11208         ;;
11209       esac
11210       ;;
11211
11212     darwin* | rhapsody*)
11213
11214
11215   archive_cmds_need_lc=no
11216   hardcode_direct=no
11217   hardcode_automatic=yes
11218   hardcode_shlibpath_var=unsupported
11219   if test "$lt_cv_ld_force_load" = "yes"; then
11220     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\"`'
11221
11222   else
11223     whole_archive_flag_spec=''
11224   fi
11225   link_all_deplibs=yes
11226   allow_undefined_flag="$_lt_dar_allow_undefined"
11227   case $cc_basename in
11228      ifort*) _lt_dar_can_shared=yes ;;
11229      *) _lt_dar_can_shared=$GCC ;;
11230   esac
11231   if test "$_lt_dar_can_shared" = "yes"; then
11232     output_verbose_link_cmd=func_echo_all
11233     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11234     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11235     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}"
11236     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}"
11237
11238   else
11239   ld_shlibs=no
11240   fi
11241
11242       ;;
11243
11244     dgux*)
11245       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246       hardcode_libdir_flag_spec='-L$libdir'
11247       hardcode_shlibpath_var=no
11248       ;;
11249
11250     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11251     # support.  Future versions do this automatically, but an explicit c++rt0.o
11252     # does not break anything, and helps significantly (at the cost of a little
11253     # extra space).
11254     freebsd2.2*)
11255       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11256       hardcode_libdir_flag_spec='-R$libdir'
11257       hardcode_direct=yes
11258       hardcode_shlibpath_var=no
11259       ;;
11260
11261     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11262     freebsd2.*)
11263       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11264       hardcode_direct=yes
11265       hardcode_minus_L=yes
11266       hardcode_shlibpath_var=no
11267       ;;
11268
11269     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11270     freebsd* | dragonfly*)
11271       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11272       hardcode_libdir_flag_spec='-R$libdir'
11273       hardcode_direct=yes
11274       hardcode_shlibpath_var=no
11275       ;;
11276
11277     hpux9*)
11278       if test "$GCC" = yes; then
11279         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'
11280       else
11281         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'
11282       fi
11283       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11284       hardcode_libdir_separator=:
11285       hardcode_direct=yes
11286
11287       # hardcode_minus_L: Not really in the search PATH,
11288       # but as the default location of the library.
11289       hardcode_minus_L=yes
11290       export_dynamic_flag_spec='${wl}-E'
11291       ;;
11292
11293     hpux10*)
11294       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11295         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11296       else
11297         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11298       fi
11299       if test "$with_gnu_ld" = no; then
11300         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11301         hardcode_libdir_separator=:
11302         hardcode_direct=yes
11303         hardcode_direct_absolute=yes
11304         export_dynamic_flag_spec='${wl}-E'
11305         # hardcode_minus_L: Not really in the search PATH,
11306         # but as the default location of the library.
11307         hardcode_minus_L=yes
11308       fi
11309       ;;
11310
11311     hpux11*)
11312       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11313         case $host_cpu in
11314         hppa*64*)
11315           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11316           ;;
11317         ia64*)
11318           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11319           ;;
11320         *)
11321           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11322           ;;
11323         esac
11324       else
11325         case $host_cpu in
11326         hppa*64*)
11327           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11328           ;;
11329         ia64*)
11330           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11331           ;;
11332         *)
11333
11334           # Older versions of the 11.00 compiler do not understand -b yet
11335           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11336           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11337 $as_echo_n "checking if $CC understands -b... " >&6; }
11338 if ${lt_cv_prog_compiler__b+:} false; then :
11339   $as_echo_n "(cached) " >&6
11340 else
11341   lt_cv_prog_compiler__b=no
11342    save_LDFLAGS="$LDFLAGS"
11343    LDFLAGS="$LDFLAGS -b"
11344    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11345    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11346      # The linker can only warn and ignore the option if not recognized
11347      # So say no if there are warnings
11348      if test -s conftest.err; then
11349        # Append any errors to the config.log.
11350        cat conftest.err 1>&5
11351        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11352        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11353        if diff conftest.exp conftest.er2 >/dev/null; then
11354          lt_cv_prog_compiler__b=yes
11355        fi
11356      else
11357        lt_cv_prog_compiler__b=yes
11358      fi
11359    fi
11360    $RM -r conftest*
11361    LDFLAGS="$save_LDFLAGS"
11362
11363 fi
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11365 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11366
11367 if test x"$lt_cv_prog_compiler__b" = xyes; then
11368     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11369 else
11370     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11371 fi
11372
11373           ;;
11374         esac
11375       fi
11376       if test "$with_gnu_ld" = no; then
11377         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11378         hardcode_libdir_separator=:
11379
11380         case $host_cpu in
11381         hppa*64*|ia64*)
11382           hardcode_direct=no
11383           hardcode_shlibpath_var=no
11384           ;;
11385         *)
11386           hardcode_direct=yes
11387           hardcode_direct_absolute=yes
11388           export_dynamic_flag_spec='${wl}-E'
11389
11390           # hardcode_minus_L: Not really in the search PATH,
11391           # but as the default location of the library.
11392           hardcode_minus_L=yes
11393           ;;
11394         esac
11395       fi
11396       ;;
11397
11398     irix5* | irix6* | nonstopux*)
11399       if test "$GCC" = yes; then
11400         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'
11401         # Try to use the -exported_symbol ld option, if it does not
11402         # work, assume that -exports_file does not work either and
11403         # implicitly export all symbols.
11404         # This should be the same for all languages, so no per-tag cache variable.
11405         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11406 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11407 if ${lt_cv_irix_exported_symbol+:} false; then :
11408   $as_echo_n "(cached) " >&6
11409 else
11410   save_LDFLAGS="$LDFLAGS"
11411            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11412            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h.  */
11414 int foo (void) { return 0; }
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417   lt_cv_irix_exported_symbol=yes
11418 else
11419   lt_cv_irix_exported_symbol=no
11420 fi
11421 rm -f core conftest.err conftest.$ac_objext \
11422     conftest$ac_exeext conftest.$ac_ext
11423            LDFLAGS="$save_LDFLAGS"
11424 fi
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11426 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11427         if test "$lt_cv_irix_exported_symbol" = yes; then
11428           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'
11429         fi
11430       else
11431         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'
11432         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'
11433       fi
11434       archive_cmds_need_lc='no'
11435       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11436       hardcode_libdir_separator=:
11437       inherit_rpath=yes
11438       link_all_deplibs=yes
11439       ;;
11440
11441     netbsd*)
11442       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11443         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11444       else
11445         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11446       fi
11447       hardcode_libdir_flag_spec='-R$libdir'
11448       hardcode_direct=yes
11449       hardcode_shlibpath_var=no
11450       ;;
11451
11452     newsos6)
11453       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11454       hardcode_direct=yes
11455       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11456       hardcode_libdir_separator=:
11457       hardcode_shlibpath_var=no
11458       ;;
11459
11460     *nto* | *qnx*)
11461       ;;
11462
11463     openbsd*)
11464       if test -f /usr/libexec/ld.so; then
11465         hardcode_direct=yes
11466         hardcode_shlibpath_var=no
11467         hardcode_direct_absolute=yes
11468         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11469           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11470           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11471           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11472           export_dynamic_flag_spec='${wl}-E'
11473         else
11474           case $host_os in
11475            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11476              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11477              hardcode_libdir_flag_spec='-R$libdir'
11478              ;;
11479            *)
11480              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11481              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11482              ;;
11483           esac
11484         fi
11485       else
11486         ld_shlibs=no
11487       fi
11488       ;;
11489
11490     os2*)
11491       hardcode_libdir_flag_spec='-L$libdir'
11492       hardcode_minus_L=yes
11493       allow_undefined_flag=unsupported
11494       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'
11495       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11496       ;;
11497
11498     osf3*)
11499       if test "$GCC" = yes; then
11500         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11501         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'
11502       else
11503         allow_undefined_flag=' -expect_unresolved \*'
11504         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'
11505       fi
11506       archive_cmds_need_lc='no'
11507       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11508       hardcode_libdir_separator=:
11509       ;;
11510
11511     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11512       if test "$GCC" = yes; then
11513         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11514         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'
11515         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11516       else
11517         allow_undefined_flag=' -expect_unresolved \*'
11518         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'
11519         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~
11520         $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'
11521
11522         # Both c and cxx compiler support -rpath directly
11523         hardcode_libdir_flag_spec='-rpath $libdir'
11524       fi
11525       archive_cmds_need_lc='no'
11526       hardcode_libdir_separator=:
11527       ;;
11528
11529     solaris*)
11530       no_undefined_flag=' -z defs'
11531       if test "$GCC" = yes; then
11532         wlarc='${wl}'
11533         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11534         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11535           $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'
11536       else
11537         case `$CC -V 2>&1` in
11538         *"Compilers 5.0"*)
11539           wlarc=''
11540           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11541           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11542           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11543           ;;
11544         *)
11545           wlarc='${wl}'
11546           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11547           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11548           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11549           ;;
11550         esac
11551       fi
11552       hardcode_libdir_flag_spec='-R$libdir'
11553       hardcode_shlibpath_var=no
11554       case $host_os in
11555       solaris2.[0-5] | solaris2.[0-5].*) ;;
11556       *)
11557         # The compiler driver will combine and reorder linker options,
11558         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11559         # but is careful enough not to reorder.
11560         # Supported since Solaris 2.6 (maybe 2.5.1?)
11561         if test "$GCC" = yes; then
11562           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11563         else
11564           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11565         fi
11566         ;;
11567       esac
11568       link_all_deplibs=yes
11569       ;;
11570
11571     sunos4*)
11572       if test "x$host_vendor" = xsequent; then
11573         # Use $CC to link under sequent, because it throws in some extra .o
11574         # files that make .init and .fini sections work.
11575         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11576       else
11577         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11578       fi
11579       hardcode_libdir_flag_spec='-L$libdir'
11580       hardcode_direct=yes
11581       hardcode_minus_L=yes
11582       hardcode_shlibpath_var=no
11583       ;;
11584
11585     sysv4)
11586       case $host_vendor in
11587         sni)
11588           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11589           hardcode_direct=yes # is this really true???
11590         ;;
11591         siemens)
11592           ## LD is ld it makes a PLAMLIB
11593           ## CC just makes a GrossModule.
11594           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11595           reload_cmds='$CC -r -o $output$reload_objs'
11596           hardcode_direct=no
11597         ;;
11598         motorola)
11599           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11600           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11601         ;;
11602       esac
11603       runpath_var='LD_RUN_PATH'
11604       hardcode_shlibpath_var=no
11605       ;;
11606
11607     sysv4.3*)
11608       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11609       hardcode_shlibpath_var=no
11610       export_dynamic_flag_spec='-Bexport'
11611       ;;
11612
11613     sysv4*MP*)
11614       if test -d /usr/nec; then
11615         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11616         hardcode_shlibpath_var=no
11617         runpath_var=LD_RUN_PATH
11618         hardcode_runpath_var=yes
11619         ld_shlibs=yes
11620       fi
11621       ;;
11622
11623     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11624       no_undefined_flag='${wl}-z,text'
11625       archive_cmds_need_lc=no
11626       hardcode_shlibpath_var=no
11627       runpath_var='LD_RUN_PATH'
11628
11629       if test "$GCC" = yes; then
11630         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11631         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11632       else
11633         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11634         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11635       fi
11636       ;;
11637
11638     sysv5* | sco3.2v5* | sco5v6*)
11639       # Note: We can NOT use -z defs as we might desire, because we do not
11640       # link with -lc, and that would cause any symbols used from libc to
11641       # always be unresolved, which means just about no library would
11642       # ever link correctly.  If we're not using GNU ld we use -z text
11643       # though, which does catch some bad symbols but isn't as heavy-handed
11644       # as -z defs.
11645       no_undefined_flag='${wl}-z,text'
11646       allow_undefined_flag='${wl}-z,nodefs'
11647       archive_cmds_need_lc=no
11648       hardcode_shlibpath_var=no
11649       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11650       hardcode_libdir_separator=':'
11651       link_all_deplibs=yes
11652       export_dynamic_flag_spec='${wl}-Bexport'
11653       runpath_var='LD_RUN_PATH'
11654
11655       if test "$GCC" = yes; then
11656         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11657         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11658       else
11659         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11660         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11661       fi
11662       ;;
11663
11664     uts4*)
11665       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11666       hardcode_libdir_flag_spec='-L$libdir'
11667       hardcode_shlibpath_var=no
11668       ;;
11669
11670     *)
11671       ld_shlibs=no
11672       ;;
11673     esac
11674
11675     if test x$host_vendor = xsni; then
11676       case $host in
11677       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11678         export_dynamic_flag_spec='${wl}-Blargedynsym'
11679         ;;
11680       esac
11681     fi
11682   fi
11683
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11685 $as_echo "$ld_shlibs" >&6; }
11686 test "$ld_shlibs" = no && can_build_shared=no
11687
11688 with_gnu_ld=$with_gnu_ld
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704 #
11705 # Do we need to explicitly link libc?
11706 #
11707 case "x$archive_cmds_need_lc" in
11708 x|xyes)
11709   # Assume -lc should be added
11710   archive_cmds_need_lc=yes
11711
11712   if test "$enable_shared" = yes && test "$GCC" = yes; then
11713     case $archive_cmds in
11714     *'~'*)
11715       # FIXME: we may have to deal with multi-command sequences.
11716       ;;
11717     '$CC '*)
11718       # Test whether the compiler implicitly links with -lc since on some
11719       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11720       # to ld, don't add -lc before -lgcc.
11721       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11722 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11723 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11724   $as_echo_n "(cached) " >&6
11725 else
11726   $RM conftest*
11727         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11728
11729         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11730   (eval $ac_compile) 2>&5
11731   ac_status=$?
11732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11733   test $ac_status = 0; } 2>conftest.err; then
11734           soname=conftest
11735           lib=conftest
11736           libobjs=conftest.$ac_objext
11737           deplibs=
11738           wl=$lt_prog_compiler_wl
11739           pic_flag=$lt_prog_compiler_pic
11740           compiler_flags=-v
11741           linker_flags=-v
11742           verstring=
11743           output_objdir=.
11744           libname=conftest
11745           lt_save_allow_undefined_flag=$allow_undefined_flag
11746           allow_undefined_flag=
11747           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11748   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11749   ac_status=$?
11750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11751   test $ac_status = 0; }
11752           then
11753             lt_cv_archive_cmds_need_lc=no
11754           else
11755             lt_cv_archive_cmds_need_lc=yes
11756           fi
11757           allow_undefined_flag=$lt_save_allow_undefined_flag
11758         else
11759           cat conftest.err 1>&5
11760         fi
11761         $RM conftest*
11762
11763 fi
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11765 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11766       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11767       ;;
11768     esac
11769   fi
11770   ;;
11771 esac
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11925 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11926
11927 if test "$GCC" = yes; then
11928   case $host_os in
11929     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11930     *) lt_awk_arg="/^libraries:/" ;;
11931   esac
11932   case $host_os in
11933     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11934     *) lt_sed_strip_eq="s,=/,/,g" ;;
11935   esac
11936   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11937   case $lt_search_path_spec in
11938   *\;*)
11939     # if the path contains ";" then we assume it to be the separator
11940     # otherwise default to the standard path separator (i.e. ":") - it is
11941     # assumed that no part of a normal pathname contains ";" but that should
11942     # okay in the real world where ";" in dirpaths is itself problematic.
11943     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11944     ;;
11945   *)
11946     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11947     ;;
11948   esac
11949   # Ok, now we have the path, separated by spaces, we can step through it
11950   # and add multilib dir if necessary.
11951   lt_tmp_lt_search_path_spec=
11952   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11953   for lt_sys_path in $lt_search_path_spec; do
11954     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11955       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11956     else
11957       test -d "$lt_sys_path" && \
11958         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11959     fi
11960   done
11961   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11962 BEGIN {RS=" "; FS="/|\n";} {
11963   lt_foo="";
11964   lt_count=0;
11965   for (lt_i = NF; lt_i > 0; lt_i--) {
11966     if ($lt_i != "" && $lt_i != ".") {
11967       if ($lt_i == "..") {
11968         lt_count++;
11969       } else {
11970         if (lt_count == 0) {
11971           lt_foo="/" $lt_i lt_foo;
11972         } else {
11973           lt_count--;
11974         }
11975       }
11976     }
11977   }
11978   if (lt_foo != "") { lt_freq[lt_foo]++; }
11979   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11980 }'`
11981   # AWK program above erroneously prepends '/' to C:/dos/paths
11982   # for these hosts.
11983   case $host_os in
11984     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11985       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11986   esac
11987   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11988 else
11989   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11990 fi
11991 library_names_spec=
11992 libname_spec='lib$name'
11993 soname_spec=
11994 shrext_cmds=".so"
11995 postinstall_cmds=
11996 postuninstall_cmds=
11997 finish_cmds=
11998 finish_eval=
11999 shlibpath_var=
12000 shlibpath_overrides_runpath=unknown
12001 version_type=none
12002 dynamic_linker="$host_os ld.so"
12003 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12004 need_lib_prefix=unknown
12005 hardcode_into_libs=no
12006
12007 # when you set need_version to no, make sure it does not cause -set_version
12008 # flags to be left without arguments
12009 need_version=unknown
12010
12011 case $host_os in
12012 aix3*)
12013   version_type=linux # correct to gnu/linux during the next big refactor
12014   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12015   shlibpath_var=LIBPATH
12016
12017   # AIX 3 has no versioning support, so we append a major version to the name.
12018   soname_spec='${libname}${release}${shared_ext}$major'
12019   ;;
12020
12021 aix[4-9]*)
12022   version_type=linux # correct to gnu/linux during the next big refactor
12023   need_lib_prefix=no
12024   need_version=no
12025   hardcode_into_libs=yes
12026   if test "$host_cpu" = ia64; then
12027     # AIX 5 supports IA64
12028     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12029     shlibpath_var=LD_LIBRARY_PATH
12030   else
12031     # With GCC up to 2.95.x, collect2 would create an import file
12032     # for dependence libraries.  The import file would start with
12033     # the line `#! .'.  This would cause the generated library to
12034     # depend on `.', always an invalid library.  This was fixed in
12035     # development snapshots of GCC prior to 3.0.
12036     case $host_os in
12037       aix4 | aix4.[01] | aix4.[01].*)
12038       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12039            echo ' yes '
12040            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12041         :
12042       else
12043         can_build_shared=no
12044       fi
12045       ;;
12046     esac
12047     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12048     # soname into executable. Probably we can add versioning support to
12049     # collect2, so additional links can be useful in future.
12050     if test "$aix_use_runtimelinking" = yes; then
12051       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12052       # instead of lib<name>.a to let people know that these are not
12053       # typical AIX shared libraries.
12054       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12055     else
12056       # We preserve .a as extension for shared libraries through AIX4.2
12057       # and later when we are not doing run time linking.
12058       library_names_spec='${libname}${release}.a $libname.a'
12059       soname_spec='${libname}${release}${shared_ext}$major'
12060     fi
12061     shlibpath_var=LIBPATH
12062   fi
12063   ;;
12064
12065 amigaos*)
12066   case $host_cpu in
12067   powerpc)
12068     # Since July 2007 AmigaOS4 officially supports .so libraries.
12069     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12070     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12071     ;;
12072   m68k)
12073     library_names_spec='$libname.ixlibrary $libname.a'
12074     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12075     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'
12076     ;;
12077   esac
12078   ;;
12079
12080 beos*)
12081   library_names_spec='${libname}${shared_ext}'
12082   dynamic_linker="$host_os ld.so"
12083   shlibpath_var=LIBRARY_PATH
12084   ;;
12085
12086 bsdi[45]*)
12087   version_type=linux # correct to gnu/linux during the next big refactor
12088   need_version=no
12089   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12090   soname_spec='${libname}${release}${shared_ext}$major'
12091   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12092   shlibpath_var=LD_LIBRARY_PATH
12093   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12094   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12095   # the default ld.so.conf also contains /usr/contrib/lib and
12096   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12097   # libtool to hard-code these into programs
12098   ;;
12099
12100 cygwin* | mingw* | pw32* | cegcc*)
12101   version_type=windows
12102   shrext_cmds=".dll"
12103   need_version=no
12104   need_lib_prefix=no
12105
12106   case $GCC,$cc_basename in
12107   yes,*)
12108     # gcc
12109     library_names_spec='$libname.dll.a'
12110     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12111     postinstall_cmds='base_file=`basename \${file}`~
12112       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12113       dldir=$destdir/`dirname \$dlpath`~
12114       test -d \$dldir || mkdir -p \$dldir~
12115       $install_prog $dir/$dlname \$dldir/$dlname~
12116       chmod a+x \$dldir/$dlname~
12117       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12118         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12119       fi'
12120     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12121       dlpath=$dir/\$dldll~
12122        $RM \$dlpath'
12123     shlibpath_overrides_runpath=yes
12124
12125     case $host_os in
12126     cygwin*)
12127       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12128       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12129
12130       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12131       ;;
12132     mingw* | cegcc*)
12133       # MinGW DLLs use traditional 'lib' prefix
12134       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12135       ;;
12136     pw32*)
12137       # pw32 DLLs use 'pw' prefix rather than 'lib'
12138       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12139       ;;
12140     esac
12141     dynamic_linker='Win32 ld.exe'
12142     ;;
12143
12144   *,cl*)
12145     # Native MSVC
12146     libname_spec='$name'
12147     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12148     library_names_spec='${libname}.dll.lib'
12149
12150     case $build_os in
12151     mingw*)
12152       sys_lib_search_path_spec=
12153       lt_save_ifs=$IFS
12154       IFS=';'
12155       for lt_path in $LIB
12156       do
12157         IFS=$lt_save_ifs
12158         # Let DOS variable expansion print the short 8.3 style file name.
12159         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12160         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12161       done
12162       IFS=$lt_save_ifs
12163       # Convert to MSYS style.
12164       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12165       ;;
12166     cygwin*)
12167       # Convert to unix form, then to dos form, then back to unix form
12168       # but this time dos style (no spaces!) so that the unix form looks
12169       # like /cygdrive/c/PROGRA~1:/cygdr...
12170       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12171       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12172       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12173       ;;
12174     *)
12175       sys_lib_search_path_spec="$LIB"
12176       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12177         # It is most probably a Windows format PATH.
12178         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12179       else
12180         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12181       fi
12182       # FIXME: find the short name or the path components, as spaces are
12183       # common. (e.g. "Program Files" -> "PROGRA~1")
12184       ;;
12185     esac
12186
12187     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12188     postinstall_cmds='base_file=`basename \${file}`~
12189       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12190       dldir=$destdir/`dirname \$dlpath`~
12191       test -d \$dldir || mkdir -p \$dldir~
12192       $install_prog $dir/$dlname \$dldir/$dlname'
12193     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12194       dlpath=$dir/\$dldll~
12195        $RM \$dlpath'
12196     shlibpath_overrides_runpath=yes
12197     dynamic_linker='Win32 link.exe'
12198     ;;
12199
12200   *)
12201     # Assume MSVC wrapper
12202     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12203     dynamic_linker='Win32 ld.exe'
12204     ;;
12205   esac
12206   # FIXME: first we should search . and the directory the executable is in
12207   shlibpath_var=PATH
12208   ;;
12209
12210 darwin* | rhapsody*)
12211   dynamic_linker="$host_os dyld"
12212   version_type=darwin
12213   need_lib_prefix=no
12214   need_version=no
12215   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12216   soname_spec='${libname}${release}${major}$shared_ext'
12217   shlibpath_overrides_runpath=yes
12218   shlibpath_var=DYLD_LIBRARY_PATH
12219   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12220
12221   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12222   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12223   ;;
12224
12225 dgux*)
12226   version_type=linux # correct to gnu/linux during the next big refactor
12227   need_lib_prefix=no
12228   need_version=no
12229   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12230   soname_spec='${libname}${release}${shared_ext}$major'
12231   shlibpath_var=LD_LIBRARY_PATH
12232   ;;
12233
12234 freebsd* | dragonfly*)
12235   # DragonFly does not have aout.  When/if they implement a new
12236   # versioning mechanism, adjust this.
12237   if test -x /usr/bin/objformat; then
12238     objformat=`/usr/bin/objformat`
12239   else
12240     case $host_os in
12241     freebsd[23].*) objformat=aout ;;
12242     *) objformat=elf ;;
12243     esac
12244   fi
12245   version_type=freebsd-$objformat
12246   case $version_type in
12247     freebsd-elf*)
12248       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12249       need_version=no
12250       need_lib_prefix=no
12251       ;;
12252     freebsd-*)
12253       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12254       need_version=yes
12255       ;;
12256   esac
12257   shlibpath_var=LD_LIBRARY_PATH
12258   case $host_os in
12259   freebsd2.*)
12260     shlibpath_overrides_runpath=yes
12261     ;;
12262   freebsd3.[01]* | freebsdelf3.[01]*)
12263     shlibpath_overrides_runpath=yes
12264     hardcode_into_libs=yes
12265     ;;
12266   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12267   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12268     shlibpath_overrides_runpath=no
12269     hardcode_into_libs=yes
12270     ;;
12271   *) # from 4.6 on, and DragonFly
12272     shlibpath_overrides_runpath=yes
12273     hardcode_into_libs=yes
12274     ;;
12275   esac
12276   ;;
12277
12278 gnu*)
12279   version_type=linux # correct to gnu/linux during the next big refactor
12280   need_lib_prefix=no
12281   need_version=no
12282   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12283   soname_spec='${libname}${release}${shared_ext}$major'
12284   shlibpath_var=LD_LIBRARY_PATH
12285   shlibpath_overrides_runpath=no
12286   hardcode_into_libs=yes
12287   ;;
12288
12289 haiku*)
12290   version_type=linux # correct to gnu/linux during the next big refactor
12291   need_lib_prefix=no
12292   need_version=no
12293   dynamic_linker="$host_os runtime_loader"
12294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12295   soname_spec='${libname}${release}${shared_ext}$major'
12296   shlibpath_var=LIBRARY_PATH
12297   shlibpath_overrides_runpath=yes
12298   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12299   hardcode_into_libs=yes
12300   ;;
12301
12302 hpux9* | hpux10* | hpux11*)
12303   # Give a soname corresponding to the major version so that dld.sl refuses to
12304   # link against other versions.
12305   version_type=sunos
12306   need_lib_prefix=no
12307   need_version=no
12308   case $host_cpu in
12309   ia64*)
12310     shrext_cmds='.so'
12311     hardcode_into_libs=yes
12312     dynamic_linker="$host_os dld.so"
12313     shlibpath_var=LD_LIBRARY_PATH
12314     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12315     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12316     soname_spec='${libname}${release}${shared_ext}$major'
12317     if test "X$HPUX_IA64_MODE" = X32; then
12318       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12319     else
12320       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12321     fi
12322     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12323     ;;
12324   hppa*64*)
12325     shrext_cmds='.sl'
12326     hardcode_into_libs=yes
12327     dynamic_linker="$host_os dld.sl"
12328     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12329     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12330     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12331     soname_spec='${libname}${release}${shared_ext}$major'
12332     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12333     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12334     ;;
12335   *)
12336     shrext_cmds='.sl'
12337     dynamic_linker="$host_os dld.sl"
12338     shlibpath_var=SHLIB_PATH
12339     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12340     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12341     soname_spec='${libname}${release}${shared_ext}$major'
12342     ;;
12343   esac
12344   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12345   postinstall_cmds='chmod 555 $lib'
12346   # or fails outright, so override atomically:
12347   install_override_mode=555
12348   ;;
12349
12350 interix[3-9]*)
12351   version_type=linux # correct to gnu/linux during the next big refactor
12352   need_lib_prefix=no
12353   need_version=no
12354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12355   soname_spec='${libname}${release}${shared_ext}$major'
12356   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12357   shlibpath_var=LD_LIBRARY_PATH
12358   shlibpath_overrides_runpath=no
12359   hardcode_into_libs=yes
12360   ;;
12361
12362 irix5* | irix6* | nonstopux*)
12363   case $host_os in
12364     nonstopux*) version_type=nonstopux ;;
12365     *)
12366         if test "$lt_cv_prog_gnu_ld" = yes; then
12367                 version_type=linux # correct to gnu/linux during the next big refactor
12368         else
12369                 version_type=irix
12370         fi ;;
12371   esac
12372   need_lib_prefix=no
12373   need_version=no
12374   soname_spec='${libname}${release}${shared_ext}$major'
12375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12376   case $host_os in
12377   irix5* | nonstopux*)
12378     libsuff= shlibsuff=
12379     ;;
12380   *)
12381     case $LD in # libtool.m4 will add one of these switches to LD
12382     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12383       libsuff= shlibsuff= libmagic=32-bit;;
12384     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12385       libsuff=32 shlibsuff=N32 libmagic=N32;;
12386     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12387       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12388     *) libsuff= shlibsuff= libmagic=never-match;;
12389     esac
12390     ;;
12391   esac
12392   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12393   shlibpath_overrides_runpath=no
12394   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12395   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12396   hardcode_into_libs=yes
12397   ;;
12398
12399 # No shared lib support for Linux oldld, aout, or coff.
12400 linux*oldld* | linux*aout* | linux*coff*)
12401   dynamic_linker=no
12402   ;;
12403
12404 # This must be glibc/ELF.
12405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12406   version_type=linux # correct to gnu/linux during the next big refactor
12407   need_lib_prefix=no
12408   need_version=no
12409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12410   soname_spec='${libname}${release}${shared_ext}$major'
12411   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12412   shlibpath_var=LD_LIBRARY_PATH
12413   shlibpath_overrides_runpath=no
12414
12415   # Some binutils ld are patched to set DT_RUNPATH
12416   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12417   $as_echo_n "(cached) " >&6
12418 else
12419   lt_cv_shlibpath_overrides_runpath=no
12420     save_LDFLAGS=$LDFLAGS
12421     save_libdir=$libdir
12422     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12423          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12424     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h.  */
12426
12427 int
12428 main ()
12429 {
12430
12431   ;
12432   return 0;
12433 }
12434 _ACEOF
12435 if ac_fn_c_try_link "$LINENO"; then :
12436   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12437   lt_cv_shlibpath_overrides_runpath=yes
12438 fi
12439 fi
12440 rm -f core conftest.err conftest.$ac_objext \
12441     conftest$ac_exeext conftest.$ac_ext
12442     LDFLAGS=$save_LDFLAGS
12443     libdir=$save_libdir
12444
12445 fi
12446
12447   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12448
12449   # This implies no fast_install, which is unacceptable.
12450   # Some rework will be needed to allow for fast_install
12451   # before this can be enabled.
12452   hardcode_into_libs=yes
12453
12454   # Add ABI-specific directories to the system library path.
12455   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12456
12457   # Append ld.so.conf contents to the search path
12458   if test -f /etc/ld.so.conf; then
12459     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' ' '`
12460     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12461
12462   fi
12463
12464   # We used to test for /lib/ld.so.1 and disable shared libraries on
12465   # powerpc, because MkLinux only supported shared libraries with the
12466   # GNU dynamic linker.  Since this was broken with cross compilers,
12467   # most powerpc-linux boxes support dynamic linking these days and
12468   # people can always --disable-shared, the test was removed, and we
12469   # assume the GNU/Linux dynamic linker is in use.
12470   dynamic_linker='GNU/Linux ld.so'
12471   ;;
12472
12473 netbsd*)
12474   version_type=sunos
12475   need_lib_prefix=no
12476   need_version=no
12477   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12478     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12479     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12480     dynamic_linker='NetBSD (a.out) ld.so'
12481   else
12482     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12483     soname_spec='${libname}${release}${shared_ext}$major'
12484     dynamic_linker='NetBSD ld.elf_so'
12485   fi
12486   shlibpath_var=LD_LIBRARY_PATH
12487   shlibpath_overrides_runpath=yes
12488   hardcode_into_libs=yes
12489   ;;
12490
12491 newsos6)
12492   version_type=linux # correct to gnu/linux during the next big refactor
12493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12494   shlibpath_var=LD_LIBRARY_PATH
12495   shlibpath_overrides_runpath=yes
12496   ;;
12497
12498 *nto* | *qnx*)
12499   version_type=qnx
12500   need_lib_prefix=no
12501   need_version=no
12502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12503   soname_spec='${libname}${release}${shared_ext}$major'
12504   shlibpath_var=LD_LIBRARY_PATH
12505   shlibpath_overrides_runpath=no
12506   hardcode_into_libs=yes
12507   dynamic_linker='ldqnx.so'
12508   ;;
12509
12510 openbsd*)
12511   version_type=sunos
12512   sys_lib_dlsearch_path_spec="/usr/lib"
12513   need_lib_prefix=no
12514   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12515   case $host_os in
12516     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12517     *)                          need_version=no  ;;
12518   esac
12519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12520   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12521   shlibpath_var=LD_LIBRARY_PATH
12522   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12523     case $host_os in
12524       openbsd2.[89] | openbsd2.[89].*)
12525         shlibpath_overrides_runpath=no
12526         ;;
12527       *)
12528         shlibpath_overrides_runpath=yes
12529         ;;
12530       esac
12531   else
12532     shlibpath_overrides_runpath=yes
12533   fi
12534   ;;
12535
12536 os2*)
12537   libname_spec='$name'
12538   shrext_cmds=".dll"
12539   need_lib_prefix=no
12540   library_names_spec='$libname${shared_ext} $libname.a'
12541   dynamic_linker='OS/2 ld.exe'
12542   shlibpath_var=LIBPATH
12543   ;;
12544
12545 osf3* | osf4* | osf5*)
12546   version_type=osf
12547   need_lib_prefix=no
12548   need_version=no
12549   soname_spec='${libname}${release}${shared_ext}$major'
12550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12551   shlibpath_var=LD_LIBRARY_PATH
12552   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12553   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12554   ;;
12555
12556 rdos*)
12557   dynamic_linker=no
12558   ;;
12559
12560 solaris*)
12561   version_type=linux # correct to gnu/linux during the next big refactor
12562   need_lib_prefix=no
12563   need_version=no
12564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12565   soname_spec='${libname}${release}${shared_ext}$major'
12566   shlibpath_var=LD_LIBRARY_PATH
12567   shlibpath_overrides_runpath=yes
12568   hardcode_into_libs=yes
12569   # ldd complains unless libraries are executable
12570   postinstall_cmds='chmod +x $lib'
12571   ;;
12572
12573 sunos4*)
12574   version_type=sunos
12575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12576   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12577   shlibpath_var=LD_LIBRARY_PATH
12578   shlibpath_overrides_runpath=yes
12579   if test "$with_gnu_ld" = yes; then
12580     need_lib_prefix=no
12581   fi
12582   need_version=yes
12583   ;;
12584
12585 sysv4 | sysv4.3*)
12586   version_type=linux # correct to gnu/linux during the next big refactor
12587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12588   soname_spec='${libname}${release}${shared_ext}$major'
12589   shlibpath_var=LD_LIBRARY_PATH
12590   case $host_vendor in
12591     sni)
12592       shlibpath_overrides_runpath=no
12593       need_lib_prefix=no
12594       runpath_var=LD_RUN_PATH
12595       ;;
12596     siemens)
12597       need_lib_prefix=no
12598       ;;
12599     motorola)
12600       need_lib_prefix=no
12601       need_version=no
12602       shlibpath_overrides_runpath=no
12603       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12604       ;;
12605   esac
12606   ;;
12607
12608 sysv4*MP*)
12609   if test -d /usr/nec ;then
12610     version_type=linux # correct to gnu/linux during the next big refactor
12611     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12612     soname_spec='$libname${shared_ext}.$major'
12613     shlibpath_var=LD_LIBRARY_PATH
12614   fi
12615   ;;
12616
12617 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12618   version_type=freebsd-elf
12619   need_lib_prefix=no
12620   need_version=no
12621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12622   soname_spec='${libname}${release}${shared_ext}$major'
12623   shlibpath_var=LD_LIBRARY_PATH
12624   shlibpath_overrides_runpath=yes
12625   hardcode_into_libs=yes
12626   if test "$with_gnu_ld" = yes; then
12627     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12628   else
12629     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12630     case $host_os in
12631       sco3.2v5*)
12632         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12633         ;;
12634     esac
12635   fi
12636   sys_lib_dlsearch_path_spec='/usr/lib'
12637   ;;
12638
12639 tpf*)
12640   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12641   version_type=linux # correct to gnu/linux during the next big refactor
12642   need_lib_prefix=no
12643   need_version=no
12644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12645   shlibpath_var=LD_LIBRARY_PATH
12646   shlibpath_overrides_runpath=no
12647   hardcode_into_libs=yes
12648   ;;
12649
12650 uts4*)
12651   version_type=linux # correct to gnu/linux during the next big refactor
12652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12653   soname_spec='${libname}${release}${shared_ext}$major'
12654   shlibpath_var=LD_LIBRARY_PATH
12655   ;;
12656
12657 *)
12658   dynamic_linker=no
12659   ;;
12660 esac
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12662 $as_echo "$dynamic_linker" >&6; }
12663 test "$dynamic_linker" = no && can_build_shared=no
12664
12665 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12666 if test "$GCC" = yes; then
12667   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12668 fi
12669
12670 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12671   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12672 fi
12673 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12674   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12675 fi
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12769 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12770 hardcode_action=
12771 if test -n "$hardcode_libdir_flag_spec" ||
12772    test -n "$runpath_var" ||
12773    test "X$hardcode_automatic" = "Xyes" ; then
12774
12775   # We can hardcode non-existent directories.
12776   if test "$hardcode_direct" != no &&
12777      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12778      # have to relink, otherwise we might link with an installed library
12779      # when we should be linking with a yet-to-be-installed one
12780      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12781      test "$hardcode_minus_L" != no; then
12782     # Linking always hardcodes the temporary library directory.
12783     hardcode_action=relink
12784   else
12785     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12786     hardcode_action=immediate
12787   fi
12788 else
12789   # We cannot hardcode anything, or else we can only hardcode existing
12790   # directories.
12791   hardcode_action=unsupported
12792 fi
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12794 $as_echo "$hardcode_action" >&6; }
12795
12796 if test "$hardcode_action" = relink ||
12797    test "$inherit_rpath" = yes; then
12798   # Fast installation is not supported
12799   enable_fast_install=no
12800 elif test "$shlibpath_overrides_runpath" = yes ||
12801      test "$enable_shared" = no; then
12802   # Fast installation is not necessary
12803   enable_fast_install=needless
12804 fi
12805
12806
12807
12808
12809
12810
12811   if test "x$enable_dlopen" != xyes; then
12812   enable_dlopen=unknown
12813   enable_dlopen_self=unknown
12814   enable_dlopen_self_static=unknown
12815 else
12816   lt_cv_dlopen=no
12817   lt_cv_dlopen_libs=
12818
12819   case $host_os in
12820   beos*)
12821     lt_cv_dlopen="load_add_on"
12822     lt_cv_dlopen_libs=
12823     lt_cv_dlopen_self=yes
12824     ;;
12825
12826   mingw* | pw32* | cegcc*)
12827     lt_cv_dlopen="LoadLibrary"
12828     lt_cv_dlopen_libs=
12829     ;;
12830
12831   cygwin*)
12832     lt_cv_dlopen="dlopen"
12833     lt_cv_dlopen_libs=
12834     ;;
12835
12836   darwin*)
12837   # if libdl is installed we need to link against it
12838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12839 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12840 if ${ac_cv_lib_dl_dlopen+:} false; then :
12841   $as_echo_n "(cached) " >&6
12842 else
12843   ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-ldl  $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h.  */
12847
12848 /* Override any GCC internal prototype to avoid an error.
12849    Use char because int might match the return type of a GCC
12850    builtin and then its argument prototype would still apply.  */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char dlopen ();
12855 int
12856 main ()
12857 {
12858 return dlopen ();
12859   ;
12860   return 0;
12861 }
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864   ac_cv_lib_dl_dlopen=yes
12865 else
12866   ac_cv_lib_dl_dlopen=no
12867 fi
12868 rm -f core conftest.err conftest.$ac_objext \
12869     conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12871 fi
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12873 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12874 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12875   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12876 else
12877
12878     lt_cv_dlopen="dyld"
12879     lt_cv_dlopen_libs=
12880     lt_cv_dlopen_self=yes
12881
12882 fi
12883
12884     ;;
12885
12886   *)
12887     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12888 if test "x$ac_cv_func_shl_load" = xyes; then :
12889   lt_cv_dlopen="shl_load"
12890 else
12891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12892 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12893 if ${ac_cv_lib_dld_shl_load+:} false; then :
12894   $as_echo_n "(cached) " >&6
12895 else
12896   ac_check_lib_save_LIBS=$LIBS
12897 LIBS="-ldld  $LIBS"
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h.  */
12900
12901 /* Override any GCC internal prototype to avoid an error.
12902    Use char because int might match the return type of a GCC
12903    builtin and then its argument prototype would still apply.  */
12904 #ifdef __cplusplus
12905 extern "C"
12906 #endif
12907 char shl_load ();
12908 int
12909 main ()
12910 {
12911 return shl_load ();
12912   ;
12913   return 0;
12914 }
12915 _ACEOF
12916 if ac_fn_c_try_link "$LINENO"; then :
12917   ac_cv_lib_dld_shl_load=yes
12918 else
12919   ac_cv_lib_dld_shl_load=no
12920 fi
12921 rm -f core conftest.err conftest.$ac_objext \
12922     conftest$ac_exeext conftest.$ac_ext
12923 LIBS=$ac_check_lib_save_LIBS
12924 fi
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12926 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12927 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12928   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12929 else
12930   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12931 if test "x$ac_cv_func_dlopen" = xyes; then :
12932   lt_cv_dlopen="dlopen"
12933 else
12934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12935 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12936 if ${ac_cv_lib_dl_dlopen+:} false; then :
12937   $as_echo_n "(cached) " >&6
12938 else
12939   ac_check_lib_save_LIBS=$LIBS
12940 LIBS="-ldl  $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h.  */
12943
12944 /* Override any GCC internal prototype to avoid an error.
12945    Use char because int might match the return type of a GCC
12946    builtin and then its argument prototype would still apply.  */
12947 #ifdef __cplusplus
12948 extern "C"
12949 #endif
12950 char dlopen ();
12951 int
12952 main ()
12953 {
12954 return dlopen ();
12955   ;
12956   return 0;
12957 }
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"; then :
12960   ac_cv_lib_dl_dlopen=yes
12961 else
12962   ac_cv_lib_dl_dlopen=no
12963 fi
12964 rm -f core conftest.err conftest.$ac_objext \
12965     conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12967 fi
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12969 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12970 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12971   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12972 else
12973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12974 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12975 if ${ac_cv_lib_svld_dlopen+:} false; then :
12976   $as_echo_n "(cached) " >&6
12977 else
12978   ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lsvld  $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h.  */
12982
12983 /* Override any GCC internal prototype to avoid an error.
12984    Use char because int might match the return type of a GCC
12985    builtin and then its argument prototype would still apply.  */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char dlopen ();
12990 int
12991 main ()
12992 {
12993 return dlopen ();
12994   ;
12995   return 0;
12996 }
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999   ac_cv_lib_svld_dlopen=yes
13000 else
13001   ac_cv_lib_svld_dlopen=no
13002 fi
13003 rm -f core conftest.err conftest.$ac_objext \
13004     conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13006 fi
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13008 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13009 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13010   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13011 else
13012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13013 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13014 if ${ac_cv_lib_dld_dld_link+:} false; then :
13015   $as_echo_n "(cached) " >&6
13016 else
13017   ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-ldld  $LIBS"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h.  */
13021
13022 /* Override any GCC internal prototype to avoid an error.
13023    Use char because int might match the return type of a GCC
13024    builtin and then its argument prototype would still apply.  */
13025 #ifdef __cplusplus
13026 extern "C"
13027 #endif
13028 char dld_link ();
13029 int
13030 main ()
13031 {
13032 return dld_link ();
13033   ;
13034   return 0;
13035 }
13036 _ACEOF
13037 if ac_fn_c_try_link "$LINENO"; then :
13038   ac_cv_lib_dld_dld_link=yes
13039 else
13040   ac_cv_lib_dld_dld_link=no
13041 fi
13042 rm -f core conftest.err conftest.$ac_objext \
13043     conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_lib_save_LIBS
13045 fi
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13047 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13048 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13049   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13050 fi
13051
13052
13053 fi
13054
13055
13056 fi
13057
13058
13059 fi
13060
13061
13062 fi
13063
13064
13065 fi
13066
13067     ;;
13068   esac
13069
13070   if test "x$lt_cv_dlopen" != xno; then
13071     enable_dlopen=yes
13072   else
13073     enable_dlopen=no
13074   fi
13075
13076   case $lt_cv_dlopen in
13077   dlopen)
13078     save_CPPFLAGS="$CPPFLAGS"
13079     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13080
13081     save_LDFLAGS="$LDFLAGS"
13082     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13083
13084     save_LIBS="$LIBS"
13085     LIBS="$lt_cv_dlopen_libs $LIBS"
13086
13087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13088 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13089 if ${lt_cv_dlopen_self+:} false; then :
13090   $as_echo_n "(cached) " >&6
13091 else
13092           if test "$cross_compiling" = yes; then :
13093   lt_cv_dlopen_self=cross
13094 else
13095   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13096   lt_status=$lt_dlunknown
13097   cat > conftest.$ac_ext <<_LT_EOF
13098 #line $LINENO "configure"
13099 #include "confdefs.h"
13100
13101 #if HAVE_DLFCN_H
13102 #include <dlfcn.h>
13103 #endif
13104
13105 #include <stdio.h>
13106
13107 #ifdef RTLD_GLOBAL
13108 #  define LT_DLGLOBAL           RTLD_GLOBAL
13109 #else
13110 #  ifdef DL_GLOBAL
13111 #    define LT_DLGLOBAL         DL_GLOBAL
13112 #  else
13113 #    define LT_DLGLOBAL         0
13114 #  endif
13115 #endif
13116
13117 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13118    find out it does not work in some platform. */
13119 #ifndef LT_DLLAZY_OR_NOW
13120 #  ifdef RTLD_LAZY
13121 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13122 #  else
13123 #    ifdef DL_LAZY
13124 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13125 #    else
13126 #      ifdef RTLD_NOW
13127 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13128 #      else
13129 #        ifdef DL_NOW
13130 #          define LT_DLLAZY_OR_NOW      DL_NOW
13131 #        else
13132 #          define LT_DLLAZY_OR_NOW      0
13133 #        endif
13134 #      endif
13135 #    endif
13136 #  endif
13137 #endif
13138
13139 /* When -fvisbility=hidden is used, assume the code has been annotated
13140    correspondingly for the symbols needed.  */
13141 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13142 int fnord () __attribute__((visibility("default")));
13143 #endif
13144
13145 int fnord () { return 42; }
13146 int main ()
13147 {
13148   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13149   int status = $lt_dlunknown;
13150
13151   if (self)
13152     {
13153       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13154       else
13155         {
13156           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13157           else puts (dlerror ());
13158         }
13159       /* dlclose (self); */
13160     }
13161   else
13162     puts (dlerror ());
13163
13164   return status;
13165 }
13166 _LT_EOF
13167   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13168   (eval $ac_link) 2>&5
13169   ac_status=$?
13170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13171   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13172     (./conftest; exit; ) >&5 2>/dev/null
13173     lt_status=$?
13174     case x$lt_status in
13175       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13176       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13177       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13178     esac
13179   else :
13180     # compilation failed
13181     lt_cv_dlopen_self=no
13182   fi
13183 fi
13184 rm -fr conftest*
13185
13186
13187 fi
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13189 $as_echo "$lt_cv_dlopen_self" >&6; }
13190
13191     if test "x$lt_cv_dlopen_self" = xyes; then
13192       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13193       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13194 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13195 if ${lt_cv_dlopen_self_static+:} false; then :
13196   $as_echo_n "(cached) " >&6
13197 else
13198           if test "$cross_compiling" = yes; then :
13199   lt_cv_dlopen_self_static=cross
13200 else
13201   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13202   lt_status=$lt_dlunknown
13203   cat > conftest.$ac_ext <<_LT_EOF
13204 #line $LINENO "configure"
13205 #include "confdefs.h"
13206
13207 #if HAVE_DLFCN_H
13208 #include <dlfcn.h>
13209 #endif
13210
13211 #include <stdio.h>
13212
13213 #ifdef RTLD_GLOBAL
13214 #  define LT_DLGLOBAL           RTLD_GLOBAL
13215 #else
13216 #  ifdef DL_GLOBAL
13217 #    define LT_DLGLOBAL         DL_GLOBAL
13218 #  else
13219 #    define LT_DLGLOBAL         0
13220 #  endif
13221 #endif
13222
13223 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13224    find out it does not work in some platform. */
13225 #ifndef LT_DLLAZY_OR_NOW
13226 #  ifdef RTLD_LAZY
13227 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13228 #  else
13229 #    ifdef DL_LAZY
13230 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13231 #    else
13232 #      ifdef RTLD_NOW
13233 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13234 #      else
13235 #        ifdef DL_NOW
13236 #          define LT_DLLAZY_OR_NOW      DL_NOW
13237 #        else
13238 #          define LT_DLLAZY_OR_NOW      0
13239 #        endif
13240 #      endif
13241 #    endif
13242 #  endif
13243 #endif
13244
13245 /* When -fvisbility=hidden is used, assume the code has been annotated
13246    correspondingly for the symbols needed.  */
13247 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13248 int fnord () __attribute__((visibility("default")));
13249 #endif
13250
13251 int fnord () { return 42; }
13252 int main ()
13253 {
13254   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13255   int status = $lt_dlunknown;
13256
13257   if (self)
13258     {
13259       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13260       else
13261         {
13262           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13263           else puts (dlerror ());
13264         }
13265       /* dlclose (self); */
13266     }
13267   else
13268     puts (dlerror ());
13269
13270   return status;
13271 }
13272 _LT_EOF
13273   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13274   (eval $ac_link) 2>&5
13275   ac_status=$?
13276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13278     (./conftest; exit; ) >&5 2>/dev/null
13279     lt_status=$?
13280     case x$lt_status in
13281       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13282       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13283       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13284     esac
13285   else :
13286     # compilation failed
13287     lt_cv_dlopen_self_static=no
13288   fi
13289 fi
13290 rm -fr conftest*
13291
13292
13293 fi
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13295 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13296     fi
13297
13298     CPPFLAGS="$save_CPPFLAGS"
13299     LDFLAGS="$save_LDFLAGS"
13300     LIBS="$save_LIBS"
13301     ;;
13302   esac
13303
13304   case $lt_cv_dlopen_self in
13305   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13306   *) enable_dlopen_self=unknown ;;
13307   esac
13308
13309   case $lt_cv_dlopen_self_static in
13310   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13311   *) enable_dlopen_self_static=unknown ;;
13312   esac
13313 fi
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331 striplib=
13332 old_striplib=
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13334 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13335 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13336   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13337   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13339 $as_echo "yes" >&6; }
13340 else
13341 # FIXME - insert some real tests, host_os isn't really good enough
13342   case $host_os in
13343   darwin*)
13344     if test -n "$STRIP" ; then
13345       striplib="$STRIP -x"
13346       old_striplib="$STRIP -S"
13347       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13348 $as_echo "yes" >&6; }
13349     else
13350       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13352     fi
13353     ;;
13354   *)
13355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13356 $as_echo "no" >&6; }
13357     ;;
13358   esac
13359 fi
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372   # Report which library types will actually be built
13373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13374 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13376 $as_echo "$can_build_shared" >&6; }
13377
13378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13379 $as_echo_n "checking whether to build shared libraries... " >&6; }
13380   test "$can_build_shared" = "no" && enable_shared=no
13381
13382   # On AIX, shared libraries and static libraries use the same namespace, and
13383   # are all built from PIC.
13384   case $host_os in
13385   aix3*)
13386     test "$enable_shared" = yes && enable_static=no
13387     if test -n "$RANLIB"; then
13388       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13389       postinstall_cmds='$RANLIB $lib'
13390     fi
13391     ;;
13392
13393   aix[4-9]*)
13394     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13395       test "$enable_shared" = yes && enable_static=no
13396     fi
13397     ;;
13398   esac
13399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13400 $as_echo "$enable_shared" >&6; }
13401
13402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13403 $as_echo_n "checking whether to build static libraries... " >&6; }
13404   # Make sure either enable_shared or enable_static is yes.
13405   test "$enable_shared" = yes || enable_static=yes
13406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13407 $as_echo "$enable_static" >&6; }
13408
13409
13410
13411
13412 fi
13413 ac_ext=c
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13418
13419 CC="$lt_save_CC"
13420
13421       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13422     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13423     (test "X$CXX" != "Xg++"))) ; then
13424   ac_ext=cpp
13425 ac_cpp='$CXXCPP $CPPFLAGS'
13426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13430 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13431 if test -z "$CXXCPP"; then
13432   if ${ac_cv_prog_CXXCPP+:} false; then :
13433   $as_echo_n "(cached) " >&6
13434 else
13435       # Double quotes because CXXCPP needs to be expanded
13436     for CXXCPP in "$CXX -E" "/lib/cpp"
13437     do
13438       ac_preproc_ok=false
13439 for ac_cxx_preproc_warn_flag in '' yes
13440 do
13441   # Use a header file that comes with gcc, so configuring glibc
13442   # with a fresh cross-compiler works.
13443   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13444   # <limits.h> exists even on freestanding compilers.
13445   # On the NeXT, cc -E runs the code through the compiler's parser,
13446   # not just through cpp. "Syntax error" is here to catch this case.
13447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h.  */
13449 #ifdef __STDC__
13450 # include <limits.h>
13451 #else
13452 # include <assert.h>
13453 #endif
13454                      Syntax error
13455 _ACEOF
13456 if ac_fn_cxx_try_cpp "$LINENO"; then :
13457
13458 else
13459   # Broken: fails on valid input.
13460 continue
13461 fi
13462 rm -f conftest.err conftest.i conftest.$ac_ext
13463
13464   # OK, works on sane cases.  Now check whether nonexistent headers
13465   # can be detected and how.
13466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h.  */
13468 #include <ac_nonexistent.h>
13469 _ACEOF
13470 if ac_fn_cxx_try_cpp "$LINENO"; then :
13471   # Broken: success on invalid input.
13472 continue
13473 else
13474   # Passes both tests.
13475 ac_preproc_ok=:
13476 break
13477 fi
13478 rm -f conftest.err conftest.i conftest.$ac_ext
13479
13480 done
13481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13482 rm -f conftest.i conftest.err conftest.$ac_ext
13483 if $ac_preproc_ok; then :
13484   break
13485 fi
13486
13487     done
13488     ac_cv_prog_CXXCPP=$CXXCPP
13489
13490 fi
13491   CXXCPP=$ac_cv_prog_CXXCPP
13492 else
13493   ac_cv_prog_CXXCPP=$CXXCPP
13494 fi
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13496 $as_echo "$CXXCPP" >&6; }
13497 ac_preproc_ok=false
13498 for ac_cxx_preproc_warn_flag in '' yes
13499 do
13500   # Use a header file that comes with gcc, so configuring glibc
13501   # with a fresh cross-compiler works.
13502   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13503   # <limits.h> exists even on freestanding compilers.
13504   # On the NeXT, cc -E runs the code through the compiler's parser,
13505   # not just through cpp. "Syntax error" is here to catch this case.
13506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h.  */
13508 #ifdef __STDC__
13509 # include <limits.h>
13510 #else
13511 # include <assert.h>
13512 #endif
13513                      Syntax error
13514 _ACEOF
13515 if ac_fn_cxx_try_cpp "$LINENO"; then :
13516
13517 else
13518   # Broken: fails on valid input.
13519 continue
13520 fi
13521 rm -f conftest.err conftest.i conftest.$ac_ext
13522
13523   # OK, works on sane cases.  Now check whether nonexistent headers
13524   # can be detected and how.
13525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h.  */
13527 #include <ac_nonexistent.h>
13528 _ACEOF
13529 if ac_fn_cxx_try_cpp "$LINENO"; then :
13530   # Broken: success on invalid input.
13531 continue
13532 else
13533   # Passes both tests.
13534 ac_preproc_ok=:
13535 break
13536 fi
13537 rm -f conftest.err conftest.i conftest.$ac_ext
13538
13539 done
13540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13541 rm -f conftest.i conftest.err conftest.$ac_ext
13542 if $ac_preproc_ok; then :
13543
13544 else
13545   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13547 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13548 See \`config.log' for more details" "$LINENO" 5; }
13549 fi
13550
13551 ac_ext=c
13552 ac_cpp='$CPP $CPPFLAGS'
13553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13556
13557 else
13558   _lt_caught_CXX_error=yes
13559 fi
13560
13561 ac_ext=cpp
13562 ac_cpp='$CXXCPP $CPPFLAGS'
13563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13566
13567 archive_cmds_need_lc_CXX=no
13568 allow_undefined_flag_CXX=
13569 always_export_symbols_CXX=no
13570 archive_expsym_cmds_CXX=
13571 compiler_needs_object_CXX=no
13572 export_dynamic_flag_spec_CXX=
13573 hardcode_direct_CXX=no
13574 hardcode_direct_absolute_CXX=no
13575 hardcode_libdir_flag_spec_CXX=
13576 hardcode_libdir_separator_CXX=
13577 hardcode_minus_L_CXX=no
13578 hardcode_shlibpath_var_CXX=unsupported
13579 hardcode_automatic_CXX=no
13580 inherit_rpath_CXX=no
13581 module_cmds_CXX=
13582 module_expsym_cmds_CXX=
13583 link_all_deplibs_CXX=unknown
13584 old_archive_cmds_CXX=$old_archive_cmds
13585 reload_flag_CXX=$reload_flag
13586 reload_cmds_CXX=$reload_cmds
13587 no_undefined_flag_CXX=
13588 whole_archive_flag_spec_CXX=
13589 enable_shared_with_static_runtimes_CXX=no
13590
13591 # Source file extension for C++ test sources.
13592 ac_ext=cpp
13593
13594 # Object file extension for compiled C++ test sources.
13595 objext=o
13596 objext_CXX=$objext
13597
13598 # No sense in running all these tests if we already determined that
13599 # the CXX compiler isn't working.  Some variables (like enable_shared)
13600 # are currently assumed to apply to all compilers on this platform,
13601 # and will be corrupted by setting them based on a non-working compiler.
13602 if test "$_lt_caught_CXX_error" != yes; then
13603   # Code to be used in simple compile tests
13604   lt_simple_compile_test_code="int some_variable = 0;"
13605
13606   # Code to be used in simple link tests
13607   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13608
13609   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13610
13611
13612
13613
13614
13615
13616 # If no C compiler was specified, use CC.
13617 LTCC=${LTCC-"$CC"}
13618
13619 # If no C compiler flags were specified, use CFLAGS.
13620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13621
13622 # Allow CC to be a program name with arguments.
13623 compiler=$CC
13624
13625
13626   # save warnings/boilerplate of simple test code
13627   ac_outfile=conftest.$ac_objext
13628 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13629 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13630 _lt_compiler_boilerplate=`cat conftest.err`
13631 $RM conftest*
13632
13633   ac_outfile=conftest.$ac_objext
13634 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13635 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13636 _lt_linker_boilerplate=`cat conftest.err`
13637 $RM -r conftest*
13638
13639
13640   # Allow CC to be a program name with arguments.
13641   lt_save_CC=$CC
13642   lt_save_CFLAGS=$CFLAGS
13643   lt_save_LD=$LD
13644   lt_save_GCC=$GCC
13645   GCC=$GXX
13646   lt_save_with_gnu_ld=$with_gnu_ld
13647   lt_save_path_LD=$lt_cv_path_LD
13648   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13649     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13650   else
13651     $as_unset lt_cv_prog_gnu_ld
13652   fi
13653   if test -n "${lt_cv_path_LDCXX+set}"; then
13654     lt_cv_path_LD=$lt_cv_path_LDCXX
13655   else
13656     $as_unset lt_cv_path_LD
13657   fi
13658   test -z "${LDCXX+set}" || LD=$LDCXX
13659   CC=${CXX-"c++"}
13660   CFLAGS=$CXXFLAGS
13661   compiler=$CC
13662   compiler_CXX=$CC
13663   for cc_temp in $compiler""; do
13664   case $cc_temp in
13665     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13666     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13667     \-*) ;;
13668     *) break;;
13669   esac
13670 done
13671 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13672
13673
13674   if test -n "$compiler"; then
13675     # We don't want -fno-exception when compiling C++ code, so set the
13676     # no_builtin_flag separately
13677     if test "$GXX" = yes; then
13678       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13679     else
13680       lt_prog_compiler_no_builtin_flag_CXX=
13681     fi
13682
13683     if test "$GXX" = yes; then
13684       # Set up default GNU C++ configuration
13685
13686
13687
13688 # Check whether --with-gnu-ld was given.
13689 if test "${with_gnu_ld+set}" = set; then :
13690   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13691 else
13692   with_gnu_ld=no
13693 fi
13694
13695 ac_prog=ld
13696 if test "$GCC" = yes; then
13697   # Check if gcc -print-prog-name=ld gives a path.
13698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13699 $as_echo_n "checking for ld used by $CC... " >&6; }
13700   case $host in
13701   *-*-mingw*)
13702     # gcc leaves a trailing carriage return which upsets mingw
13703     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13704   *)
13705     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13706   esac
13707   case $ac_prog in
13708     # Accept absolute paths.
13709     [\\/]* | ?:[\\/]*)
13710       re_direlt='/[^/][^/]*/\.\./'
13711       # Canonicalize the pathname of ld
13712       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13713       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13714         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13715       done
13716       test -z "$LD" && LD="$ac_prog"
13717       ;;
13718   "")
13719     # If it fails, then pretend we aren't using GCC.
13720     ac_prog=ld
13721     ;;
13722   *)
13723     # If it is relative, then search for the first ld in PATH.
13724     with_gnu_ld=unknown
13725     ;;
13726   esac
13727 elif test "$with_gnu_ld" = yes; then
13728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13729 $as_echo_n "checking for GNU ld... " >&6; }
13730 else
13731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13732 $as_echo_n "checking for non-GNU ld... " >&6; }
13733 fi
13734 if ${lt_cv_path_LD+:} false; then :
13735   $as_echo_n "(cached) " >&6
13736 else
13737   if test -z "$LD"; then
13738   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13739   for ac_dir in $PATH; do
13740     IFS="$lt_save_ifs"
13741     test -z "$ac_dir" && ac_dir=.
13742     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13743       lt_cv_path_LD="$ac_dir/$ac_prog"
13744       # Check to see if the program is GNU ld.  I'd rather use --version,
13745       # but apparently some variants of GNU ld only accept -v.
13746       # Break only if it was the GNU/non-GNU ld that we prefer.
13747       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13748       *GNU* | *'with BFD'*)
13749         test "$with_gnu_ld" != no && break
13750         ;;
13751       *)
13752         test "$with_gnu_ld" != yes && break
13753         ;;
13754       esac
13755     fi
13756   done
13757   IFS="$lt_save_ifs"
13758 else
13759   lt_cv_path_LD="$LD" # Let the user override the test with a path.
13760 fi
13761 fi
13762
13763 LD="$lt_cv_path_LD"
13764 if test -n "$LD"; then
13765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13766 $as_echo "$LD" >&6; }
13767 else
13768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13770 fi
13771 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13774 if ${lt_cv_prog_gnu_ld+:} false; then :
13775   $as_echo_n "(cached) " >&6
13776 else
13777   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13778 case `$LD -v 2>&1 </dev/null` in
13779 *GNU* | *'with BFD'*)
13780   lt_cv_prog_gnu_ld=yes
13781   ;;
13782 *)
13783   lt_cv_prog_gnu_ld=no
13784   ;;
13785 esac
13786 fi
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13789 with_gnu_ld=$lt_cv_prog_gnu_ld
13790
13791
13792
13793
13794
13795
13796
13797       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13798       # archiving commands below assume that GNU ld is being used.
13799       if test "$with_gnu_ld" = yes; then
13800         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13801         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13802
13803         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13804         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13805
13806         # If archive_cmds runs LD, not CC, wlarc should be empty
13807         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13808         #     investigate it a little bit more. (MM)
13809         wlarc='${wl}'
13810
13811         # ancient GNU ld didn't support --whole-archive et. al.
13812         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13813           $GREP 'no-whole-archive' > /dev/null; then
13814           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13815         else
13816           whole_archive_flag_spec_CXX=
13817         fi
13818       else
13819         with_gnu_ld=no
13820         wlarc=
13821
13822         # A generic and very simple default shared library creation
13823         # command for GNU C++ for the case where it uses the native
13824         # linker, instead of GNU ld.  If possible, this setting should
13825         # overridden to take advantage of the native linker features on
13826         # the platform it is being used on.
13827         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13828       fi
13829
13830       # Commands to make compiler produce verbose output that lists
13831       # what "hidden" libraries, object files and flags are used when
13832       # linking a shared library.
13833       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13834
13835     else
13836       GXX=no
13837       with_gnu_ld=no
13838       wlarc=
13839     fi
13840
13841     # PORTME: fill in a description of your system's C++ link characteristics
13842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13844     ld_shlibs_CXX=yes
13845     case $host_os in
13846       aix3*)
13847         # FIXME: insert proper C++ library support
13848         ld_shlibs_CXX=no
13849         ;;
13850       aix[4-9]*)
13851         if test "$host_cpu" = ia64; then
13852           # On IA64, the linker does run time linking by default, so we don't
13853           # have to do anything special.
13854           aix_use_runtimelinking=no
13855           exp_sym_flag='-Bexport'
13856           no_entry_flag=""
13857         else
13858           aix_use_runtimelinking=no
13859
13860           # Test if we are trying to use run time linking or normal
13861           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13862           # need to do runtime linking.
13863           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13864             for ld_flag in $LDFLAGS; do
13865               case $ld_flag in
13866               *-brtl*)
13867                 aix_use_runtimelinking=yes
13868                 break
13869                 ;;
13870               esac
13871             done
13872             ;;
13873           esac
13874
13875           exp_sym_flag='-bexport'
13876           no_entry_flag='-bnoentry'
13877         fi
13878
13879         # When large executables or shared objects are built, AIX ld can
13880         # have problems creating the table of contents.  If linking a library
13881         # or program results in "error TOC overflow" add -mminimal-toc to
13882         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13883         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13884
13885         archive_cmds_CXX=''
13886         hardcode_direct_CXX=yes
13887         hardcode_direct_absolute_CXX=yes
13888         hardcode_libdir_separator_CXX=':'
13889         link_all_deplibs_CXX=yes
13890         file_list_spec_CXX='${wl}-f,'
13891
13892         if test "$GXX" = yes; then
13893           case $host_os in aix4.[012]|aix4.[012].*)
13894           # We only want to do this on AIX 4.2 and lower, the check
13895           # below for broken collect2 doesn't work under 4.3+
13896           collect2name=`${CC} -print-prog-name=collect2`
13897           if test -f "$collect2name" &&
13898              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13899           then
13900             # We have reworked collect2
13901             :
13902           else
13903             # We have old collect2
13904             hardcode_direct_CXX=unsupported
13905             # It fails to find uninstalled libraries when the uninstalled
13906             # path is not listed in the libpath.  Setting hardcode_minus_L
13907             # to unsupported forces relinking
13908             hardcode_minus_L_CXX=yes
13909             hardcode_libdir_flag_spec_CXX='-L$libdir'
13910             hardcode_libdir_separator_CXX=
13911           fi
13912           esac
13913           shared_flag='-shared'
13914           if test "$aix_use_runtimelinking" = yes; then
13915             shared_flag="$shared_flag "'${wl}-G'
13916           fi
13917         else
13918           # not using gcc
13919           if test "$host_cpu" = ia64; then
13920           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13921           # chokes on -Wl,-G. The following line is correct:
13922           shared_flag='-G'
13923           else
13924             if test "$aix_use_runtimelinking" = yes; then
13925               shared_flag='${wl}-G'
13926             else
13927               shared_flag='${wl}-bM:SRE'
13928             fi
13929           fi
13930         fi
13931
13932         export_dynamic_flag_spec_CXX='${wl}-bexpall'
13933         # It seems that -bexpall does not export symbols beginning with
13934         # underscore (_), so it is better to generate a list of symbols to
13935         # export.
13936         always_export_symbols_CXX=yes
13937         if test "$aix_use_runtimelinking" = yes; then
13938           # Warning - without using the other runtime loading flags (-brtl),
13939           # -berok will link without error, but may produce a broken library.
13940           allow_undefined_flag_CXX='-berok'
13941           # Determine the default libpath from the value encoded in an empty
13942           # executable.
13943           if test "${lt_cv_aix_libpath+set}" = set; then
13944   aix_libpath=$lt_cv_aix_libpath
13945 else
13946   if ${lt_cv_aix_libpath__CXX+:} false; then :
13947   $as_echo_n "(cached) " >&6
13948 else
13949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h.  */
13951
13952 int
13953 main ()
13954 {
13955
13956   ;
13957   return 0;
13958 }
13959 _ACEOF
13960 if ac_fn_cxx_try_link "$LINENO"; then :
13961
13962   lt_aix_libpath_sed='
13963       /Import File Strings/,/^$/ {
13964           /^0/ {
13965               s/^0  *\([^ ]*\) *$/\1/
13966               p
13967           }
13968       }'
13969   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13970   # Check for a 64-bit object if we didn't find anything.
13971   if test -z "$lt_cv_aix_libpath__CXX"; then
13972     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13973   fi
13974 fi
13975 rm -f core conftest.err conftest.$ac_objext \
13976     conftest$ac_exeext conftest.$ac_ext
13977   if test -z "$lt_cv_aix_libpath__CXX"; then
13978     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13979   fi
13980
13981 fi
13982
13983   aix_libpath=$lt_cv_aix_libpath__CXX
13984 fi
13985
13986           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13987
13988           archive_expsym_cmds_CXX='$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"
13989         else
13990           if test "$host_cpu" = ia64; then
13991             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13992             allow_undefined_flag_CXX="-z nodefs"
13993             archive_expsym_cmds_CXX="\$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"
13994           else
13995             # Determine the default libpath from the value encoded in an
13996             # empty executable.
13997             if test "${lt_cv_aix_libpath+set}" = set; then
13998   aix_libpath=$lt_cv_aix_libpath
13999 else
14000   if ${lt_cv_aix_libpath__CXX+:} false; then :
14001   $as_echo_n "(cached) " >&6
14002 else
14003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h.  */
14005
14006 int
14007 main ()
14008 {
14009
14010   ;
14011   return 0;
14012 }
14013 _ACEOF
14014 if ac_fn_cxx_try_link "$LINENO"; then :
14015
14016   lt_aix_libpath_sed='
14017       /Import File Strings/,/^$/ {
14018           /^0/ {
14019               s/^0  *\([^ ]*\) *$/\1/
14020               p
14021           }
14022       }'
14023   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14024   # Check for a 64-bit object if we didn't find anything.
14025   if test -z "$lt_cv_aix_libpath__CXX"; then
14026     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14027   fi
14028 fi
14029 rm -f core conftest.err conftest.$ac_objext \
14030     conftest$ac_exeext conftest.$ac_ext
14031   if test -z "$lt_cv_aix_libpath__CXX"; then
14032     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14033   fi
14034
14035 fi
14036
14037   aix_libpath=$lt_cv_aix_libpath__CXX
14038 fi
14039
14040             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14041             # Warning - without using the other run time loading flags,
14042             # -berok will link without error, but may produce a broken library.
14043             no_undefined_flag_CXX=' ${wl}-bernotok'
14044             allow_undefined_flag_CXX=' ${wl}-berok'
14045             if test "$with_gnu_ld" = yes; then
14046               # We only use this code for GNU lds that support --whole-archive.
14047               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14048             else
14049               # Exported symbols can be pulled into shared objects from archives
14050               whole_archive_flag_spec_CXX='$convenience'
14051             fi
14052             archive_cmds_need_lc_CXX=yes
14053             # This is similar to how AIX traditionally builds its shared
14054             # libraries.
14055             archive_expsym_cmds_CXX="\$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'
14056           fi
14057         fi
14058         ;;
14059
14060       beos*)
14061         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14062           allow_undefined_flag_CXX=unsupported
14063           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14064           # support --undefined.  This deserves some investigation.  FIXME
14065           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14066         else
14067           ld_shlibs_CXX=no
14068         fi
14069         ;;
14070
14071       chorus*)
14072         case $cc_basename in
14073           *)
14074           # FIXME: insert proper C++ library support
14075           ld_shlibs_CXX=no
14076           ;;
14077         esac
14078         ;;
14079
14080       cygwin* | mingw* | pw32* | cegcc*)
14081         case $GXX,$cc_basename in
14082         ,cl* | no,cl*)
14083           # Native MSVC
14084           # hardcode_libdir_flag_spec is actually meaningless, as there is
14085           # no search path for DLLs.
14086           hardcode_libdir_flag_spec_CXX=' '
14087           allow_undefined_flag_CXX=unsupported
14088           always_export_symbols_CXX=yes
14089           file_list_spec_CXX='@'
14090           # Tell ltmain to make .lib files, not .a files.
14091           libext=lib
14092           # Tell ltmain to make .dll files, not .so files.
14093           shrext_cmds=".dll"
14094           # FIXME: Setting linknames here is a bad hack.
14095           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14096           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14097               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14098             else
14099               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14100             fi~
14101             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14102             linknames='
14103           # The linker will not automatically build a static lib if we build a DLL.
14104           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14105           enable_shared_with_static_runtimes_CXX=yes
14106           # Don't use ranlib
14107           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14108           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14109             lt_tool_outputfile="@TOOL_OUTPUT@"~
14110             case $lt_outputfile in
14111               *.exe|*.EXE) ;;
14112               *)
14113                 lt_outputfile="$lt_outputfile.exe"
14114                 lt_tool_outputfile="$lt_tool_outputfile.exe"
14115                 ;;
14116             esac~
14117             func_to_tool_file "$lt_outputfile"~
14118             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14119               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14120               $RM "$lt_outputfile.manifest";
14121             fi'
14122           ;;
14123         *)
14124           # g++
14125           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14126           # as there is no search path for DLLs.
14127           hardcode_libdir_flag_spec_CXX='-L$libdir'
14128           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14129           allow_undefined_flag_CXX=unsupported
14130           always_export_symbols_CXX=no
14131           enable_shared_with_static_runtimes_CXX=yes
14132
14133           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14134             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14135             # If the export-symbols file already is a .def file (1st line
14136             # is EXPORTS), use it as is; otherwise, prepend...
14137             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14138               cp $export_symbols $output_objdir/$soname.def;
14139             else
14140               echo EXPORTS > $output_objdir/$soname.def;
14141               cat $export_symbols >> $output_objdir/$soname.def;
14142             fi~
14143             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14144           else
14145             ld_shlibs_CXX=no
14146           fi
14147           ;;
14148         esac
14149         ;;
14150       darwin* | rhapsody*)
14151
14152
14153   archive_cmds_need_lc_CXX=no
14154   hardcode_direct_CXX=no
14155   hardcode_automatic_CXX=yes
14156   hardcode_shlibpath_var_CXX=unsupported
14157   if test "$lt_cv_ld_force_load" = "yes"; then
14158     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14159
14160   else
14161     whole_archive_flag_spec_CXX=''
14162   fi
14163   link_all_deplibs_CXX=yes
14164   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14165   case $cc_basename in
14166      ifort*) _lt_dar_can_shared=yes ;;
14167      *) _lt_dar_can_shared=$GCC ;;
14168   esac
14169   if test "$_lt_dar_can_shared" = "yes"; then
14170     output_verbose_link_cmd=func_echo_all
14171     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14172     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14173     archive_expsym_cmds_CXX="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}"
14174     module_expsym_cmds_CXX="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}"
14175        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14176       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14177       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14178     fi
14179
14180   else
14181   ld_shlibs_CXX=no
14182   fi
14183
14184         ;;
14185
14186       dgux*)
14187         case $cc_basename in
14188           ec++*)
14189             # FIXME: insert proper C++ library support
14190             ld_shlibs_CXX=no
14191             ;;
14192           ghcx*)
14193             # Green Hills C++ Compiler
14194             # FIXME: insert proper C++ library support
14195             ld_shlibs_CXX=no
14196             ;;
14197           *)
14198             # FIXME: insert proper C++ library support
14199             ld_shlibs_CXX=no
14200             ;;
14201         esac
14202         ;;
14203
14204       freebsd2.*)
14205         # C++ shared libraries reported to be fairly broken before
14206         # switch to ELF
14207         ld_shlibs_CXX=no
14208         ;;
14209
14210       freebsd-elf*)
14211         archive_cmds_need_lc_CXX=no
14212         ;;
14213
14214       freebsd* | dragonfly*)
14215         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14216         # conventions
14217         ld_shlibs_CXX=yes
14218         ;;
14219
14220       gnu*)
14221         ;;
14222
14223       haiku*)
14224         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14225         link_all_deplibs_CXX=yes
14226         ;;
14227
14228       hpux9*)
14229         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14230         hardcode_libdir_separator_CXX=:
14231         export_dynamic_flag_spec_CXX='${wl}-E'
14232         hardcode_direct_CXX=yes
14233         hardcode_minus_L_CXX=yes # Not in the search PATH,
14234                                              # but as the default
14235                                              # location of the library.
14236
14237         case $cc_basename in
14238           CC*)
14239             # FIXME: insert proper C++ library support
14240             ld_shlibs_CXX=no
14241             ;;
14242           aCC*)
14243             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14244             # Commands to make compiler produce verbose output that lists
14245             # what "hidden" libraries, object files and flags are used when
14246             # linking a shared library.
14247             #
14248             # There doesn't appear to be a way to prevent this compiler from
14249             # explicitly linking system object files so we need to strip them
14250             # from the output so that they don't get included in the library
14251             # dependencies.
14252             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14253             ;;
14254           *)
14255             if test "$GXX" = yes; then
14256               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14257             else
14258               # FIXME: insert proper C++ library support
14259               ld_shlibs_CXX=no
14260             fi
14261             ;;
14262         esac
14263         ;;
14264
14265       hpux10*|hpux11*)
14266         if test $with_gnu_ld = no; then
14267           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14268           hardcode_libdir_separator_CXX=:
14269
14270           case $host_cpu in
14271             hppa*64*|ia64*)
14272               ;;
14273             *)
14274               export_dynamic_flag_spec_CXX='${wl}-E'
14275               ;;
14276           esac
14277         fi
14278         case $host_cpu in
14279           hppa*64*|ia64*)
14280             hardcode_direct_CXX=no
14281             hardcode_shlibpath_var_CXX=no
14282             ;;
14283           *)
14284             hardcode_direct_CXX=yes
14285             hardcode_direct_absolute_CXX=yes
14286             hardcode_minus_L_CXX=yes # Not in the search PATH,
14287                                                  # but as the default
14288                                                  # location of the library.
14289             ;;
14290         esac
14291
14292         case $cc_basename in
14293           CC*)
14294             # FIXME: insert proper C++ library support
14295             ld_shlibs_CXX=no
14296             ;;
14297           aCC*)
14298             case $host_cpu in
14299               hppa*64*)
14300                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14301                 ;;
14302               ia64*)
14303                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14304                 ;;
14305               *)
14306                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14307                 ;;
14308             esac
14309             # Commands to make compiler produce verbose output that lists
14310             # what "hidden" libraries, object files and flags are used when
14311             # linking a shared library.
14312             #
14313             # There doesn't appear to be a way to prevent this compiler from
14314             # explicitly linking system object files so we need to strip them
14315             # from the output so that they don't get included in the library
14316             # dependencies.
14317             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14318             ;;
14319           *)
14320             if test "$GXX" = yes; then
14321               if test $with_gnu_ld = no; then
14322                 case $host_cpu in
14323                   hppa*64*)
14324                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14325                     ;;
14326                   ia64*)
14327                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14328                     ;;
14329                   *)
14330                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14331                     ;;
14332                 esac
14333               fi
14334             else
14335               # FIXME: insert proper C++ library support
14336               ld_shlibs_CXX=no
14337             fi
14338             ;;
14339         esac
14340         ;;
14341
14342       interix[3-9]*)
14343         hardcode_direct_CXX=no
14344         hardcode_shlibpath_var_CXX=no
14345         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14346         export_dynamic_flag_spec_CXX='${wl}-E'
14347         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14348         # Instead, shared libraries are loaded at an image base (0x10000000 by
14349         # default) and relocated if they conflict, which is a slow very memory
14350         # consuming and fragmenting process.  To avoid this, we pick a random,
14351         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14352         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14353         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14354         archive_expsym_cmds_CXX='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'
14355         ;;
14356       irix5* | irix6*)
14357         case $cc_basename in
14358           CC*)
14359             # SGI C++
14360             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14361
14362             # Archives containing C++ object files must be created using
14363             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14364             # necessary to make sure instantiated templates are included
14365             # in the archive.
14366             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14367             ;;
14368           *)
14369             if test "$GXX" = yes; then
14370               if test "$with_gnu_ld" = no; then
14371                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
14372               else
14373                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14374               fi
14375             fi
14376             link_all_deplibs_CXX=yes
14377             ;;
14378         esac
14379         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14380         hardcode_libdir_separator_CXX=:
14381         inherit_rpath_CXX=yes
14382         ;;
14383
14384       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14385         case $cc_basename in
14386           KCC*)
14387             # Kuck and Associates, Inc. (KAI) C++ Compiler
14388
14389             # KCC will only create a shared library if the output file
14390             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14391             # to its proper name (with version) after linking.
14392             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14393             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14394             # Commands to make compiler produce verbose output that lists
14395             # what "hidden" libraries, object files and flags are used when
14396             # linking a shared library.
14397             #
14398             # There doesn't appear to be a way to prevent this compiler from
14399             # explicitly linking system object files so we need to strip them
14400             # from the output so that they don't get included in the library
14401             # dependencies.
14402             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14403
14404             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14405             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14406
14407             # Archives containing C++ object files must be created using
14408             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14409             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14410             ;;
14411           icpc* | ecpc* )
14412             # Intel C++
14413             with_gnu_ld=yes
14414             # version 8.0 and above of icpc choke on multiply defined symbols
14415             # if we add $predep_objects and $postdep_objects, however 7.1 and
14416             # earlier do not add the objects themselves.
14417             case `$CC -V 2>&1` in
14418               *"Version 7."*)
14419                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14420                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14421                 ;;
14422               *)  # Version 8.0 or newer
14423                 tmp_idyn=
14424                 case $host_cpu in
14425                   ia64*) tmp_idyn=' -i_dynamic';;
14426                 esac
14427                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14428                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14429                 ;;
14430             esac
14431             archive_cmds_need_lc_CXX=no
14432             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14433             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14434             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14435             ;;
14436           pgCC* | pgcpp*)
14437             # Portland Group C++ compiler
14438             case `$CC -V` in
14439             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14440               prelink_cmds_CXX='tpldir=Template.dir~
14441                 rm -rf $tpldir~
14442                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14443                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14444               old_archive_cmds_CXX='tpldir=Template.dir~
14445                 rm -rf $tpldir~
14446                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14447                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14448                 $RANLIB $oldlib'
14449               archive_cmds_CXX='tpldir=Template.dir~
14450                 rm -rf $tpldir~
14451                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14452                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14453               archive_expsym_cmds_CXX='tpldir=Template.dir~
14454                 rm -rf $tpldir~
14455                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14456                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14457               ;;
14458             *) # Version 6 and above use weak symbols
14459               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14460               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14461               ;;
14462             esac
14463
14464             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14465             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14466             whole_archive_flag_spec_CXX='${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'
14467             ;;
14468           cxx*)
14469             # Compaq C++
14470             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14471             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14472
14473             runpath_var=LD_RUN_PATH
14474             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14475             hardcode_libdir_separator_CXX=:
14476
14477             # Commands to make compiler produce verbose output that lists
14478             # what "hidden" libraries, object files and flags are used when
14479             # linking a shared library.
14480             #
14481             # There doesn't appear to be a way to prevent this compiler from
14482             # explicitly linking system object files so we need to strip them
14483             # from the output so that they don't get included in the library
14484             # dependencies.
14485             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14486             ;;
14487           xl* | mpixl* | bgxl*)
14488             # IBM XL 8.0 on PPC, with GNU ld
14489             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14490             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14491             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14492             if test "x$supports_anon_versioning" = xyes; then
14493               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14494                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14495                 echo "local: *; };" >> $output_objdir/$libname.ver~
14496                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14497             fi
14498             ;;
14499           *)
14500             case `$CC -V 2>&1 | sed 5q` in
14501             *Sun\ C*)
14502               # Sun C++ 5.9
14503               no_undefined_flag_CXX=' -zdefs'
14504               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14505               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14506               hardcode_libdir_flag_spec_CXX='-R$libdir'
14507               whole_archive_flag_spec_CXX='${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'
14508               compiler_needs_object_CXX=yes
14509
14510               # Not sure whether something based on
14511               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14512               # would be better.
14513               output_verbose_link_cmd='func_echo_all'
14514
14515               # Archives containing C++ object files must be created using
14516               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14517               # necessary to make sure instantiated templates are included
14518               # in the archive.
14519               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14520               ;;
14521             esac
14522             ;;
14523         esac
14524         ;;
14525
14526       lynxos*)
14527         # FIXME: insert proper C++ library support
14528         ld_shlibs_CXX=no
14529         ;;
14530
14531       m88k*)
14532         # FIXME: insert proper C++ library support
14533         ld_shlibs_CXX=no
14534         ;;
14535
14536       mvs*)
14537         case $cc_basename in
14538           cxx*)
14539             # FIXME: insert proper C++ library support
14540             ld_shlibs_CXX=no
14541             ;;
14542           *)
14543             # FIXME: insert proper C++ library support
14544             ld_shlibs_CXX=no
14545             ;;
14546         esac
14547         ;;
14548
14549       netbsd*)
14550         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14551           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14552           wlarc=
14553           hardcode_libdir_flag_spec_CXX='-R$libdir'
14554           hardcode_direct_CXX=yes
14555           hardcode_shlibpath_var_CXX=no
14556         fi
14557         # Workaround some broken pre-1.5 toolchains
14558         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14559         ;;
14560
14561       *nto* | *qnx*)
14562         ld_shlibs_CXX=yes
14563         ;;
14564
14565       openbsd2*)
14566         # C++ shared libraries are fairly broken
14567         ld_shlibs_CXX=no
14568         ;;
14569
14570       openbsd*)
14571         if test -f /usr/libexec/ld.so; then
14572           hardcode_direct_CXX=yes
14573           hardcode_shlibpath_var_CXX=no
14574           hardcode_direct_absolute_CXX=yes
14575           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14576           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14577           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14578             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14579             export_dynamic_flag_spec_CXX='${wl}-E'
14580             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14581           fi
14582           output_verbose_link_cmd=func_echo_all
14583         else
14584           ld_shlibs_CXX=no
14585         fi
14586         ;;
14587
14588       osf3* | osf4* | osf5*)
14589         case $cc_basename in
14590           KCC*)
14591             # Kuck and Associates, Inc. (KAI) C++ Compiler
14592
14593             # KCC will only create a shared library if the output file
14594             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14595             # to its proper name (with version) after linking.
14596             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14597
14598             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14599             hardcode_libdir_separator_CXX=:
14600
14601             # Archives containing C++ object files must be created using
14602             # the KAI C++ compiler.
14603             case $host in
14604               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14605               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14606             esac
14607             ;;
14608           RCC*)
14609             # Rational C++ 2.4.1
14610             # FIXME: insert proper C++ library support
14611             ld_shlibs_CXX=no
14612             ;;
14613           cxx*)
14614             case $host in
14615               osf3*)
14616                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14617                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14618                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14619                 ;;
14620               *)
14621                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14622                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14623                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14624                   echo "-hidden">> $lib.exp~
14625                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14626                   $RM $lib.exp'
14627                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14628                 ;;
14629             esac
14630
14631             hardcode_libdir_separator_CXX=:
14632
14633             # Commands to make compiler produce verbose output that lists
14634             # what "hidden" libraries, object files and flags are used when
14635             # linking a shared library.
14636             #
14637             # There doesn't appear to be a way to prevent this compiler from
14638             # explicitly linking system object files so we need to strip them
14639             # from the output so that they don't get included in the library
14640             # dependencies.
14641             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14642             ;;
14643           *)
14644             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14645               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14646               case $host in
14647                 osf3*)
14648                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14649                   ;;
14650                 *)
14651                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14652                   ;;
14653               esac
14654
14655               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14656               hardcode_libdir_separator_CXX=:
14657
14658               # Commands to make compiler produce verbose output that lists
14659               # what "hidden" libraries, object files and flags are used when
14660               # linking a shared library.
14661               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14662
14663             else
14664               # FIXME: insert proper C++ library support
14665               ld_shlibs_CXX=no
14666             fi
14667             ;;
14668         esac
14669         ;;
14670
14671       psos*)
14672         # FIXME: insert proper C++ library support
14673         ld_shlibs_CXX=no
14674         ;;
14675
14676       sunos4*)
14677         case $cc_basename in
14678           CC*)
14679             # Sun C++ 4.x
14680             # FIXME: insert proper C++ library support
14681             ld_shlibs_CXX=no
14682             ;;
14683           lcc*)
14684             # Lucid
14685             # FIXME: insert proper C++ library support
14686             ld_shlibs_CXX=no
14687             ;;
14688           *)
14689             # FIXME: insert proper C++ library support
14690             ld_shlibs_CXX=no
14691             ;;
14692         esac
14693         ;;
14694
14695       solaris*)
14696         case $cc_basename in
14697           CC* | sunCC*)
14698             # Sun C++ 4.2, 5.x and Centerline C++
14699             archive_cmds_need_lc_CXX=yes
14700             no_undefined_flag_CXX=' -zdefs'
14701             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14702             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14703               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14704
14705             hardcode_libdir_flag_spec_CXX='-R$libdir'
14706             hardcode_shlibpath_var_CXX=no
14707             case $host_os in
14708               solaris2.[0-5] | solaris2.[0-5].*) ;;
14709               *)
14710                 # The compiler driver will combine and reorder linker options,
14711                 # but understands `-z linker_flag'.
14712                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14713                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14714                 ;;
14715             esac
14716             link_all_deplibs_CXX=yes
14717
14718             output_verbose_link_cmd='func_echo_all'
14719
14720             # Archives containing C++ object files must be created using
14721             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14722             # necessary to make sure instantiated templates are included
14723             # in the archive.
14724             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14725             ;;
14726           gcx*)
14727             # Green Hills C++ Compiler
14728             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14729
14730             # The C++ compiler must be used to create the archive.
14731             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14732             ;;
14733           *)
14734             # GNU C++ compiler with Solaris linker
14735             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14736               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14737               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14738                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14739                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14740                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14741
14742                 # Commands to make compiler produce verbose output that lists
14743                 # what "hidden" libraries, object files and flags are used when
14744                 # linking a shared library.
14745                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14746               else
14747                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14748                 # platform.
14749                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14750                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14751                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14752
14753                 # Commands to make compiler produce verbose output that lists
14754                 # what "hidden" libraries, object files and flags are used when
14755                 # linking a shared library.
14756                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14757               fi
14758
14759               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14760               case $host_os in
14761                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14762                 *)
14763                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14764                   ;;
14765               esac
14766             fi
14767             ;;
14768         esac
14769         ;;
14770
14771     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14772       no_undefined_flag_CXX='${wl}-z,text'
14773       archive_cmds_need_lc_CXX=no
14774       hardcode_shlibpath_var_CXX=no
14775       runpath_var='LD_RUN_PATH'
14776
14777       case $cc_basename in
14778         CC*)
14779           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14780           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14781           ;;
14782         *)
14783           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14784           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14785           ;;
14786       esac
14787       ;;
14788
14789       sysv5* | sco3.2v5* | sco5v6*)
14790         # Note: We can NOT use -z defs as we might desire, because we do not
14791         # link with -lc, and that would cause any symbols used from libc to
14792         # always be unresolved, which means just about no library would
14793         # ever link correctly.  If we're not using GNU ld we use -z text
14794         # though, which does catch some bad symbols but isn't as heavy-handed
14795         # as -z defs.
14796         no_undefined_flag_CXX='${wl}-z,text'
14797         allow_undefined_flag_CXX='${wl}-z,nodefs'
14798         archive_cmds_need_lc_CXX=no
14799         hardcode_shlibpath_var_CXX=no
14800         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14801         hardcode_libdir_separator_CXX=':'
14802         link_all_deplibs_CXX=yes
14803         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14804         runpath_var='LD_RUN_PATH'
14805
14806         case $cc_basename in
14807           CC*)
14808             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14809             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14810             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14811               '"$old_archive_cmds_CXX"
14812             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14813               '"$reload_cmds_CXX"
14814             ;;
14815           *)
14816             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14817             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14818             ;;
14819         esac
14820       ;;
14821
14822       tandem*)
14823         case $cc_basename in
14824           NCC*)
14825             # NonStop-UX NCC 3.20
14826             # FIXME: insert proper C++ library support
14827             ld_shlibs_CXX=no
14828             ;;
14829           *)
14830             # FIXME: insert proper C++ library support
14831             ld_shlibs_CXX=no
14832             ;;
14833         esac
14834         ;;
14835
14836       vxworks*)
14837         # FIXME: insert proper C++ library support
14838         ld_shlibs_CXX=no
14839         ;;
14840
14841       *)
14842         # FIXME: insert proper C++ library support
14843         ld_shlibs_CXX=no
14844         ;;
14845     esac
14846
14847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14848 $as_echo "$ld_shlibs_CXX" >&6; }
14849     test "$ld_shlibs_CXX" = no && can_build_shared=no
14850
14851     GCC_CXX="$GXX"
14852     LD_CXX="$LD"
14853
14854     ## CAVEAT EMPTOR:
14855     ## There is no encapsulation within the following macros, do not change
14856     ## the running order or otherwise move them around unless you know exactly
14857     ## what you are doing...
14858     # Dependencies to place before and after the object being linked:
14859 predep_objects_CXX=
14860 postdep_objects_CXX=
14861 predeps_CXX=
14862 postdeps_CXX=
14863 compiler_lib_search_path_CXX=
14864
14865 cat > conftest.$ac_ext <<_LT_EOF
14866 class Foo
14867 {
14868 public:
14869   Foo (void) { a = 0; }
14870 private:
14871   int a;
14872 };
14873 _LT_EOF
14874
14875
14876 _lt_libdeps_save_CFLAGS=$CFLAGS
14877 case "$CC $CFLAGS " in #(
14878 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14879 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14880 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14881 esac
14882
14883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14884   (eval $ac_compile) 2>&5
14885   ac_status=$?
14886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14887   test $ac_status = 0; }; then
14888   # Parse the compiler output and extract the necessary
14889   # objects, libraries and library flags.
14890
14891   # Sentinel used to keep track of whether or not we are before
14892   # the conftest object file.
14893   pre_test_object_deps_done=no
14894
14895   for p in `eval "$output_verbose_link_cmd"`; do
14896     case ${prev}${p} in
14897
14898     -L* | -R* | -l*)
14899        # Some compilers place space between "-{L,R}" and the path.
14900        # Remove the space.
14901        if test $p = "-L" ||
14902           test $p = "-R"; then
14903          prev=$p
14904          continue
14905        fi
14906
14907        # Expand the sysroot to ease extracting the directories later.
14908        if test -z "$prev"; then
14909          case $p in
14910          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14911          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14912          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14913          esac
14914        fi
14915        case $p in
14916        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14917        esac
14918        if test "$pre_test_object_deps_done" = no; then
14919          case ${prev} in
14920          -L | -R)
14921            # Internal compiler library paths should come after those
14922            # provided the user.  The postdeps already come after the
14923            # user supplied libs so there is no need to process them.
14924            if test -z "$compiler_lib_search_path_CXX"; then
14925              compiler_lib_search_path_CXX="${prev}${p}"
14926            else
14927              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14928            fi
14929            ;;
14930          # The "-l" case would never come before the object being
14931          # linked, so don't bother handling this case.
14932          esac
14933        else
14934          if test -z "$postdeps_CXX"; then
14935            postdeps_CXX="${prev}${p}"
14936          else
14937            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14938          fi
14939        fi
14940        prev=
14941        ;;
14942
14943     *.lto.$objext) ;; # Ignore GCC LTO objects
14944     *.$objext)
14945        # This assumes that the test object file only shows up
14946        # once in the compiler output.
14947        if test "$p" = "conftest.$objext"; then
14948          pre_test_object_deps_done=yes
14949          continue
14950        fi
14951
14952        if test "$pre_test_object_deps_done" = no; then
14953          if test -z "$predep_objects_CXX"; then
14954            predep_objects_CXX="$p"
14955          else
14956            predep_objects_CXX="$predep_objects_CXX $p"
14957          fi
14958        else
14959          if test -z "$postdep_objects_CXX"; then
14960            postdep_objects_CXX="$p"
14961          else
14962            postdep_objects_CXX="$postdep_objects_CXX $p"
14963          fi
14964        fi
14965        ;;
14966
14967     *) ;; # Ignore the rest.
14968
14969     esac
14970   done
14971
14972   # Clean up.
14973   rm -f a.out a.exe
14974 else
14975   echo "libtool.m4: error: problem compiling CXX test program"
14976 fi
14977
14978 $RM -f confest.$objext
14979 CFLAGS=$_lt_libdeps_save_CFLAGS
14980
14981 # PORTME: override above test on systems where it is broken
14982 case $host_os in
14983 interix[3-9]*)
14984   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14985   # hack all around it, let's just trust "g++" to DTRT.
14986   predep_objects_CXX=
14987   postdep_objects_CXX=
14988   postdeps_CXX=
14989   ;;
14990
14991 linux*)
14992   case `$CC -V 2>&1 | sed 5q` in
14993   *Sun\ C*)
14994     # Sun C++ 5.9
14995
14996     # The more standards-conforming stlport4 library is
14997     # incompatible with the Cstd library. Avoid specifying
14998     # it if it's in CXXFLAGS. Ignore libCrun as
14999     # -library=stlport4 depends on it.
15000     case " $CXX $CXXFLAGS " in
15001     *" -library=stlport4 "*)
15002       solaris_use_stlport4=yes
15003       ;;
15004     esac
15005
15006     if test "$solaris_use_stlport4" != yes; then
15007       postdeps_CXX='-library=Cstd -library=Crun'
15008     fi
15009     ;;
15010   esac
15011   ;;
15012
15013 solaris*)
15014   case $cc_basename in
15015   CC* | sunCC*)
15016     # The more standards-conforming stlport4 library is
15017     # incompatible with the Cstd library. Avoid specifying
15018     # it if it's in CXXFLAGS. Ignore libCrun as
15019     # -library=stlport4 depends on it.
15020     case " $CXX $CXXFLAGS " in
15021     *" -library=stlport4 "*)
15022       solaris_use_stlport4=yes
15023       ;;
15024     esac
15025
15026     # Adding this requires a known-good setup of shared libraries for
15027     # Sun compiler versions before 5.6, else PIC objects from an old
15028     # archive will be linked into the output, leading to subtle bugs.
15029     if test "$solaris_use_stlport4" != yes; then
15030       postdeps_CXX='-library=Cstd -library=Crun'
15031     fi
15032     ;;
15033   esac
15034   ;;
15035 esac
15036
15037
15038 case " $postdeps_CXX " in
15039 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15040 esac
15041  compiler_lib_search_dirs_CXX=
15042 if test -n "${compiler_lib_search_path_CXX}"; then
15043  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15044 fi
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076     lt_prog_compiler_wl_CXX=
15077 lt_prog_compiler_pic_CXX=
15078 lt_prog_compiler_static_CXX=
15079
15080
15081   # C++ specific cases for pic, static, wl, etc.
15082   if test "$GXX" = yes; then
15083     lt_prog_compiler_wl_CXX='-Wl,'
15084     lt_prog_compiler_static_CXX='-static'
15085
15086     case $host_os in
15087     aix*)
15088       # All AIX code is PIC.
15089       if test "$host_cpu" = ia64; then
15090         # AIX 5 now supports IA64 processor
15091         lt_prog_compiler_static_CXX='-Bstatic'
15092       fi
15093       ;;
15094
15095     amigaos*)
15096       case $host_cpu in
15097       powerpc)
15098             # see comment about AmigaOS4 .so support
15099             lt_prog_compiler_pic_CXX='-fPIC'
15100         ;;
15101       m68k)
15102             # FIXME: we need at least 68020 code to build shared libraries, but
15103             # adding the `-m68020' flag to GCC prevents building anything better,
15104             # like `-m68040'.
15105             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15106         ;;
15107       esac
15108       ;;
15109
15110     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15111       # PIC is the default for these OSes.
15112       ;;
15113     mingw* | cygwin* | os2* | pw32* | cegcc*)
15114       # This hack is so that the source file can tell whether it is being
15115       # built for inclusion in a dll (and should export symbols for example).
15116       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15117       # (--disable-auto-import) libraries
15118       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15119       ;;
15120     darwin* | rhapsody*)
15121       # PIC is the default on this platform
15122       # Common symbols not allowed in MH_DYLIB files
15123       lt_prog_compiler_pic_CXX='-fno-common'
15124       ;;
15125     *djgpp*)
15126       # DJGPP does not support shared libraries at all
15127       lt_prog_compiler_pic_CXX=
15128       ;;
15129     haiku*)
15130       # PIC is the default for Haiku.
15131       # The "-static" flag exists, but is broken.
15132       lt_prog_compiler_static_CXX=
15133       ;;
15134     interix[3-9]*)
15135       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15136       # Instead, we relocate shared libraries at runtime.
15137       ;;
15138     sysv4*MP*)
15139       if test -d /usr/nec; then
15140         lt_prog_compiler_pic_CXX=-Kconform_pic
15141       fi
15142       ;;
15143     hpux*)
15144       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15145       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15146       # sets the default TLS model and affects inlining.
15147       case $host_cpu in
15148       hppa*64*)
15149         ;;
15150       *)
15151         lt_prog_compiler_pic_CXX='-fPIC'
15152         ;;
15153       esac
15154       ;;
15155     *qnx* | *nto*)
15156       # QNX uses GNU C++, but need to define -shared option too, otherwise
15157       # it will coredump.
15158       lt_prog_compiler_pic_CXX='-fPIC -shared'
15159       ;;
15160     *)
15161       lt_prog_compiler_pic_CXX='-fPIC'
15162       ;;
15163     esac
15164   else
15165     case $host_os in
15166       aix[4-9]*)
15167         # All AIX code is PIC.
15168         if test "$host_cpu" = ia64; then
15169           # AIX 5 now supports IA64 processor
15170           lt_prog_compiler_static_CXX='-Bstatic'
15171         else
15172           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15173         fi
15174         ;;
15175       chorus*)
15176         case $cc_basename in
15177         cxch68*)
15178           # Green Hills C++ Compiler
15179           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15180           ;;
15181         esac
15182         ;;
15183       mingw* | cygwin* | os2* | pw32* | cegcc*)
15184         # This hack is so that the source file can tell whether it is being
15185         # built for inclusion in a dll (and should export symbols for example).
15186         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15187         ;;
15188       dgux*)
15189         case $cc_basename in
15190           ec++*)
15191             lt_prog_compiler_pic_CXX='-KPIC'
15192             ;;
15193           ghcx*)
15194             # Green Hills C++ Compiler
15195             lt_prog_compiler_pic_CXX='-pic'
15196             ;;
15197           *)
15198             ;;
15199         esac
15200         ;;
15201       freebsd* | dragonfly*)
15202         # FreeBSD uses GNU C++
15203         ;;
15204       hpux9* | hpux10* | hpux11*)
15205         case $cc_basename in
15206           CC*)
15207             lt_prog_compiler_wl_CXX='-Wl,'
15208             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15209             if test "$host_cpu" != ia64; then
15210               lt_prog_compiler_pic_CXX='+Z'
15211             fi
15212             ;;
15213           aCC*)
15214             lt_prog_compiler_wl_CXX='-Wl,'
15215             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15216             case $host_cpu in
15217             hppa*64*|ia64*)
15218               # +Z the default
15219               ;;
15220             *)
15221               lt_prog_compiler_pic_CXX='+Z'
15222               ;;
15223             esac
15224             ;;
15225           *)
15226             ;;
15227         esac
15228         ;;
15229       interix*)
15230         # This is c89, which is MS Visual C++ (no shared libs)
15231         # Anyone wants to do a port?
15232         ;;
15233       irix5* | irix6* | nonstopux*)
15234         case $cc_basename in
15235           CC*)
15236             lt_prog_compiler_wl_CXX='-Wl,'
15237             lt_prog_compiler_static_CXX='-non_shared'
15238             # CC pic flag -KPIC is the default.
15239             ;;
15240           *)
15241             ;;
15242         esac
15243         ;;
15244       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15245         case $cc_basename in
15246           KCC*)
15247             # KAI C++ Compiler
15248             lt_prog_compiler_wl_CXX='--backend -Wl,'
15249             lt_prog_compiler_pic_CXX='-fPIC'
15250             ;;
15251           ecpc* )
15252             # old Intel C++ for x86_64 which still supported -KPIC.
15253             lt_prog_compiler_wl_CXX='-Wl,'
15254             lt_prog_compiler_pic_CXX='-KPIC'
15255             lt_prog_compiler_static_CXX='-static'
15256             ;;
15257           icpc* )
15258             # Intel C++, used to be incompatible with GCC.
15259             # ICC 10 doesn't accept -KPIC any more.
15260             lt_prog_compiler_wl_CXX='-Wl,'
15261             lt_prog_compiler_pic_CXX='-fPIC'
15262             lt_prog_compiler_static_CXX='-static'
15263             ;;
15264           pgCC* | pgcpp*)
15265             # Portland Group C++ compiler
15266             lt_prog_compiler_wl_CXX='-Wl,'
15267             lt_prog_compiler_pic_CXX='-fpic'
15268             lt_prog_compiler_static_CXX='-Bstatic'
15269             ;;
15270           cxx*)
15271             # Compaq C++
15272             # Make sure the PIC flag is empty.  It appears that all Alpha
15273             # Linux and Compaq Tru64 Unix objects are PIC.
15274             lt_prog_compiler_pic_CXX=
15275             lt_prog_compiler_static_CXX='-non_shared'
15276             ;;
15277           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15278             # IBM XL 8.0, 9.0 on PPC and BlueGene
15279             lt_prog_compiler_wl_CXX='-Wl,'
15280             lt_prog_compiler_pic_CXX='-qpic'
15281             lt_prog_compiler_static_CXX='-qstaticlink'
15282             ;;
15283           *)
15284             case `$CC -V 2>&1 | sed 5q` in
15285             *Sun\ C*)
15286               # Sun C++ 5.9
15287               lt_prog_compiler_pic_CXX='-KPIC'
15288               lt_prog_compiler_static_CXX='-Bstatic'
15289               lt_prog_compiler_wl_CXX='-Qoption ld '
15290               ;;
15291             esac
15292             ;;
15293         esac
15294         ;;
15295       lynxos*)
15296         ;;
15297       m88k*)
15298         ;;
15299       mvs*)
15300         case $cc_basename in
15301           cxx*)
15302             lt_prog_compiler_pic_CXX='-W c,exportall'
15303             ;;
15304           *)
15305             ;;
15306         esac
15307         ;;
15308       netbsd*)
15309         ;;
15310       *qnx* | *nto*)
15311         # QNX uses GNU C++, but need to define -shared option too, otherwise
15312         # it will coredump.
15313         lt_prog_compiler_pic_CXX='-fPIC -shared'
15314         ;;
15315       osf3* | osf4* | osf5*)
15316         case $cc_basename in
15317           KCC*)
15318             lt_prog_compiler_wl_CXX='--backend -Wl,'
15319             ;;
15320           RCC*)
15321             # Rational C++ 2.4.1
15322             lt_prog_compiler_pic_CXX='-pic'
15323             ;;
15324           cxx*)
15325             # Digital/Compaq C++
15326             lt_prog_compiler_wl_CXX='-Wl,'
15327             # Make sure the PIC flag is empty.  It appears that all Alpha
15328             # Linux and Compaq Tru64 Unix objects are PIC.
15329             lt_prog_compiler_pic_CXX=
15330             lt_prog_compiler_static_CXX='-non_shared'
15331             ;;
15332           *)
15333             ;;
15334         esac
15335         ;;
15336       psos*)
15337         ;;
15338       solaris*)
15339         case $cc_basename in
15340           CC* | sunCC*)
15341             # Sun C++ 4.2, 5.x and Centerline C++
15342             lt_prog_compiler_pic_CXX='-KPIC'
15343             lt_prog_compiler_static_CXX='-Bstatic'
15344             lt_prog_compiler_wl_CXX='-Qoption ld '
15345             ;;
15346           gcx*)
15347             # Green Hills C++ Compiler
15348             lt_prog_compiler_pic_CXX='-PIC'
15349             ;;
15350           *)
15351             ;;
15352         esac
15353         ;;
15354       sunos4*)
15355         case $cc_basename in
15356           CC*)
15357             # Sun C++ 4.x
15358             lt_prog_compiler_pic_CXX='-pic'
15359             lt_prog_compiler_static_CXX='-Bstatic'
15360             ;;
15361           lcc*)
15362             # Lucid
15363             lt_prog_compiler_pic_CXX='-pic'
15364             ;;
15365           *)
15366             ;;
15367         esac
15368         ;;
15369       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15370         case $cc_basename in
15371           CC*)
15372             lt_prog_compiler_wl_CXX='-Wl,'
15373             lt_prog_compiler_pic_CXX='-KPIC'
15374             lt_prog_compiler_static_CXX='-Bstatic'
15375             ;;
15376         esac
15377         ;;
15378       tandem*)
15379         case $cc_basename in
15380           NCC*)
15381             # NonStop-UX NCC 3.20
15382             lt_prog_compiler_pic_CXX='-KPIC'
15383             ;;
15384           *)
15385             ;;
15386         esac
15387         ;;
15388       vxworks*)
15389         ;;
15390       *)
15391         lt_prog_compiler_can_build_shared_CXX=no
15392         ;;
15393     esac
15394   fi
15395
15396 case $host_os in
15397   # For platforms which do not support PIC, -DPIC is meaningless:
15398   *djgpp*)
15399     lt_prog_compiler_pic_CXX=
15400     ;;
15401   *)
15402     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15403     ;;
15404 esac
15405
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15407 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15408 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15409   $as_echo_n "(cached) " >&6
15410 else
15411   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15412 fi
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15414 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15415 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15416
15417 #
15418 # Check to make sure the PIC flag actually works.
15419 #
15420 if test -n "$lt_prog_compiler_pic_CXX"; then
15421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15422 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15423 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15424   $as_echo_n "(cached) " >&6
15425 else
15426   lt_cv_prog_compiler_pic_works_CXX=no
15427    ac_outfile=conftest.$ac_objext
15428    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15429    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15430    # Insert the option either (1) after the last *FLAGS variable, or
15431    # (2) before a word containing "conftest.", or (3) at the end.
15432    # Note that $ac_compile itself does not contain backslashes and begins
15433    # with a dollar sign (not a hyphen), so the echo should work correctly.
15434    # The option is referenced via a variable to avoid confusing sed.
15435    lt_compile=`echo "$ac_compile" | $SED \
15436    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15437    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15438    -e 's:$: $lt_compiler_flag:'`
15439    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15440    (eval "$lt_compile" 2>conftest.err)
15441    ac_status=$?
15442    cat conftest.err >&5
15443    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444    if (exit $ac_status) && test -s "$ac_outfile"; then
15445      # The compiler can only warn and ignore the option if not recognized
15446      # So say no if there are warnings other than the usual output.
15447      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15448      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15449      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15450        lt_cv_prog_compiler_pic_works_CXX=yes
15451      fi
15452    fi
15453    $RM conftest*
15454
15455 fi
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15457 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15458
15459 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15460     case $lt_prog_compiler_pic_CXX in
15461      "" | " "*) ;;
15462      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15463      esac
15464 else
15465     lt_prog_compiler_pic_CXX=
15466      lt_prog_compiler_can_build_shared_CXX=no
15467 fi
15468
15469 fi
15470
15471
15472
15473
15474
15475 #
15476 # Check to make sure the static flag actually works.
15477 #
15478 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15480 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15481 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15482   $as_echo_n "(cached) " >&6
15483 else
15484   lt_cv_prog_compiler_static_works_CXX=no
15485    save_LDFLAGS="$LDFLAGS"
15486    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15487    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15488    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15489      # The linker can only warn and ignore the option if not recognized
15490      # So say no if there are warnings
15491      if test -s conftest.err; then
15492        # Append any errors to the config.log.
15493        cat conftest.err 1>&5
15494        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15495        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15496        if diff conftest.exp conftest.er2 >/dev/null; then
15497          lt_cv_prog_compiler_static_works_CXX=yes
15498        fi
15499      else
15500        lt_cv_prog_compiler_static_works_CXX=yes
15501      fi
15502    fi
15503    $RM -r conftest*
15504    LDFLAGS="$save_LDFLAGS"
15505
15506 fi
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15508 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15509
15510 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15511     :
15512 else
15513     lt_prog_compiler_static_CXX=
15514 fi
15515
15516
15517
15518
15519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15520 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15521 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15522   $as_echo_n "(cached) " >&6
15523 else
15524   lt_cv_prog_compiler_c_o_CXX=no
15525    $RM -r conftest 2>/dev/null
15526    mkdir conftest
15527    cd conftest
15528    mkdir out
15529    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15530
15531    lt_compiler_flag="-o out/conftest2.$ac_objext"
15532    # Insert the option either (1) after the last *FLAGS variable, or
15533    # (2) before a word containing "conftest.", or (3) at the end.
15534    # Note that $ac_compile itself does not contain backslashes and begins
15535    # with a dollar sign (not a hyphen), so the echo should work correctly.
15536    lt_compile=`echo "$ac_compile" | $SED \
15537    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15538    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15539    -e 's:$: $lt_compiler_flag:'`
15540    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15541    (eval "$lt_compile" 2>out/conftest.err)
15542    ac_status=$?
15543    cat out/conftest.err >&5
15544    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15546    then
15547      # The compiler can only warn and ignore the option if not recognized
15548      # So say no if there are warnings
15549      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15550      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15551      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15552        lt_cv_prog_compiler_c_o_CXX=yes
15553      fi
15554    fi
15555    chmod u+w . 2>&5
15556    $RM conftest*
15557    # SGI C++ compiler will create directory out/ii_files/ for
15558    # template instantiation
15559    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15560    $RM out/* && rmdir out
15561    cd ..
15562    $RM -r conftest
15563    $RM conftest*
15564
15565 fi
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15567 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15568
15569
15570
15571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15573 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15574   $as_echo_n "(cached) " >&6
15575 else
15576   lt_cv_prog_compiler_c_o_CXX=no
15577    $RM -r conftest 2>/dev/null
15578    mkdir conftest
15579    cd conftest
15580    mkdir out
15581    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15582
15583    lt_compiler_flag="-o out/conftest2.$ac_objext"
15584    # Insert the option either (1) after the last *FLAGS variable, or
15585    # (2) before a word containing "conftest.", or (3) at the end.
15586    # Note that $ac_compile itself does not contain backslashes and begins
15587    # with a dollar sign (not a hyphen), so the echo should work correctly.
15588    lt_compile=`echo "$ac_compile" | $SED \
15589    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15590    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15591    -e 's:$: $lt_compiler_flag:'`
15592    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15593    (eval "$lt_compile" 2>out/conftest.err)
15594    ac_status=$?
15595    cat out/conftest.err >&5
15596    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15598    then
15599      # The compiler can only warn and ignore the option if not recognized
15600      # So say no if there are warnings
15601      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15602      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15603      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15604        lt_cv_prog_compiler_c_o_CXX=yes
15605      fi
15606    fi
15607    chmod u+w . 2>&5
15608    $RM conftest*
15609    # SGI C++ compiler will create directory out/ii_files/ for
15610    # template instantiation
15611    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15612    $RM out/* && rmdir out
15613    cd ..
15614    $RM -r conftest
15615    $RM conftest*
15616
15617 fi
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15619 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15620
15621
15622
15623
15624 hard_links="nottested"
15625 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15626   # do not overwrite the value of need_locks provided by the user
15627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15628 $as_echo_n "checking if we can lock with hard links... " >&6; }
15629   hard_links=yes
15630   $RM conftest*
15631   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15632   touch conftest.a
15633   ln conftest.a conftest.b 2>&5 || hard_links=no
15634   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15636 $as_echo "$hard_links" >&6; }
15637   if test "$hard_links" = no; then
15638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15640     need_locks=warn
15641   fi
15642 else
15643   need_locks=no
15644 fi
15645
15646
15647
15648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15649 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15650
15651   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15652   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15653   case $host_os in
15654   aix[4-9]*)
15655     # If we're using GNU nm, then we don't want the "-C" option.
15656     # -C means demangle to AIX nm, but means don't demangle with GNU nm
15657     # Also, AIX nm treats weak defined symbols like other global defined
15658     # symbols, whereas GNU nm marks them as "W".
15659     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15660       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15661     else
15662       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15663     fi
15664     ;;
15665   pw32*)
15666     export_symbols_cmds_CXX="$ltdll_cmds"
15667     ;;
15668   cygwin* | mingw* | cegcc*)
15669     case $cc_basename in
15670     cl*)
15671       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15672       ;;
15673     *)
15674       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15675       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15676       ;;
15677     esac
15678     ;;
15679   *)
15680     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15681     ;;
15682   esac
15683
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15685 $as_echo "$ld_shlibs_CXX" >&6; }
15686 test "$ld_shlibs_CXX" = no && can_build_shared=no
15687
15688 with_gnu_ld_CXX=$with_gnu_ld
15689
15690
15691
15692
15693
15694
15695 #
15696 # Do we need to explicitly link libc?
15697 #
15698 case "x$archive_cmds_need_lc_CXX" in
15699 x|xyes)
15700   # Assume -lc should be added
15701   archive_cmds_need_lc_CXX=yes
15702
15703   if test "$enable_shared" = yes && test "$GCC" = yes; then
15704     case $archive_cmds_CXX in
15705     *'~'*)
15706       # FIXME: we may have to deal with multi-command sequences.
15707       ;;
15708     '$CC '*)
15709       # Test whether the compiler implicitly links with -lc since on some
15710       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15711       # to ld, don't add -lc before -lgcc.
15712       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15713 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15714 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15715   $as_echo_n "(cached) " >&6
15716 else
15717   $RM conftest*
15718         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15719
15720         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15721   (eval $ac_compile) 2>&5
15722   ac_status=$?
15723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15724   test $ac_status = 0; } 2>conftest.err; then
15725           soname=conftest
15726           lib=conftest
15727           libobjs=conftest.$ac_objext
15728           deplibs=
15729           wl=$lt_prog_compiler_wl_CXX
15730           pic_flag=$lt_prog_compiler_pic_CXX
15731           compiler_flags=-v
15732           linker_flags=-v
15733           verstring=
15734           output_objdir=.
15735           libname=conftest
15736           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15737           allow_undefined_flag_CXX=
15738           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15739   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15740   ac_status=$?
15741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742   test $ac_status = 0; }
15743           then
15744             lt_cv_archive_cmds_need_lc_CXX=no
15745           else
15746             lt_cv_archive_cmds_need_lc_CXX=yes
15747           fi
15748           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15749         else
15750           cat conftest.err 1>&5
15751         fi
15752         $RM conftest*
15753
15754 fi
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15756 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15757       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15758       ;;
15759     esac
15760   fi
15761   ;;
15762 esac
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15826 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15827
15828 library_names_spec=
15829 libname_spec='lib$name'
15830 soname_spec=
15831 shrext_cmds=".so"
15832 postinstall_cmds=
15833 postuninstall_cmds=
15834 finish_cmds=
15835 finish_eval=
15836 shlibpath_var=
15837 shlibpath_overrides_runpath=unknown
15838 version_type=none
15839 dynamic_linker="$host_os ld.so"
15840 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15841 need_lib_prefix=unknown
15842 hardcode_into_libs=no
15843
15844 # when you set need_version to no, make sure it does not cause -set_version
15845 # flags to be left without arguments
15846 need_version=unknown
15847
15848 case $host_os in
15849 aix3*)
15850   version_type=linux # correct to gnu/linux during the next big refactor
15851   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15852   shlibpath_var=LIBPATH
15853
15854   # AIX 3 has no versioning support, so we append a major version to the name.
15855   soname_spec='${libname}${release}${shared_ext}$major'
15856   ;;
15857
15858 aix[4-9]*)
15859   version_type=linux # correct to gnu/linux during the next big refactor
15860   need_lib_prefix=no
15861   need_version=no
15862   hardcode_into_libs=yes
15863   if test "$host_cpu" = ia64; then
15864     # AIX 5 supports IA64
15865     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15866     shlibpath_var=LD_LIBRARY_PATH
15867   else
15868     # With GCC up to 2.95.x, collect2 would create an import file
15869     # for dependence libraries.  The import file would start with
15870     # the line `#! .'.  This would cause the generated library to
15871     # depend on `.', always an invalid library.  This was fixed in
15872     # development snapshots of GCC prior to 3.0.
15873     case $host_os in
15874       aix4 | aix4.[01] | aix4.[01].*)
15875       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15876            echo ' yes '
15877            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15878         :
15879       else
15880         can_build_shared=no
15881       fi
15882       ;;
15883     esac
15884     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15885     # soname into executable. Probably we can add versioning support to
15886     # collect2, so additional links can be useful in future.
15887     if test "$aix_use_runtimelinking" = yes; then
15888       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15889       # instead of lib<name>.a to let people know that these are not
15890       # typical AIX shared libraries.
15891       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15892     else
15893       # We preserve .a as extension for shared libraries through AIX4.2
15894       # and later when we are not doing run time linking.
15895       library_names_spec='${libname}${release}.a $libname.a'
15896       soname_spec='${libname}${release}${shared_ext}$major'
15897     fi
15898     shlibpath_var=LIBPATH
15899   fi
15900   ;;
15901
15902 amigaos*)
15903   case $host_cpu in
15904   powerpc)
15905     # Since July 2007 AmigaOS4 officially supports .so libraries.
15906     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15907     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15908     ;;
15909   m68k)
15910     library_names_spec='$libname.ixlibrary $libname.a'
15911     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15912     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'
15913     ;;
15914   esac
15915   ;;
15916
15917 beos*)
15918   library_names_spec='${libname}${shared_ext}'
15919   dynamic_linker="$host_os ld.so"
15920   shlibpath_var=LIBRARY_PATH
15921   ;;
15922
15923 bsdi[45]*)
15924   version_type=linux # correct to gnu/linux during the next big refactor
15925   need_version=no
15926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927   soname_spec='${libname}${release}${shared_ext}$major'
15928   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15929   shlibpath_var=LD_LIBRARY_PATH
15930   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15931   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15932   # the default ld.so.conf also contains /usr/contrib/lib and
15933   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15934   # libtool to hard-code these into programs
15935   ;;
15936
15937 cygwin* | mingw* | pw32* | cegcc*)
15938   version_type=windows
15939   shrext_cmds=".dll"
15940   need_version=no
15941   need_lib_prefix=no
15942
15943   case $GCC,$cc_basename in
15944   yes,*)
15945     # gcc
15946     library_names_spec='$libname.dll.a'
15947     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15948     postinstall_cmds='base_file=`basename \${file}`~
15949       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15950       dldir=$destdir/`dirname \$dlpath`~
15951       test -d \$dldir || mkdir -p \$dldir~
15952       $install_prog $dir/$dlname \$dldir/$dlname~
15953       chmod a+x \$dldir/$dlname~
15954       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15955         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15956       fi'
15957     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15958       dlpath=$dir/\$dldll~
15959        $RM \$dlpath'
15960     shlibpath_overrides_runpath=yes
15961
15962     case $host_os in
15963     cygwin*)
15964       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15965       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15966
15967       ;;
15968     mingw* | cegcc*)
15969       # MinGW DLLs use traditional 'lib' prefix
15970       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15971       ;;
15972     pw32*)
15973       # pw32 DLLs use 'pw' prefix rather than 'lib'
15974       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15975       ;;
15976     esac
15977     dynamic_linker='Win32 ld.exe'
15978     ;;
15979
15980   *,cl*)
15981     # Native MSVC
15982     libname_spec='$name'
15983     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15984     library_names_spec='${libname}.dll.lib'
15985
15986     case $build_os in
15987     mingw*)
15988       sys_lib_search_path_spec=
15989       lt_save_ifs=$IFS
15990       IFS=';'
15991       for lt_path in $LIB
15992       do
15993         IFS=$lt_save_ifs
15994         # Let DOS variable expansion print the short 8.3 style file name.
15995         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15996         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15997       done
15998       IFS=$lt_save_ifs
15999       # Convert to MSYS style.
16000       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16001       ;;
16002     cygwin*)
16003       # Convert to unix form, then to dos form, then back to unix form
16004       # but this time dos style (no spaces!) so that the unix form looks
16005       # like /cygdrive/c/PROGRA~1:/cygdr...
16006       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16007       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16008       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16009       ;;
16010     *)
16011       sys_lib_search_path_spec="$LIB"
16012       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16013         # It is most probably a Windows format PATH.
16014         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16015       else
16016         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16017       fi
16018       # FIXME: find the short name or the path components, as spaces are
16019       # common. (e.g. "Program Files" -> "PROGRA~1")
16020       ;;
16021     esac
16022
16023     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16024     postinstall_cmds='base_file=`basename \${file}`~
16025       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16026       dldir=$destdir/`dirname \$dlpath`~
16027       test -d \$dldir || mkdir -p \$dldir~
16028       $install_prog $dir/$dlname \$dldir/$dlname'
16029     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16030       dlpath=$dir/\$dldll~
16031        $RM \$dlpath'
16032     shlibpath_overrides_runpath=yes
16033     dynamic_linker='Win32 link.exe'
16034     ;;
16035
16036   *)
16037     # Assume MSVC wrapper
16038     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16039     dynamic_linker='Win32 ld.exe'
16040     ;;
16041   esac
16042   # FIXME: first we should search . and the directory the executable is in
16043   shlibpath_var=PATH
16044   ;;
16045
16046 darwin* | rhapsody*)
16047   dynamic_linker="$host_os dyld"
16048   version_type=darwin
16049   need_lib_prefix=no
16050   need_version=no
16051   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16052   soname_spec='${libname}${release}${major}$shared_ext'
16053   shlibpath_overrides_runpath=yes
16054   shlibpath_var=DYLD_LIBRARY_PATH
16055   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16056
16057   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16058   ;;
16059
16060 dgux*)
16061   version_type=linux # correct to gnu/linux during the next big refactor
16062   need_lib_prefix=no
16063   need_version=no
16064   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16065   soname_spec='${libname}${release}${shared_ext}$major'
16066   shlibpath_var=LD_LIBRARY_PATH
16067   ;;
16068
16069 freebsd* | dragonfly*)
16070   # DragonFly does not have aout.  When/if they implement a new
16071   # versioning mechanism, adjust this.
16072   if test -x /usr/bin/objformat; then
16073     objformat=`/usr/bin/objformat`
16074   else
16075     case $host_os in
16076     freebsd[23].*) objformat=aout ;;
16077     *) objformat=elf ;;
16078     esac
16079   fi
16080   version_type=freebsd-$objformat
16081   case $version_type in
16082     freebsd-elf*)
16083       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16084       need_version=no
16085       need_lib_prefix=no
16086       ;;
16087     freebsd-*)
16088       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16089       need_version=yes
16090       ;;
16091   esac
16092   shlibpath_var=LD_LIBRARY_PATH
16093   case $host_os in
16094   freebsd2.*)
16095     shlibpath_overrides_runpath=yes
16096     ;;
16097   freebsd3.[01]* | freebsdelf3.[01]*)
16098     shlibpath_overrides_runpath=yes
16099     hardcode_into_libs=yes
16100     ;;
16101   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16102   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16103     shlibpath_overrides_runpath=no
16104     hardcode_into_libs=yes
16105     ;;
16106   *) # from 4.6 on, and DragonFly
16107     shlibpath_overrides_runpath=yes
16108     hardcode_into_libs=yes
16109     ;;
16110   esac
16111   ;;
16112
16113 gnu*)
16114   version_type=linux # correct to gnu/linux during the next big refactor
16115   need_lib_prefix=no
16116   need_version=no
16117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16118   soname_spec='${libname}${release}${shared_ext}$major'
16119   shlibpath_var=LD_LIBRARY_PATH
16120   shlibpath_overrides_runpath=no
16121   hardcode_into_libs=yes
16122   ;;
16123
16124 haiku*)
16125   version_type=linux # correct to gnu/linux during the next big refactor
16126   need_lib_prefix=no
16127   need_version=no
16128   dynamic_linker="$host_os runtime_loader"
16129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16130   soname_spec='${libname}${release}${shared_ext}$major'
16131   shlibpath_var=LIBRARY_PATH
16132   shlibpath_overrides_runpath=yes
16133   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16134   hardcode_into_libs=yes
16135   ;;
16136
16137 hpux9* | hpux10* | hpux11*)
16138   # Give a soname corresponding to the major version so that dld.sl refuses to
16139   # link against other versions.
16140   version_type=sunos
16141   need_lib_prefix=no
16142   need_version=no
16143   case $host_cpu in
16144   ia64*)
16145     shrext_cmds='.so'
16146     hardcode_into_libs=yes
16147     dynamic_linker="$host_os dld.so"
16148     shlibpath_var=LD_LIBRARY_PATH
16149     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16150     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16151     soname_spec='${libname}${release}${shared_ext}$major'
16152     if test "X$HPUX_IA64_MODE" = X32; then
16153       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16154     else
16155       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16156     fi
16157     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16158     ;;
16159   hppa*64*)
16160     shrext_cmds='.sl'
16161     hardcode_into_libs=yes
16162     dynamic_linker="$host_os dld.sl"
16163     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16164     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16165     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16166     soname_spec='${libname}${release}${shared_ext}$major'
16167     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16168     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16169     ;;
16170   *)
16171     shrext_cmds='.sl'
16172     dynamic_linker="$host_os dld.sl"
16173     shlibpath_var=SHLIB_PATH
16174     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16175     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16176     soname_spec='${libname}${release}${shared_ext}$major'
16177     ;;
16178   esac
16179   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16180   postinstall_cmds='chmod 555 $lib'
16181   # or fails outright, so override atomically:
16182   install_override_mode=555
16183   ;;
16184
16185 interix[3-9]*)
16186   version_type=linux # correct to gnu/linux during the next big refactor
16187   need_lib_prefix=no
16188   need_version=no
16189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16190   soname_spec='${libname}${release}${shared_ext}$major'
16191   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16192   shlibpath_var=LD_LIBRARY_PATH
16193   shlibpath_overrides_runpath=no
16194   hardcode_into_libs=yes
16195   ;;
16196
16197 irix5* | irix6* | nonstopux*)
16198   case $host_os in
16199     nonstopux*) version_type=nonstopux ;;
16200     *)
16201         if test "$lt_cv_prog_gnu_ld" = yes; then
16202                 version_type=linux # correct to gnu/linux during the next big refactor
16203         else
16204                 version_type=irix
16205         fi ;;
16206   esac
16207   need_lib_prefix=no
16208   need_version=no
16209   soname_spec='${libname}${release}${shared_ext}$major'
16210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16211   case $host_os in
16212   irix5* | nonstopux*)
16213     libsuff= shlibsuff=
16214     ;;
16215   *)
16216     case $LD in # libtool.m4 will add one of these switches to LD
16217     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16218       libsuff= shlibsuff= libmagic=32-bit;;
16219     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16220       libsuff=32 shlibsuff=N32 libmagic=N32;;
16221     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16222       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16223     *) libsuff= shlibsuff= libmagic=never-match;;
16224     esac
16225     ;;
16226   esac
16227   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16228   shlibpath_overrides_runpath=no
16229   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16230   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16231   hardcode_into_libs=yes
16232   ;;
16233
16234 # No shared lib support for Linux oldld, aout, or coff.
16235 linux*oldld* | linux*aout* | linux*coff*)
16236   dynamic_linker=no
16237   ;;
16238
16239 # This must be glibc/ELF.
16240 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16241   version_type=linux # correct to gnu/linux during the next big refactor
16242   need_lib_prefix=no
16243   need_version=no
16244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16245   soname_spec='${libname}${release}${shared_ext}$major'
16246   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16247   shlibpath_var=LD_LIBRARY_PATH
16248   shlibpath_overrides_runpath=no
16249
16250   # Some binutils ld are patched to set DT_RUNPATH
16251   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16252   $as_echo_n "(cached) " >&6
16253 else
16254   lt_cv_shlibpath_overrides_runpath=no
16255     save_LDFLAGS=$LDFLAGS
16256     save_libdir=$libdir
16257     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16258          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16259     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h.  */
16261
16262 int
16263 main ()
16264 {
16265
16266   ;
16267   return 0;
16268 }
16269 _ACEOF
16270 if ac_fn_cxx_try_link "$LINENO"; then :
16271   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16272   lt_cv_shlibpath_overrides_runpath=yes
16273 fi
16274 fi
16275 rm -f core conftest.err conftest.$ac_objext \
16276     conftest$ac_exeext conftest.$ac_ext
16277     LDFLAGS=$save_LDFLAGS
16278     libdir=$save_libdir
16279
16280 fi
16281
16282   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16283
16284   # This implies no fast_install, which is unacceptable.
16285   # Some rework will be needed to allow for fast_install
16286   # before this can be enabled.
16287   hardcode_into_libs=yes
16288
16289   # Add ABI-specific directories to the system library path.
16290   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16291
16292   # Append ld.so.conf contents to the search path
16293   if test -f /etc/ld.so.conf; then
16294     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' ' '`
16295     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16296
16297   fi
16298
16299   # We used to test for /lib/ld.so.1 and disable shared libraries on
16300   # powerpc, because MkLinux only supported shared libraries with the
16301   # GNU dynamic linker.  Since this was broken with cross compilers,
16302   # most powerpc-linux boxes support dynamic linking these days and
16303   # people can always --disable-shared, the test was removed, and we
16304   # assume the GNU/Linux dynamic linker is in use.
16305   dynamic_linker='GNU/Linux ld.so'
16306   ;;
16307
16308 netbsd*)
16309   version_type=sunos
16310   need_lib_prefix=no
16311   need_version=no
16312   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16313     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16314     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16315     dynamic_linker='NetBSD (a.out) ld.so'
16316   else
16317     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16318     soname_spec='${libname}${release}${shared_ext}$major'
16319     dynamic_linker='NetBSD ld.elf_so'
16320   fi
16321   shlibpath_var=LD_LIBRARY_PATH
16322   shlibpath_overrides_runpath=yes
16323   hardcode_into_libs=yes
16324   ;;
16325
16326 newsos6)
16327   version_type=linux # correct to gnu/linux during the next big refactor
16328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16329   shlibpath_var=LD_LIBRARY_PATH
16330   shlibpath_overrides_runpath=yes
16331   ;;
16332
16333 *nto* | *qnx*)
16334   version_type=qnx
16335   need_lib_prefix=no
16336   need_version=no
16337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16338   soname_spec='${libname}${release}${shared_ext}$major'
16339   shlibpath_var=LD_LIBRARY_PATH
16340   shlibpath_overrides_runpath=no
16341   hardcode_into_libs=yes
16342   dynamic_linker='ldqnx.so'
16343   ;;
16344
16345 openbsd*)
16346   version_type=sunos
16347   sys_lib_dlsearch_path_spec="/usr/lib"
16348   need_lib_prefix=no
16349   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16350   case $host_os in
16351     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
16352     *)                          need_version=no  ;;
16353   esac
16354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16355   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16356   shlibpath_var=LD_LIBRARY_PATH
16357   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16358     case $host_os in
16359       openbsd2.[89] | openbsd2.[89].*)
16360         shlibpath_overrides_runpath=no
16361         ;;
16362       *)
16363         shlibpath_overrides_runpath=yes
16364         ;;
16365       esac
16366   else
16367     shlibpath_overrides_runpath=yes
16368   fi
16369   ;;
16370
16371 os2*)
16372   libname_spec='$name'
16373   shrext_cmds=".dll"
16374   need_lib_prefix=no
16375   library_names_spec='$libname${shared_ext} $libname.a'
16376   dynamic_linker='OS/2 ld.exe'
16377   shlibpath_var=LIBPATH
16378   ;;
16379
16380 osf3* | osf4* | osf5*)
16381   version_type=osf
16382   need_lib_prefix=no
16383   need_version=no
16384   soname_spec='${libname}${release}${shared_ext}$major'
16385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16386   shlibpath_var=LD_LIBRARY_PATH
16387   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16388   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16389   ;;
16390
16391 rdos*)
16392   dynamic_linker=no
16393   ;;
16394
16395 solaris*)
16396   version_type=linux # correct to gnu/linux during the next big refactor
16397   need_lib_prefix=no
16398   need_version=no
16399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16400   soname_spec='${libname}${release}${shared_ext}$major'
16401   shlibpath_var=LD_LIBRARY_PATH
16402   shlibpath_overrides_runpath=yes
16403   hardcode_into_libs=yes
16404   # ldd complains unless libraries are executable
16405   postinstall_cmds='chmod +x $lib'
16406   ;;
16407
16408 sunos4*)
16409   version_type=sunos
16410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16411   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16412   shlibpath_var=LD_LIBRARY_PATH
16413   shlibpath_overrides_runpath=yes
16414   if test "$with_gnu_ld" = yes; then
16415     need_lib_prefix=no
16416   fi
16417   need_version=yes
16418   ;;
16419
16420 sysv4 | sysv4.3*)
16421   version_type=linux # correct to gnu/linux during the next big refactor
16422   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16423   soname_spec='${libname}${release}${shared_ext}$major'
16424   shlibpath_var=LD_LIBRARY_PATH
16425   case $host_vendor in
16426     sni)
16427       shlibpath_overrides_runpath=no
16428       need_lib_prefix=no
16429       runpath_var=LD_RUN_PATH
16430       ;;
16431     siemens)
16432       need_lib_prefix=no
16433       ;;
16434     motorola)
16435       need_lib_prefix=no
16436       need_version=no
16437       shlibpath_overrides_runpath=no
16438       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16439       ;;
16440   esac
16441   ;;
16442
16443 sysv4*MP*)
16444   if test -d /usr/nec ;then
16445     version_type=linux # correct to gnu/linux during the next big refactor
16446     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16447     soname_spec='$libname${shared_ext}.$major'
16448     shlibpath_var=LD_LIBRARY_PATH
16449   fi
16450   ;;
16451
16452 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16453   version_type=freebsd-elf
16454   need_lib_prefix=no
16455   need_version=no
16456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16457   soname_spec='${libname}${release}${shared_ext}$major'
16458   shlibpath_var=LD_LIBRARY_PATH
16459   shlibpath_overrides_runpath=yes
16460   hardcode_into_libs=yes
16461   if test "$with_gnu_ld" = yes; then
16462     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16463   else
16464     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16465     case $host_os in
16466       sco3.2v5*)
16467         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16468         ;;
16469     esac
16470   fi
16471   sys_lib_dlsearch_path_spec='/usr/lib'
16472   ;;
16473
16474 tpf*)
16475   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16476   version_type=linux # correct to gnu/linux during the next big refactor
16477   need_lib_prefix=no
16478   need_version=no
16479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16480   shlibpath_var=LD_LIBRARY_PATH
16481   shlibpath_overrides_runpath=no
16482   hardcode_into_libs=yes
16483   ;;
16484
16485 uts4*)
16486   version_type=linux # correct to gnu/linux during the next big refactor
16487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16488   soname_spec='${libname}${release}${shared_ext}$major'
16489   shlibpath_var=LD_LIBRARY_PATH
16490   ;;
16491
16492 *)
16493   dynamic_linker=no
16494   ;;
16495 esac
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16497 $as_echo "$dynamic_linker" >&6; }
16498 test "$dynamic_linker" = no && can_build_shared=no
16499
16500 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16501 if test "$GCC" = yes; then
16502   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16503 fi
16504
16505 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16506   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16507 fi
16508 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16509   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16510 fi
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16550 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16551 hardcode_action_CXX=
16552 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16553    test -n "$runpath_var_CXX" ||
16554    test "X$hardcode_automatic_CXX" = "Xyes" ; then
16555
16556   # We can hardcode non-existent directories.
16557   if test "$hardcode_direct_CXX" != no &&
16558      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16559      # have to relink, otherwise we might link with an installed library
16560      # when we should be linking with a yet-to-be-installed one
16561      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16562      test "$hardcode_minus_L_CXX" != no; then
16563     # Linking always hardcodes the temporary library directory.
16564     hardcode_action_CXX=relink
16565   else
16566     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16567     hardcode_action_CXX=immediate
16568   fi
16569 else
16570   # We cannot hardcode anything, or else we can only hardcode existing
16571   # directories.
16572   hardcode_action_CXX=unsupported
16573 fi
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16575 $as_echo "$hardcode_action_CXX" >&6; }
16576
16577 if test "$hardcode_action_CXX" = relink ||
16578    test "$inherit_rpath_CXX" = yes; then
16579   # Fast installation is not supported
16580   enable_fast_install=no
16581 elif test "$shlibpath_overrides_runpath" = yes ||
16582      test "$enable_shared" = no; then
16583   # Fast installation is not necessary
16584   enable_fast_install=needless
16585 fi
16586
16587
16588
16589
16590
16591
16592
16593   fi # test -n "$compiler"
16594
16595   CC=$lt_save_CC
16596   CFLAGS=$lt_save_CFLAGS
16597   LDCXX=$LD
16598   LD=$lt_save_LD
16599   GCC=$lt_save_GCC
16600   with_gnu_ld=$lt_save_with_gnu_ld
16601   lt_cv_path_LDCXX=$lt_cv_path_LD
16602   lt_cv_path_LD=$lt_save_path_LD
16603   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16604   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16605 fi # test "$_lt_caught_CXX_error" != yes
16606
16607 ac_ext=c
16608 ac_cpp='$CPP $CPPFLAGS'
16609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627         ac_config_commands="$ac_config_commands libtool"
16628
16629
16630
16631
16632 # Only expand once:
16633
16634
16635 # Create libtool early, because it's used in configure
16636 : ${CONFIG_LT=./config.lt}
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16638 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
16639 as_write_fail=0
16640 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16641 #! $SHELL
16642 # Generated by $as_me.
16643 # Run this file to recreate a libtool stub with the current configuration.
16644 SHELL=\${CONFIG_SHELL-$SHELL}
16645 export SHELL
16646 _ASEOF
16647 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16648 ## -------------------- ##
16649 ## M4sh Initialization. ##
16650 ## -------------------- ##
16651
16652 # Be more Bourne compatible
16653 DUALCASE=1; export DUALCASE # for MKS sh
16654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16655   emulate sh
16656   NULLCMD=:
16657   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16658   # is contrary to our usage.  Disable this feature.
16659   alias -g '${1+"$@"}'='"$@"'
16660   setopt NO_GLOB_SUBST
16661 else
16662   case `(set -o) 2>/dev/null` in #(
16663   *posix*) :
16664     set -o posix ;; #(
16665   *) :
16666      ;;
16667 esac
16668 fi
16669
16670
16671 as_nl='
16672 '
16673 export as_nl
16674 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16675 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16676 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16678 # Prefer a ksh shell builtin over an external printf program on Solaris,
16679 # but without wasting forks for bash or zsh.
16680 if test -z "$BASH_VERSION$ZSH_VERSION" \
16681     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16682   as_echo='print -r --'
16683   as_echo_n='print -rn --'
16684 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16685   as_echo='printf %s\n'
16686   as_echo_n='printf %s'
16687 else
16688   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16689     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16690     as_echo_n='/usr/ucb/echo -n'
16691   else
16692     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16693     as_echo_n_body='eval
16694       arg=$1;
16695       case $arg in #(
16696       *"$as_nl"*)
16697         expr "X$arg" : "X\\(.*\\)$as_nl";
16698         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16699       esac;
16700       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16701     '
16702     export as_echo_n_body
16703     as_echo_n='sh -c $as_echo_n_body as_echo'
16704   fi
16705   export as_echo_body
16706   as_echo='sh -c $as_echo_body as_echo'
16707 fi
16708
16709 # The user is always right.
16710 if test "${PATH_SEPARATOR+set}" != set; then
16711   PATH_SEPARATOR=:
16712   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16713     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16714       PATH_SEPARATOR=';'
16715   }
16716 fi
16717
16718
16719 # IFS
16720 # We need space, tab and new line, in precisely that order.  Quoting is
16721 # there to prevent editors from complaining about space-tab.
16722 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16723 # splitting by setting IFS to empty value.)
16724 IFS=" ""        $as_nl"
16725
16726 # Find who we are.  Look in the path if we contain no directory separator.
16727 as_myself=
16728 case $0 in #((
16729   *[\\/]* ) as_myself=$0 ;;
16730   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16732 do
16733   IFS=$as_save_IFS
16734   test -z "$as_dir" && as_dir=.
16735     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16736   done
16737 IFS=$as_save_IFS
16738
16739      ;;
16740 esac
16741 # We did not find ourselves, most probably we were run as `sh COMMAND'
16742 # in which case we are not to be found in the path.
16743 if test "x$as_myself" = x; then
16744   as_myself=$0
16745 fi
16746 if test ! -f "$as_myself"; then
16747   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16748   exit 1
16749 fi
16750
16751 # Unset variables that we do not need and which cause bugs (e.g. in
16752 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16753 # suppresses any "Segmentation fault" message there.  '((' could
16754 # trigger a bug in pdksh 5.2.14.
16755 for as_var in BASH_ENV ENV MAIL MAILPATH
16756 do eval test x\${$as_var+set} = xset \
16757   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16758 done
16759 PS1='$ '
16760 PS2='> '
16761 PS4='+ '
16762
16763 # NLS nuisances.
16764 LC_ALL=C
16765 export LC_ALL
16766 LANGUAGE=C
16767 export LANGUAGE
16768
16769 # CDPATH.
16770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16771
16772
16773 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16774 # ----------------------------------------
16775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16777 # script with STATUS, using 1 if that was 0.
16778 as_fn_error ()
16779 {
16780   as_status=$1; test $as_status -eq 0 && as_status=1
16781   if test "$4"; then
16782     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16783     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16784   fi
16785   $as_echo "$as_me: error: $2" >&2
16786   as_fn_exit $as_status
16787 } # as_fn_error
16788
16789
16790 # as_fn_set_status STATUS
16791 # -----------------------
16792 # Set $? to STATUS, without forking.
16793 as_fn_set_status ()
16794 {
16795   return $1
16796 } # as_fn_set_status
16797
16798 # as_fn_exit STATUS
16799 # -----------------
16800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16801 as_fn_exit ()
16802 {
16803   set +e
16804   as_fn_set_status $1
16805   exit $1
16806 } # as_fn_exit
16807
16808 # as_fn_unset VAR
16809 # ---------------
16810 # Portably unset VAR.
16811 as_fn_unset ()
16812 {
16813   { eval $1=; unset $1;}
16814 }
16815 as_unset=as_fn_unset
16816 # as_fn_append VAR VALUE
16817 # ----------------------
16818 # Append the text in VALUE to the end of the definition contained in VAR. Take
16819 # advantage of any shell optimizations that allow amortized linear growth over
16820 # repeated appends, instead of the typical quadratic growth present in naive
16821 # implementations.
16822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16823   eval 'as_fn_append ()
16824   {
16825     eval $1+=\$2
16826   }'
16827 else
16828   as_fn_append ()
16829   {
16830     eval $1=\$$1\$2
16831   }
16832 fi # as_fn_append
16833
16834 # as_fn_arith ARG...
16835 # ------------------
16836 # Perform arithmetic evaluation on the ARGs, and store the result in the
16837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16838 # must be portable across $(()) and expr.
16839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16840   eval 'as_fn_arith ()
16841   {
16842     as_val=$(( $* ))
16843   }'
16844 else
16845   as_fn_arith ()
16846   {
16847     as_val=`expr "$@" || test $? -eq 1`
16848   }
16849 fi # as_fn_arith
16850
16851
16852 if expr a : '\(a\)' >/dev/null 2>&1 &&
16853    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16854   as_expr=expr
16855 else
16856   as_expr=false
16857 fi
16858
16859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16860   as_basename=basename
16861 else
16862   as_basename=false
16863 fi
16864
16865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16866   as_dirname=dirname
16867 else
16868   as_dirname=false
16869 fi
16870
16871 as_me=`$as_basename -- "$0" ||
16872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16873          X"$0" : 'X\(//\)$' \| \
16874          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16875 $as_echo X/"$0" |
16876     sed '/^.*\/\([^/][^/]*\)\/*$/{
16877             s//\1/
16878             q
16879           }
16880           /^X\/\(\/\/\)$/{
16881             s//\1/
16882             q
16883           }
16884           /^X\/\(\/\).*/{
16885             s//\1/
16886             q
16887           }
16888           s/.*/./; q'`
16889
16890 # Avoid depending upon Character Ranges.
16891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16894 as_cr_digits='0123456789'
16895 as_cr_alnum=$as_cr_Letters$as_cr_digits
16896
16897 ECHO_C= ECHO_N= ECHO_T=
16898 case `echo -n x` in #(((((
16899 -n*)
16900   case `echo 'xy\c'` in
16901   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16902   xy)  ECHO_C='\c';;
16903   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16904        ECHO_T=' ';;
16905   esac;;
16906 *)
16907   ECHO_N='-n';;
16908 esac
16909
16910 rm -f conf$$ conf$$.exe conf$$.file
16911 if test -d conf$$.dir; then
16912   rm -f conf$$.dir/conf$$.file
16913 else
16914   rm -f conf$$.dir
16915   mkdir conf$$.dir 2>/dev/null
16916 fi
16917 if (echo >conf$$.file) 2>/dev/null; then
16918   if ln -s conf$$.file conf$$ 2>/dev/null; then
16919     as_ln_s='ln -s'
16920     # ... but there are two gotchas:
16921     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16922     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16923     # In both cases, we have to default to `cp -p'.
16924     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16925       as_ln_s='cp -p'
16926   elif ln conf$$.file conf$$ 2>/dev/null; then
16927     as_ln_s=ln
16928   else
16929     as_ln_s='cp -p'
16930   fi
16931 else
16932   as_ln_s='cp -p'
16933 fi
16934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16935 rmdir conf$$.dir 2>/dev/null
16936
16937
16938 # as_fn_mkdir_p
16939 # -------------
16940 # Create "$as_dir" as a directory, including parents if necessary.
16941 as_fn_mkdir_p ()
16942 {
16943
16944   case $as_dir in #(
16945   -*) as_dir=./$as_dir;;
16946   esac
16947   test -d "$as_dir" || eval $as_mkdir_p || {
16948     as_dirs=
16949     while :; do
16950       case $as_dir in #(
16951       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16952       *) as_qdir=$as_dir;;
16953       esac
16954       as_dirs="'$as_qdir' $as_dirs"
16955       as_dir=`$as_dirname -- "$as_dir" ||
16956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16957          X"$as_dir" : 'X\(//\)[^/]' \| \
16958          X"$as_dir" : 'X\(//\)$' \| \
16959          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16960 $as_echo X"$as_dir" |
16961     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16962             s//\1/
16963             q
16964           }
16965           /^X\(\/\/\)[^/].*/{
16966             s//\1/
16967             q
16968           }
16969           /^X\(\/\/\)$/{
16970             s//\1/
16971             q
16972           }
16973           /^X\(\/\).*/{
16974             s//\1/
16975             q
16976           }
16977           s/.*/./; q'`
16978       test -d "$as_dir" && break
16979     done
16980     test -z "$as_dirs" || eval "mkdir $as_dirs"
16981   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16982
16983
16984 } # as_fn_mkdir_p
16985 if mkdir -p . 2>/dev/null; then
16986   as_mkdir_p='mkdir -p "$as_dir"'
16987 else
16988   test -d ./-p && rmdir ./-p
16989   as_mkdir_p=false
16990 fi
16991
16992 if test -x / >/dev/null 2>&1; then
16993   as_test_x='test -x'
16994 else
16995   if ls -dL / >/dev/null 2>&1; then
16996     as_ls_L_option=L
16997   else
16998     as_ls_L_option=
16999   fi
17000   as_test_x='
17001     eval sh -c '\''
17002       if test -d "$1"; then
17003         test -d "$1/.";
17004       else
17005         case $1 in #(
17006         -*)set "./$1";;
17007         esac;
17008         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17009         ???[sx]*):;;*)false;;esac;fi
17010     '\'' sh
17011   '
17012 fi
17013 as_executable_p=$as_test_x
17014
17015 # Sed expression to map a string onto a valid CPP name.
17016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17017
17018 # Sed expression to map a string onto a valid variable name.
17019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17020
17021
17022 exec 6>&1
17023 ## --------------------------------- ##
17024 ## Main body of "$CONFIG_LT" script. ##
17025 ## --------------------------------- ##
17026 _ASEOF
17027 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
17028
17029 cat >>"$CONFIG_LT" <<\_LTEOF
17030 lt_cl_silent=false
17031 exec 5>>config.log
17032 {
17033   echo
17034   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17035 ## Running $as_me. ##
17036 _ASBOX
17037 } >&5
17038
17039 lt_cl_help="\
17040 \`$as_me' creates a local libtool stub from the current configuration,
17041 for use in further configure time tests before the real libtool is
17042 generated.
17043
17044 Usage: $0 [OPTIONS]
17045
17046   -h, --help      print this help, then exit
17047   -V, --version   print version number, then exit
17048   -q, --quiet     do not print progress messages
17049   -d, --debug     don't remove temporary files
17050
17051 Report bugs to <bug-libtool@gnu.org>."
17052
17053 lt_cl_version="\
17054 gtk+ config.lt 3.4.0
17055 configured by $0, generated by GNU Autoconf 2.68.
17056
17057 Copyright (C) 2011 Free Software Foundation, Inc.
17058 This config.lt script is free software; the Free Software Foundation
17059 gives unlimited permision to copy, distribute and modify it."
17060
17061 while test $# != 0
17062 do
17063   case $1 in
17064     --version | --v* | -V )
17065       echo "$lt_cl_version"; exit 0 ;;
17066     --help | --h* | -h )
17067       echo "$lt_cl_help"; exit 0 ;;
17068     --debug | --d* | -d )
17069       debug=: ;;
17070     --quiet | --q* | --silent | --s* | -q )
17071       lt_cl_silent=: ;;
17072
17073     -*) as_fn_error $? "unrecognized option: $1
17074 Try \`$0 --help' for more information." "$LINENO" 5 ;;
17075
17076     *) as_fn_error $? "unrecognized argument: $1
17077 Try \`$0 --help' for more information." "$LINENO" 5 ;;
17078   esac
17079   shift
17080 done
17081
17082 if $lt_cl_silent; then
17083   exec 6>/dev/null
17084 fi
17085 _LTEOF
17086
17087 cat >>"$CONFIG_LT" <<_LTEOF
17088
17089
17090 # The HP-UX ksh and POSIX shell print the target directory to stdout
17091 # if CDPATH is set.
17092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17093
17094 sed_quote_subst='$sed_quote_subst'
17095 double_quote_subst='$double_quote_subst'
17096 delay_variable_subst='$delay_variable_subst'
17097 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17098 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17099 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17100 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17101 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17102 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17103 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17104 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17105 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17106 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17107 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17108 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17109 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17110 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17111 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17112 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17113 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17114 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17115 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17116 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17117 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17118 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17119 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17120 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17121 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17122 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17123 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17124 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17125 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17126 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17127 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17128 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17129 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17130 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17131 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17132 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17133 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17134 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17135 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17136 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17137 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17138 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17139 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17140 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17144 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17145 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17146 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17147 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17148 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17149 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17150 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17151 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17152 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17153 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17154 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"`'
17155 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17156 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17157 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17158 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17159 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17160 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17161 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17162 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17163 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17164 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17165 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17166 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17167 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17168 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17169 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17170 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17171 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17172 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17173 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17174 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17175 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17176 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17177 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17178 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17179 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17180 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17181 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17182 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17183 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17184 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17185 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17186 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17187 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17188 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17189 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17190 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17191 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17192 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17193 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17194 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17195 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17196 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17197 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17198 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17199 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17200 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17201 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17202 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17203 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17204 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17205 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17206 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17207 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17208 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17209 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17210 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17211 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17212 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17213 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17214 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17215 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17216 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17217 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17218 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17219 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17220 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17221 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17222 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17223 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17224 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17225 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17226 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17227 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17228 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17229 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17230 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17231 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17232 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17233 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17234 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17235 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17236 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17237 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17238 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17239 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17240 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17241 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17242 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17243 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17244 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17245 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17246 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17247 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17248 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17249 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17250 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17251 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17252 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17253 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17254 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17255 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17256 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17257 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17258 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17259 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17260 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17261 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17262 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17263 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17264 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17265 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17266 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17267 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17268 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17269 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17270 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17271 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17272 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17273 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17274 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17275 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17276 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17277 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17278 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17279 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17280 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17281 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17282
17283 LTCC='$LTCC'
17284 LTCFLAGS='$LTCFLAGS'
17285 compiler='$compiler_DEFAULT'
17286
17287 # A function that is used when there is no print builtin or printf.
17288 func_fallback_echo ()
17289 {
17290   eval 'cat <<_LTECHO_EOF
17291 \$1
17292 _LTECHO_EOF'
17293 }
17294
17295 # Quote evaled strings.
17296 for var in AS \
17297 DLLTOOL \
17298 OBJDUMP \
17299 SHELL \
17300 ECHO \
17301 PATH_SEPARATOR \
17302 SED \
17303 GREP \
17304 EGREP \
17305 FGREP \
17306 LD \
17307 NM \
17308 LN_S \
17309 lt_SP2NL \
17310 lt_NL2SP \
17311 reload_flag \
17312 deplibs_check_method \
17313 file_magic_cmd \
17314 file_magic_glob \
17315 want_nocaseglob \
17316 sharedlib_from_linklib_cmd \
17317 AR \
17318 AR_FLAGS \
17319 archiver_list_spec \
17320 STRIP \
17321 RANLIB \
17322 CC \
17323 CFLAGS \
17324 compiler \
17325 lt_cv_sys_global_symbol_pipe \
17326 lt_cv_sys_global_symbol_to_cdecl \
17327 lt_cv_sys_global_symbol_to_c_name_address \
17328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17329 nm_file_list_spec \
17330 lt_prog_compiler_no_builtin_flag \
17331 lt_prog_compiler_pic \
17332 lt_prog_compiler_wl \
17333 lt_prog_compiler_static \
17334 lt_cv_prog_compiler_c_o \
17335 need_locks \
17336 MANIFEST_TOOL \
17337 DSYMUTIL \
17338 NMEDIT \
17339 LIPO \
17340 OTOOL \
17341 OTOOL64 \
17342 shrext_cmds \
17343 export_dynamic_flag_spec \
17344 whole_archive_flag_spec \
17345 compiler_needs_object \
17346 with_gnu_ld \
17347 allow_undefined_flag \
17348 no_undefined_flag \
17349 hardcode_libdir_flag_spec \
17350 hardcode_libdir_separator \
17351 exclude_expsyms \
17352 include_expsyms \
17353 file_list_spec \
17354 variables_saved_for_relink \
17355 libname_spec \
17356 library_names_spec \
17357 soname_spec \
17358 install_override_mode \
17359 finish_eval \
17360 old_striplib \
17361 striplib \
17362 compiler_lib_search_dirs \
17363 predep_objects \
17364 postdep_objects \
17365 predeps \
17366 postdeps \
17367 compiler_lib_search_path \
17368 LD_CXX \
17369 reload_flag_CXX \
17370 compiler_CXX \
17371 lt_prog_compiler_no_builtin_flag_CXX \
17372 lt_prog_compiler_pic_CXX \
17373 lt_prog_compiler_wl_CXX \
17374 lt_prog_compiler_static_CXX \
17375 lt_cv_prog_compiler_c_o_CXX \
17376 export_dynamic_flag_spec_CXX \
17377 whole_archive_flag_spec_CXX \
17378 compiler_needs_object_CXX \
17379 with_gnu_ld_CXX \
17380 allow_undefined_flag_CXX \
17381 no_undefined_flag_CXX \
17382 hardcode_libdir_flag_spec_CXX \
17383 hardcode_libdir_separator_CXX \
17384 exclude_expsyms_CXX \
17385 include_expsyms_CXX \
17386 file_list_spec_CXX \
17387 compiler_lib_search_dirs_CXX \
17388 predep_objects_CXX \
17389 postdep_objects_CXX \
17390 predeps_CXX \
17391 postdeps_CXX \
17392 compiler_lib_search_path_CXX; do
17393     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17394     *[\\\\\\\`\\"\\\$]*)
17395       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17396       ;;
17397     *)
17398       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17399       ;;
17400     esac
17401 done
17402
17403 # Double-quote double-evaled strings.
17404 for var in reload_cmds \
17405 old_postinstall_cmds \
17406 old_postuninstall_cmds \
17407 old_archive_cmds \
17408 extract_expsyms_cmds \
17409 old_archive_from_new_cmds \
17410 old_archive_from_expsyms_cmds \
17411 archive_cmds \
17412 archive_expsym_cmds \
17413 module_cmds \
17414 module_expsym_cmds \
17415 export_symbols_cmds \
17416 prelink_cmds \
17417 postlink_cmds \
17418 postinstall_cmds \
17419 postuninstall_cmds \
17420 finish_cmds \
17421 sys_lib_search_path_spec \
17422 sys_lib_dlsearch_path_spec \
17423 reload_cmds_CXX \
17424 old_archive_cmds_CXX \
17425 old_archive_from_new_cmds_CXX \
17426 old_archive_from_expsyms_cmds_CXX \
17427 archive_cmds_CXX \
17428 archive_expsym_cmds_CXX \
17429 module_cmds_CXX \
17430 module_expsym_cmds_CXX \
17431 export_symbols_cmds_CXX \
17432 prelink_cmds_CXX \
17433 postlink_cmds_CXX; do
17434     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17435     *[\\\\\\\`\\"\\\$]*)
17436       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17437       ;;
17438     *)
17439       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17440       ;;
17441     esac
17442 done
17443
17444 ac_aux_dir='$ac_aux_dir'
17445 xsi_shell='$xsi_shell'
17446 lt_shell_append='$lt_shell_append'
17447
17448 # See if we are running on zsh, and set the options which allow our
17449 # commands through without removal of \ escapes INIT.
17450 if test -n "\${ZSH_VERSION+set}" ; then
17451    setopt NO_GLOB_SUBST
17452 fi
17453
17454
17455     PACKAGE='$PACKAGE'
17456     VERSION='$VERSION'
17457     TIMESTAMP='$TIMESTAMP'
17458     RM='$RM'
17459     ofile='$ofile'
17460
17461
17462
17463
17464
17465 _LTEOF
17466
17467 cat >>"$CONFIG_LT" <<\_LTEOF
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
17469 $as_echo "$as_me: creating $ofile" >&6;}
17470
17471
17472     # See if we are running on zsh, and set the options which allow our
17473     # commands through without removal of \ escapes.
17474     if test -n "${ZSH_VERSION+set}" ; then
17475       setopt NO_GLOB_SUBST
17476     fi
17477
17478     cfgfile="${ofile}T"
17479     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17480     $RM "$cfgfile"
17481
17482     cat <<_LT_EOF >> "$cfgfile"
17483 #! $SHELL
17484
17485 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17486 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17487 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17488 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17489 #
17490 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17491 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17492 #                 Foundation, Inc.
17493 #   Written by Gordon Matzigkeit, 1996
17494 #
17495 #   This file is part of GNU Libtool.
17496 #
17497 # GNU Libtool is free software; you can redistribute it and/or
17498 # modify it under the terms of the GNU General Public License as
17499 # published by the Free Software Foundation; either version 2 of
17500 # the License, or (at your option) any later version.
17501 #
17502 # As a special exception to the GNU General Public License,
17503 # if you distribute this file as part of a program or library that
17504 # is built using GNU Libtool, you may include this file under the
17505 # same distribution terms that you use for the rest of that program.
17506 #
17507 # GNU Libtool is distributed in the hope that it will be useful,
17508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17510 # GNU General Public License for more details.
17511 #
17512 # You should have received a copy of the GNU General Public License
17513 # along with GNU Libtool; see the file COPYING.  If not, a copy
17514 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17515 # obtained by writing to the Free Software Foundation, Inc.,
17516 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17517
17518
17519 # The names of the tagged configurations supported by this script.
17520 available_tags="CXX "
17521
17522 # ### BEGIN LIBTOOL CONFIG
17523
17524 # Which release of libtool.m4 was used?
17525 macro_version=$macro_version
17526 macro_revision=$macro_revision
17527
17528 # Whether or not to build static libraries.
17529 build_old_libs=$enable_static
17530
17531 # Assembler program.
17532 AS=$lt_AS
17533
17534 # DLL creation program.
17535 DLLTOOL=$lt_DLLTOOL
17536
17537 # Object dumper program.
17538 OBJDUMP=$lt_OBJDUMP
17539
17540 # Whether or not to build shared libraries.
17541 build_libtool_libs=$enable_shared
17542
17543 # What type of objects to build.
17544 pic_mode=$pic_mode
17545
17546 # Whether or not to optimize for fast installation.
17547 fast_install=$enable_fast_install
17548
17549 # Shell to use when invoking shell scripts.
17550 SHELL=$lt_SHELL
17551
17552 # An echo program that protects backslashes.
17553 ECHO=$lt_ECHO
17554
17555 # The PATH separator for the build system.
17556 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17557
17558 # The host system.
17559 host_alias=$host_alias
17560 host=$host
17561 host_os=$host_os
17562
17563 # The build system.
17564 build_alias=$build_alias
17565 build=$build
17566 build_os=$build_os
17567
17568 # A sed program that does not truncate output.
17569 SED=$lt_SED
17570
17571 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17572 Xsed="\$SED -e 1s/^X//"
17573
17574 # A grep program that handles long lines.
17575 GREP=$lt_GREP
17576
17577 # An ERE matcher.
17578 EGREP=$lt_EGREP
17579
17580 # A literal string matcher.
17581 FGREP=$lt_FGREP
17582
17583 # A BSD- or MS-compatible name lister.
17584 NM=$lt_NM
17585
17586 # Whether we need soft or hard links.
17587 LN_S=$lt_LN_S
17588
17589 # What is the maximum length of a command?
17590 max_cmd_len=$max_cmd_len
17591
17592 # Object file suffix (normally "o").
17593 objext=$ac_objext
17594
17595 # Executable file suffix (normally "").
17596 exeext=$exeext
17597
17598 # whether the shell understands "unset".
17599 lt_unset=$lt_unset
17600
17601 # turn spaces into newlines.
17602 SP2NL=$lt_lt_SP2NL
17603
17604 # turn newlines into spaces.
17605 NL2SP=$lt_lt_NL2SP
17606
17607 # convert \$build file names to \$host format.
17608 to_host_file_cmd=$lt_cv_to_host_file_cmd
17609
17610 # convert \$build files to toolchain format.
17611 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17612
17613 # Method to check whether dependent libraries are shared objects.
17614 deplibs_check_method=$lt_deplibs_check_method
17615
17616 # Command to use when deplibs_check_method = "file_magic".
17617 file_magic_cmd=$lt_file_magic_cmd
17618
17619 # How to find potential files when deplibs_check_method = "file_magic".
17620 file_magic_glob=$lt_file_magic_glob
17621
17622 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17623 want_nocaseglob=$lt_want_nocaseglob
17624
17625 # Command to associate shared and link libraries.
17626 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17627
17628 # The archiver.
17629 AR=$lt_AR
17630
17631 # Flags to create an archive.
17632 AR_FLAGS=$lt_AR_FLAGS
17633
17634 # How to feed a file listing to the archiver.
17635 archiver_list_spec=$lt_archiver_list_spec
17636
17637 # A symbol stripping program.
17638 STRIP=$lt_STRIP
17639
17640 # Commands used to install an old-style archive.
17641 RANLIB=$lt_RANLIB
17642 old_postinstall_cmds=$lt_old_postinstall_cmds
17643 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17644
17645 # Whether to use a lock for old archive extraction.
17646 lock_old_archive_extraction=$lock_old_archive_extraction
17647
17648 # A C compiler.
17649 LTCC=$lt_CC
17650
17651 # LTCC compiler flags.
17652 LTCFLAGS=$lt_CFLAGS
17653
17654 # Take the output of nm and produce a listing of raw symbols and C names.
17655 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17656
17657 # Transform the output of nm in a proper C declaration.
17658 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17659
17660 # Transform the output of nm in a C name address pair.
17661 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17662
17663 # Transform the output of nm in a C name address pair when lib prefix is needed.
17664 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17665
17666 # Specify filename containing input files for \$NM.
17667 nm_file_list_spec=$lt_nm_file_list_spec
17668
17669 # The root where to search for dependent libraries,and in which our libraries should be installed.
17670 lt_sysroot=$lt_sysroot
17671
17672 # The name of the directory that contains temporary libtool files.
17673 objdir=$objdir
17674
17675 # Used to examine libraries when file_magic_cmd begins with "file".
17676 MAGIC_CMD=$MAGIC_CMD
17677
17678 # Must we lock files when doing compilation?
17679 need_locks=$lt_need_locks
17680
17681 # Manifest tool.
17682 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17683
17684 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17685 DSYMUTIL=$lt_DSYMUTIL
17686
17687 # Tool to change global to local symbols on Mac OS X.
17688 NMEDIT=$lt_NMEDIT
17689
17690 # Tool to manipulate fat objects and archives on Mac OS X.
17691 LIPO=$lt_LIPO
17692
17693 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17694 OTOOL=$lt_OTOOL
17695
17696 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17697 OTOOL64=$lt_OTOOL64
17698
17699 # Old archive suffix (normally "a").
17700 libext=$libext
17701
17702 # Shared library suffix (normally ".so").
17703 shrext_cmds=$lt_shrext_cmds
17704
17705 # The commands to extract the exported symbol list from a shared archive.
17706 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17707
17708 # Variables whose values should be saved in libtool wrapper scripts and
17709 # restored at link time.
17710 variables_saved_for_relink=$lt_variables_saved_for_relink
17711
17712 # Do we need the "lib" prefix for modules?
17713 need_lib_prefix=$need_lib_prefix
17714
17715 # Do we need a version for libraries?
17716 need_version=$need_version
17717
17718 # Library versioning type.
17719 version_type=$version_type
17720
17721 # Shared library runtime path variable.
17722 runpath_var=$runpath_var
17723
17724 # Shared library path variable.
17725 shlibpath_var=$shlibpath_var
17726
17727 # Is shlibpath searched before the hard-coded library search path?
17728 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17729
17730 # Format of library name prefix.
17731 libname_spec=$lt_libname_spec
17732
17733 # List of archive names.  First name is the real one, the rest are links.
17734 # The last name is the one that the linker finds with -lNAME
17735 library_names_spec=$lt_library_names_spec
17736
17737 # The coded name of the library, if different from the real name.
17738 soname_spec=$lt_soname_spec
17739
17740 # Permission mode override for installation of shared libraries.
17741 install_override_mode=$lt_install_override_mode
17742
17743 # Command to use after installation of a shared archive.
17744 postinstall_cmds=$lt_postinstall_cmds
17745
17746 # Command to use after uninstallation of a shared archive.
17747 postuninstall_cmds=$lt_postuninstall_cmds
17748
17749 # Commands used to finish a libtool library installation in a directory.
17750 finish_cmds=$lt_finish_cmds
17751
17752 # As "finish_cmds", except a single script fragment to be evaled but
17753 # not shown.
17754 finish_eval=$lt_finish_eval
17755
17756 # Whether we should hardcode library paths into libraries.
17757 hardcode_into_libs=$hardcode_into_libs
17758
17759 # Compile-time system search path for libraries.
17760 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17761
17762 # Run-time system search path for libraries.
17763 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17764
17765 # Whether dlopen is supported.
17766 dlopen_support=$enable_dlopen
17767
17768 # Whether dlopen of programs is supported.
17769 dlopen_self=$enable_dlopen_self
17770
17771 # Whether dlopen of statically linked programs is supported.
17772 dlopen_self_static=$enable_dlopen_self_static
17773
17774 # Commands to strip libraries.
17775 old_striplib=$lt_old_striplib
17776 striplib=$lt_striplib
17777
17778
17779 # The linker used to build libraries.
17780 LD=$lt_LD
17781
17782 # How to create reloadable object files.
17783 reload_flag=$lt_reload_flag
17784 reload_cmds=$lt_reload_cmds
17785
17786 # Commands used to build an old-style archive.
17787 old_archive_cmds=$lt_old_archive_cmds
17788
17789 # A language specific compiler.
17790 CC=$lt_compiler
17791
17792 # Is the compiler the GNU compiler?
17793 with_gcc=$GCC
17794
17795 # Compiler flag to turn off builtin functions.
17796 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17797
17798 # Additional compiler flags for building library objects.
17799 pic_flag=$lt_lt_prog_compiler_pic
17800
17801 # How to pass a linker flag through the compiler.
17802 wl=$lt_lt_prog_compiler_wl
17803
17804 # Compiler flag to prevent dynamic linking.
17805 link_static_flag=$lt_lt_prog_compiler_static
17806
17807 # Does compiler simultaneously support -c and -o options?
17808 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17809
17810 # Whether or not to add -lc for building shared libraries.
17811 build_libtool_need_lc=$archive_cmds_need_lc
17812
17813 # Whether or not to disallow shared libs when runtime libs are static.
17814 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17815
17816 # Compiler flag to allow reflexive dlopens.
17817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17818
17819 # Compiler flag to generate shared objects directly from archives.
17820 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17821
17822 # Whether the compiler copes with passing no objects directly.
17823 compiler_needs_object=$lt_compiler_needs_object
17824
17825 # Create an old-style archive from a shared archive.
17826 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17827
17828 # Create a temporary old-style archive to link instead of a shared archive.
17829 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17830
17831 # Commands used to build a shared archive.
17832 archive_cmds=$lt_archive_cmds
17833 archive_expsym_cmds=$lt_archive_expsym_cmds
17834
17835 # Commands used to build a loadable module if different from building
17836 # a shared archive.
17837 module_cmds=$lt_module_cmds
17838 module_expsym_cmds=$lt_module_expsym_cmds
17839
17840 # Whether we are building with GNU ld or not.
17841 with_gnu_ld=$lt_with_gnu_ld
17842
17843 # Flag that allows shared libraries with undefined symbols to be built.
17844 allow_undefined_flag=$lt_allow_undefined_flag
17845
17846 # Flag that enforces no undefined symbols.
17847 no_undefined_flag=$lt_no_undefined_flag
17848
17849 # Flag to hardcode \$libdir into a binary during linking.
17850 # This must work even if \$libdir does not exist
17851 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17852
17853 # Whether we need a single "-rpath" flag with a separated argument.
17854 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17855
17856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17857 # DIR into the resulting binary.
17858 hardcode_direct=$hardcode_direct
17859
17860 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17861 # DIR into the resulting binary and the resulting library dependency is
17862 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17863 # library is relocated.
17864 hardcode_direct_absolute=$hardcode_direct_absolute
17865
17866 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17867 # into the resulting binary.
17868 hardcode_minus_L=$hardcode_minus_L
17869
17870 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17871 # into the resulting binary.
17872 hardcode_shlibpath_var=$hardcode_shlibpath_var
17873
17874 # Set to "yes" if building a shared library automatically hardcodes DIR
17875 # into the library and all subsequent libraries and executables linked
17876 # against it.
17877 hardcode_automatic=$hardcode_automatic
17878
17879 # Set to yes if linker adds runtime paths of dependent libraries
17880 # to runtime path list.
17881 inherit_rpath=$inherit_rpath
17882
17883 # Whether libtool must link a program against all its dependency libraries.
17884 link_all_deplibs=$link_all_deplibs
17885
17886 # Set to "yes" if exported symbols are required.
17887 always_export_symbols=$always_export_symbols
17888
17889 # The commands to list exported symbols.
17890 export_symbols_cmds=$lt_export_symbols_cmds
17891
17892 # Symbols that should not be listed in the preloaded symbols.
17893 exclude_expsyms=$lt_exclude_expsyms
17894
17895 # Symbols that must always be exported.
17896 include_expsyms=$lt_include_expsyms
17897
17898 # Commands necessary for linking programs (against libraries) with templates.
17899 prelink_cmds=$lt_prelink_cmds
17900
17901 # Commands necessary for finishing linking programs.
17902 postlink_cmds=$lt_postlink_cmds
17903
17904 # Specify filename containing input files.
17905 file_list_spec=$lt_file_list_spec
17906
17907 # How to hardcode a shared library path into an executable.
17908 hardcode_action=$hardcode_action
17909
17910 # The directories searched by this compiler when creating a shared library.
17911 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17912
17913 # Dependencies to place before and after the objects being linked to
17914 # create a shared library.
17915 predep_objects=$lt_predep_objects
17916 postdep_objects=$lt_postdep_objects
17917 predeps=$lt_predeps
17918 postdeps=$lt_postdeps
17919
17920 # The library search path used internally by the compiler when linking
17921 # a shared library.
17922 compiler_lib_search_path=$lt_compiler_lib_search_path
17923
17924 # ### END LIBTOOL CONFIG
17925
17926 _LT_EOF
17927
17928   case $host_os in
17929   aix3*)
17930     cat <<\_LT_EOF >> "$cfgfile"
17931 # AIX sometimes has problems with the GCC collect2 program.  For some
17932 # reason, if we set the COLLECT_NAMES environment variable, the problems
17933 # vanish in a puff of smoke.
17934 if test "X${COLLECT_NAMES+set}" != Xset; then
17935   COLLECT_NAMES=
17936   export COLLECT_NAMES
17937 fi
17938 _LT_EOF
17939     ;;
17940   esac
17941
17942
17943 ltmain="$ac_aux_dir/ltmain.sh"
17944
17945
17946   # We use sed instead of cat because bash on DJGPP gets confused if
17947   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17948   # text mode, it properly converts lines to CR/LF.  This bash problem
17949   # is reportedly fixed, but why not run on old versions too?
17950   sed '$q' "$ltmain" >> "$cfgfile" \
17951      || (rm -f "$cfgfile"; exit 1)
17952
17953   if test x"$xsi_shell" = xyes; then
17954   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17955 func_dirname ()\
17956 {\
17957 \    case ${1} in\
17958 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17959 \      *  ) func_dirname_result="${3}" ;;\
17960 \    esac\
17961 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17962   && mv -f "$cfgfile.tmp" "$cfgfile" \
17963     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17964 test 0 -eq $? || _lt_function_replace_fail=:
17965
17966
17967   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17968 func_basename ()\
17969 {\
17970 \    func_basename_result="${1##*/}"\
17971 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17972   && mv -f "$cfgfile.tmp" "$cfgfile" \
17973     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17974 test 0 -eq $? || _lt_function_replace_fail=:
17975
17976
17977   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17978 func_dirname_and_basename ()\
17979 {\
17980 \    case ${1} in\
17981 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17982 \      *  ) func_dirname_result="${3}" ;;\
17983 \    esac\
17984 \    func_basename_result="${1##*/}"\
17985 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17986   && mv -f "$cfgfile.tmp" "$cfgfile" \
17987     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17988 test 0 -eq $? || _lt_function_replace_fail=:
17989
17990
17991   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17992 func_stripname ()\
17993 {\
17994 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17995 \    # positional parameters, so assign one to ordinary parameter first.\
17996 \    func_stripname_result=${3}\
17997 \    func_stripname_result=${func_stripname_result#"${1}"}\
17998 \    func_stripname_result=${func_stripname_result%"${2}"}\
17999 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18000   && mv -f "$cfgfile.tmp" "$cfgfile" \
18001     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18002 test 0 -eq $? || _lt_function_replace_fail=:
18003
18004
18005   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18006 func_split_long_opt ()\
18007 {\
18008 \    func_split_long_opt_name=${1%%=*}\
18009 \    func_split_long_opt_arg=${1#*=}\
18010 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18011   && mv -f "$cfgfile.tmp" "$cfgfile" \
18012     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18013 test 0 -eq $? || _lt_function_replace_fail=:
18014
18015
18016   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18017 func_split_short_opt ()\
18018 {\
18019 \    func_split_short_opt_arg=${1#??}\
18020 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18021 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18022   && mv -f "$cfgfile.tmp" "$cfgfile" \
18023     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18024 test 0 -eq $? || _lt_function_replace_fail=:
18025
18026
18027   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18028 func_lo2o ()\
18029 {\
18030 \    case ${1} in\
18031 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18032 \      *)    func_lo2o_result=${1} ;;\
18033 \    esac\
18034 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18035   && mv -f "$cfgfile.tmp" "$cfgfile" \
18036     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18037 test 0 -eq $? || _lt_function_replace_fail=:
18038
18039
18040   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18041 func_xform ()\
18042 {\
18043     func_xform_result=${1%.*}.lo\
18044 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18045   && mv -f "$cfgfile.tmp" "$cfgfile" \
18046     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18047 test 0 -eq $? || _lt_function_replace_fail=:
18048
18049
18050   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18051 func_arith ()\
18052 {\
18053     func_arith_result=$(( $* ))\
18054 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18055   && mv -f "$cfgfile.tmp" "$cfgfile" \
18056     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18057 test 0 -eq $? || _lt_function_replace_fail=:
18058
18059
18060   sed -e '/^func_len ()$/,/^} # func_len /c\
18061 func_len ()\
18062 {\
18063     func_len_result=${#1}\
18064 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18065   && mv -f "$cfgfile.tmp" "$cfgfile" \
18066     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18067 test 0 -eq $? || _lt_function_replace_fail=:
18068
18069 fi
18070
18071 if test x"$lt_shell_append" = xyes; then
18072   sed -e '/^func_append ()$/,/^} # func_append /c\
18073 func_append ()\
18074 {\
18075     eval "${1}+=\\${2}"\
18076 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18077   && mv -f "$cfgfile.tmp" "$cfgfile" \
18078     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18079 test 0 -eq $? || _lt_function_replace_fail=:
18080
18081
18082   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18083 func_append_quoted ()\
18084 {\
18085 \    func_quote_for_eval "${2}"\
18086 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18087 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18088   && mv -f "$cfgfile.tmp" "$cfgfile" \
18089     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18090 test 0 -eq $? || _lt_function_replace_fail=:
18091
18092
18093   # Save a `func_append' function call where possible by direct use of '+='
18094   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18095     && mv -f "$cfgfile.tmp" "$cfgfile" \
18096       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18097   test 0 -eq $? || _lt_function_replace_fail=:
18098 else
18099   # Save a `func_append' function call even when '+=' is not available
18100   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18101     && mv -f "$cfgfile.tmp" "$cfgfile" \
18102       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18103   test 0 -eq $? || _lt_function_replace_fail=:
18104 fi
18105
18106 if test x"$_lt_function_replace_fail" = x":"; then
18107   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18108 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18109 fi
18110
18111
18112    mv -f "$cfgfile" "$ofile" ||
18113     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18114   chmod +x "$ofile"
18115
18116
18117     cat <<_LT_EOF >> "$ofile"
18118
18119 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18120
18121 # The linker used to build libraries.
18122 LD=$lt_LD_CXX
18123
18124 # How to create reloadable object files.
18125 reload_flag=$lt_reload_flag_CXX
18126 reload_cmds=$lt_reload_cmds_CXX
18127
18128 # Commands used to build an old-style archive.
18129 old_archive_cmds=$lt_old_archive_cmds_CXX
18130
18131 # A language specific compiler.
18132 CC=$lt_compiler_CXX
18133
18134 # Is the compiler the GNU compiler?
18135 with_gcc=$GCC_CXX
18136
18137 # Compiler flag to turn off builtin functions.
18138 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18139
18140 # Additional compiler flags for building library objects.
18141 pic_flag=$lt_lt_prog_compiler_pic_CXX
18142
18143 # How to pass a linker flag through the compiler.
18144 wl=$lt_lt_prog_compiler_wl_CXX
18145
18146 # Compiler flag to prevent dynamic linking.
18147 link_static_flag=$lt_lt_prog_compiler_static_CXX
18148
18149 # Does compiler simultaneously support -c and -o options?
18150 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18151
18152 # Whether or not to add -lc for building shared libraries.
18153 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18154
18155 # Whether or not to disallow shared libs when runtime libs are static.
18156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18157
18158 # Compiler flag to allow reflexive dlopens.
18159 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18160
18161 # Compiler flag to generate shared objects directly from archives.
18162 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18163
18164 # Whether the compiler copes with passing no objects directly.
18165 compiler_needs_object=$lt_compiler_needs_object_CXX
18166
18167 # Create an old-style archive from a shared archive.
18168 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18169
18170 # Create a temporary old-style archive to link instead of a shared archive.
18171 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18172
18173 # Commands used to build a shared archive.
18174 archive_cmds=$lt_archive_cmds_CXX
18175 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18176
18177 # Commands used to build a loadable module if different from building
18178 # a shared archive.
18179 module_cmds=$lt_module_cmds_CXX
18180 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18181
18182 # Whether we are building with GNU ld or not.
18183 with_gnu_ld=$lt_with_gnu_ld_CXX
18184
18185 # Flag that allows shared libraries with undefined symbols to be built.
18186 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18187
18188 # Flag that enforces no undefined symbols.
18189 no_undefined_flag=$lt_no_undefined_flag_CXX
18190
18191 # Flag to hardcode \$libdir into a binary during linking.
18192 # This must work even if \$libdir does not exist
18193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18194
18195 # Whether we need a single "-rpath" flag with a separated argument.
18196 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18197
18198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18199 # DIR into the resulting binary.
18200 hardcode_direct=$hardcode_direct_CXX
18201
18202 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18203 # DIR into the resulting binary and the resulting library dependency is
18204 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18205 # library is relocated.
18206 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18207
18208 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18209 # into the resulting binary.
18210 hardcode_minus_L=$hardcode_minus_L_CXX
18211
18212 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18213 # into the resulting binary.
18214 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18215
18216 # Set to "yes" if building a shared library automatically hardcodes DIR
18217 # into the library and all subsequent libraries and executables linked
18218 # against it.
18219 hardcode_automatic=$hardcode_automatic_CXX
18220
18221 # Set to yes if linker adds runtime paths of dependent libraries
18222 # to runtime path list.
18223 inherit_rpath=$inherit_rpath_CXX
18224
18225 # Whether libtool must link a program against all its dependency libraries.
18226 link_all_deplibs=$link_all_deplibs_CXX
18227
18228 # Set to "yes" if exported symbols are required.
18229 always_export_symbols=$always_export_symbols_CXX
18230
18231 # The commands to list exported symbols.
18232 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18233
18234 # Symbols that should not be listed in the preloaded symbols.
18235 exclude_expsyms=$lt_exclude_expsyms_CXX
18236
18237 # Symbols that must always be exported.
18238 include_expsyms=$lt_include_expsyms_CXX
18239
18240 # Commands necessary for linking programs (against libraries) with templates.
18241 prelink_cmds=$lt_prelink_cmds_CXX
18242
18243 # Commands necessary for finishing linking programs.
18244 postlink_cmds=$lt_postlink_cmds_CXX
18245
18246 # Specify filename containing input files.
18247 file_list_spec=$lt_file_list_spec_CXX
18248
18249 # How to hardcode a shared library path into an executable.
18250 hardcode_action=$hardcode_action_CXX
18251
18252 # The directories searched by this compiler when creating a shared library.
18253 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18254
18255 # Dependencies to place before and after the objects being linked to
18256 # create a shared library.
18257 predep_objects=$lt_predep_objects_CXX
18258 postdep_objects=$lt_postdep_objects_CXX
18259 predeps=$lt_predeps_CXX
18260 postdeps=$lt_postdeps_CXX
18261
18262 # The library search path used internally by the compiler when linking
18263 # a shared library.
18264 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18265
18266 # ### END LIBTOOL TAG CONFIG: CXX
18267 _LT_EOF
18268
18269
18270 as_fn_exit 0
18271 _LTEOF
18272 chmod +x "$CONFIG_LT"
18273
18274 # configure is writing to config.log, but config.lt does its own redirection,
18275 # appending to config.log, which fails on DOS, as config.log is still kept
18276 # open by configure.  Here we exec the FD to /dev/null, effectively closing
18277 # config.log, so it can be properly (re)opened and appended to by config.lt.
18278 lt_cl_success=:
18279 test "$silent" = yes &&
18280   lt_config_lt_args="$lt_config_lt_args --quiet"
18281 exec 5>/dev/null
18282 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
18283 exec 5>>config.log
18284 $lt_cl_success || as_fn_exit 1
18285
18286
18287 # Make sure we use 64-bit versions of various file stuff.
18288 # Check whether --enable-largefile was given.
18289 if test "${enable_largefile+set}" = set; then :
18290   enableval=$enable_largefile;
18291 fi
18292
18293 if test "$enable_largefile" != no; then
18294
18295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
18296 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
18297 if ${ac_cv_sys_largefile_CC+:} false; then :
18298   $as_echo_n "(cached) " >&6
18299 else
18300   ac_cv_sys_largefile_CC=no
18301      if test "$GCC" != yes; then
18302        ac_save_CC=$CC
18303        while :; do
18304          # IRIX 6.2 and later do not support large files by default,
18305          # so use the C compiler's -n32 option if that helps.
18306          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h.  */
18308 #include <sys/types.h>
18309  /* Check that off_t can represent 2**63 - 1 correctly.
18310     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18311     since some C++ compilers masquerading as C compilers
18312     incorrectly reject 9223372036854775807.  */
18313 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18314   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18315                        && LARGE_OFF_T % 2147483647 == 1)
18316                       ? 1 : -1];
18317 int
18318 main ()
18319 {
18320
18321   ;
18322   return 0;
18323 }
18324 _ACEOF
18325          if ac_fn_c_try_compile "$LINENO"; then :
18326   break
18327 fi
18328 rm -f core conftest.err conftest.$ac_objext
18329          CC="$CC -n32"
18330          if ac_fn_c_try_compile "$LINENO"; then :
18331   ac_cv_sys_largefile_CC=' -n32'; break
18332 fi
18333 rm -f core conftest.err conftest.$ac_objext
18334          break
18335        done
18336        CC=$ac_save_CC
18337        rm -f conftest.$ac_ext
18338     fi
18339 fi
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
18341 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
18342   if test "$ac_cv_sys_largefile_CC" != no; then
18343     CC=$CC$ac_cv_sys_largefile_CC
18344   fi
18345
18346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18347 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
18348 if ${ac_cv_sys_file_offset_bits+:} false; then :
18349   $as_echo_n "(cached) " >&6
18350 else
18351   while :; do
18352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h.  */
18354 #include <sys/types.h>
18355  /* Check that off_t can represent 2**63 - 1 correctly.
18356     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18357     since some C++ compilers masquerading as C compilers
18358     incorrectly reject 9223372036854775807.  */
18359 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18360   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18361                        && LARGE_OFF_T % 2147483647 == 1)
18362                       ? 1 : -1];
18363 int
18364 main ()
18365 {
18366
18367   ;
18368   return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_c_try_compile "$LINENO"; then :
18372   ac_cv_sys_file_offset_bits=no; break
18373 fi
18374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h.  */
18377 #define _FILE_OFFSET_BITS 64
18378 #include <sys/types.h>
18379  /* Check that off_t can represent 2**63 - 1 correctly.
18380     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18381     since some C++ compilers masquerading as C compilers
18382     incorrectly reject 9223372036854775807.  */
18383 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18384   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18385                        && LARGE_OFF_T % 2147483647 == 1)
18386                       ? 1 : -1];
18387 int
18388 main ()
18389 {
18390
18391   ;
18392   return 0;
18393 }
18394 _ACEOF
18395 if ac_fn_c_try_compile "$LINENO"; then :
18396   ac_cv_sys_file_offset_bits=64; break
18397 fi
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399   ac_cv_sys_file_offset_bits=unknown
18400   break
18401 done
18402 fi
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
18404 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
18405 case $ac_cv_sys_file_offset_bits in #(
18406   no | unknown) ;;
18407   *)
18408 cat >>confdefs.h <<_ACEOF
18409 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18410 _ACEOF
18411 ;;
18412 esac
18413 rm -rf conftest*
18414   if test $ac_cv_sys_file_offset_bits = unknown; then
18415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
18416 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
18417 if ${ac_cv_sys_large_files+:} false; then :
18418   $as_echo_n "(cached) " >&6
18419 else
18420   while :; do
18421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h.  */
18423 #include <sys/types.h>
18424  /* Check that off_t can represent 2**63 - 1 correctly.
18425     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18426     since some C++ compilers masquerading as C compilers
18427     incorrectly reject 9223372036854775807.  */
18428 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18429   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18430                        && LARGE_OFF_T % 2147483647 == 1)
18431                       ? 1 : -1];
18432 int
18433 main ()
18434 {
18435
18436   ;
18437   return 0;
18438 }
18439 _ACEOF
18440 if ac_fn_c_try_compile "$LINENO"; then :
18441   ac_cv_sys_large_files=no; break
18442 fi
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h.  */
18446 #define _LARGE_FILES 1
18447 #include <sys/types.h>
18448  /* Check that off_t can represent 2**63 - 1 correctly.
18449     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18450     since some C++ compilers masquerading as C compilers
18451     incorrectly reject 9223372036854775807.  */
18452 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18453   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18454                        && LARGE_OFF_T % 2147483647 == 1)
18455                       ? 1 : -1];
18456 int
18457 main ()
18458 {
18459
18460   ;
18461   return 0;
18462 }
18463 _ACEOF
18464 if ac_fn_c_try_compile "$LINENO"; then :
18465   ac_cv_sys_large_files=1; break
18466 fi
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468   ac_cv_sys_large_files=unknown
18469   break
18470 done
18471 fi
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
18473 $as_echo "$ac_cv_sys_large_files" >&6; }
18474 case $ac_cv_sys_large_files in #(
18475   no | unknown) ;;
18476   *)
18477 cat >>confdefs.h <<_ACEOF
18478 #define _LARGE_FILES $ac_cv_sys_large_files
18479 _ACEOF
18480 ;;
18481 esac
18482 rm -rf conftest*
18483   fi
18484 fi
18485
18486
18487 # By default we simply use the C compiler to build assembly code.
18488
18489 test "${CCAS+set}" = set || CCAS=$CC
18490 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
18491
18492
18493
18494 depcc="$CCAS"   am_compiler_list=
18495
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18497 $as_echo_n "checking dependency style of $depcc... " >&6; }
18498 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
18499   $as_echo_n "(cached) " >&6
18500 else
18501   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18502   # We make a subdir and do the tests there.  Otherwise we can end up
18503   # making bogus files that we don't know about and never remove.  For
18504   # instance it was reported that on HP-UX the gcc test will end up
18505   # making a dummy file named `D' -- because `-MD' means `put the output
18506   # in D'.
18507   rm -rf conftest.dir
18508   mkdir conftest.dir
18509   # Copy depcomp to subdir because otherwise we won't find it if we're
18510   # using a relative directory.
18511   cp "$am_depcomp" conftest.dir
18512   cd conftest.dir
18513   # We will build objects and dependencies in a subdirectory because
18514   # it helps to detect inapplicable dependency modes.  For instance
18515   # both Tru64's cc and ICC support -MD to output dependencies as a
18516   # side effect of compilation, but ICC will put the dependencies in
18517   # the current directory while Tru64 will put them in the object
18518   # directory.
18519   mkdir sub
18520
18521   am_cv_CCAS_dependencies_compiler_type=none
18522   if test "$am_compiler_list" = ""; then
18523      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18524   fi
18525   am__universal=false
18526
18527
18528   for depmode in $am_compiler_list; do
18529     # Setup a source with many dependencies, because some compilers
18530     # like to wrap large dependency lists on column 80 (with \), and
18531     # we should not choose a depcomp mode which is confused by this.
18532     #
18533     # We need to recreate these files for each test, as the compiler may
18534     # overwrite some of them when testing with obscure command lines.
18535     # This happens at least with the AIX C compiler.
18536     : > sub/conftest.c
18537     for i in 1 2 3 4 5 6; do
18538       echo '#include "conftst'$i'.h"' >> sub/conftest.c
18539       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
18540       # Solaris 8's {/usr,}/bin/sh.
18541       touch sub/conftst$i.h
18542     done
18543     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18544
18545     # We check with `-c' and `-o' for the sake of the "dashmstdout"
18546     # mode.  It turns out that the SunPro C++ compiler does not properly
18547     # handle `-M -o', and we need to detect this.  Also, some Intel
18548     # versions had trouble with output in subdirs
18549     am__obj=sub/conftest.${OBJEXT-o}
18550     am__minus_obj="-o $am__obj"
18551     case $depmode in
18552     gcc)
18553       # This depmode causes a compiler race in universal mode.
18554       test "$am__universal" = false || continue
18555       ;;
18556     nosideeffect)
18557       # after this tag, mechanisms are not by side-effect, so they'll
18558       # only be used when explicitly requested
18559       if test "x$enable_dependency_tracking" = xyes; then
18560         continue
18561       else
18562         break
18563       fi
18564       ;;
18565     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18566       # This compiler won't grok `-c -o', but also, the minuso test has
18567       # not run yet.  These depmodes are late enough in the game, and
18568       # so weak that their functioning should not be impacted.
18569       am__obj=conftest.${OBJEXT-o}
18570       am__minus_obj=
18571       ;;
18572     none) break ;;
18573     esac
18574     if depmode=$depmode \
18575        source=sub/conftest.c object=$am__obj \
18576        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18577        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18578          >/dev/null 2>conftest.err &&
18579        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18580        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18581        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18582        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18583       # icc doesn't choke on unknown options, it will just issue warnings
18584       # or remarks (even with -Werror).  So we grep stderr for any message
18585       # that says an option was ignored or not supported.
18586       # When given -MP, icc 7.0 and 7.1 complain thusly:
18587       #   icc: Command line warning: ignoring option '-M'; no argument required
18588       # The diagnosis changed in icc 8.0:
18589       #   icc: Command line remark: option '-MP' not supported
18590       if (grep 'ignoring option' conftest.err ||
18591           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18592         am_cv_CCAS_dependencies_compiler_type=$depmode
18593         break
18594       fi
18595     fi
18596   done
18597
18598   cd ..
18599   rm -rf conftest.dir
18600 else
18601   am_cv_CCAS_dependencies_compiler_type=none
18602 fi
18603
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
18606 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
18607 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
18608
18609  if
18610   test "x$enable_dependency_tracking" != xno \
18611   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
18612   am__fastdepCCAS_TRUE=
18613   am__fastdepCCAS_FALSE='#'
18614 else
18615   am__fastdepCCAS_TRUE='#'
18616   am__fastdepCCAS_FALSE=
18617 fi
18618
18619
18620 # Extract the first word of "nm", so it can be a program name with args.
18621 set dummy nm; ac_word=$2
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18623 $as_echo_n "checking for $ac_word... " >&6; }
18624 if ${ac_cv_path_NM+:} false; then :
18625   $as_echo_n "(cached) " >&6
18626 else
18627   case $NM in
18628   [\\/]* | ?:[\\/]*)
18629   ac_cv_path_NM="$NM" # Let the user override the test with a path.
18630   ;;
18631   *)
18632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18633 for as_dir in $PATH
18634 do
18635   IFS=$as_save_IFS
18636   test -z "$as_dir" && as_dir=.
18637     for ac_exec_ext in '' $ac_executable_extensions; do
18638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18639     ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
18640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18641     break 2
18642   fi
18643 done
18644   done
18645 IFS=$as_save_IFS
18646
18647   test -z "$ac_cv_path_NM" && ac_cv_path_NM="nm"
18648   ;;
18649 esac
18650 fi
18651 NM=$ac_cv_path_NM
18652 if test -n "$NM"; then
18653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
18654 $as_echo "$NM" >&6; }
18655 else
18656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18657 $as_echo "no" >&6; }
18658 fi
18659
18660
18661
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
18663 $as_echo_n "checking for some Win32 platform... " >&6; }
18664 case "$host" in
18665   *-*-mingw*|*-*-cygwin*)
18666     platform_win32=yes
18667     ;;
18668   *)
18669     platform_win32=no
18670     ;;
18671 esac
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
18673 $as_echo "$platform_win32" >&6; }
18674  if test "$platform_win32" = "yes"; then
18675   PLATFORM_WIN32_TRUE=
18676   PLATFORM_WIN32_FALSE='#'
18677 else
18678   PLATFORM_WIN32_TRUE='#'
18679   PLATFORM_WIN32_FALSE=
18680 fi
18681
18682
18683  if test "$os_win32" = "yes"; then
18684   OS_WIN32_TRUE=
18685   OS_WIN32_FALSE='#'
18686 else
18687   OS_WIN32_TRUE='#'
18688   OS_WIN32_FALSE=
18689 fi
18690
18691  if test "$os_win32" != "yes"; then
18692   OS_UNIX_TRUE=
18693   OS_UNIX_FALSE='#'
18694 else
18695   OS_UNIX_TRUE='#'
18696   OS_UNIX_FALSE=
18697 fi
18698
18699  if test "$os_linux" = "yes"; then
18700   OS_LINUX_TRUE=
18701   OS_LINUX_FALSE='#'
18702 else
18703   OS_LINUX_TRUE='#'
18704   OS_LINUX_FALSE=
18705 fi
18706
18707
18708 if test "$os_win32" = "yes"; then
18709   if test -n "$ac_tool_prefix"; then
18710   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18711 set dummy ${ac_tool_prefix}windres; ac_word=$2
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18713 $as_echo_n "checking for $ac_word... " >&6; }
18714 if ${ac_cv_prog_WINDRES+:} false; then :
18715   $as_echo_n "(cached) " >&6
18716 else
18717   if test -n "$WINDRES"; then
18718   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18719 else
18720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18721 for as_dir in $PATH
18722 do
18723   IFS=$as_save_IFS
18724   test -z "$as_dir" && as_dir=.
18725     for ac_exec_ext in '' $ac_executable_extensions; do
18726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18727     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
18728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18729     break 2
18730   fi
18731 done
18732   done
18733 IFS=$as_save_IFS
18734
18735 fi
18736 fi
18737 WINDRES=$ac_cv_prog_WINDRES
18738 if test -n "$WINDRES"; then
18739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
18740 $as_echo "$WINDRES" >&6; }
18741 else
18742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18743 $as_echo "no" >&6; }
18744 fi
18745
18746
18747 fi
18748 if test -z "$ac_cv_prog_WINDRES"; then
18749   ac_ct_WINDRES=$WINDRES
18750   # Extract the first word of "windres", so it can be a program name with args.
18751 set dummy windres; ac_word=$2
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18753 $as_echo_n "checking for $ac_word... " >&6; }
18754 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
18755   $as_echo_n "(cached) " >&6
18756 else
18757   if test -n "$ac_ct_WINDRES"; then
18758   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18759 else
18760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18761 for as_dir in $PATH
18762 do
18763   IFS=$as_save_IFS
18764   test -z "$as_dir" && as_dir=.
18765     for ac_exec_ext in '' $ac_executable_extensions; do
18766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18767     ac_cv_prog_ac_ct_WINDRES="windres"
18768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18769     break 2
18770   fi
18771 done
18772   done
18773 IFS=$as_save_IFS
18774
18775 fi
18776 fi
18777 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18778 if test -n "$ac_ct_WINDRES"; then
18779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
18780 $as_echo "$ac_ct_WINDRES" >&6; }
18781 else
18782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18783 $as_echo "no" >&6; }
18784 fi
18785
18786   if test "x$ac_ct_WINDRES" = x; then
18787     WINDRES="no"
18788   else
18789     case $cross_compiling:$ac_tool_warned in
18790 yes:)
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18793 ac_tool_warned=yes ;;
18794 esac
18795     WINDRES=$ac_ct_WINDRES
18796   fi
18797 else
18798   WINDRES="$ac_cv_prog_WINDRES"
18799 fi
18800
18801   if test "$WINDRES" = no; then
18802     as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
18803   fi
18804   # Extract the first word of "lib.exe", so it can be a program name with args.
18805 set dummy lib.exe; ac_word=$2
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18807 $as_echo_n "checking for $ac_word... " >&6; }
18808 if ${ac_cv_prog_ms_librarian+:} false; then :
18809   $as_echo_n "(cached) " >&6
18810 else
18811   if test -n "$ms_librarian"; then
18812   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
18813 else
18814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18815 for as_dir in $PATH
18816 do
18817   IFS=$as_save_IFS
18818   test -z "$as_dir" && as_dir=.
18819     for ac_exec_ext in '' $ac_executable_extensions; do
18820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18821     ac_cv_prog_ms_librarian="yes"
18822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18823     break 2
18824   fi
18825 done
18826   done
18827 IFS=$as_save_IFS
18828
18829   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
18830 fi
18831 fi
18832 ms_librarian=$ac_cv_prog_ms_librarian
18833 if test -n "$ms_librarian"; then
18834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
18835 $as_echo "$ms_librarian" >&6; }
18836 else
18837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18838 $as_echo "no" >&6; }
18839 fi
18840
18841
18842 fi
18843  if test x$ms_librarian = xyes; then
18844   MS_LIB_AVAILABLE_TRUE=
18845   MS_LIB_AVAILABLE_FALSE='#'
18846 else
18847   MS_LIB_AVAILABLE_TRUE='#'
18848   MS_LIB_AVAILABLE_FALSE=
18849 fi
18850
18851
18852
18853
18854 # Check whether --enable-debug was given.
18855 if test "${enable_debug+set}" = set; then :
18856   enableval=$enable_debug;
18857 else
18858   enable_debug=minimum
18859 fi
18860
18861
18862 # Check whether --enable-rebuilds was given.
18863 if test "${enable_rebuilds+set}" = set; then :
18864   enableval=$enable_rebuilds;
18865 else
18866   enable_rebuilds=yes
18867 fi
18868
18869
18870 # Check whether --enable-gtk2-dependency was given.
18871 if test "${enable_gtk2_dependency+set}" = set; then :
18872   enableval=$enable_gtk2_dependency;
18873 else
18874   enable_gtk2_dependency=no
18875 fi
18876
18877
18878  if test "x$enable_gtk2_dependency" = xno; then
18879   BUILD_ICON_CACHE_TRUE=
18880   BUILD_ICON_CACHE_FALSE='#'
18881 else
18882   BUILD_ICON_CACHE_TRUE='#'
18883   BUILD_ICON_CACHE_FALSE=
18884 fi
18885
18886
18887 # Check whether --enable-xkb was given.
18888 if test "${enable_xkb+set}" = set; then :
18889   enableval=$enable_xkb;
18890 else
18891   enable_xkb="maybe"
18892 fi
18893
18894 # Check whether --enable-xinerama was given.
18895 if test "${enable_xinerama+set}" = set; then :
18896   enableval=$enable_xinerama;
18897 else
18898   enable_xinerama="maybe"
18899 fi
18900
18901 # Check whether --enable-xrandr was given.
18902 if test "${enable_xrandr+set}" = set; then :
18903   enableval=$enable_xrandr;
18904 else
18905   enable_xrandr="maybe"
18906 fi
18907
18908 # Check whether --enable-xfixes was given.
18909 if test "${enable_xfixes+set}" = set; then :
18910   enableval=$enable_xfixes;
18911 else
18912   enable_xfixes="maybe"
18913 fi
18914
18915 # Check whether --enable-xcomposite was given.
18916 if test "${enable_xcomposite+set}" = set; then :
18917   enableval=$enable_xcomposite;
18918 else
18919   enable_xcomposite="maybe"
18920 fi
18921
18922 # Check whether --enable-xdamage was given.
18923 if test "${enable_xdamage+set}" = set; then :
18924   enableval=$enable_xdamage;
18925 else
18926   enable_xdamage="maybe"
18927 fi
18928
18929
18930 # Check whether --enable-x11-backend was given.
18931 if test "${enable_x11_backend+set}" = set; then :
18932   enableval=$enable_x11_backend; backend_set=yes
18933 fi
18934
18935 # Check whether --enable-win32-backend was given.
18936 if test "${enable_win32_backend+set}" = set; then :
18937   enableval=$enable_win32_backend; backend_set=yes
18938 fi
18939
18940 # Check whether --enable-quartz-backend was given.
18941 if test "${enable_quartz_backend+set}" = set; then :
18942   enableval=$enable_quartz_backend; backend_set=yes
18943 fi
18944
18945 # Check whether --enable-broadway-backend was given.
18946 if test "${enable_broadway_backend+set}" = set; then :
18947   enableval=$enable_broadway_backend; backend_set=yes
18948 fi
18949
18950 # Check whether --enable-wayland-backend was given.
18951 if test "${enable_wayland_backend+set}" = set; then :
18952   enableval=$enable_wayland_backend; backend_set=yes
18953 fi
18954
18955
18956 if test -z "$backend_set"; then
18957   if test "$platform_win32" = yes; then
18958     enable_win32_backend=yes
18959   else
18960     enable_x11_backend=yes
18961   fi
18962 fi
18963
18964 # Check whether --enable-quartz-relocation was given.
18965 if test "${enable_quartz_relocation+set}" = set; then :
18966   enableval=$enable_quartz_relocation; quartz_relocation=yes
18967 fi
18968
18969
18970 cairo_backends=
18971 backend_immodules=
18972 GDK_BACKENDS=
18973 GDK_EXTRA_LIBS=
18974 GDK_EXTRA_CFLAGS=
18975 GDK_WINDOWING=
18976 GIO_PACKAGE=gio-2.0
18977 PANGO_PACKAGES="pango pangocairo"
18978
18979 if test "$enable_x11_backend" = "yes"; then
18980   # GDK calls the xlib backend "x11," cairo calls it "xlib." Other
18981   # backend names are identical.
18982   cairo_backends="$cairo_backends cairo-xlib"
18983   GDK_BACKENDS="$GDK_BACKENDS x11"
18984   # Pull in gio-unix for GDesktopAppInfo usage, see at least
18985   # gdkapplaunchcontext-x11.c
18986   GIO_PACKAGE=gio-unix-2.0
18987   backend_immodules="$backend_immodules,xim"
18988   GDK_WINDOWING="$GDK_WINDOWING
18989 #define GDK_WINDOWING_X11"
18990 fi
18991
18992 if test "$enable_win32_backend" = "yes"; then
18993   cairo_backends="$cairo_backends cairo-win32"
18994   GDK_BACKENDS="$GDK_BACKENDS win32"
18995   backend_immodules="$backend_immodules,ime"
18996   GDK_WINDOWING="$GDK_WINDOWING
18997 #define GDK_WINDOWING_WIN32"
18998   GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid"
18999    if true; then
19000   USE_WIN32_TRUE=
19001   USE_WIN32_FALSE='#'
19002 else
19003   USE_WIN32_TRUE='#'
19004   USE_WIN32_FALSE=
19005 fi
19006
19007   PANGO_PACKAGES="pangowin32 pangocairo"
19008 else
19009    if false; then
19010   USE_WIN32_TRUE=
19011   USE_WIN32_FALSE='#'
19012 else
19013   USE_WIN32_TRUE='#'
19014   USE_WIN32_FALSE=
19015 fi
19016
19017 fi
19018
19019 if test "x$enable_quartz_backend" = xyes; then
19020   cairo_backends="$cairo_backends cairo-quartz"
19021   GDK_BACKENDS="$GDK_BACKENDS quartz"
19022   GDK_WINDOWING="$GDK_WINDOWING
19023 #define GDK_WINDOWING_QUARTZ"
19024   GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
19025    if true; then
19026   USE_QUARTZ_TRUE=
19027   USE_QUARTZ_FALSE='#'
19028 else
19029   USE_QUARTZ_TRUE='#'
19030   USE_QUARTZ_FALSE=
19031 fi
19032
19033   if test "x$quartz_relocation" = xyes; then
19034
19035 $as_echo "#define QUARTZ_RELOCATION 1" >>confdefs.h
19036
19037   fi
19038
19039 else
19040    if false; then
19041   USE_QUARTZ_TRUE=
19042   USE_QUARTZ_FALSE='#'
19043 else
19044   USE_QUARTZ_TRUE='#'
19045   USE_QUARTZ_FALSE=
19046 fi
19047
19048 fi
19049
19050
19051 if test "x$enable_broadway_backend" == xyes; then
19052   GDK_BACKENDS="$GDK_BACKENDS broadway"
19053   cairo_backends="$cairo_backends cairo"
19054   GDK_WINDOWING="$GDK_WINDOWING
19055 #define GDK_WINDOWING_BROADWAY"
19056   GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lz"
19057    if true; then
19058   USE_BROADWAY_TRUE=
19059   USE_BROADWAY_FALSE='#'
19060 else
19061   USE_BROADWAY_TRUE='#'
19062   USE_BROADWAY_FALSE=
19063 fi
19064
19065 else
19066    if false; then
19067   USE_BROADWAY_TRUE=
19068   USE_BROADWAY_FALSE='#'
19069 else
19070   USE_BROADWAY_TRUE='#'
19071   USE_BROADWAY_FALSE=
19072 fi
19073
19074 fi
19075
19076 if test "x$enable_wayland_backend" == "xyes"; then
19077   # Wayland uses cairo-gl
19078   cairo_backends="$cairo_backends cairo-gl"
19079   GDK_BACKENDS="$GDK_BACKENDS wayland"
19080   GIO_PACKAGE=gio-unix-2.0
19081   GDK_WINDOWING="$GDK_WINDOWING
19082 #define GDK_WINDOWING_WAYLAND"
19083   WAYLAND_PACKAGES="wayland-client xkbcommon wayland-egl egl"
19084    if true; then
19085   USE_WAYLAND_TRUE=
19086   USE_WAYLAND_FALSE='#'
19087 else
19088   USE_WAYLAND_TRUE='#'
19089   USE_WAYLAND_FALSE=
19090 fi
19091
19092 else
19093    if false; then
19094   USE_WAYLAND_TRUE=
19095   USE_WAYLAND_FALSE='#'
19096 else
19097   USE_WAYLAND_TRUE='#'
19098   USE_WAYLAND_FALSE=
19099 fi
19100
19101 fi
19102
19103 # strip leading space
19104 GDK_BACKENDS=${GDK_BACKENDS#* }
19105
19106
19107
19108 if test -z "$GDK_BACKENDS"; then
19109   as_fn_error $? "No GDK backends selected." "$LINENO" 5
19110 fi
19111
19112 if test "x$enable_debug" = "xyes"; then
19113   test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
19114   GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
19115 else
19116   if test "x$enable_debug" = "xno"; then
19117     GTK_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
19118   else
19119     GTK_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
19120   fi
19121 fi
19122
19123
19124
19125 cat >>confdefs.h <<_ACEOF
19126 #define GTK_COMPILED_WITH_DEBUGGING "${enable_debug}"
19127 _ACEOF
19128
19129
19130
19131 # Build time sanity check...
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19133 $as_echo_n "checking whether build environment is sane... " >&6; }
19134 # Just in case
19135 sleep 1
19136 echo timestamp > conftest.file
19137 # Reject unsafe characters in $srcdir or the absolute working directory
19138 # name.  Accept space and tab only in the latter.
19139 am_lf='
19140 '
19141 case `pwd` in
19142   *[\\\"\#\$\&\'\`$am_lf]*)
19143     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
19144 esac
19145 case $srcdir in
19146   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
19147     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
19148 esac
19149
19150 # Do `set' in a subshell so we don't clobber the current shell's
19151 # arguments.  Must try -L first in case configure is actually a
19152 # symlink; some systems play weird games with the mod time of symlinks
19153 # (eg FreeBSD returns the mod time of the symlink's containing
19154 # directory).
19155 if (
19156    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19157    if test "$*" = "X"; then
19158       # -L didn't work.
19159       set X `ls -t "$srcdir/configure" conftest.file`
19160    fi
19161    rm -f conftest.file
19162    if test "$*" != "X $srcdir/configure conftest.file" \
19163       && test "$*" != "X conftest.file $srcdir/configure"; then
19164
19165       # If neither matched, then we have a broken ls.  This can happen
19166       # if, for instance, CONFIG_SHELL is bash and it inherits a
19167       # broken ls alias from the environment.  This has actually
19168       # happened.  Such a system could not be considered "sane".
19169       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
19170 alias in your environment" "$LINENO" 5
19171    fi
19172
19173    test "$2" = conftest.file
19174    )
19175 then
19176    # Ok.
19177    :
19178 else
19179    as_fn_error $? "newly created file is older than distributed files!
19180 Check your system clock" "$LINENO" 5
19181 fi
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19183 $as_echo "yes" >&6; }
19184
19185 if test "x$GCC" = "xyes"; then
19186   case " $CFLAGS " in
19187   *[\ \ ]-Wall[\ \      ]*) ;;
19188   *) CFLAGS="$CFLAGS -Wall" ;;
19189   esac
19190
19191   if test "x$enable_ansi" = "xyes"; then
19192     case " $CFLAGS " in
19193     *[\ \       ]-ansi[\ \      ]*) ;;
19194     *) CFLAGS="$CFLAGS -ansi" ;;
19195     esac
19196
19197     case " $CFLAGS " in
19198     *[\ \       ]-pedantic[\ \  ]*) ;;
19199     *) CFLAGS="$CFLAGS -pedantic" ;;
19200     esac
19201   fi
19202 fi
19203
19204 # Ensure MSVC-compatible struct packing convention is used when
19205 # compiling for Win32 with gcc.
19206 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19207 # gcc2 uses "-fnative-struct".
19208 if test x"$os_win32" = xyes; then
19209   if test x"$GCC" = xyes; then
19210     msnative_struct=''
19211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
19212 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
19213     if test -z "$ac_cv_prog_CC"; then
19214       our_gcc="$CC"
19215     else
19216       our_gcc="$ac_cv_prog_CC"
19217     fi
19218     case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19219       2.)
19220         if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19221           msnative_struct='-fnative-struct'
19222         fi
19223         ;;
19224       *)
19225         if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19226           msnative_struct='-mms-bitfields'
19227         fi
19228         ;;
19229     esac
19230     if test x"$msnative_struct" = x ; then
19231       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
19232 $as_echo "no way" >&6; }
19233       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19234 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19235     else
19236       CFLAGS="$CFLAGS $msnative_struct"
19237       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
19238 $as_echo "${msnative_struct}" >&6; }
19239     fi
19240   fi
19241 fi
19242
19243 ## Initial sanity check, done here so that users get told they
19244 ## have the wrong dependencies as early in the process as possible.
19245 ## Later on we actually use the cflags/libs from separate pkg-config
19246 ## calls. Oh, also the later pkg-config calls don't include
19247 ## the version requirements since those make the module lists
19248 ## annoying to construct
19249
19250
19251
19252
19253
19254
19255 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19256         if test -n "$ac_tool_prefix"; then
19257   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19258 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19260 $as_echo_n "checking for $ac_word... " >&6; }
19261 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19262   $as_echo_n "(cached) " >&6
19263 else
19264   case $PKG_CONFIG in
19265   [\\/]* | ?:[\\/]*)
19266   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19267   ;;
19268   *)
19269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19270 for as_dir in $PATH
19271 do
19272   IFS=$as_save_IFS
19273   test -z "$as_dir" && as_dir=.
19274     for ac_exec_ext in '' $ac_executable_extensions; do
19275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19276     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19278     break 2
19279   fi
19280 done
19281   done
19282 IFS=$as_save_IFS
19283
19284   ;;
19285 esac
19286 fi
19287 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19288 if test -n "$PKG_CONFIG"; then
19289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19290 $as_echo "$PKG_CONFIG" >&6; }
19291 else
19292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19293 $as_echo "no" >&6; }
19294 fi
19295
19296
19297 fi
19298 if test -z "$ac_cv_path_PKG_CONFIG"; then
19299   ac_pt_PKG_CONFIG=$PKG_CONFIG
19300   # Extract the first word of "pkg-config", so it can be a program name with args.
19301 set dummy pkg-config; ac_word=$2
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19303 $as_echo_n "checking for $ac_word... " >&6; }
19304 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19305   $as_echo_n "(cached) " >&6
19306 else
19307   case $ac_pt_PKG_CONFIG in
19308   [\\/]* | ?:[\\/]*)
19309   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19310   ;;
19311   *)
19312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19313 for as_dir in $PATH
19314 do
19315   IFS=$as_save_IFS
19316   test -z "$as_dir" && as_dir=.
19317     for ac_exec_ext in '' $ac_executable_extensions; do
19318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19319     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19321     break 2
19322   fi
19323 done
19324   done
19325 IFS=$as_save_IFS
19326
19327   ;;
19328 esac
19329 fi
19330 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19331 if test -n "$ac_pt_PKG_CONFIG"; then
19332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19333 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19334 else
19335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19336 $as_echo "no" >&6; }
19337 fi
19338
19339   if test "x$ac_pt_PKG_CONFIG" = x; then
19340     PKG_CONFIG=""
19341   else
19342     case $cross_compiling:$ac_tool_warned in
19343 yes:)
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19346 ac_tool_warned=yes ;;
19347 esac
19348     PKG_CONFIG=$ac_pt_PKG_CONFIG
19349   fi
19350 else
19351   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19352 fi
19353
19354 fi
19355 if test -n "$PKG_CONFIG"; then
19356         _pkg_min_version=0.9.0
19357         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19358 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19359         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19360                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19361 $as_echo "yes" >&6; }
19362         else
19363                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19364 $as_echo "no" >&6; }
19365                 PKG_CONFIG=""
19366         fi
19367 fi
19368
19369 pkg_failed=no
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE_DEPENDENCIES" >&5
19371 $as_echo_n "checking for BASE_DEPENDENCIES... " >&6; }
19372
19373 if test -n "$BASE_DEPENDENCIES_CFLAGS"; then
19374     pkg_cv_BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS"
19375  elif test -n "$PKG_CONFIG"; then
19376     if test -n "$PKG_CONFIG" && \
19377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2\""; } >&5
19378   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2") 2>&5
19379   ac_status=$?
19380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19381   test $ac_status = 0; }; then
19382   pkg_cv_BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2" 2>/dev/null`
19383 else
19384   pkg_failed=yes
19385 fi
19386  else
19387     pkg_failed=untried
19388 fi
19389 if test -n "$BASE_DEPENDENCIES_LIBS"; then
19390     pkg_cv_BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS"
19391  elif test -n "$PKG_CONFIG"; then
19392     if test -n "$PKG_CONFIG" && \
19393     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2\""; } >&5
19394   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2") 2>&5
19395   ac_status=$?
19396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19397   test $ac_status = 0; }; then
19398   pkg_cv_BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2" 2>/dev/null`
19399 else
19400   pkg_failed=yes
19401 fi
19402  else
19403     pkg_failed=untried
19404 fi
19405
19406
19407
19408 if test $pkg_failed = yes; then
19409         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19410 $as_echo "no" >&6; }
19411
19412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19413         _pkg_short_errors_supported=yes
19414 else
19415         _pkg_short_errors_supported=no
19416 fi
19417         if test $_pkg_short_errors_supported = yes; then
19418                 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2" 2>&1`
19419         else
19420                 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2" 2>&1`
19421         fi
19422         # Put the nasty error message in config.log where it belongs
19423         echo "$BASE_DEPENDENCIES_PKG_ERRORS" >&5
19424
19425         as_fn_error $? "Package requirements (glib-2.0 >= 2.31.20    atk >= 2.1.5    pango >= 1.29.0    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.25.2) were not met:
19426
19427 $BASE_DEPENDENCIES_PKG_ERRORS
19428
19429 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19430 installed software in a non-standard prefix.
19431
19432 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
19433 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
19434 See the pkg-config man page for more details." "$LINENO" 5
19435
19436 elif test $pkg_failed = untried; then
19437         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19438 $as_echo "no" >&6; }
19439         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19441 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19442 is in your PATH or set the PKG_CONFIG environment variable to the full
19443 path to pkg-config.
19444
19445 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
19446 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
19447 See the pkg-config man page for more details.
19448
19449 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19450 See \`config.log' for more details" "$LINENO" 5; }
19451
19452 else
19453         BASE_DEPENDENCIES_CFLAGS=$pkg_cv_BASE_DEPENDENCIES_CFLAGS
19454         BASE_DEPENDENCIES_LIBS=$pkg_cv_BASE_DEPENDENCIES_LIBS
19455         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19456 $as_echo "yes" >&6; }
19457
19458 fi
19459
19460
19461 pkg_failed=no
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_BACKEND" >&5
19463 $as_echo_n "checking for CAIRO_BACKEND... " >&6; }
19464
19465 if test -n "$CAIRO_BACKEND_CFLAGS"; then
19466     pkg_cv_CAIRO_BACKEND_CFLAGS="$CAIRO_BACKEND_CFLAGS"
19467  elif test -n "$PKG_CONFIG"; then
19468     if test -n "$PKG_CONFIG" && \
19469     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cairo_backends\""; } >&5
19470   ($PKG_CONFIG --exists --print-errors "$cairo_backends") 2>&5
19471   ac_status=$?
19472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19473   test $ac_status = 0; }; then
19474   pkg_cv_CAIRO_BACKEND_CFLAGS=`$PKG_CONFIG --cflags "$cairo_backends" 2>/dev/null`
19475 else
19476   pkg_failed=yes
19477 fi
19478  else
19479     pkg_failed=untried
19480 fi
19481 if test -n "$CAIRO_BACKEND_LIBS"; then
19482     pkg_cv_CAIRO_BACKEND_LIBS="$CAIRO_BACKEND_LIBS"
19483  elif test -n "$PKG_CONFIG"; then
19484     if test -n "$PKG_CONFIG" && \
19485     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cairo_backends\""; } >&5
19486   ($PKG_CONFIG --exists --print-errors "$cairo_backends") 2>&5
19487   ac_status=$?
19488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19489   test $ac_status = 0; }; then
19490   pkg_cv_CAIRO_BACKEND_LIBS=`$PKG_CONFIG --libs "$cairo_backends" 2>/dev/null`
19491 else
19492   pkg_failed=yes
19493 fi
19494  else
19495     pkg_failed=untried
19496 fi
19497
19498
19499
19500 if test $pkg_failed = yes; then
19501         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19502 $as_echo "no" >&6; }
19503
19504 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19505         _pkg_short_errors_supported=yes
19506 else
19507         _pkg_short_errors_supported=no
19508 fi
19509         if test $_pkg_short_errors_supported = yes; then
19510                 CAIRO_BACKEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$cairo_backends" 2>&1`
19511         else
19512                 CAIRO_BACKEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "$cairo_backends" 2>&1`
19513         fi
19514         # Put the nasty error message in config.log where it belongs
19515         echo "$CAIRO_BACKEND_PKG_ERRORS" >&5
19516
19517         as_fn_error $? "Package requirements ($cairo_backends) were not met:
19518
19519 $CAIRO_BACKEND_PKG_ERRORS
19520
19521 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19522 installed software in a non-standard prefix.
19523
19524 Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
19525 and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
19526 See the pkg-config man page for more details." "$LINENO" 5
19527
19528 elif test $pkg_failed = untried; then
19529         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19530 $as_echo "no" >&6; }
19531         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19533 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19534 is in your PATH or set the PKG_CONFIG environment variable to the full
19535 path to pkg-config.
19536
19537 Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
19538 and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
19539 See the pkg-config man page for more details.
19540
19541 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19542 See \`config.log' for more details" "$LINENO" 5; }
19543
19544 else
19545         CAIRO_BACKEND_CFLAGS=$pkg_cv_CAIRO_BACKEND_CFLAGS
19546         CAIRO_BACKEND_LIBS=$pkg_cv_CAIRO_BACKEND_LIBS
19547         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19548 $as_echo "yes" >&6; }
19549
19550 fi
19551
19552
19553 pkg_failed=no
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
19555 $as_echo_n "checking for GMODULE... " >&6; }
19556
19557 if test -n "$GMODULE_CFLAGS"; then
19558     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
19559  elif test -n "$PKG_CONFIG"; then
19560     if test -n "$PKG_CONFIG" && \
19561     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19562   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19563   ac_status=$?
19564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19565   test $ac_status = 0; }; then
19566   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
19567 else
19568   pkg_failed=yes
19569 fi
19570  else
19571     pkg_failed=untried
19572 fi
19573 if test -n "$GMODULE_LIBS"; then
19574     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
19575  elif test -n "$PKG_CONFIG"; then
19576     if test -n "$PKG_CONFIG" && \
19577     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19578   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19579   ac_status=$?
19580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19581   test $ac_status = 0; }; then
19582   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
19583 else
19584   pkg_failed=yes
19585 fi
19586  else
19587     pkg_failed=untried
19588 fi
19589
19590
19591
19592 if test $pkg_failed = yes; then
19593         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19594 $as_echo "no" >&6; }
19595
19596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19597         _pkg_short_errors_supported=yes
19598 else
19599         _pkg_short_errors_supported=no
19600 fi
19601         if test $_pkg_short_errors_supported = yes; then
19602                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
19603         else
19604                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
19605         fi
19606         # Put the nasty error message in config.log where it belongs
19607         echo "$GMODULE_PKG_ERRORS" >&5
19608
19609         as_fn_error $? "Package requirements (gmodule-2.0) were not met:
19610
19611 $GMODULE_PKG_ERRORS
19612
19613 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19614 installed software in a non-standard prefix.
19615
19616 Alternatively, you may set the environment variables GMODULE_CFLAGS
19617 and GMODULE_LIBS to avoid the need to call pkg-config.
19618 See the pkg-config man page for more details." "$LINENO" 5
19619
19620 elif test $pkg_failed = untried; then
19621         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19622 $as_echo "no" >&6; }
19623         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19625 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19626 is in your PATH or set the PKG_CONFIG environment variable to the full
19627 path to pkg-config.
19628
19629 Alternatively, you may set the environment variables GMODULE_CFLAGS
19630 and GMODULE_LIBS to avoid the need to call pkg-config.
19631 See the pkg-config man page for more details.
19632
19633 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19634 See \`config.log' for more details" "$LINENO" 5; }
19635
19636 else
19637         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
19638         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
19639         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19640 $as_echo "yes" >&6; }
19641
19642 fi
19643
19644 if test "$os_win32" != yes; then
19645     # libtool option to control which symbols are exported
19646     # right now, symbols starting with _ are not exported
19647     LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
19648 else
19649     # We currently use .def files on Windows (for gdk and gtk)
19650     LIBTOOL_EXPORT_OPTIONS=
19651 fi
19652
19653
19654
19655 # Check whether --enable-explicit-deps was given.
19656 if test "${enable_explicit_deps+set}" = set; then :
19657   enableval=$enable_explicit_deps;
19658 else
19659   enable_explicit_deps=auto
19660 fi
19661
19662
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
19664 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
19665 case $enable_explicit_deps in
19666   auto)
19667     export SED
19668     deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
19669     if test "x$deplibs_check_method" != xpass_all || test "x$enable_static" = xyes ; then
19670       enable_explicit_deps=yes
19671     else
19672       enable_explicit_deps=no
19673     fi
19674   ;;
19675   yes|no)
19676   ;;
19677   *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
19678   ;;
19679 esac
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
19681 $as_echo "$enable_explicit_deps" >&6; }
19682
19683  if test $enable_explicit_deps = no; then
19684   DISABLE_EXPLICIT_DEPS_TRUE=
19685   DISABLE_EXPLICIT_DEPS_FALSE='#'
19686 else
19687   DISABLE_EXPLICIT_DEPS_TRUE='#'
19688   DISABLE_EXPLICIT_DEPS_FALSE=
19689 fi
19690
19691
19692 # define a MAINT-like variable REBUILD which is set if Perl
19693 # and awk are found, so autogenerated sources can be rebuilt
19694
19695 for ac_prog in perl5 perl
19696 do
19697   # Extract the first word of "$ac_prog", so it can be a program name with args.
19698 set dummy $ac_prog; ac_word=$2
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19700 $as_echo_n "checking for $ac_word... " >&6; }
19701 if ${ac_cv_path_PERL+:} false; then :
19702   $as_echo_n "(cached) " >&6
19703 else
19704   case $PERL in
19705   [\\/]* | ?:[\\/]*)
19706   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
19707   ;;
19708   *)
19709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19710 for as_dir in $PATH
19711 do
19712   IFS=$as_save_IFS
19713   test -z "$as_dir" && as_dir=.
19714     for ac_exec_ext in '' $ac_executable_extensions; do
19715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19716     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
19717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19718     break 2
19719   fi
19720 done
19721   done
19722 IFS=$as_save_IFS
19723
19724   ;;
19725 esac
19726 fi
19727 PERL=$ac_cv_path_PERL
19728 if test -n "$PERL"; then
19729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
19730 $as_echo "$PERL" >&6; }
19731 else
19732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19733 $as_echo "no" >&6; }
19734 fi
19735
19736
19737   test -n "$PERL" && break
19738 done
19739
19740
19741 # We would like indent, but don't require it.
19742 # Extract the first word of "indent", so it can be a program name with args.
19743 set dummy indent; ac_word=$2
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19745 $as_echo_n "checking for $ac_word... " >&6; }
19746 if ${ac_cv_prog_INDENT+:} false; then :
19747   $as_echo_n "(cached) " >&6
19748 else
19749   if test -n "$INDENT"; then
19750   ac_cv_prog_INDENT="$INDENT" # Let the user override the test.
19751 else
19752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19753 for as_dir in $PATH
19754 do
19755   IFS=$as_save_IFS
19756   test -z "$as_dir" && as_dir=.
19757     for ac_exec_ext in '' $ac_executable_extensions; do
19758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19759     ac_cv_prog_INDENT="indent"
19760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19761     break 2
19762   fi
19763 done
19764   done
19765 IFS=$as_save_IFS
19766
19767 fi
19768 fi
19769 INDENT=$ac_cv_prog_INDENT
19770 if test -n "$INDENT"; then
19771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
19772 $as_echo "$INDENT" >&6; }
19773 else
19774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19775 $as_echo "no" >&6; }
19776 fi
19777
19778
19779
19780 REBUILD=\#
19781 if test "x$enable_rebuilds" = "xyes" && \
19782      test -n "$PERL" && \
19783      $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
19784   REBUILD=
19785 fi
19786
19787
19788 for ac_func in lstat mkstemp flockfile getc_unlocked
19789 do :
19790   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19793   cat >>confdefs.h <<_ACEOF
19794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19795 _ACEOF
19796
19797 fi
19798 done
19799
19800 for ac_func in localtime_r
19801 do :
19802   ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
19803 if test "x$ac_cv_func_localtime_r" = xyes; then :
19804   cat >>confdefs.h <<_ACEOF
19805 #define HAVE_LOCALTIME_R 1
19806 _ACEOF
19807
19808 fi
19809 done
19810
19811
19812 # _NL_TIME_FIRST_WEEKDAY is an enum and not a define
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY" >&5
19814 $as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY... " >&6; }
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h.  */
19817 #include <langinfo.h>
19818 int
19819 main ()
19820 {
19821 char c;
19822                                   c = *((unsigned char *)  nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
19823   ;
19824   return 0;
19825 }
19826 _ACEOF
19827 if ac_fn_c_try_link "$LINENO"; then :
19828   gtk_ok=yes
19829 else
19830   gtk_ok=no
19831 fi
19832 rm -f core conftest.err conftest.$ac_objext \
19833     conftest$ac_exeext conftest.$ac_ext
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19835 $as_echo "$gtk_ok" >&6; }
19836 if test "$gtk_ok" = "yes"; then
19837
19838 $as_echo "#define HAVE__NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h
19839
19840 fi
19841
19842 # _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_MEASUREMENT_MEASUREMENT" >&5
19844 $as_echo_n "checking for _NL_MEASUREMENT_MEASUREMENT... " >&6; }
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h.  */
19847 #include <langinfo.h>
19848 int
19849 main ()
19850 {
19851 char c;
19852                                   c = *((unsigned char *)  nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
19853   ;
19854   return 0;
19855 }
19856 _ACEOF
19857 if ac_fn_c_try_link "$LINENO"; then :
19858   gtk_ok=yes
19859 else
19860   gtk_ok=no
19861 fi
19862 rm -f core conftest.err conftest.$ac_objext \
19863     conftest$ac_exeext conftest.$ac_ext
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19865 $as_echo "$gtk_ok" >&6; }
19866 if test "$gtk_ok" = "yes"; then
19867
19868 $as_echo "#define HAVE__NL_MEASUREMENT_MEASUREMENT 1" >>confdefs.h
19869
19870 fi
19871
19872 # _NL_PAPER_HEIGHT is an enum and not a define
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_PAPER_HEIGHT" >&5
19874 $as_echo_n "checking for _NL_PAPER_HEIGHT... " >&6; }
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h.  */
19877 #include <langinfo.h>
19878 int
19879 main ()
19880 {
19881 char c;
19882                                   c = *((unsigned char *)  nl_langinfo(_NL_PAPER_HEIGHT));
19883   ;
19884   return 0;
19885 }
19886 _ACEOF
19887 if ac_fn_c_try_link "$LINENO"; then :
19888   gtk_ok=yes
19889 else
19890   gtk_ok=no
19891 fi
19892 rm -f core conftest.err conftest.$ac_objext \
19893     conftest$ac_exeext conftest.$ac_ext
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19895 $as_echo "$gtk_ok" >&6; }
19896 if test "$gtk_ok" = "yes"; then
19897
19898 $as_echo "#define HAVE__NL_PAPER_HEIGHT 1" >>confdefs.h
19899
19900 fi
19901
19902 # _NL_PAPER_WIDTH is an enum and not a define
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_PAPER_WIDTH" >&5
19904 $as_echo_n "checking for _NL_PAPER_WIDTH... " >&6; }
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h.  */
19907 #include <langinfo.h>
19908 int
19909 main ()
19910 {
19911 char c;
19912                                   c = *((unsigned char *)  nl_langinfo(_NL_PAPER_WIDTH));
19913   ;
19914   return 0;
19915 }
19916 _ACEOF
19917 if ac_fn_c_try_link "$LINENO"; then :
19918   gtk_ok=yes
19919 else
19920   gtk_ok=no
19921 fi
19922 rm -f core conftest.err conftest.$ac_objext \
19923     conftest$ac_exeext conftest.$ac_ext
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19925 $as_echo "$gtk_ok" >&6; }
19926 if test "$gtk_ok" = "yes"; then
19927
19928 $as_echo "#define HAVE__NL_PAPER_WIDTH 1" >>confdefs.h
19929
19930 fi
19931
19932 # i18n stuff
19933 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
19934
19935    for ac_header in locale.h
19936 do :
19937   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19938 if test "x$ac_cv_header_locale_h" = xyes; then :
19939   cat >>confdefs.h <<_ACEOF
19940 #define HAVE_LOCALE_H 1
19941 _ACEOF
19942
19943 fi
19944
19945 done
19946
19947     if test $ac_cv_header_locale_h = yes; then
19948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19950 if ${am_cv_val_LC_MESSAGES+:} false; then :
19951   $as_echo_n "(cached) " >&6
19952 else
19953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h.  */
19955 #include <locale.h>
19956 int
19957 main ()
19958 {
19959 return LC_MESSAGES
19960   ;
19961   return 0;
19962 }
19963 _ACEOF
19964 if ac_fn_c_try_link "$LINENO"; then :
19965   am_cv_val_LC_MESSAGES=yes
19966 else
19967   am_cv_val_LC_MESSAGES=no
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext \
19970     conftest$ac_exeext conftest.$ac_ext
19971 fi
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19973 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19974     if test $am_cv_val_LC_MESSAGES = yes; then
19975
19976 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19977
19978     fi
19979   fi
19980      USE_NLS=yes
19981
19982
19983     gt_cv_have_gettext=no
19984
19985     CATOBJEXT=NONE
19986     XGETTEXT=:
19987     INTLLIBS=
19988
19989     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19990 if test "x$ac_cv_header_libintl_h" = xyes; then :
19991   gt_cv_func_dgettext_libintl="no"
19992       libintl_extra_libs=""
19993
19994       #
19995       # First check in libc
19996       #
19997       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19998 $as_echo_n "checking for ngettext in libc... " >&6; }
19999 if ${gt_cv_func_ngettext_libc+:} false; then :
20000   $as_echo_n "(cached) " >&6
20001 else
20002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h.  */
20004
20005 #include <libintl.h>
20006
20007 int
20008 main ()
20009 {
20010 return !ngettext ("","", 1)
20011   ;
20012   return 0;
20013 }
20014 _ACEOF
20015 if ac_fn_c_try_link "$LINENO"; then :
20016   gt_cv_func_ngettext_libc=yes
20017 else
20018   gt_cv_func_ngettext_libc=no
20019 fi
20020 rm -f core conftest.err conftest.$ac_objext \
20021     conftest$ac_exeext conftest.$ac_ext
20022
20023 fi
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
20025 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
20026
20027       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20028               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
20029 $as_echo_n "checking for dgettext in libc... " >&6; }
20030 if ${gt_cv_func_dgettext_libc+:} false; then :
20031   $as_echo_n "(cached) " >&6
20032 else
20033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h.  */
20035
20036 #include <libintl.h>
20037
20038 int
20039 main ()
20040 {
20041 return !dgettext ("","")
20042   ;
20043   return 0;
20044 }
20045 _ACEOF
20046 if ac_fn_c_try_link "$LINENO"; then :
20047   gt_cv_func_dgettext_libc=yes
20048 else
20049   gt_cv_func_dgettext_libc=no
20050 fi
20051 rm -f core conftest.err conftest.$ac_objext \
20052     conftest$ac_exeext conftest.$ac_ext
20053
20054 fi
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
20056 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
20057       fi
20058
20059       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20060         for ac_func in bind_textdomain_codeset
20061 do :
20062   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20063 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20064   cat >>confdefs.h <<_ACEOF
20065 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20066 _ACEOF
20067
20068 fi
20069 done
20070
20071       fi
20072
20073       #
20074       # If we don't have everything we want, check in libintl
20075       #
20076       if test "$gt_cv_func_dgettext_libc" != "yes" \
20077          || test "$gt_cv_func_ngettext_libc" != "yes" \
20078          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20079
20080         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
20081 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
20082 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
20083   $as_echo_n "(cached) " >&6
20084 else
20085   ac_check_lib_save_LIBS=$LIBS
20086 LIBS="-lintl  $LIBS"
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h.  */
20089
20090 /* Override any GCC internal prototype to avoid an error.
20091    Use char because int might match the return type of a GCC
20092    builtin and then its argument prototype would still apply.  */
20093 #ifdef __cplusplus
20094 extern "C"
20095 #endif
20096 char bindtextdomain ();
20097 int
20098 main ()
20099 {
20100 return bindtextdomain ();
20101   ;
20102   return 0;
20103 }
20104 _ACEOF
20105 if ac_fn_c_try_link "$LINENO"; then :
20106   ac_cv_lib_intl_bindtextdomain=yes
20107 else
20108   ac_cv_lib_intl_bindtextdomain=no
20109 fi
20110 rm -f core conftest.err conftest.$ac_objext \
20111     conftest$ac_exeext conftest.$ac_ext
20112 LIBS=$ac_check_lib_save_LIBS
20113 fi
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
20115 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
20116 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
20117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20118 $as_echo_n "checking for ngettext in -lintl... " >&6; }
20119 if ${ac_cv_lib_intl_ngettext+:} false; then :
20120   $as_echo_n "(cached) " >&6
20121 else
20122   ac_check_lib_save_LIBS=$LIBS
20123 LIBS="-lintl  $LIBS"
20124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h.  */
20126
20127 /* Override any GCC internal prototype to avoid an error.
20128    Use char because int might match the return type of a GCC
20129    builtin and then its argument prototype would still apply.  */
20130 #ifdef __cplusplus
20131 extern "C"
20132 #endif
20133 char ngettext ();
20134 int
20135 main ()
20136 {
20137 return ngettext ();
20138   ;
20139   return 0;
20140 }
20141 _ACEOF
20142 if ac_fn_c_try_link "$LINENO"; then :
20143   ac_cv_lib_intl_ngettext=yes
20144 else
20145   ac_cv_lib_intl_ngettext=no
20146 fi
20147 rm -f core conftest.err conftest.$ac_objext \
20148     conftest$ac_exeext conftest.$ac_ext
20149 LIBS=$ac_check_lib_save_LIBS
20150 fi
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20152 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20153 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
20155 $as_echo_n "checking for dgettext in -lintl... " >&6; }
20156 if ${ac_cv_lib_intl_dgettext+:} false; then :
20157   $as_echo_n "(cached) " >&6
20158 else
20159   ac_check_lib_save_LIBS=$LIBS
20160 LIBS="-lintl  $LIBS"
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h.  */
20163
20164 /* Override any GCC internal prototype to avoid an error.
20165    Use char because int might match the return type of a GCC
20166    builtin and then its argument prototype would still apply.  */
20167 #ifdef __cplusplus
20168 extern "C"
20169 #endif
20170 char dgettext ();
20171 int
20172 main ()
20173 {
20174 return dgettext ();
20175   ;
20176   return 0;
20177 }
20178 _ACEOF
20179 if ac_fn_c_try_link "$LINENO"; then :
20180   ac_cv_lib_intl_dgettext=yes
20181 else
20182   ac_cv_lib_intl_dgettext=no
20183 fi
20184 rm -f core conftest.err conftest.$ac_objext \
20185     conftest$ac_exeext conftest.$ac_ext
20186 LIBS=$ac_check_lib_save_LIBS
20187 fi
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
20189 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
20190 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
20191   gt_cv_func_dgettext_libintl=yes
20192 fi
20193
20194 fi
20195
20196 fi
20197
20198
20199         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20200           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
20201 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
20202           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20203 $as_echo "" >&6; }
20204           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20205 $as_echo_n "checking for ngettext in -lintl... " >&6; }
20206 if ${ac_cv_lib_intl_ngettext+:} false; then :
20207   $as_echo_n "(cached) " >&6
20208 else
20209   ac_check_lib_save_LIBS=$LIBS
20210 LIBS="-lintl -liconv $LIBS"
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h.  */
20213
20214 /* Override any GCC internal prototype to avoid an error.
20215    Use char because int might match the return type of a GCC
20216    builtin and then its argument prototype would still apply.  */
20217 #ifdef __cplusplus
20218 extern "C"
20219 #endif
20220 char ngettext ();
20221 int
20222 main ()
20223 {
20224 return ngettext ();
20225   ;
20226   return 0;
20227 }
20228 _ACEOF
20229 if ac_fn_c_try_link "$LINENO"; then :
20230   ac_cv_lib_intl_ngettext=yes
20231 else
20232   ac_cv_lib_intl_ngettext=no
20233 fi
20234 rm -f core conftest.err conftest.$ac_objext \
20235     conftest$ac_exeext conftest.$ac_ext
20236 LIBS=$ac_check_lib_save_LIBS
20237 fi
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20239 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20240 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
20242 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
20243 if ${ac_cv_lib_intl_dcgettext+:} false; then :
20244   $as_echo_n "(cached) " >&6
20245 else
20246   ac_check_lib_save_LIBS=$LIBS
20247 LIBS="-lintl -liconv $LIBS"
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h.  */
20250
20251 /* Override any GCC internal prototype to avoid an error.
20252    Use char because int might match the return type of a GCC
20253    builtin and then its argument prototype would still apply.  */
20254 #ifdef __cplusplus
20255 extern "C"
20256 #endif
20257 char dcgettext ();
20258 int
20259 main ()
20260 {
20261 return dcgettext ();
20262   ;
20263   return 0;
20264 }
20265 _ACEOF
20266 if ac_fn_c_try_link "$LINENO"; then :
20267   ac_cv_lib_intl_dcgettext=yes
20268 else
20269   ac_cv_lib_intl_dcgettext=no
20270 fi
20271 rm -f core conftest.err conftest.$ac_objext \
20272     conftest$ac_exeext conftest.$ac_ext
20273 LIBS=$ac_check_lib_save_LIBS
20274 fi
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
20276 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
20277 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
20278   gt_cv_func_dgettext_libintl=yes
20279                         libintl_extra_libs=-liconv
20280 else
20281   :
20282 fi
20283
20284 else
20285   :
20286 fi
20287
20288         fi
20289
20290         #
20291         # If we found libintl, then check in it for bind_textdomain_codeset();
20292         # we'll prefer libc if neither have bind_textdomain_codeset(),
20293         # and both have dgettext and ngettext
20294         #
20295         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
20296           glib_save_LIBS="$LIBS"
20297           LIBS="$LIBS -lintl $libintl_extra_libs"
20298           unset ac_cv_func_bind_textdomain_codeset
20299           for ac_func in bind_textdomain_codeset
20300 do :
20301   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20302 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20303   cat >>confdefs.h <<_ACEOF
20304 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20305 _ACEOF
20306
20307 fi
20308 done
20309
20310           LIBS="$glib_save_LIBS"
20311
20312           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
20313             gt_cv_func_dgettext_libc=no
20314           else
20315             if test "$gt_cv_func_dgettext_libc" = "yes" \
20316                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
20317               gt_cv_func_dgettext_libintl=no
20318             fi
20319           fi
20320         fi
20321       fi
20322
20323       if test "$gt_cv_func_dgettext_libc" = "yes" \
20324         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
20325         gt_cv_have_gettext=yes
20326       fi
20327
20328       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
20329         INTLLIBS="-lintl $libintl_extra_libs"
20330       fi
20331
20332       if test "$gt_cv_have_gettext" = "yes"; then
20333
20334 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
20335
20336         # Extract the first word of "msgfmt", so it can be a program name with args.
20337 set dummy msgfmt; ac_word=$2
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20339 $as_echo_n "checking for $ac_word... " >&6; }
20340 if ${ac_cv_path_MSGFMT+:} false; then :
20341   $as_echo_n "(cached) " >&6
20342 else
20343   case "$MSGFMT" in
20344   /*)
20345   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20346   ;;
20347   *)
20348   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20349   for ac_dir in $PATH; do
20350     test -z "$ac_dir" && ac_dir=.
20351     if test -f $ac_dir/$ac_word; then
20352       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
20353         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
20354         break
20355       fi
20356     fi
20357   done
20358   IFS="$ac_save_ifs"
20359   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
20360   ;;
20361 esac
20362 fi
20363 MSGFMT="$ac_cv_path_MSGFMT"
20364 if test "$MSGFMT" != "no"; then
20365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20366 $as_echo "$MSGFMT" >&6; }
20367 else
20368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20369 $as_echo "no" >&6; }
20370 fi
20371         if test "$MSGFMT" != "no"; then
20372           glib_save_LIBS="$LIBS"
20373           LIBS="$LIBS $INTLLIBS"
20374           for ac_func in dcgettext
20375 do :
20376   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
20377 if test "x$ac_cv_func_dcgettext" = xyes; then :
20378   cat >>confdefs.h <<_ACEOF
20379 #define HAVE_DCGETTEXT 1
20380 _ACEOF
20381
20382 fi
20383 done
20384
20385           MSGFMT_OPTS=
20386           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
20387 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
20388           cat >conftest.foo <<_ACEOF
20389
20390 msgid ""
20391 msgstr ""
20392 "Content-Type: text/plain; charset=UTF-8\n"
20393 "Project-Id-Version: test 1.0\n"
20394 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
20395 "Last-Translator: test <foo@bar.xx>\n"
20396 "Language-Team: C <LL@li.org>\n"
20397 "MIME-Version: 1.0\n"
20398 "Content-Transfer-Encoding: 8bit\n"
20399
20400 _ACEOF
20401 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
20402   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
20403   ac_status=$?
20404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20405   test $ac_status = 0; }; then
20406   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20407 $as_echo "yes" >&6; }
20408 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20409 $as_echo "no" >&6; }
20410 echo "$as_me: failed input was:" >&5
20411 sed 's/^/| /' conftest.foo >&5
20412 fi
20413
20414           # Extract the first word of "gmsgfmt", so it can be a program name with args.
20415 set dummy gmsgfmt; ac_word=$2
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20417 $as_echo_n "checking for $ac_word... " >&6; }
20418 if ${ac_cv_path_GMSGFMT+:} false; then :
20419   $as_echo_n "(cached) " >&6
20420 else
20421   case $GMSGFMT in
20422   [\\/]* | ?:[\\/]*)
20423   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20424   ;;
20425   *)
20426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20427 for as_dir in $PATH
20428 do
20429   IFS=$as_save_IFS
20430   test -z "$as_dir" && as_dir=.
20431     for ac_exec_ext in '' $ac_executable_extensions; do
20432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20433     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20435     break 2
20436   fi
20437 done
20438   done
20439 IFS=$as_save_IFS
20440
20441   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20442   ;;
20443 esac
20444 fi
20445 GMSGFMT=$ac_cv_path_GMSGFMT
20446 if test -n "$GMSGFMT"; then
20447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20448 $as_echo "$GMSGFMT" >&6; }
20449 else
20450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20451 $as_echo "no" >&6; }
20452 fi
20453
20454
20455           # Extract the first word of "xgettext", so it can be a program name with args.
20456 set dummy xgettext; ac_word=$2
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20458 $as_echo_n "checking for $ac_word... " >&6; }
20459 if ${ac_cv_path_XGETTEXT+:} false; then :
20460   $as_echo_n "(cached) " >&6
20461 else
20462   case "$XGETTEXT" in
20463   /*)
20464   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20465   ;;
20466   *)
20467   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20468   for ac_dir in $PATH; do
20469     test -z "$ac_dir" && ac_dir=.
20470     if test -f $ac_dir/$ac_word; then
20471       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20472         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20473         break
20474       fi
20475     fi
20476   done
20477   IFS="$ac_save_ifs"
20478   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20479   ;;
20480 esac
20481 fi
20482 XGETTEXT="$ac_cv_path_XGETTEXT"
20483 if test "$XGETTEXT" != ":"; then
20484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20485 $as_echo "$XGETTEXT" >&6; }
20486 else
20487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20488 $as_echo "no" >&6; }
20489 fi
20490
20491           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h.  */
20493
20494 int
20495 main ()
20496 {
20497 extern int _nl_msg_cat_cntr;
20498                          return _nl_msg_cat_cntr
20499   ;
20500   return 0;
20501 }
20502 _ACEOF
20503 if ac_fn_c_try_link "$LINENO"; then :
20504   CATOBJEXT=.gmo
20505              DATADIRNAME=share
20506 else
20507   case $host in
20508             *-*-solaris*)
20509                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20510 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20511   CATOBJEXT=.gmo
20512                DATADIRNAME=share
20513 else
20514   CATOBJEXT=.mo
20515                DATADIRNAME=lib
20516 fi
20517
20518             ;;
20519             *-*-openbsd*)
20520             CATOBJEXT=.mo
20521             DATADIRNAME=share
20522             ;;
20523             *)
20524             CATOBJEXT=.mo
20525             DATADIRNAME=lib
20526             ;;
20527             esac
20528 fi
20529 rm -f core conftest.err conftest.$ac_objext \
20530     conftest$ac_exeext conftest.$ac_ext
20531           LIBS="$glib_save_LIBS"
20532           INSTOBJEXT=.mo
20533         else
20534           gt_cv_have_gettext=no
20535         fi
20536       fi
20537
20538 fi
20539
20540
20541
20542     if test "$gt_cv_have_gettext" = "yes" ; then
20543
20544 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20545
20546     fi
20547
20548         if test "$XGETTEXT" != ":"; then
20549                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20550         : ;
20551       else
20552         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20553 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20554         XGETTEXT=":"
20555       fi
20556     fi
20557
20558     # We need to process the po/ directory.
20559     POSUB=po
20560
20561     ac_config_commands="$ac_config_commands default-1"
20562
20563
20564                 for lang in $ALL_LINGUAS; do
20565       GMOFILES="$GMOFILES $lang.gmo"
20566       POFILES="$POFILES $lang.po"
20567     done
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581    if test "$gt_cv_have_gettext" = "yes"; then
20582      if test "x$ALL_LINGUAS" = "x"; then
20583        LINGUAS=
20584      else
20585        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20586 $as_echo_n "checking for catalogs to be installed... " >&6; }
20587        NEW_LINGUAS=
20588        for presentlang in $ALL_LINGUAS; do
20589          useit=no
20590          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20591            desiredlanguages="$LINGUAS"
20592          else
20593            desiredlanguages="$ALL_LINGUAS"
20594          fi
20595          for desiredlang in $desiredlanguages; do
20596            # Use the presentlang catalog if desiredlang is
20597            #   a. equal to presentlang, or
20598            #   b. a variant of presentlang (because in this case,
20599            #      presentlang can be used as a fallback for messages
20600            #      which are not translated in the desiredlang catalog).
20601            case "$desiredlang" in
20602              "$presentlang"*) useit=yes;;
20603            esac
20604          done
20605          if test $useit = yes; then
20606            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20607          fi
20608        done
20609        LINGUAS=$NEW_LINGUAS
20610        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20611 $as_echo "$LINGUAS" >&6; }
20612      fi
20613
20614           if test -n "$LINGUAS"; then
20615        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20616      fi
20617    fi
20618
20619             MKINSTALLDIRS=
20620    if test -n "$ac_aux_dir"; then
20621      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20622    fi
20623    if test -z "$MKINSTALLDIRS"; then
20624      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20625    fi
20626
20627
20628          test -d po || mkdir po
20629    if test "x$srcdir" != "x."; then
20630      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20631        posrcprefix="$srcdir/"
20632      else
20633        posrcprefix="../$srcdir/"
20634      fi
20635    else
20636      posrcprefix="../"
20637    fi
20638    rm -f po/POTFILES
20639    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20640         < $srcdir/po/POTFILES.in > po/POTFILES
20641
20642 LIBS="$LIBS $INTLLIBS"
20643 ac_config_commands="$ac_config_commands po-properties"
20644
20645
20646 test -d po-properties || mkdir po-properties
20647 if test "x$srcdir" != "x."; then
20648   if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20649     popropsrcprefix="$srcdir/"
20650   else
20651     popropsrcprefix="../$srcdir/"
20652   fi
20653 else
20654   popropsrcprefix="../"
20655 fi
20656 rm -f po-properties/POTFILES
20657 sed -e "/^#/d" -e "/^\$/d" -e "s,.*,    $popropsrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20658 < $srcdir/po-properties/POTFILES.in > po-properties/POTFILES
20659
20660 glib_save_prefix="$prefix"
20661 glib_save_exec_prefix="$exec_prefix"
20662 glib_save_datarootdir="$datarootdir"
20663 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20664 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
20665 datarootdir=`eval echo "${datarootdir}"`
20666 if test "x$CATOBJEXT" = "x.mo" ; then
20667   localedir=`eval echo "${libdir}/locale"`
20668 else
20669   localedir=`eval echo "${datadir}/locale"`
20670 fi
20671 prefix="$glib_save_prefix"
20672 exec_prefix="$glib_save_exec_prefix"
20673 datarootdir="$glib_save_datarootdir"
20674
20675 cat >>confdefs.h <<_ACEOF
20676 #define GTK_LOCALEDIR "$localedir"
20677 _ACEOF
20678
20679
20680
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5
20682 $as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; }
20683
20684 gtk_save_LIBS=$LIBS
20685 LIBS="$LIBS -lm"
20686 if test "$cross_compiling" = yes; then :
20687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20688 $as_echo "none needed" >&6; }
20689 else
20690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h.  */
20692 #include <math.h>
20693                                 int main (void) { return (log(1) != log(1.)); }
20694 _ACEOF
20695 if ac_fn_c_try_run "$LINENO"; then :
20696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20697 $as_echo "none needed" >&6; }
20698 else
20699   gtk_save_CFLAGS="$CFLAGS"
20700                CFLAGS="$CFLAGS -std1"
20701                if test "$cross_compiling" = yes; then :
20702   true
20703 else
20704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h.  */
20706 #include <math.h>
20707                                                int main (void) { return (log(1) != log(1.)); }
20708 _ACEOF
20709 if ac_fn_c_try_run "$LINENO"; then :
20710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5
20711 $as_echo "-std1" >&6; }
20712 else
20713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20714 $as_echo "" >&6; }
20715                               CFLAGS="$gtk_save_CFLAGS"
20716                               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 did not work.)" >&5
20717 $as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 did not work.)" >&2;}
20718 fi
20719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20720   conftest.$ac_objext conftest.beam conftest.$ac_ext
20721 fi
20722
20723 fi
20724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20725   conftest.$ac_objext conftest.beam conftest.$ac_ext
20726 fi
20727
20728
20729 LIBS=$gtk_save_LIBS
20730
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the BeOS" >&5
20732 $as_echo_n "checking for the BeOS... " >&6; }
20733 case $host in
20734   *-*-beos*)
20735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20736 $as_echo "yes" >&6; }
20737     MATH_LIB=
20738   ;;
20739   *)
20740     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20741 $as_echo "no" >&6; }
20742   ;;
20743 esac
20744
20745
20746 #
20747 # see bug 162979
20748 #
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX" >&5
20750 $as_echo_n "checking for HP-UX... " >&6; }
20751 case $host_os in
20752   hpux9* | hpux10* | hpux11*)
20753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20754 $as_echo "yes" >&6; }
20755     CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
20756   ;;
20757   *)
20758     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20759 $as_echo "no" >&6; }
20760   ;;
20761 esac
20762
20763 #
20764 # Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
20765 #
20766
20767 # Check whether --enable-glibtest was given.
20768 if test "${enable_glibtest+set}" = set; then :
20769   enableval=$enable_glibtest;
20770 else
20771   enable_glibtest=yes
20772 fi
20773
20774
20775   pkg_config_args=glib-2.0
20776   for module in . gobject gmodule-no-export
20777   do
20778       case "$module" in
20779          gmodule)
20780              pkg_config_args="$pkg_config_args gmodule-2.0"
20781          ;;
20782          gmodule-no-export)
20783              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
20784          ;;
20785          gobject)
20786              pkg_config_args="$pkg_config_args gobject-2.0"
20787          ;;
20788          gthread)
20789              pkg_config_args="$pkg_config_args gthread-2.0"
20790          ;;
20791          gio*)
20792              pkg_config_args="$pkg_config_args $module-2.0"
20793          ;;
20794       esac
20795   done
20796
20797
20798
20799
20800
20801
20802
20803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20804         if test -n "$ac_tool_prefix"; then
20805   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20808 $as_echo_n "checking for $ac_word... " >&6; }
20809 if ${ac_cv_path_PKG_CONFIG+:} false; then :
20810   $as_echo_n "(cached) " >&6
20811 else
20812   case $PKG_CONFIG in
20813   [\\/]* | ?:[\\/]*)
20814   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20815   ;;
20816   *)
20817   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20818 for as_dir in $PATH
20819 do
20820   IFS=$as_save_IFS
20821   test -z "$as_dir" && as_dir=.
20822     for ac_exec_ext in '' $ac_executable_extensions; do
20823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20824     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20826     break 2
20827   fi
20828 done
20829   done
20830 IFS=$as_save_IFS
20831
20832   ;;
20833 esac
20834 fi
20835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20836 if test -n "$PKG_CONFIG"; then
20837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20838 $as_echo "$PKG_CONFIG" >&6; }
20839 else
20840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20841 $as_echo "no" >&6; }
20842 fi
20843
20844
20845 fi
20846 if test -z "$ac_cv_path_PKG_CONFIG"; then
20847   ac_pt_PKG_CONFIG=$PKG_CONFIG
20848   # Extract the first word of "pkg-config", so it can be a program name with args.
20849 set dummy pkg-config; ac_word=$2
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20851 $as_echo_n "checking for $ac_word... " >&6; }
20852 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
20853   $as_echo_n "(cached) " >&6
20854 else
20855   case $ac_pt_PKG_CONFIG in
20856   [\\/]* | ?:[\\/]*)
20857   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20858   ;;
20859   *)
20860   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20861 for as_dir in $PATH
20862 do
20863   IFS=$as_save_IFS
20864   test -z "$as_dir" && as_dir=.
20865     for ac_exec_ext in '' $ac_executable_extensions; do
20866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20867     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20869     break 2
20870   fi
20871 done
20872   done
20873 IFS=$as_save_IFS
20874
20875   ;;
20876 esac
20877 fi
20878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20879 if test -n "$ac_pt_PKG_CONFIG"; then
20880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20881 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20882 else
20883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20884 $as_echo "no" >&6; }
20885 fi
20886
20887   if test "x$ac_pt_PKG_CONFIG" = x; then
20888     PKG_CONFIG=""
20889   else
20890     case $cross_compiling:$ac_tool_warned in
20891 yes:)
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20894 ac_tool_warned=yes ;;
20895 esac
20896     PKG_CONFIG=$ac_pt_PKG_CONFIG
20897   fi
20898 else
20899   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20900 fi
20901
20902 fi
20903 if test -n "$PKG_CONFIG"; then
20904         _pkg_min_version=0.16
20905         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20906 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20907         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20908                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20909 $as_echo "yes" >&6; }
20910         else
20911                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20912 $as_echo "no" >&6; }
20913                 PKG_CONFIG=""
20914         fi
20915 fi
20916
20917   no_glib=""
20918
20919   if test "x$PKG_CONFIG" = x ; then
20920     no_glib=yes
20921     PKG_CONFIG=no
20922   fi
20923
20924   min_glib_version=2.31.20
20925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
20926 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
20927
20928   if test x$PKG_CONFIG != xno ; then
20929     ## don't try to run the test against uninstalled libtool libs
20930     if $PKG_CONFIG --uninstalled $pkg_config_args; then
20931           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
20932           enable_glibtest=no
20933     fi
20934
20935     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
20936           :
20937     else
20938           no_glib=yes
20939     fi
20940   fi
20941
20942   if test x"$no_glib" = x ; then
20943     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
20944     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
20945     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
20946     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
20947
20948     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
20949     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
20950     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
20951            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20952     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
20953            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20954     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
20955            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20956     if test "x$enable_glibtest" = "xyes" ; then
20957       ac_save_CFLAGS="$CFLAGS"
20958       ac_save_LIBS="$LIBS"
20959       CFLAGS="$CFLAGS $GLIB_CFLAGS"
20960       LIBS="$GLIB_LIBS $LIBS"
20961       rm -f conf.glibtest
20962       if test "$cross_compiling" = yes; then :
20963   echo $ac_n "cross compiling; assumed OK... $ac_c"
20964 else
20965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h.  */
20967
20968 #include <glib.h>
20969 #include <stdio.h>
20970 #include <stdlib.h>
20971
20972 int
20973 main ()
20974 {
20975   unsigned int major, minor, micro;
20976   char *tmp_version;
20977
20978   fclose (fopen ("conf.glibtest", "w"));
20979
20980   /* HP/UX 9 (%@#!) writes to sscanf strings */
20981   tmp_version = g_strdup("$min_glib_version");
20982   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
20983      printf("%s, bad version string\n", "$min_glib_version");
20984      exit(1);
20985    }
20986
20987   if ((glib_major_version != $glib_config_major_version) ||
20988       (glib_minor_version != $glib_config_minor_version) ||
20989       (glib_micro_version != $glib_config_micro_version))
20990     {
20991       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
20992              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
20993              glib_major_version, glib_minor_version, glib_micro_version);
20994       printf ("*** was found! If pkg-config was correct, then it is best\n");
20995       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
20996       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20997       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20998       printf("*** required on your system.\n");
20999       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21000       printf("*** to point to the correct configuration files\n");
21001     }
21002   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
21003            (glib_minor_version != GLIB_MINOR_VERSION) ||
21004            (glib_micro_version != GLIB_MICRO_VERSION))
21005     {
21006       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
21007              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
21008       printf("*** library (version %d.%d.%d)\n",
21009              glib_major_version, glib_minor_version, glib_micro_version);
21010     }
21011   else
21012     {
21013       if ((glib_major_version > major) ||
21014         ((glib_major_version == major) && (glib_minor_version > minor)) ||
21015         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
21016       {
21017         return 0;
21018        }
21019      else
21020       {
21021         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
21022                glib_major_version, glib_minor_version, glib_micro_version);
21023         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
21024                major, minor, micro);
21025         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
21026         printf("***\n");
21027         printf("*** If you have already installed a sufficiently new version, this error\n");
21028         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21029         printf("*** being found. The easiest way to fix this is to remove the old version\n");
21030         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
21031         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21032         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21033         printf("*** so that the correct libraries are found at run-time))\n");
21034       }
21035     }
21036   return 1;
21037 }
21038
21039 _ACEOF
21040 if ac_fn_c_try_run "$LINENO"; then :
21041
21042 else
21043   no_glib=yes
21044 fi
21045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21046   conftest.$ac_objext conftest.beam conftest.$ac_ext
21047 fi
21048
21049        CFLAGS="$ac_save_CFLAGS"
21050        LIBS="$ac_save_LIBS"
21051      fi
21052   fi
21053   if test "x$no_glib" = x ; then
21054      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
21055 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
21056      :
21057   else
21058      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21059 $as_echo "no" >&6; }
21060      if test "$PKG_CONFIG" = "no" ; then
21061        echo "*** A new enough version of pkg-config was not found."
21062        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
21063      else
21064        if test -f conf.glibtest ; then
21065         :
21066        else
21067           echo "*** Could not run GLIB test program, checking why..."
21068           ac_save_CFLAGS="$CFLAGS"
21069           ac_save_LIBS="$LIBS"
21070           CFLAGS="$CFLAGS $GLIB_CFLAGS"
21071           LIBS="$LIBS $GLIB_LIBS"
21072           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h.  */
21074
21075 #include <glib.h>
21076 #include <stdio.h>
21077
21078 int
21079 main ()
21080 {
21081  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
21082   ;
21083   return 0;
21084 }
21085 _ACEOF
21086 if ac_fn_c_try_link "$LINENO"; then :
21087    echo "*** The test program compiled, but did not run. This usually means"
21088           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
21089           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
21090           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21091           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
21092           echo "*** is required on your system"
21093           echo "***"
21094           echo "*** If you have an old version installed, it is best to remove it, although"
21095           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21096 else
21097    echo "*** The test program failed to compile or link. See the file config.log for the"
21098           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
21099 fi
21100 rm -f core conftest.err conftest.$ac_objext \
21101     conftest$ac_exeext conftest.$ac_ext
21102           CFLAGS="$ac_save_CFLAGS"
21103           LIBS="$ac_save_LIBS"
21104        fi
21105      fi
21106      GLIB_CFLAGS=""
21107      GLIB_LIBS=""
21108      GLIB_GENMARSHAL=""
21109      GOBJECT_QUERY=""
21110      GLIB_MKENUMS=""
21111      GLIB_COMPILE_RESOURCES=""
21112      as_fn_error $? "
21113 *** GLIB 2.31.20 or better is required. The latest version of
21114 *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/." "$LINENO" 5
21115   fi
21116
21117
21118
21119
21120
21121
21122   rm -f conf.glibtest
21123
21124
21125 gtk_save_LIBS=$LIBS
21126 LIBS="$LIBS $GLIB_LIBS"
21127 for ac_func in bind_textdomain_codeset
21128 do :
21129   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
21130 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
21131   cat >>confdefs.h <<_ACEOF
21132 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
21133 _ACEOF
21134
21135 fi
21136 done
21137
21138 LIBS=$gtk_save_LIBS
21139
21140 for ac_header in pwd.h
21141 do :
21142   ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
21143 if test "x$ac_cv_header_pwd_h" = xyes; then :
21144   cat >>confdefs.h <<_ACEOF
21145 #define HAVE_PWD_H 1
21146 _ACEOF
21147
21148 $as_echo "#define HAVE_PWD_H 1" >>confdefs.h
21149
21150 fi
21151
21152 done
21153
21154 for ac_header in sys/time.h
21155 do :
21156   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21157 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21158   cat >>confdefs.h <<_ACEOF
21159 #define HAVE_SYS_TIME_H 1
21160 _ACEOF
21161
21162 $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
21163
21164 fi
21165
21166 done
21167
21168 for ac_header in unistd.h
21169 do :
21170   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21171 if test "x$ac_cv_header_unistd_h" = xyes; then :
21172   cat >>confdefs.h <<_ACEOF
21173 #define HAVE_UNISTD_H 1
21174 _ACEOF
21175
21176 $as_echo "#define HAVE_UNISTD_H 1" >>confdefs.h
21177
21178 fi
21179
21180 done
21181
21182 for ac_header in ftw.h
21183 do :
21184   ac_fn_c_check_header_mongrel "$LINENO" "ftw.h" "ac_cv_header_ftw_h" "$ac_includes_default"
21185 if test "x$ac_cv_header_ftw_h" = xyes; then :
21186   cat >>confdefs.h <<_ACEOF
21187 #define HAVE_FTW_H 1
21188 _ACEOF
21189
21190 $as_echo "#define HAVE_FTW_H 1" >>confdefs.h
21191
21192 fi
21193
21194 done
21195
21196
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ftw extensions" >&5
21198 $as_echo_n "checking for GNU ftw extensions... " >&6; }
21199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h.  */
21201 #define _XOPEN_SOURCE 500
21202                                      #define _GNU_SOURCE
21203                                      #include <ftw.h>
21204 int
21205 main ()
21206 {
21207 int flags = FTW_ACTIONRETVAL;
21208   ;
21209   return 0;
21210 }
21211 _ACEOF
21212 if ac_fn_c_try_compile "$LINENO"; then :
21213   gtk_ok=yes
21214 else
21215   gtk_ok=no
21216 fi
21217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 if test $gtk_ok = yes; then
21219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21220 $as_echo "yes" >&6; }
21221
21222 $as_echo "#define HAVE_GNU_FTW 1" >>confdefs.h
21223
21224 else
21225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21226 $as_echo "no" >&6; }
21227 fi
21228
21229 saved_cflags="$CFLAGS"
21230 saved_ldflags="$LDFLAGS"
21231
21232
21233 # Checks for library functions.
21234
21235
21236
21237   for ac_header in $ac_header_list
21238 do :
21239   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
21241 "
21242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21243   cat >>confdefs.h <<_ACEOF
21244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21245 _ACEOF
21246
21247 fi
21248
21249 done
21250
21251
21252
21253
21254
21255
21256
21257
21258 for ac_func in getpagesize
21259 do :
21260   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
21261 if test "x$ac_cv_func_getpagesize" = xyes; then :
21262   cat >>confdefs.h <<_ACEOF
21263 #define HAVE_GETPAGESIZE 1
21264 _ACEOF
21265
21266 fi
21267 done
21268
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
21270 $as_echo_n "checking for working mmap... " >&6; }
21271 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
21272   $as_echo_n "(cached) " >&6
21273 else
21274   if test "$cross_compiling" = yes; then :
21275   ac_cv_func_mmap_fixed_mapped=no
21276 else
21277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21278 /* end confdefs.h.  */
21279 $ac_includes_default
21280 /* malloc might have been renamed as rpl_malloc. */
21281 #undef malloc
21282
21283 /* Thanks to Mike Haertel and Jim Avera for this test.
21284    Here is a matrix of mmap possibilities:
21285         mmap private not fixed
21286         mmap private fixed at somewhere currently unmapped
21287         mmap private fixed at somewhere already mapped
21288         mmap shared not fixed
21289         mmap shared fixed at somewhere currently unmapped
21290         mmap shared fixed at somewhere already mapped
21291    For private mappings, we should verify that changes cannot be read()
21292    back from the file, nor mmap's back from the file at a different
21293    address.  (There have been systems where private was not correctly
21294    implemented like the infamous i386 svr4.0, and systems where the
21295    VM page cache was not coherent with the file system buffer cache
21296    like early versions of FreeBSD and possibly contemporary NetBSD.)
21297    For shared mappings, we should conversely verify that changes get
21298    propagated back to all the places they're supposed to be.
21299
21300    Grep wants private fixed already mapped.
21301    The main things grep needs to know about mmap are:
21302    * does it exist and is it safe to write into the mmap'd area
21303    * how to use it (BSD variants)  */
21304
21305 #include <fcntl.h>
21306 #include <sys/mman.h>
21307
21308 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
21309 char *malloc ();
21310 #endif
21311
21312 /* This mess was copied from the GNU getpagesize.h.  */
21313 #ifndef HAVE_GETPAGESIZE
21314 # ifdef _SC_PAGESIZE
21315 #  define getpagesize() sysconf(_SC_PAGESIZE)
21316 # else /* no _SC_PAGESIZE */
21317 #  ifdef HAVE_SYS_PARAM_H
21318 #   include <sys/param.h>
21319 #   ifdef EXEC_PAGESIZE
21320 #    define getpagesize() EXEC_PAGESIZE
21321 #   else /* no EXEC_PAGESIZE */
21322 #    ifdef NBPG
21323 #     define getpagesize() NBPG * CLSIZE
21324 #     ifndef CLSIZE
21325 #      define CLSIZE 1
21326 #     endif /* no CLSIZE */
21327 #    else /* no NBPG */
21328 #     ifdef NBPC
21329 #      define getpagesize() NBPC
21330 #     else /* no NBPC */
21331 #      ifdef PAGESIZE
21332 #       define getpagesize() PAGESIZE
21333 #      endif /* PAGESIZE */
21334 #     endif /* no NBPC */
21335 #    endif /* no NBPG */
21336 #   endif /* no EXEC_PAGESIZE */
21337 #  else /* no HAVE_SYS_PARAM_H */
21338 #   define getpagesize() 8192   /* punt totally */
21339 #  endif /* no HAVE_SYS_PARAM_H */
21340 # endif /* no _SC_PAGESIZE */
21341
21342 #endif /* no HAVE_GETPAGESIZE */
21343
21344 int
21345 main ()
21346 {
21347   char *data, *data2, *data3;
21348   const char *cdata2;
21349   int i, pagesize;
21350   int fd, fd2;
21351
21352   pagesize = getpagesize ();
21353
21354   /* First, make a file with some known garbage in it. */
21355   data = (char *) malloc (pagesize);
21356   if (!data)
21357     return 1;
21358   for (i = 0; i < pagesize; ++i)
21359     *(data + i) = rand ();
21360   umask (0);
21361   fd = creat ("conftest.mmap", 0600);
21362   if (fd < 0)
21363     return 2;
21364   if (write (fd, data, pagesize) != pagesize)
21365     return 3;
21366   close (fd);
21367
21368   /* Next, check that the tail of a page is zero-filled.  File must have
21369      non-zero length, otherwise we risk SIGBUS for entire page.  */
21370   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
21371   if (fd2 < 0)
21372     return 4;
21373   cdata2 = "";
21374   if (write (fd2, cdata2, 1) != 1)
21375     return 5;
21376   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
21377   if (data2 == MAP_FAILED)
21378     return 6;
21379   for (i = 0; i < pagesize; ++i)
21380     if (*(data2 + i))
21381       return 7;
21382   close (fd2);
21383   if (munmap (data2, pagesize))
21384     return 8;
21385
21386   /* Next, try to mmap the file at a fixed address which already has
21387      something else allocated at it.  If we can, also make sure that
21388      we see the same garbage.  */
21389   fd = open ("conftest.mmap", O_RDWR);
21390   if (fd < 0)
21391     return 9;
21392   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21393                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
21394     return 10;
21395   for (i = 0; i < pagesize; ++i)
21396     if (*(data + i) != *(data2 + i))
21397       return 11;
21398
21399   /* Finally, make sure that changes to the mapped area do not
21400      percolate back to the file as seen by read().  (This is a bug on
21401      some variants of i386 svr4.0.)  */
21402   for (i = 0; i < pagesize; ++i)
21403     *(data2 + i) = *(data2 + i) + 1;
21404   data3 = (char *) malloc (pagesize);
21405   if (!data3)
21406     return 12;
21407   if (read (fd, data3, pagesize) != pagesize)
21408     return 13;
21409   for (i = 0; i < pagesize; ++i)
21410     if (*(data + i) != *(data3 + i))
21411       return 14;
21412   close (fd);
21413   return 0;
21414 }
21415 _ACEOF
21416 if ac_fn_c_try_run "$LINENO"; then :
21417   ac_cv_func_mmap_fixed_mapped=yes
21418 else
21419   ac_cv_func_mmap_fixed_mapped=no
21420 fi
21421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21422   conftest.$ac_objext conftest.beam conftest.$ac_ext
21423 fi
21424
21425 fi
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
21427 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
21428 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21429
21430 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
21431
21432 fi
21433 rm -f conftest.mmap conftest.txt
21434
21435
21436 for ac_func in mallinfo
21437 do :
21438   ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
21439 if test "x$ac_cv_func_mallinfo" = xyes; then :
21440   cat >>confdefs.h <<_ACEOF
21441 #define HAVE_MALLINFO 1
21442 _ACEOF
21443
21444 fi
21445 done
21446
21447 for ac_func in getresuid
21448 do :
21449   ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
21450 if test "x$ac_cv_func_getresuid" = xyes; then :
21451   cat >>confdefs.h <<_ACEOF
21452 #define HAVE_GETRESUID 1
21453 _ACEOF
21454
21455 fi
21456 done
21457
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21459 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21460 if ${ac_cv_type_uid_t+:} false; then :
21461   $as_echo_n "(cached) " >&6
21462 else
21463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h.  */
21465 #include <sys/types.h>
21466
21467 _ACEOF
21468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21469   $EGREP "uid_t" >/dev/null 2>&1; then :
21470   ac_cv_type_uid_t=yes
21471 else
21472   ac_cv_type_uid_t=no
21473 fi
21474 rm -f conftest*
21475
21476 fi
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
21478 $as_echo "$ac_cv_type_uid_t" >&6; }
21479 if test $ac_cv_type_uid_t = no; then
21480
21481 $as_echo "#define uid_t int" >>confdefs.h
21482
21483
21484 $as_echo "#define gid_t int" >>confdefs.h
21485
21486 fi
21487
21488
21489 # Check for uxtheme.h (for MS-Windows Engine)
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uxtheme.h" >&5
21491 $as_echo_n "checking for uxtheme.h... " >&6; }
21492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21493 /* end confdefs.h.  */
21494 #include <uxtheme.h>
21495 _ACEOF
21496 if ac_fn_c_try_cpp "$LINENO"; then :
21497   gtk_uxtheme_h=yes
21498 else
21499   gtk_uxtheme_h=no
21500 fi
21501 rm -f conftest.err conftest.i conftest.$ac_ext
21502 if test $gtk_uxtheme_h = yes; then
21503
21504 $as_echo "#define HAVE_UXTHEME_H 1" >>confdefs.h
21505
21506 fi
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_uxtheme_h" >&5
21508 $as_echo "$gtk_uxtheme_h" >&6; }
21509
21510 # Check for round()
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
21512 $as_echo_n "checking for round in -lm... " >&6; }
21513 if ${ac_cv_lib_m_round+:} false; then :
21514   $as_echo_n "(cached) " >&6
21515 else
21516   ac_check_lib_save_LIBS=$LIBS
21517 LIBS="-lm  $LIBS"
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h.  */
21520
21521 /* Override any GCC internal prototype to avoid an error.
21522    Use char because int might match the return type of a GCC
21523    builtin and then its argument prototype would still apply.  */
21524 #ifdef __cplusplus
21525 extern "C"
21526 #endif
21527 char round ();
21528 int
21529 main ()
21530 {
21531 return round ();
21532   ;
21533   return 0;
21534 }
21535 _ACEOF
21536 if ac_fn_c_try_link "$LINENO"; then :
21537   ac_cv_lib_m_round=yes
21538 else
21539   ac_cv_lib_m_round=no
21540 fi
21541 rm -f core conftest.err conftest.$ac_objext \
21542     conftest$ac_exeext conftest.$ac_ext
21543 LIBS=$ac_check_lib_save_LIBS
21544 fi
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
21546 $as_echo "$ac_cv_lib_m_round" >&6; }
21547 if test "x$ac_cv_lib_m_round" = xyes; then :
21548   have_round=yes
21549 else
21550   have_round=no
21551 fi
21552
21553 if test $have_round = yes; then
21554
21555 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
21556
21557 fi
21558
21559 # Check for rint()
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5
21561 $as_echo_n "checking for rint in -lm... " >&6; }
21562 if ${ac_cv_lib_m_rint+:} false; then :
21563   $as_echo_n "(cached) " >&6
21564 else
21565   ac_check_lib_save_LIBS=$LIBS
21566 LIBS="-lm  $LIBS"
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h.  */
21569
21570 /* Override any GCC internal prototype to avoid an error.
21571    Use char because int might match the return type of a GCC
21572    builtin and then its argument prototype would still apply.  */
21573 #ifdef __cplusplus
21574 extern "C"
21575 #endif
21576 char rint ();
21577 int
21578 main ()
21579 {
21580 return rint ();
21581   ;
21582   return 0;
21583 }
21584 _ACEOF
21585 if ac_fn_c_try_link "$LINENO"; then :
21586   ac_cv_lib_m_rint=yes
21587 else
21588   ac_cv_lib_m_rint=no
21589 fi
21590 rm -f core conftest.err conftest.$ac_objext \
21591     conftest$ac_exeext conftest.$ac_ext
21592 LIBS=$ac_check_lib_save_LIBS
21593 fi
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5
21595 $as_echo "$ac_cv_lib_m_rint" >&6; }
21596 if test "x$ac_cv_lib_m_rint" = xyes; then :
21597   have_rint=yes
21598 else
21599   have_rint=no
21600 fi
21601
21602 if test $have_rint = yes; then
21603
21604 $as_echo "#define HAVE_RINT 1" >>confdefs.h
21605
21606 fi
21607
21608 # Checks for gdkspawn
21609 for ac_header in crt_externs.h
21610 do :
21611   ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
21612 if test "x$ac_cv_header_crt_externs_h" = xyes; then :
21613   cat >>confdefs.h <<_ACEOF
21614 #define HAVE_CRT_EXTERNS_H 1
21615 _ACEOF
21616
21617 fi
21618
21619 done
21620
21621 for ac_func in _NSGetEnviron
21622 do :
21623   ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
21624 if test "x$ac_cv_func__NSGetEnviron" = xyes; then :
21625   cat >>confdefs.h <<_ACEOF
21626 #define HAVE__NSGETENVIRON 1
21627 _ACEOF
21628
21629 fi
21630 done
21631
21632
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build dynamic modules" >&5
21634 $as_echo_n "checking whether to build dynamic modules... " >&6; }
21635
21636 # Check whether --enable-modules was given.
21637 if test "${enable_modules+set}" = set; then :
21638   enableval=$enable_modules;
21639 fi
21640
21641
21642 dynworks=false
21643 build_dynamic_modules=no
21644 deps=
21645 if test x$enable_modules = xno; then
21646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21647 $as_echo "no" >&6; }
21648 else
21649     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21650 $as_echo "yes" >&6; }
21651     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dynamic modules work" >&5
21652 $as_echo_n "checking whether dynamic modules work... " >&6; }
21653     ## for loop is to strip newline
21654     tmp=`$PKG_CONFIG --variable=gmodule_supported gmodule-no-export-2.0`
21655     for I in $tmp; do
21656         dynworks=$I
21657     done
21658
21659             if $dynworks; then
21660         module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
21661         module_deplibs_check=`$module_libtool_config | \
21662             grep '^[a-z_]*check[a-z_]*_method=['\''"]' | \
21663             sed 's/.*['\''"]\(.*\)['\''"]$/\1/'`
21664         if test "x$module_deplibs_check" = "xnone" || \
21665            test "x$module_deplibs_check" = "xunknown" || \
21666            test "x$module_deplibs_check" = "x"; then
21667             dynworks=false
21668         fi
21669     fi
21670
21671     if $dynworks; then
21672         build_dynamic_modules=yes
21673
21674 $as_echo "#define USE_GMODULE 1" >>confdefs.h
21675
21676         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21677 $as_echo "yes" >&6; }
21678     else
21679         build_dynamic_modules=no
21680         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21681 $as_echo "no" >&6; }
21682     fi
21683 fi
21684
21685  if $dynworks; then
21686   BUILD_DYNAMIC_MODULES_TRUE=
21687   BUILD_DYNAMIC_MODULES_FALSE='#'
21688 else
21689   BUILD_DYNAMIC_MODULES_TRUE='#'
21690   BUILD_DYNAMIC_MODULES_FALSE=
21691 fi
21692
21693
21694 #
21695 # Allow building some or all immodules included
21696 #
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking immodules to build" >&5
21698 $as_echo_n "checking immodules to build... " >&6; }
21699
21700
21701 # Check whether --with-included_immodules was given.
21702 if test "${with_included_immodules+set}" = set; then :
21703   withval=$with_included_immodules;
21704 fi
21705
21706
21707 if $dynworks; then
21708    :
21709 else
21710    ## if the option was specified, leave it; otherwise disable included immodules
21711    if test x$with_included_immodules = xno; then
21712            with_included_immodules=yes
21713    fi
21714 fi
21715
21716 all_immodules="am-et,cedilla,cyrillic-translit,inuktitut,ipa,multipress,thai,ti-er,ti-et,viqr$backend_immodules"
21717
21718 included_immodules=""
21719 # If the switch specified without listing any specific ones, include all
21720 if test "x$with_included_immodules" = xyes ; then
21721   included_immodules="$all_immodules"
21722 else
21723   included_immodules="$with_included_immodules"
21724 fi
21725
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_immodules" >&5
21727 $as_echo "$included_immodules" >&6; }
21728  if test "x$included_immodules" != x; then
21729   HAVE_INCLUDED_IMMMODULES_TRUE=
21730   HAVE_INCLUDED_IMMMODULES_FALSE='#'
21731 else
21732   HAVE_INCLUDED_IMMMODULES_TRUE='#'
21733   HAVE_INCLUDED_IMMMODULES_FALSE=
21734 fi
21735
21736
21737 INCLUDED_IMMODULE_OBJ=
21738 INCLUDED_IMMODULE_DEFINE=
21739
21740 IFS="${IFS=     }"; gtk_save_ifs="$IFS"; IFS=","
21741 for immodule in $included_immodules; do
21742  immodule_underscores=`echo $immodule | sed -e 's/-/_/g'`
21743  if echo "$all_immodules" | egrep "(^|,)$immodule(\$|,)" > /dev/null; then
21744    :
21745  else
21746    as_fn_error $? "the specified input method $immodule does not exist" "$LINENO" 5
21747  fi
21748
21749  INCLUDED_IMMODULE_OBJ="$INCLUDED_IMMODULE_OBJ ../modules/input/libstatic-im-$immodule.la"
21750  INCLUDED_IMMODULE_DEFINE="$INCLUDED_IMMODULE_DEFINE -DINCLUDE_IM_$immodule_underscores"
21751  eval INCLUDE_$immodule_underscores=yes
21752 done
21753 IFS="$gtk_save_ifs"
21754
21755
21756
21757  if test x"$INCLUDE_am_et" = xyes; then
21758   INCLUDE_IM_AM_ET_TRUE=
21759   INCLUDE_IM_AM_ET_FALSE='#'
21760 else
21761   INCLUDE_IM_AM_ET_TRUE='#'
21762   INCLUDE_IM_AM_ET_FALSE=
21763 fi
21764
21765  if test x"$INCLUDE_cedilla" = xyes; then
21766   INCLUDE_IM_CEDILLA_TRUE=
21767   INCLUDE_IM_CEDILLA_FALSE='#'
21768 else
21769   INCLUDE_IM_CEDILLA_TRUE='#'
21770   INCLUDE_IM_CEDILLA_FALSE=
21771 fi
21772
21773  if test x"$INCLUDE_cyrillic_translit" = xyes; then
21774   INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE=
21775   INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE='#'
21776 else
21777   INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE='#'
21778   INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE=
21779 fi
21780
21781  if test x"$INCLUDE_ime" = xyes; then
21782   INCLUDE_IM_IME_TRUE=
21783   INCLUDE_IM_IME_FALSE='#'
21784 else
21785   INCLUDE_IM_IME_TRUE='#'
21786   INCLUDE_IM_IME_FALSE=
21787 fi
21788
21789  if test x"$INCLUDE_inuktitut" = xyes; then
21790   INCLUDE_IM_INUKTITUT_TRUE=
21791   INCLUDE_IM_INUKTITUT_FALSE='#'
21792 else
21793   INCLUDE_IM_INUKTITUT_TRUE='#'
21794   INCLUDE_IM_INUKTITUT_FALSE=
21795 fi
21796
21797  if test x"$INCLUDE_ipa" = xyes; then
21798   INCLUDE_IM_IPA_TRUE=
21799   INCLUDE_IM_IPA_FALSE='#'
21800 else
21801   INCLUDE_IM_IPA_TRUE='#'
21802   INCLUDE_IM_IPA_FALSE=
21803 fi
21804
21805  if test x"$INCLUDE_multipress" = xyes; then
21806   INCLUDE_IM_MULTIPRESS_TRUE=
21807   INCLUDE_IM_MULTIPRESS_FALSE='#'
21808 else
21809   INCLUDE_IM_MULTIPRESS_TRUE='#'
21810   INCLUDE_IM_MULTIPRESS_FALSE=
21811 fi
21812
21813  if test x"$INCLUDE_thai" = xyes; then
21814   INCLUDE_IM_THAI_TRUE=
21815   INCLUDE_IM_THAI_FALSE='#'
21816 else
21817   INCLUDE_IM_THAI_TRUE='#'
21818   INCLUDE_IM_THAI_FALSE=
21819 fi
21820
21821  if test x"$INCLUDE_ti_er" = xyes; then
21822   INCLUDE_IM_TI_ER_TRUE=
21823   INCLUDE_IM_TI_ER_FALSE='#'
21824 else
21825   INCLUDE_IM_TI_ER_TRUE='#'
21826   INCLUDE_IM_TI_ER_FALSE=
21827 fi
21828
21829  if test x"$INCLUDE_ti_et" = xyes; then
21830   INCLUDE_IM_TI_ET_TRUE=
21831   INCLUDE_IM_TI_ET_FALSE='#'
21832 else
21833   INCLUDE_IM_TI_ET_TRUE='#'
21834   INCLUDE_IM_TI_ET_FALSE=
21835 fi
21836
21837  if test x"$INCLUDE_viqr" = xyes; then
21838   INCLUDE_IM_VIQR_TRUE=
21839   INCLUDE_IM_VIQR_FALSE='#'
21840 else
21841   INCLUDE_IM_VIQR_TRUE='#'
21842   INCLUDE_IM_VIQR_FALSE=
21843 fi
21844
21845  if test x"$INCLUDE_xim" = xyes; then
21846   INCLUDE_IM_XIM_TRUE=
21847   INCLUDE_IM_XIM_FALSE='#'
21848 else
21849   INCLUDE_IM_XIM_TRUE='#'
21850   INCLUDE_IM_XIM_FALSE=
21851 fi
21852
21853
21854 # Checks to see whether we should include mediaLib
21855 # support.
21856 #
21857 ac_fn_c_check_header_mongrel "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default"
21858 if test "x$ac_cv_header_sys_systeminfo_h" = xyes; then :
21859
21860 $as_echo "#define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h
21861
21862 fi
21863
21864
21865 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21866 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21867
21868 $as_echo "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
21869
21870 fi
21871
21872
21873
21874
21875  if test $cross_compiling = yes; then
21876   CROSS_COMPILING_TRUE=
21877   CROSS_COMPILING_FALSE='#'
21878 else
21879   CROSS_COMPILING_TRUE='#'
21880   CROSS_COMPILING_FALSE=
21881 fi
21882
21883
21884 if test "x$cross_compiling" = xyes || test "x$enable_gtk2_dependency" = xyes; then
21885   # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
21886 set dummy gtk-update-icon-cache; ac_word=$2
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21888 $as_echo_n "checking for $ac_word... " >&6; }
21889 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
21890   $as_echo_n "(cached) " >&6
21891 else
21892   case $GTK_UPDATE_ICON_CACHE in
21893   [\\/]* | ?:[\\/]*)
21894   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
21895   ;;
21896   *)
21897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21898 for as_dir in $PATH
21899 do
21900   IFS=$as_save_IFS
21901   test -z "$as_dir" && as_dir=.
21902     for ac_exec_ext in '' $ac_executable_extensions; do
21903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21904     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
21905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21906     break 2
21907   fi
21908 done
21909   done
21910 IFS=$as_save_IFS
21911
21912   test -z "$ac_cv_path_GTK_UPDATE_ICON_CACHE" && ac_cv_path_GTK_UPDATE_ICON_CACHE="no"
21913   ;;
21914 esac
21915 fi
21916 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
21917 if test -n "$GTK_UPDATE_ICON_CACHE"; then
21918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
21919 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
21920 else
21921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21922 $as_echo "no" >&6; }
21923 fi
21924
21925
21926   if test x$GTK_UPDATE_ICON_CACHE = xno; then
21927     REBUILD_PNGS=#
21928   fi
21929 fi
21930
21931  if test "x$cross_compiling" = xyes || test "x$enable_gtk2_dependency" = xyes; then
21932   USE_EXTERNAL_ICON_CACHE_TRUE=
21933   USE_EXTERNAL_ICON_CACHE_FALSE='#'
21934 else
21935   USE_EXTERNAL_ICON_CACHE_TRUE='#'
21936   USE_EXTERNAL_ICON_CACHE_FALSE=
21937 fi
21938
21939
21940 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
21941 set dummy gdk-pixbuf-csource; ac_word=$2
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21943 $as_echo_n "checking for $ac_word... " >&6; }
21944 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
21945   $as_echo_n "(cached) " >&6
21946 else
21947   case $GDK_PIXBUF_CSOURCE in
21948   [\\/]* | ?:[\\/]*)
21949   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
21950   ;;
21951   *)
21952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21953 for as_dir in $PATH
21954 do
21955   IFS=$as_save_IFS
21956   test -z "$as_dir" && as_dir=.
21957     for ac_exec_ext in '' $ac_executable_extensions; do
21958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21959     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
21960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21961     break 2
21962   fi
21963 done
21964   done
21965 IFS=$as_save_IFS
21966
21967   test -z "$ac_cv_path_GDK_PIXBUF_CSOURCE" && ac_cv_path_GDK_PIXBUF_CSOURCE="no"
21968   ;;
21969 esac
21970 fi
21971 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
21972 if test -n "$GDK_PIXBUF_CSOURCE"; then
21973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
21974 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
21975 else
21976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21977 $as_echo "no" >&6; }
21978 fi
21979
21980
21981
21982 if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
21983    test "x$REBUILD_PNGS" = "x#" ; then
21984      as_fn_error $? "
21985 *** gtkbuiltincache.h is not in the tree, and cannot be built
21986 *** because you don't have libpng, or (when cross-compiling) you
21987 *** don't have a prebuilt gtk-update-icon-cache on the build system." "$LINENO" 5
21988 fi
21989
21990 ########################################
21991 # Windowing system checks
21992 ########################################
21993
21994 # GTK+ uses some X calls, so needs to link against X directly
21995 GTK_DEP_PACKAGES_FOR_X=
21996 GTK_DEP_LIBS_FOR_X=
21997 X_EXTENSIONS=
21998
21999 if test "x$enable_x11_backend" = xyes; then
22000   X_PACKAGES=fontconfig
22001
22002   #
22003   # We use fontconfig very peripherally when decoding the default
22004   # settings.
22005   #
22006   if $PKG_CONFIG --exists fontconfig; then : ; else
22007     as_fn_error $? "
22008 *** fontconfig (http://www.fontconfig.org) is required by the X11 backend." "$LINENO" 5
22009   fi
22010
22011   #
22012   # Check for basic X packages; we use pkg-config if available
22013   #
22014   if $PKG_CONFIG --exists x11 xext; then
22015     have_base_x_pc=true
22016     X_PACKAGES="$X_PACKAGES x11 xext"
22017     x_libs="`$PKG_CONFIG --libs x11 xext`"
22018     X_CFLAGS="`$PKG_CONFIG --cflags x11 xext`"
22019
22020     # Strip out any .la files that pkg-config might give us (this happens
22021     # with -uninstalled.pc files)
22022     x_libs_for_checks=
22023     for I in $x_libs ; do
22024       case $I in
22025         *.la) ;;
22026         *) x_libs_for_checks="$x_libs_for_checks $I" ;;
22027       esac
22028     done
22029
22030     GTK_PACKAGES_FOR_X="x11"
22031   else
22032     have_base_x_pc=false
22033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22034 $as_echo_n "checking for X... " >&6; }
22035
22036
22037 # Check whether --with-x was given.
22038 if test "${with_x+set}" = set; then :
22039   withval=$with_x;
22040 fi
22041
22042 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22043 if test "x$with_x" = xno; then
22044   # The user explicitly disabled X.
22045   have_x=disabled
22046 else
22047   case $x_includes,$x_libraries in #(
22048     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22049     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22050   $as_echo_n "(cached) " >&6
22051 else
22052   # One or both of the vars are not set, and there is no cached value.
22053 ac_x_includes=no ac_x_libraries=no
22054 rm -f -r conftest.dir
22055 if mkdir conftest.dir; then
22056   cd conftest.dir
22057   cat >Imakefile <<'_ACEOF'
22058 incroot:
22059         @echo incroot='${INCROOT}'
22060 usrlibdir:
22061         @echo usrlibdir='${USRLIBDIR}'
22062 libdir:
22063         @echo libdir='${LIBDIR}'
22064 _ACEOF
22065   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22066     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22067     for ac_var in incroot usrlibdir libdir; do
22068       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22069     done
22070     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22071     for ac_extension in a so sl dylib la dll; do
22072       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22073          test -f "$ac_im_libdir/libX11.$ac_extension"; then
22074         ac_im_usrlibdir=$ac_im_libdir; break
22075       fi
22076     done
22077     # Screen out bogus values from the imake configuration.  They are
22078     # bogus both because they are the default anyway, and because
22079     # using them would break gcc on systems where it needs fixed includes.
22080     case $ac_im_incroot in
22081         /usr/include) ac_x_includes= ;;
22082         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22083     esac
22084     case $ac_im_usrlibdir in
22085         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22086         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22087     esac
22088   fi
22089   cd ..
22090   rm -f -r conftest.dir
22091 fi
22092
22093 # Standard set of common directories for X headers.
22094 # Check X11 before X11Rn because it is often a symlink to the current release.
22095 ac_x_header_dirs='
22096 /usr/X11/include
22097 /usr/X11R7/include
22098 /usr/X11R6/include
22099 /usr/X11R5/include
22100 /usr/X11R4/include
22101
22102 /usr/include/X11
22103 /usr/include/X11R7
22104 /usr/include/X11R6
22105 /usr/include/X11R5
22106 /usr/include/X11R4
22107
22108 /usr/local/X11/include
22109 /usr/local/X11R7/include
22110 /usr/local/X11R6/include
22111 /usr/local/X11R5/include
22112 /usr/local/X11R4/include
22113
22114 /usr/local/include/X11
22115 /usr/local/include/X11R7
22116 /usr/local/include/X11R6
22117 /usr/local/include/X11R5
22118 /usr/local/include/X11R4
22119
22120 /usr/X386/include
22121 /usr/x386/include
22122 /usr/XFree86/include/X11
22123
22124 /usr/include
22125 /usr/local/include
22126 /usr/unsupported/include
22127 /usr/athena/include
22128 /usr/local/x11r5/include
22129 /usr/lpp/Xamples/include
22130
22131 /usr/openwin/include
22132 /usr/openwin/share/include'
22133
22134 if test "$ac_x_includes" = no; then
22135   # Guess where to find include files, by looking for Xlib.h.
22136   # First, try using that file with no special directory specified.
22137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h.  */
22139 #include <X11/Xlib.h>
22140 _ACEOF
22141 if ac_fn_c_try_cpp "$LINENO"; then :
22142   # We can compile using X headers with no special include directory.
22143 ac_x_includes=
22144 else
22145   for ac_dir in $ac_x_header_dirs; do
22146   if test -r "$ac_dir/X11/Xlib.h"; then
22147     ac_x_includes=$ac_dir
22148     break
22149   fi
22150 done
22151 fi
22152 rm -f conftest.err conftest.i conftest.$ac_ext
22153 fi # $ac_x_includes = no
22154
22155 if test "$ac_x_libraries" = no; then
22156   # Check for the libraries.
22157   # See if we find them without any special options.
22158   # Don't add to $LIBS permanently.
22159   ac_save_LIBS=$LIBS
22160   LIBS="-lX11 $LIBS"
22161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h.  */
22163 #include <X11/Xlib.h>
22164 int
22165 main ()
22166 {
22167 XrmInitialize ()
22168   ;
22169   return 0;
22170 }
22171 _ACEOF
22172 if ac_fn_c_try_link "$LINENO"; then :
22173   LIBS=$ac_save_LIBS
22174 # We can link X programs with no special library path.
22175 ac_x_libraries=
22176 else
22177   LIBS=$ac_save_LIBS
22178 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22179 do
22180   # Don't even attempt the hair of trying to link an X program!
22181   for ac_extension in a so sl dylib la dll; do
22182     if test -r "$ac_dir/libX11.$ac_extension"; then
22183       ac_x_libraries=$ac_dir
22184       break 2
22185     fi
22186   done
22187 done
22188 fi
22189 rm -f core conftest.err conftest.$ac_objext \
22190     conftest$ac_exeext conftest.$ac_ext
22191 fi # $ac_x_libraries = no
22192
22193 case $ac_x_includes,$ac_x_libraries in #(
22194   no,* | *,no | *\'*)
22195     # Didn't find X, or a directory has "'" in its name.
22196     ac_cv_have_x="have_x=no";; #(
22197   *)
22198     # Record where we found X for the cache.
22199     ac_cv_have_x="have_x=yes\
22200         ac_x_includes='$ac_x_includes'\
22201         ac_x_libraries='$ac_x_libraries'"
22202 esac
22203 fi
22204 ;; #(
22205     *) have_x=yes;;
22206   esac
22207   eval "$ac_cv_have_x"
22208 fi # $with_x != no
22209
22210 if test "$have_x" != yes; then
22211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22212 $as_echo "$have_x" >&6; }
22213   no_x=yes
22214 else
22215   # If each of the values was on the command line, it overrides each guess.
22216   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22217   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22218   # Update the cache value to reflect the command line values.
22219   ac_cv_have_x="have_x=yes\
22220         ac_x_includes='$x_includes'\
22221         ac_x_libraries='$x_libraries'"
22222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22223 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22224 fi
22225
22226 if test "$no_x" = yes; then
22227   # Not all programs may use this symbol, but it does not hurt to define it.
22228
22229 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22230
22231   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22232 else
22233   if test -n "$x_includes"; then
22234     X_CFLAGS="$X_CFLAGS -I$x_includes"
22235   fi
22236
22237   # It would also be nice to do this for all -L options, not just this one.
22238   if test -n "$x_libraries"; then
22239     X_LIBS="$X_LIBS -L$x_libraries"
22240     # For Solaris; some versions of Sun CC require a space after -R and
22241     # others require no space.  Words are not sufficient . . . .
22242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22243 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22244     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22245     ac_xsave_c_werror_flag=$ac_c_werror_flag
22246     ac_c_werror_flag=yes
22247     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h.  */
22249
22250 int
22251 main ()
22252 {
22253
22254   ;
22255   return 0;
22256 }
22257 _ACEOF
22258 if ac_fn_c_try_link "$LINENO"; then :
22259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22260 $as_echo "no" >&6; }
22261        X_LIBS="$X_LIBS -R$x_libraries"
22262 else
22263   LIBS="$ac_xsave_LIBS -R $x_libraries"
22264        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h.  */
22266
22267 int
22268 main ()
22269 {
22270
22271   ;
22272   return 0;
22273 }
22274 _ACEOF
22275 if ac_fn_c_try_link "$LINENO"; then :
22276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22277 $as_echo "yes" >&6; }
22278           X_LIBS="$X_LIBS -R $x_libraries"
22279 else
22280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22281 $as_echo "neither works" >&6; }
22282 fi
22283 rm -f core conftest.err conftest.$ac_objext \
22284     conftest$ac_exeext conftest.$ac_ext
22285 fi
22286 rm -f core conftest.err conftest.$ac_objext \
22287     conftest$ac_exeext conftest.$ac_ext
22288     ac_c_werror_flag=$ac_xsave_c_werror_flag
22289     LIBS=$ac_xsave_LIBS
22290   fi
22291
22292   # Check for system-dependent libraries X programs must link with.
22293   # Do this before checking for the system-independent R6 libraries
22294   # (-lICE), since we may need -lsocket or whatever for X linking.
22295
22296   if test "$ISC" = yes; then
22297     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22298   else
22299     # Martyn Johnson says this is needed for Ultrix, if the X
22300     # libraries were built with DECnet support.  And Karl Berry says
22301     # the Alpha needs dnet_stub (dnet does not exist).
22302     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22303     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h.  */
22305
22306 /* Override any GCC internal prototype to avoid an error.
22307    Use char because int might match the return type of a GCC
22308    builtin and then its argument prototype would still apply.  */
22309 #ifdef __cplusplus
22310 extern "C"
22311 #endif
22312 char XOpenDisplay ();
22313 int
22314 main ()
22315 {
22316 return XOpenDisplay ();
22317   ;
22318   return 0;
22319 }
22320 _ACEOF
22321 if ac_fn_c_try_link "$LINENO"; then :
22322
22323 else
22324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22325 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22326 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
22327   $as_echo_n "(cached) " >&6
22328 else
22329   ac_check_lib_save_LIBS=$LIBS
22330 LIBS="-ldnet  $LIBS"
22331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h.  */
22333
22334 /* Override any GCC internal prototype to avoid an error.
22335    Use char because int might match the return type of a GCC
22336    builtin and then its argument prototype would still apply.  */
22337 #ifdef __cplusplus
22338 extern "C"
22339 #endif
22340 char dnet_ntoa ();
22341 int
22342 main ()
22343 {
22344 return dnet_ntoa ();
22345   ;
22346   return 0;
22347 }
22348 _ACEOF
22349 if ac_fn_c_try_link "$LINENO"; then :
22350   ac_cv_lib_dnet_dnet_ntoa=yes
22351 else
22352   ac_cv_lib_dnet_dnet_ntoa=no
22353 fi
22354 rm -f core conftest.err conftest.$ac_objext \
22355     conftest$ac_exeext conftest.$ac_ext
22356 LIBS=$ac_check_lib_save_LIBS
22357 fi
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22359 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22360 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
22361   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22362 fi
22363
22364     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22365       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22366 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22367 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
22368   $as_echo_n "(cached) " >&6
22369 else
22370   ac_check_lib_save_LIBS=$LIBS
22371 LIBS="-ldnet_stub  $LIBS"
22372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h.  */
22374
22375 /* Override any GCC internal prototype to avoid an error.
22376    Use char because int might match the return type of a GCC
22377    builtin and then its argument prototype would still apply.  */
22378 #ifdef __cplusplus
22379 extern "C"
22380 #endif
22381 char dnet_ntoa ();
22382 int
22383 main ()
22384 {
22385 return dnet_ntoa ();
22386   ;
22387   return 0;
22388 }
22389 _ACEOF
22390 if ac_fn_c_try_link "$LINENO"; then :
22391   ac_cv_lib_dnet_stub_dnet_ntoa=yes
22392 else
22393   ac_cv_lib_dnet_stub_dnet_ntoa=no
22394 fi
22395 rm -f core conftest.err conftest.$ac_objext \
22396     conftest$ac_exeext conftest.$ac_ext
22397 LIBS=$ac_check_lib_save_LIBS
22398 fi
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22400 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22401 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
22402   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22403 fi
22404
22405     fi
22406 fi
22407 rm -f core conftest.err conftest.$ac_objext \
22408     conftest$ac_exeext conftest.$ac_ext
22409     LIBS="$ac_xsave_LIBS"
22410
22411     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22412     # to get the SysV transport functions.
22413     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22414     # needs -lnsl.
22415     # The nsl library prevents programs from opening the X display
22416     # on Irix 5.2, according to T.E. Dickey.
22417     # The functions gethostbyname, getservbyname, and inet_addr are
22418     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22419     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22420 if test "x$ac_cv_func_gethostbyname" = xyes; then :
22421
22422 fi
22423
22424     if test $ac_cv_func_gethostbyname = no; then
22425       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22426 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22427 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
22428   $as_echo_n "(cached) " >&6
22429 else
22430   ac_check_lib_save_LIBS=$LIBS
22431 LIBS="-lnsl  $LIBS"
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h.  */
22434
22435 /* Override any GCC internal prototype to avoid an error.
22436    Use char because int might match the return type of a GCC
22437    builtin and then its argument prototype would still apply.  */
22438 #ifdef __cplusplus
22439 extern "C"
22440 #endif
22441 char gethostbyname ();
22442 int
22443 main ()
22444 {
22445 return gethostbyname ();
22446   ;
22447   return 0;
22448 }
22449 _ACEOF
22450 if ac_fn_c_try_link "$LINENO"; then :
22451   ac_cv_lib_nsl_gethostbyname=yes
22452 else
22453   ac_cv_lib_nsl_gethostbyname=no
22454 fi
22455 rm -f core conftest.err conftest.$ac_objext \
22456     conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22458 fi
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22460 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22461 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
22462   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22463 fi
22464
22465       if test $ac_cv_lib_nsl_gethostbyname = no; then
22466         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
22467 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
22468 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
22469   $as_echo_n "(cached) " >&6
22470 else
22471   ac_check_lib_save_LIBS=$LIBS
22472 LIBS="-lbsd  $LIBS"
22473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22474 /* end confdefs.h.  */
22475
22476 /* Override any GCC internal prototype to avoid an error.
22477    Use char because int might match the return type of a GCC
22478    builtin and then its argument prototype would still apply.  */
22479 #ifdef __cplusplus
22480 extern "C"
22481 #endif
22482 char gethostbyname ();
22483 int
22484 main ()
22485 {
22486 return gethostbyname ();
22487   ;
22488   return 0;
22489 }
22490 _ACEOF
22491 if ac_fn_c_try_link "$LINENO"; then :
22492   ac_cv_lib_bsd_gethostbyname=yes
22493 else
22494   ac_cv_lib_bsd_gethostbyname=no
22495 fi
22496 rm -f core conftest.err conftest.$ac_objext \
22497     conftest$ac_exeext conftest.$ac_ext
22498 LIBS=$ac_check_lib_save_LIBS
22499 fi
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
22501 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
22502 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
22503   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22504 fi
22505
22506       fi
22507     fi
22508
22509     # lieder@skyler.mavd.honeywell.com says without -lsocket,
22510     # socket/setsockopt and other routines are undefined under SCO ODT
22511     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
22512     # on later versions), says Simon Leinen: it contains gethostby*
22513     # variants that don't use the name server (or something).  -lsocket
22514     # must be given before -lnsl if both are needed.  We assume that
22515     # if connect needs -lnsl, so does gethostbyname.
22516     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
22517 if test "x$ac_cv_func_connect" = xyes; then :
22518
22519 fi
22520
22521     if test $ac_cv_func_connect = no; then
22522       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
22523 $as_echo_n "checking for connect in -lsocket... " >&6; }
22524 if ${ac_cv_lib_socket_connect+:} false; then :
22525   $as_echo_n "(cached) " >&6
22526 else
22527   ac_check_lib_save_LIBS=$LIBS
22528 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h.  */
22531
22532 /* Override any GCC internal prototype to avoid an error.
22533    Use char because int might match the return type of a GCC
22534    builtin and then its argument prototype would still apply.  */
22535 #ifdef __cplusplus
22536 extern "C"
22537 #endif
22538 char connect ();
22539 int
22540 main ()
22541 {
22542 return connect ();
22543   ;
22544   return 0;
22545 }
22546 _ACEOF
22547 if ac_fn_c_try_link "$LINENO"; then :
22548   ac_cv_lib_socket_connect=yes
22549 else
22550   ac_cv_lib_socket_connect=no
22551 fi
22552 rm -f core conftest.err conftest.$ac_objext \
22553     conftest$ac_exeext conftest.$ac_ext
22554 LIBS=$ac_check_lib_save_LIBS
22555 fi
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
22557 $as_echo "$ac_cv_lib_socket_connect" >&6; }
22558 if test "x$ac_cv_lib_socket_connect" = xyes; then :
22559   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22560 fi
22561
22562     fi
22563
22564     # Guillermo Gomez says -lposix is necessary on A/UX.
22565     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
22566 if test "x$ac_cv_func_remove" = xyes; then :
22567
22568 fi
22569
22570     if test $ac_cv_func_remove = no; then
22571       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
22572 $as_echo_n "checking for remove in -lposix... " >&6; }
22573 if ${ac_cv_lib_posix_remove+:} false; then :
22574   $as_echo_n "(cached) " >&6
22575 else
22576   ac_check_lib_save_LIBS=$LIBS
22577 LIBS="-lposix  $LIBS"
22578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22579 /* end confdefs.h.  */
22580
22581 /* Override any GCC internal prototype to avoid an error.
22582    Use char because int might match the return type of a GCC
22583    builtin and then its argument prototype would still apply.  */
22584 #ifdef __cplusplus
22585 extern "C"
22586 #endif
22587 char remove ();
22588 int
22589 main ()
22590 {
22591 return remove ();
22592   ;
22593   return 0;
22594 }
22595 _ACEOF
22596 if ac_fn_c_try_link "$LINENO"; then :
22597   ac_cv_lib_posix_remove=yes
22598 else
22599   ac_cv_lib_posix_remove=no
22600 fi
22601 rm -f core conftest.err conftest.$ac_objext \
22602     conftest$ac_exeext conftest.$ac_ext
22603 LIBS=$ac_check_lib_save_LIBS
22604 fi
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
22606 $as_echo "$ac_cv_lib_posix_remove" >&6; }
22607 if test "x$ac_cv_lib_posix_remove" = xyes; then :
22608   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22609 fi
22610
22611     fi
22612
22613     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22614     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
22615 if test "x$ac_cv_func_shmat" = xyes; then :
22616
22617 fi
22618
22619     if test $ac_cv_func_shmat = no; then
22620       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
22621 $as_echo_n "checking for shmat in -lipc... " >&6; }
22622 if ${ac_cv_lib_ipc_shmat+:} false; then :
22623   $as_echo_n "(cached) " >&6
22624 else
22625   ac_check_lib_save_LIBS=$LIBS
22626 LIBS="-lipc  $LIBS"
22627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22628 /* end confdefs.h.  */
22629
22630 /* Override any GCC internal prototype to avoid an error.
22631    Use char because int might match the return type of a GCC
22632    builtin and then its argument prototype would still apply.  */
22633 #ifdef __cplusplus
22634 extern "C"
22635 #endif
22636 char shmat ();
22637 int
22638 main ()
22639 {
22640 return shmat ();
22641   ;
22642   return 0;
22643 }
22644 _ACEOF
22645 if ac_fn_c_try_link "$LINENO"; then :
22646   ac_cv_lib_ipc_shmat=yes
22647 else
22648   ac_cv_lib_ipc_shmat=no
22649 fi
22650 rm -f core conftest.err conftest.$ac_objext \
22651     conftest$ac_exeext conftest.$ac_ext
22652 LIBS=$ac_check_lib_save_LIBS
22653 fi
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
22655 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
22656 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
22657   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22658 fi
22659
22660     fi
22661   fi
22662
22663   # Check for libraries that X11R6 Xt/Xaw programs need.
22664   ac_save_LDFLAGS=$LDFLAGS
22665   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22666   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22667   # check for ICE first), but we must link in the order -lSM -lICE or
22668   # we get undefined symbols.  So assume we have SM if we have ICE.
22669   # These have to be linked with before -lX11, unlike the other
22670   # libraries we check for below, so use a different variable.
22671   # John Interrante, Karl Berry
22672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
22673 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
22674 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
22675   $as_echo_n "(cached) " >&6
22676 else
22677   ac_check_lib_save_LIBS=$LIBS
22678 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h.  */
22681
22682 /* Override any GCC internal prototype to avoid an error.
22683    Use char because int might match the return type of a GCC
22684    builtin and then its argument prototype would still apply.  */
22685 #ifdef __cplusplus
22686 extern "C"
22687 #endif
22688 char IceConnectionNumber ();
22689 int
22690 main ()
22691 {
22692 return IceConnectionNumber ();
22693   ;
22694   return 0;
22695 }
22696 _ACEOF
22697 if ac_fn_c_try_link "$LINENO"; then :
22698   ac_cv_lib_ICE_IceConnectionNumber=yes
22699 else
22700   ac_cv_lib_ICE_IceConnectionNumber=no
22701 fi
22702 rm -f core conftest.err conftest.$ac_objext \
22703     conftest$ac_exeext conftest.$ac_ext
22704 LIBS=$ac_check_lib_save_LIBS
22705 fi
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22707 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
22708 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
22709   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22710 fi
22711
22712   LDFLAGS=$ac_save_LDFLAGS
22713
22714 fi
22715
22716     if test x$no_x = xyes ; then
22717       as_fn_error $? "X development libraries not found" "$LINENO" 5
22718     fi
22719
22720     x_cflags="$X_CFLAGS"
22721     x_libs_for_checks="$X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
22722
22723     GTK_DEP_LIBS_FOR_X="$X_LIBS -lX11 $X_EXTRA_LIBS"
22724   fi
22725
22726   # Extra libraries found during checks (-lXinerama, etc), not from pkg-config.
22727   x_extra_libs=
22728
22729   gtk_save_cppflags="$CPPFLAGS"
22730   CPPFLAGS="$CPPFLAGS $X_CFLAGS"
22731
22732   gtk_save_LIBS=$LIBS
22733   LIBS="$x_libs_for_checks $LIBS"
22734
22735   # Sanity check for the X11 and Xext libraries. While everything we need from
22736   # Xext is optional, the chances a system has *none* of these things is so
22737   # small that we just unconditionally require it.
22738   ac_fn_c_check_func "$LINENO" "XOpenDisplay" "ac_cv_func_XOpenDisplay"
22739 if test "x$ac_cv_func_XOpenDisplay" = xyes; then :
22740   :
22741 else
22742   as_fn_error $? "*** libX11 not found. Check 'config.log' for more details." "$LINENO" 5
22743 fi
22744
22745   ac_fn_c_check_func "$LINENO" "XextFindDisplay" "ac_cv_func_XextFindDisplay"
22746 if test "x$ac_cv_func_XextFindDisplay" = xyes; then :
22747   :
22748 else
22749   as_fn_error $? "*** libXext not found. Check 'config.log' for more details." "$LINENO" 5
22750 fi
22751
22752
22753   # Check for xReply
22754
22755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <X11/extensions/XIproto.h> is needed for xReply" >&5
22756 $as_echo_n "checking if <X11/extensions/XIproto.h> is needed for xReply... " >&6; }
22757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h.  */
22759 #include <X11/Xlibint.h>
22760 int
22761 main ()
22762 {
22763 xReply *rep;
22764   ;
22765   return 0;
22766 }
22767 _ACEOF
22768 if ac_fn_c_try_compile "$LINENO"; then :
22769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22770 $as_echo "no" >&6; }
22771 else
22772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22773 /* end confdefs.h.  */
22774 #include <X11/extensions/XIproto.h>
22775                                                           #include <X11/Xlibint.h>
22776 int
22777 main ()
22778 {
22779 xReply *rep;
22780   ;
22781   return 0;
22782 }
22783 _ACEOF
22784 if ac_fn_c_try_compile "$LINENO"; then :
22785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22786 $as_echo "yes" >&6; }
22787
22788 $as_echo "#define NEED_XIPROTO_H_FOR_XREPLY 1" >>confdefs.h
22789
22790 else
22791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
22792 $as_echo "unknown" >&6; }
22793                                         as_fn_error $? "xReply type unavailable. X11 is too old" "$LINENO" 5
22794 fi
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 fi
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798
22799   # Check for XKB support.
22800
22801   if test "x$enable_xkb" = "xyes"; then
22802         ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
22803 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
22804   X_EXTENSIONS="$X_EXTENSIONS XKB"
22805
22806 $as_echo "#define HAVE_XKB 1" >>confdefs.h
22807
22808 else
22809   as_fn_error $? "*** XKB extension not found. Check 'config.log' for more details." "$LINENO" 5
22810 fi
22811
22812   elif test "x$enable_xkb" = "xmaybe"; then
22813         ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
22814 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
22815   X_EXTENSIONS="$X_EXTENSIONS XKB"
22816
22817 $as_echo "#define HAVE_XKB 1" >>confdefs.h
22818
22819 fi
22820
22821   else
22822         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XKB support explicitly disabled" >&5
22823 $as_echo "$as_me: WARNING: XKB support explicitly disabled" >&2;}
22824   fi
22825
22826   # Check for shaped window extension
22827
22828   ac_fn_c_check_func "$LINENO" "XShapeCombineMask" "ac_cv_func_XShapeCombineMask"
22829 if test "x$ac_cv_func_XShapeCombineMask" = xyes; then :
22830   :
22831 else
22832   as_fn_error $? "Shape extension not found, check your development headers" "$LINENO" 5
22833 fi
22834
22835
22836   # X SYNC check
22837   gtk_save_CFLAGS="$CFLAGS"
22838   CFLAGS="$CFLAGS $x_cflags"
22839
22840   ac_fn_c_check_func "$LINENO" "XSyncQueryExtension" "ac_cv_func_XSyncQueryExtension"
22841 if test "x$ac_cv_func_XSyncQueryExtension" = xyes; then :
22842   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/sync.h" "ac_cv_header_X11_extensions_sync_h" "#include <X11/Xlib.h>
22843 "
22844 if test "x$ac_cv_header_X11_extensions_sync_h" = xyes; then :
22845
22846 $as_echo "#define HAVE_XSYNC 1" >>confdefs.h
22847
22848 else
22849   :
22850 fi
22851
22852
22853 fi
22854
22855
22856   CFLAGS="$gtk_save_CFLAGS"
22857
22858   if test "x$enable_xinerama" != "xno"; then
22859     # Check for Xinerama extension (Solaris impl or Xfree impl)
22860     have_xfree_xinerama=false
22861     have_solaris_xinerama=false
22862
22863     gtk_save_cppflags="$CPPFLAGS"
22864     CPPFLAGS="$CPPFLAGS $x_cflags"
22865
22866     # Check for XFree
22867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama packages" >&5
22868 $as_echo_n "checking for Xinerama packages... " >&6; }
22869
22870     if $PKG_CONFIG --exists xinerama ; then
22871        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22872 $as_echo "yes" >&6; }
22873        have_xfree_xinerama=true
22874        X_PACKAGES="$X_PACKAGES xinerama"
22875     else
22876        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22877 $as_echo "no" >&6; }
22878        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryExtension in -lXinerama" >&5
22879 $as_echo_n "checking for XineramaQueryExtension in -lXinerama... " >&6; }
22880 if ${ac_cv_lib_Xinerama_XineramaQueryExtension+:} false; then :
22881   $as_echo_n "(cached) " >&6
22882 else
22883   ac_check_lib_save_LIBS=$LIBS
22884 LIBS="-lXinerama  $LIBS"
22885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h.  */
22887
22888 /* Override any GCC internal prototype to avoid an error.
22889    Use char because int might match the return type of a GCC
22890    builtin and then its argument prototype would still apply.  */
22891 #ifdef __cplusplus
22892 extern "C"
22893 #endif
22894 char XineramaQueryExtension ();
22895 int
22896 main ()
22897 {
22898 return XineramaQueryExtension ();
22899   ;
22900   return 0;
22901 }
22902 _ACEOF
22903 if ac_fn_c_try_link "$LINENO"; then :
22904   ac_cv_lib_Xinerama_XineramaQueryExtension=yes
22905 else
22906   ac_cv_lib_Xinerama_XineramaQueryExtension=no
22907 fi
22908 rm -f core conftest.err conftest.$ac_objext \
22909     conftest$ac_exeext conftest.$ac_ext
22910 LIBS=$ac_check_lib_save_LIBS
22911 fi
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
22913 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; }
22914 if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = xyes; then :
22915   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#include <X11/Xlib.h>
22916 "
22917 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
22918    case "$x_extra_libs " in
22919     *-lXinerama[\ \     ]*)               ;;
22920     *)               x_extra_libs="-lXinerama $x_extra_libs" ;;
22921   esac
22922
22923            have_xfree_xinerama=true
22924 else
22925   :
22926 fi
22927
22928
22929 fi
22930
22931     fi
22932
22933     if $have_xfree_xinerama ; then
22934       X_EXTENSIONS="$X_EXTENSIONS Xinerama"
22935
22936 $as_echo "#define HAVE_XFREE_XINERAMA 1" >>confdefs.h
22937
22938
22939 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
22940
22941     else
22942       case "$host" in
22943         *-*-solaris*)
22944             # Check for solaris
22945             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama support on Solaris" >&5
22946 $as_echo_n "checking for Xinerama support on Solaris... " >&6; }
22947
22948             have_solaris_xinerama=false
22949             ac_fn_c_check_func "$LINENO" "XineramaGetInfo" "ac_cv_func_XineramaGetInfo"
22950 if test "x$ac_cv_func_XineramaGetInfo" = xyes; then :
22951   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xinerama.h" "ac_cv_header_X11_extensions_xinerama_h" "#include <X11/Xlib.h>
22952 "
22953 if test "x$ac_cv_header_X11_extensions_xinerama_h" = xyes; then :
22954   have_solaris_xinerama=true
22955 else
22956   :
22957 fi
22958
22959
22960 fi
22961
22962
22963             if $have_solaris_xinerama ; then
22964               X_EXTENSIONS="$X_EXTENSIONS Xinerama"
22965
22966 $as_echo "#define HAVE_SOLARIS_XINERAMA 1" >>confdefs.h
22967
22968
22969 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
22970
22971               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22972 $as_echo "yes" >&6; }
22973             else
22974               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22975 $as_echo "no" >&6; }
22976             fi
22977             ;;
22978         *)
22979             ;;
22980       esac
22981     fi
22982   fi
22983   if test "x$enable_xinerama" = "xyes" ; then
22984     if test "x$have_xfree_xinerama" != "xtrue" -a "x$have_solaris_xinerama" != "xtrue" ; then
22985       as_fn_error $? "*** Xinerama extension not found. Check 'config.log' for more details." "$LINENO" 5
22986     fi
22987   fi
22988
22989   # Check for XGetEventData for GenericEvents
22990   ac_fn_c_check_func "$LINENO" "XGetEventData" "ac_cv_func_XGetEventData"
22991 if test "x$ac_cv_func_XGetEventData" = xyes; then :
22992
22993 $as_echo "#define HAVE_XGENERICEVENTS 1" >>confdefs.h
22994
22995 fi
22996
22997
22998   # set up things for XInput
22999   if $PKG_CONFIG --exists "xi" ; then
23000
23001     X_PACKAGES="$X_PACKAGES xi"
23002     GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xi"
23003
23004     ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
23005 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
23006   have_xinput2=yes
23007
23008 $as_echo "#define XINPUT_2 1" >>confdefs.h
23009
23010 fi
23011
23012
23013
23014     gtk_save_LIBS="$LIBS"
23015     LIBS="$LIBS -lXi"
23016
23017     # Note that we also check that the XIScrollClassInfo struct is defined,
23018     # because at least Ubuntu Oneiric seems to have XIAllowTouchEvents(), but not the XIScrollClassInfo struct.
23019     ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" "ac_cv_func_XIAllowTouchEvents"
23020 if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
23021   ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" "ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
23022 "
23023 if test "x$ac_cv_member_XIScrollClassInfo_number" = xyes; then :
23024   have_xinput2_2=yes
23025
23026 $as_echo "#define XINPUT_2_2 1" >>confdefs.h
23027
23028 else
23029   have_xinput2_2=no
23030 fi
23031
23032 fi
23033
23034     LIBS="$gtk_save_LIBS"
23035
23036     if test "x$have_xinput2_2" = "xyes"; then
23037       X_EXTENSIONS="$X_EXTENSIONS XI2.2"
23038     else
23039       X_EXTENSIONS="$X_EXTENSIONS XI2"
23040     fi
23041   fi
23042
23043   if test "x$have_xinput2" != "xyes"; then :
23044   as_fn_error $? "*** XInput2 extension not found. Check 'config.log' for more details." "$LINENO" 5
23045 fi
23046
23047   # Check for the RANDR extension
23048   if test x"$enable_xrandr" != xno; then
23049     if $PKG_CONFIG --exists "xrandr >= 1.2.99" ; then
23050
23051 $as_echo "#define HAVE_RANDR 1" >>confdefs.h
23052
23053
23054       X_PACKAGES="$X_PACKAGES xrandr"
23055       X_EXTENSIONS="$X_EXTENSIONS XRANDR"
23056     elif test x"$enable_xrandr" = xyes; then
23057       as_fn_error $? "RANDR support requested but xrandr not found" "$LINENO" 5
23058     fi
23059   fi
23060
23061   # Checks for Xcursor library
23062
23063   if $PKG_CONFIG --exists xcursor ; then
23064
23065 $as_echo "#define HAVE_XCURSOR 1" >>confdefs.h
23066
23067
23068     X_PACKAGES="$X_PACKAGES xcursor"
23069   fi
23070
23071   # Checks for XFixes extension
23072
23073   if test x"$enable_xfixes" != xno; then
23074     if $PKG_CONFIG --exists xfixes ; then
23075
23076 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
23077
23078
23079       X_PACKAGES="$X_PACKAGES xfixes"
23080       X_EXTENSIONS="$X_EXTENSIONS XFIXES"
23081       GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xfixes"
23082     elif test x"$enable_xfixes" = xyes; then
23083       as_fn_error $? "XFixes support requested but xfixes not found" "$LINENO" 5
23084     fi
23085   fi
23086
23087   # Checks for Xcomposite extension
23088
23089   if test x"$enable_xcomposite" != xno; then
23090     if $PKG_CONFIG --exists xcomposite ; then
23091
23092 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
23093
23094
23095       X_PACKAGES="$X_PACKAGES xcomposite"
23096       X_EXTENSIONS="$X_EXTENSIONS Composite"
23097       GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xcomposite"
23098     elif test x"$enable_xcomposite" = xyes; then
23099       as_fn_error $? "Xcomposite support requested but xcomposite not found" "$LINENO" 5
23100     fi
23101   fi
23102
23103   # Checks for Xdamage extension
23104
23105   if test x"$enable_xdamage" != xno; then
23106     if $PKG_CONFIG --exists xdamage ; then
23107
23108 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
23109
23110
23111       X_PACKAGES="$X_PACKAGES xdamage"
23112       X_EXTENSIONS="$X_EXTENSIONS DAMAGE"
23113       GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xdamage"
23114     elif test x"$enable_xdamage" = xyes; then
23115       as_fn_error $? "Xdamage support requested but xdamage not found" "$LINENO" 5
23116     fi
23117   fi
23118
23119   if $have_base_x_pc ; then
23120     GDK_EXTRA_LIBS="$x_extra_libs"
23121   else
23122     GDK_EXTRA_LIBS="$X_LIBS $x_extra_libs -lXext -lX11 $GDK_EXTRA_LIBS"
23123   fi
23124
23125   CPPFLAGS="$gtk_save_cppflags"
23126   LIBS="$gtk_save_libs"
23127
23128    if true; then
23129   USE_X11_TRUE=
23130   USE_X11_FALSE='#'
23131 else
23132   USE_X11_TRUE='#'
23133   USE_X11_FALSE=
23134 fi
23135
23136
23137   # strip leading space
23138   X_EXTENSIONS=${X_EXTENSIONS#* }
23139
23140 else
23141   XPACKAGES=
23142
23143    if false; then
23144   USE_X11_TRUE=
23145   USE_X11_FALSE='#'
23146 else
23147   USE_X11_TRUE='#'
23148   USE_X11_FALSE=
23149 fi
23150
23151 fi
23152
23153 # Check for Pango flags
23154
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Pango flags" >&5
23156 $as_echo_n "checking Pango flags... " >&6; }
23157 if $PKG_CONFIG --exists $PANGO_PACKAGES ; then
23158         PANGO_CFLAGS=`$PKG_CONFIG --cflags $PANGO_PACKAGES`
23159         PANGO_LIBS=`$PKG_CONFIG --libs $PANGO_PACKAGES`
23160
23161         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_CFLAGS $PANGO_LIBS" >&5
23162 $as_echo "$PANGO_CFLAGS $PANGO_LIBS" >&6; }
23163 else
23164         as_fn_error $? "
23165 *** Pango not found. Pango built with Cairo support is required
23166 *** to build GTK+. See http://www.pango.org for Pango information.
23167 " "$LINENO" 5
23168 fi
23169
23170 CFLAGS="$CFLAGS $PANGO_CFLAGS"
23171
23172 if $PKG_CONFIG --uninstalled $PANGO_PACKAGES; then
23173         :
23174 else
23175         gtk_save_LIBS="$LIBS"
23176         LIBS="$PANGO_LIBS $LIBS"
23177         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23178 /* end confdefs.h.  */
23179
23180 /* Override any GCC internal prototype to avoid an error.
23181    Use char because int might match the return type of a GCC
23182    builtin and then its argument prototype would still apply.  */
23183 #ifdef __cplusplus
23184 extern "C"
23185 #endif
23186 char pango_context_new ();
23187 int
23188 main ()
23189 {
23190 return pango_context_new ();
23191   ;
23192   return 0;
23193 }
23194 _ACEOF
23195 if ac_fn_c_try_link "$LINENO"; then :
23196   :
23197 else
23198   as_fn_error $? "
23199 *** Can't link to Pango. Pango is required to build
23200 *** GTK+. For more information see http://www.pango.org" "$LINENO" 5
23201 fi
23202 rm -f core conftest.err conftest.$ac_objext \
23203     conftest$ac_exeext conftest.$ac_ext
23204         LIBS="$gtk_save_LIBS"
23205 fi
23206
23207 CFLAGS="$saved_cflags"
23208 LDFLAGS="$saved_ldflags"
23209
23210 GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0 cairo cairo-gobject"
23211 GDK_PRIVATE_PACKAGES="$GIO_PACKAGE $X_PACKAGES $WAYLAND_PACKAGES $cairo_backends"
23212 if test "x$enable_x11_backend" = xyes; then
23213   GDK_PRIVATE_PACKAGES="$GDK_PRIVATE_PACKAGES pangoft2"
23214 fi
23215
23216 GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES $GDK_PRIVATE_PACKAGES` $MATH_LIB"
23217 GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags $GDK_PACKAGES $GDK_PRIVATE_PACKAGES` $GDK_EXTRA_CFLAGS"
23218 #
23219 # If we aren't writing explicit dependencies, then don't put the extra libraries we need
23220 # into the pkg-config files
23221 #
23222 if test $enable_explicit_deps != yes ; then
23223   GDK_EXTRA_LIBS=
23224 fi
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234 ########################################
23235 # Check for Accessibility Toolkit flags
23236 ########################################
23237
23238 ATK_PACKAGES=atk
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ATK flags" >&5
23240 $as_echo_n "checking ATK flags... " >&6; }
23241 if $PKG_CONFIG --exists $ATK_PACKAGES ; then
23242         ATK_CFLAGS=`$PKG_CONFIG --cflags $ATK_PACKAGES`
23243         ATK_LIBS=`$PKG_CONFIG --libs $ATK_PACKAGES`
23244
23245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ATK_CFLAGS $ATK_LIBS" >&5
23246 $as_echo "$ATK_CFLAGS $ATK_LIBS" >&6; }
23247 else
23248         as_fn_error $? "
23249 *** Accessibility Toolkit not found. Accessibility Toolkit is required
23250 *** to build GTK+.
23251 " "$LINENO" 5
23252 fi
23253
23254 if $PKG_CONFIG --uninstalled $ATK_PACKAGES; then
23255         :
23256 else
23257         gtk_save_LIBS="$LIBS"
23258         LIBS="$ATK_LIBS $LIBS"
23259         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23260 /* end confdefs.h.  */
23261
23262 /* Override any GCC internal prototype to avoid an error.
23263    Use char because int might match the return type of a GCC
23264    builtin and then its argument prototype would still apply.  */
23265 #ifdef __cplusplus
23266 extern "C"
23267 #endif
23268 char atk_object_get_type ();
23269 int
23270 main ()
23271 {
23272 return atk_object_get_type ();
23273   ;
23274   return 0;
23275 }
23276 _ACEOF
23277 if ac_fn_c_try_link "$LINENO"; then :
23278   :
23279 else
23280   as_fn_error $? "
23281                 *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required
23282                 *** to build GTK+" "$LINENO" 5
23283 fi
23284 rm -f core conftest.err conftest.$ac_objext \
23285     conftest$ac_exeext conftest.$ac_ext
23286         LIBS="$gtk_save_LIBS"
23287 fi
23288
23289 GTK_PACKAGES="atk cairo cairo-gobject gdk-pixbuf-2.0 gio-2.0"
23290 GTK_PRIVATE_PACKAGES=""
23291 if test "x$enable_x11_backend" = xyes; then
23292   GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
23293 fi
23294 GTK_EXTRA_LIBS=
23295
23296 GTK_EXTRA_CFLAGS=
23297 GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $PANGO_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES $GTK_PRIVATE_PACKAGES` $GTK_EXTRA_LIBS $MATH_LIB"
23298 GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags $GDK_PACKAGES $GTK_PACKAGES $GTK_PRIVATE_PACKAGES` $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
23299
23300 if test x"$os_win32" = xyes; then
23301   GTK_EXTRA_CFLAGS="$msnative_struct"
23302 fi
23303
23304 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23305 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
23306 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
23307 CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324 GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
23325
23326
23327 ########################
23328 # Checks needed for gail
23329 ########################
23330
23331 old_LIBS="$LIBS"
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
23333 $as_echo_n "checking for library containing gethostent... " >&6; }
23334 if ${ac_cv_search_gethostent+:} false; then :
23335   $as_echo_n "(cached) " >&6
23336 else
23337   ac_func_search_save_LIBS=$LIBS
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h.  */
23340
23341 /* Override any GCC internal prototype to avoid an error.
23342    Use char because int might match the return type of a GCC
23343    builtin and then its argument prototype would still apply.  */
23344 #ifdef __cplusplus
23345 extern "C"
23346 #endif
23347 char gethostent ();
23348 int
23349 main ()
23350 {
23351 return gethostent ();
23352   ;
23353   return 0;
23354 }
23355 _ACEOF
23356 for ac_lib in '' nsl; do
23357   if test -z "$ac_lib"; then
23358     ac_res="none required"
23359   else
23360     ac_res=-l$ac_lib
23361     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23362   fi
23363   if ac_fn_c_try_link "$LINENO"; then :
23364   ac_cv_search_gethostent=$ac_res
23365 fi
23366 rm -f core conftest.err conftest.$ac_objext \
23367     conftest$ac_exeext
23368   if ${ac_cv_search_gethostent+:} false; then :
23369   break
23370 fi
23371 done
23372 if ${ac_cv_search_gethostent+:} false; then :
23373
23374 else
23375   ac_cv_search_gethostent=no
23376 fi
23377 rm conftest.$ac_ext
23378 LIBS=$ac_func_search_save_LIBS
23379 fi
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
23381 $as_echo "$ac_cv_search_gethostent" >&6; }
23382 ac_res=$ac_cv_search_gethostent
23383 if test "$ac_res" != no; then :
23384   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23385
23386 fi
23387
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
23389 $as_echo_n "checking for library containing setsockopt... " >&6; }
23390 if ${ac_cv_search_setsockopt+:} false; then :
23391   $as_echo_n "(cached) " >&6
23392 else
23393   ac_func_search_save_LIBS=$LIBS
23394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23395 /* end confdefs.h.  */
23396
23397 /* Override any GCC internal prototype to avoid an error.
23398    Use char because int might match the return type of a GCC
23399    builtin and then its argument prototype would still apply.  */
23400 #ifdef __cplusplus
23401 extern "C"
23402 #endif
23403 char setsockopt ();
23404 int
23405 main ()
23406 {
23407 return setsockopt ();
23408   ;
23409   return 0;
23410 }
23411 _ACEOF
23412 for ac_lib in '' socket; do
23413   if test -z "$ac_lib"; then
23414     ac_res="none required"
23415   else
23416     ac_res=-l$ac_lib
23417     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23418   fi
23419   if ac_fn_c_try_link "$LINENO"; then :
23420   ac_cv_search_setsockopt=$ac_res
23421 fi
23422 rm -f core conftest.err conftest.$ac_objext \
23423     conftest$ac_exeext
23424   if ${ac_cv_search_setsockopt+:} false; then :
23425   break
23426 fi
23427 done
23428 if ${ac_cv_search_setsockopt+:} false; then :
23429
23430 else
23431   ac_cv_search_setsockopt=no
23432 fi
23433 rm conftest.$ac_ext
23434 LIBS=$ac_func_search_save_LIBS
23435 fi
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
23437 $as_echo "$ac_cv_search_setsockopt" >&6; }
23438 ac_res=$ac_cv_search_setsockopt
23439 if test "$ac_res" != no; then :
23440   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23441
23442 fi
23443
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
23445 $as_echo_n "checking for library containing connect... " >&6; }
23446 if ${ac_cv_search_connect+:} false; then :
23447   $as_echo_n "(cached) " >&6
23448 else
23449   ac_func_search_save_LIBS=$LIBS
23450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h.  */
23452
23453 /* Override any GCC internal prototype to avoid an error.
23454    Use char because int might match the return type of a GCC
23455    builtin and then its argument prototype would still apply.  */
23456 #ifdef __cplusplus
23457 extern "C"
23458 #endif
23459 char connect ();
23460 int
23461 main ()
23462 {
23463 return connect ();
23464   ;
23465   return 0;
23466 }
23467 _ACEOF
23468 for ac_lib in '' inet; do
23469   if test -z "$ac_lib"; then
23470     ac_res="none required"
23471   else
23472     ac_res=-l$ac_lib
23473     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23474   fi
23475   if ac_fn_c_try_link "$LINENO"; then :
23476   ac_cv_search_connect=$ac_res
23477 fi
23478 rm -f core conftest.err conftest.$ac_objext \
23479     conftest$ac_exeext
23480   if ${ac_cv_search_connect+:} false; then :
23481   break
23482 fi
23483 done
23484 if ${ac_cv_search_connect+:} false; then :
23485
23486 else
23487   ac_cv_search_connect=no
23488 fi
23489 rm conftest.$ac_ext
23490 LIBS=$ac_func_search_save_LIBS
23491 fi
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
23493 $as_echo "$ac_cv_search_connect" >&6; }
23494 ac_res=$ac_cv_search_connect
23495 if test "$ac_res" != no; then :
23496   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23497
23498 fi
23499
23500
23501 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
23502                  #include <sys/un.h>
23503
23504 "
23505 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
23506   struct_sockaddr_un_sun_len=true
23507 else
23508   struct_sockaddr_un_suin_len=false
23509 fi
23510
23511 case $struct_sockaddr_un_sun_len in
23512         true)
23513
23514 cat >>confdefs.h <<_ACEOF
23515 #define HAVE_SOCKADDR_UN_SUN_LEN 1
23516 _ACEOF
23517
23518                 ;;
23519         *)
23520                 ;;
23521 esac
23522
23523 GAIL_INET_LIBS="$LIBS"
23524
23525
23526 LIBS="$old_LIBS"
23527
23528 ################################################################
23529 # Printing system checks
23530 ################################################################
23531
23532 PRINT_BACKENDS="file lpr"
23533
23534 # Check whether --enable-cups was given.
23535 if test "${enable_cups+set}" = set; then :
23536   enableval=$enable_cups;
23537 else
23538   enable_cups=auto
23539 fi
23540
23541
23542 if test "x$enable_cups" = "xno"; then
23543    if false; then
23544   HAVE_CUPS_TRUE=
23545   HAVE_CUPS_FALSE='#'
23546 else
23547   HAVE_CUPS_TRUE='#'
23548   HAVE_CUPS_FALSE=
23549 fi
23550
23551 else
23552   # Extract the first word of "cups-config", so it can be a program name with args.
23553 set dummy cups-config; ac_word=$2
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23555 $as_echo_n "checking for $ac_word... " >&6; }
23556 if ${ac_cv_path_CUPS_CONFIG+:} false; then :
23557   $as_echo_n "(cached) " >&6
23558 else
23559   case $CUPS_CONFIG in
23560   [\\/]* | ?:[\\/]*)
23561   ac_cv_path_CUPS_CONFIG="$CUPS_CONFIG" # Let the user override the test with a path.
23562   ;;
23563   *)
23564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23565 for as_dir in $PATH
23566 do
23567   IFS=$as_save_IFS
23568   test -z "$as_dir" && as_dir=.
23569     for ac_exec_ext in '' $ac_executable_extensions; do
23570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23571     ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23573     break 2
23574   fi
23575 done
23576   done
23577 IFS=$as_save_IFS
23578
23579   test -z "$ac_cv_path_CUPS_CONFIG" && ac_cv_path_CUPS_CONFIG="no"
23580   ;;
23581 esac
23582 fi
23583 CUPS_CONFIG=$ac_cv_path_CUPS_CONFIG
23584 if test -n "$CUPS_CONFIG"; then
23585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_CONFIG" >&5
23586 $as_echo "$CUPS_CONFIG" >&6; }
23587 else
23588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23589 $as_echo "no" >&6; }
23590 fi
23591
23592
23593   if test "x$CUPS_CONFIG" = "xno"; then
23594     if test "x$enable_cups" = "xauto"; then
23595        if false; then
23596   HAVE_CUPS_TRUE=
23597   HAVE_CUPS_FALSE='#'
23598 else
23599   HAVE_CUPS_TRUE='#'
23600   HAVE_CUPS_FALSE=
23601 fi
23602
23603     else
23604       as_fn_error $? "
23605 *** cups not found.
23606 " "$LINENO" 5
23607     fi
23608   else
23609     CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O0-9*//' | sed 's/-m^\t*//g'`
23610     CUPS_LIBS=`$CUPS_CONFIG --libs`
23611
23612     CUPS_API_VERSION=`$CUPS_CONFIG --api-version`
23613     CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
23614     CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
23615
23616     if test $CUPS_API_MAJOR -gt 1 -o \
23617             $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 2; then
23618       as_fn_error $? "CUPS >= 1.2 not found" "$LINENO" 5
23619     fi
23620
23621
23622
23623
23624
23625
23626     ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
23627 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
23628
23629 else
23630   as_fn_error $? "*** Sorry, cups-config present but cups/cups.h missing." "$LINENO" 5
23631 fi
23632
23633
23634
23635     PRINT_BACKENDS="$PRINT_BACKENDS cups"
23636      if true; then
23637   HAVE_CUPS_TRUE=
23638   HAVE_CUPS_FALSE='#'
23639 else
23640   HAVE_CUPS_TRUE='#'
23641   HAVE_CUPS_FALSE=
23642 fi
23643
23644
23645     gtk_save_cflags="$CFLAGS"
23646     CFLAGS="$CUPS_CFLAGS"
23647     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h.  */
23649 #include <cups/http.h>
23650 int
23651 main ()
23652 {
23653 http_t http; char *s = http.authstring;
23654   ;
23655   return 0;
23656 }
23657 _ACEOF
23658 if ac_fn_c_try_compile "$LINENO"; then :
23659
23660 $as_echo "#define HAVE_HTTP_AUTHSTRING /**/" >>confdefs.h
23661
23662 fi
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664     CFLAGS="$gtk_save_cflags"
23665
23666
23667
23668     gtk_save_libs="$LIBS"
23669     LIBS="$CUPS_LIBS"
23670     for ac_func in httpGetAuthString
23671 do :
23672   ac_fn_c_check_func "$LINENO" "httpGetAuthString" "ac_cv_func_httpGetAuthString"
23673 if test "x$ac_cv_func_httpGetAuthString" = xyes; then :
23674   cat >>confdefs.h <<_ACEOF
23675 #define HAVE_HTTPGETAUTHSTRING 1
23676 _ACEOF
23677
23678 fi
23679 done
23680
23681     LIBS="$gtk_save_libs"
23682   fi
23683 fi
23684
23685 # Checks to see if we should compile with PAPI backend for GTK+
23686 #
23687
23688 # Check whether --enable-papi was given.
23689 if test "${enable_papi+set}" = set; then :
23690   enableval=$enable_papi;
23691 else
23692   enable_papi=auto
23693 fi
23694
23695
23696 if test "x$enable_papi" = "xno"; then
23697    if false; then
23698   HAVE_PAPI_TRUE=
23699   HAVE_PAPI_FALSE='#'
23700 else
23701   HAVE_PAPI_TRUE='#'
23702   HAVE_PAPI_FALSE=
23703 fi
23704
23705 else
23706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpapi" >&5
23707 $as_echo_n "checking libpapi... " >&6; }
23708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for papiServiceCreate in -lpapi" >&5
23709 $as_echo_n "checking for papiServiceCreate in -lpapi... " >&6; }
23710 if ${ac_cv_lib_papi_papiServiceCreate+:} false; then :
23711   $as_echo_n "(cached) " >&6
23712 else
23713   ac_check_lib_save_LIBS=$LIBS
23714 LIBS="-lpapi  $LIBS"
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h.  */
23717
23718 /* Override any GCC internal prototype to avoid an error.
23719    Use char because int might match the return type of a GCC
23720    builtin and then its argument prototype would still apply.  */
23721 #ifdef __cplusplus
23722 extern "C"
23723 #endif
23724 char papiServiceCreate ();
23725 int
23726 main ()
23727 {
23728 return papiServiceCreate ();
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_c_try_link "$LINENO"; then :
23734   ac_cv_lib_papi_papiServiceCreate=yes
23735 else
23736   ac_cv_lib_papi_papiServiceCreate=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext \
23739     conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23741 fi
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_papiServiceCreate" >&5
23743 $as_echo "$ac_cv_lib_papi_papiServiceCreate" >&6; }
23744 if test "x$ac_cv_lib_papi_papiServiceCreate" = xyes; then :
23745   have_papi=yes
23746 else
23747   have_papi=no
23748 fi
23749
23750   if test $have_papi = yes; then
23751     PRINT_BACKENDS="$PRINT_BACKENDS papi"
23752
23753 $as_echo "#define HAVE_PAPI /**/" >>confdefs.h
23754
23755   fi
23756    if test $have_papi = yes; then
23757   HAVE_PAPI_TRUE=
23758   HAVE_PAPI_FALSE='#'
23759 else
23760   HAVE_PAPI_TRUE='#'
23761   HAVE_PAPI_FALSE=
23762 fi
23763
23764   if test "x$enable_papi" = "xyes" -a "x$have_papi" = "xno"; then
23765     as_fn_error $? "
23766 *** papi not found.
23767 " "$LINENO" 5
23768   fi
23769 fi
23770
23771  if test "x$have_papi" = "xyes" -a "x$CUPS_CONFIG" != "xno"; then
23772   HAVE_PAPI_CUPS_TRUE=
23773   HAVE_PAPI_CUPS_FALSE='#'
23774 else
23775   HAVE_PAPI_CUPS_TRUE='#'
23776   HAVE_PAPI_CUPS_FALSE=
23777 fi
23778
23779
23780 gtk_save_cppflags="$CPPFLAGS"
23781 CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS $GDK_DEP_CFLAGS"
23782
23783 ac_fn_c_check_header_mongrel "$LINENO" "cairo-pdf.h" "ac_cv_header_cairo_pdf_h" "$ac_includes_default"
23784 if test "x$ac_cv_header_cairo_pdf_h" = xyes; then :
23785
23786 else
23787   as_fn_error $? "
23788 *** Can't find cairo-pdf.h. You must build Cairo with the pdf
23789 *** backend enabled." "$LINENO" 5
23790 fi
23791
23792
23793
23794 if test "$os_win32" != "yes"; then
23795   ac_fn_c_check_header_mongrel "$LINENO" "cairo-ps.h" "ac_cv_header_cairo_ps_h" "$ac_includes_default"
23796 if test "x$ac_cv_header_cairo_ps_h" = xyes; then :
23797
23798 else
23799   as_fn_error $? "
23800 *** Can't find cairo-ps.h. You must build Cairo with the
23801 *** postscript backend enabled." "$LINENO" 5
23802 fi
23803
23804
23805
23806   ac_fn_c_check_header_mongrel "$LINENO" "cairo-svg.h" "ac_cv_header_cairo_svg_h" "$ac_includes_default"
23807 if test "x$ac_cv_header_cairo_svg_h" = xyes; then :
23808
23809 else
23810   as_fn_error $? "
23811 *** Cannot find cairo-svg.h. You must build Cairo with the
23812 *** svg backend enabled." "$LINENO" 5
23813 fi
23814
23815
23816 fi
23817
23818 CPPFLAGS="$gtk_save_cppflags"
23819
23820
23821 # Check whether --enable-test-print-backend was given.
23822 if test "${enable_test_print_backend+set}" = set; then :
23823   enableval=$enable_test_print_backend;
23824 else
23825   enable_test_print_backend=no
23826 fi
23827
23828 if test "x$enable_test_print_backend" != "xno" ; then
23829   PRINT_BACKENDS="$PRINT_BACKENDS test"
23830 fi
23831  if test "x$enable_test_print_backend" != "xno"; then
23832   TEST_PRINT_BACKEND_TRUE=
23833   TEST_PRINT_BACKEND_FALSE='#'
23834 else
23835   TEST_PRINT_BACKEND_TRUE='#'
23836   TEST_PRINT_BACKEND_FALSE=
23837 fi
23838
23839
23840 if test "$os_win32" = "yes"; then
23841   ac_fn_c_check_type "$LINENO" "IPrintDialogCallback" "ac_cv_type_IPrintDialogCallback" "#include <windows.h>
23842 "
23843 if test "x$ac_cv_type_IPrintDialogCallback" = xyes; then :
23844
23845 cat >>confdefs.h <<_ACEOF
23846 #define HAVE_IPRINTDIALOGCALLBACK 1
23847 _ACEOF
23848
23849
23850 fi
23851
23852 fi
23853
23854 ################################################################
23855 # Strip -export-dynamic from the link lines of various libraries
23856 ################################################################
23857
23858 #
23859 # pkg-config --libs gmodule includes the "export_dynamic" flag,
23860 #  but this flag is only meaningful for executables. For libraries
23861 #  the effect is undefined; what it causes on Linux is that the
23862 #  export list from -export-symbols-regex is ignored and everything
23863 #  is exported
23864 #
23865 # We are using gmodule-no-export now, but I'm leaving the stripping
23866 # code in place for now, since pango and atk still require gmodule.
23867 export SED
23868 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
23869 if test -n "$export_dynamic"; then
23870   GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
23871   GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
23872 fi
23873
23874 #############
23875 # GSettings #
23876 #############
23877
23878
23879
23880   # Check whether --enable-schemas-compile was given.
23881 if test "${enable_schemas_compile+set}" = set; then :
23882   enableval=$enable_schemas_compile; case ${enableval} in
23883                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
23884                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
23885                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
23886                  esac
23887 fi
23888
23889
23890
23891
23892
23893
23894
23895
23896 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23897         if test -n "$ac_tool_prefix"; then
23898   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23901 $as_echo_n "checking for $ac_word... " >&6; }
23902 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23903   $as_echo_n "(cached) " >&6
23904 else
23905   case $PKG_CONFIG in
23906   [\\/]* | ?:[\\/]*)
23907   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23908   ;;
23909   *)
23910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23911 for as_dir in $PATH
23912 do
23913   IFS=$as_save_IFS
23914   test -z "$as_dir" && as_dir=.
23915     for ac_exec_ext in '' $ac_executable_extensions; do
23916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23917     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23919     break 2
23920   fi
23921 done
23922   done
23923 IFS=$as_save_IFS
23924
23925   ;;
23926 esac
23927 fi
23928 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23929 if test -n "$PKG_CONFIG"; then
23930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23931 $as_echo "$PKG_CONFIG" >&6; }
23932 else
23933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23934 $as_echo "no" >&6; }
23935 fi
23936
23937
23938 fi
23939 if test -z "$ac_cv_path_PKG_CONFIG"; then
23940   ac_pt_PKG_CONFIG=$PKG_CONFIG
23941   # Extract the first word of "pkg-config", so it can be a program name with args.
23942 set dummy pkg-config; ac_word=$2
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23944 $as_echo_n "checking for $ac_word... " >&6; }
23945 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
23946   $as_echo_n "(cached) " >&6
23947 else
23948   case $ac_pt_PKG_CONFIG in
23949   [\\/]* | ?:[\\/]*)
23950   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23951   ;;
23952   *)
23953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23954 for as_dir in $PATH
23955 do
23956   IFS=$as_save_IFS
23957   test -z "$as_dir" && as_dir=.
23958     for ac_exec_ext in '' $ac_executable_extensions; do
23959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23960     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23962     break 2
23963   fi
23964 done
23965   done
23966 IFS=$as_save_IFS
23967
23968   ;;
23969 esac
23970 fi
23971 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23972 if test -n "$ac_pt_PKG_CONFIG"; then
23973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23974 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23975 else
23976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23977 $as_echo "no" >&6; }
23978 fi
23979
23980   if test "x$ac_pt_PKG_CONFIG" = x; then
23981     PKG_CONFIG=""
23982   else
23983     case $cross_compiling:$ac_tool_warned in
23984 yes:)
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23987 ac_tool_warned=yes ;;
23988 esac
23989     PKG_CONFIG=$ac_pt_PKG_CONFIG
23990   fi
23991 else
23992   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23993 fi
23994
23995 fi
23996 if test -n "$PKG_CONFIG"; then
23997         _pkg_min_version=0.16
23998         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
23999 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24000         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24001                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24002 $as_echo "yes" >&6; }
24003         else
24004                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24005 $as_echo "no" >&6; }
24006                 PKG_CONFIG=""
24007         fi
24008 fi
24009   gsettingsschemadir=${datadir}/glib-2.0/schemas
24010
24011   if test x$cross_compiling != xyes; then
24012     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
24013   else
24014     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
24015 set dummy glib-compile-schemas; ac_word=$2
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24017 $as_echo_n "checking for $ac_word... " >&6; }
24018 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
24019   $as_echo_n "(cached) " >&6
24020 else
24021   case $GLIB_COMPILE_SCHEMAS in
24022   [\\/]* | ?:[\\/]*)
24023   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
24024   ;;
24025   *)
24026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24027 for as_dir in $PATH
24028 do
24029   IFS=$as_save_IFS
24030   test -z "$as_dir" && as_dir=.
24031     for ac_exec_ext in '' $ac_executable_extensions; do
24032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24033     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
24034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24035     break 2
24036   fi
24037 done
24038   done
24039 IFS=$as_save_IFS
24040
24041   ;;
24042 esac
24043 fi
24044 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
24045 if test -n "$GLIB_COMPILE_SCHEMAS"; then
24046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
24047 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
24048 else
24049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24050 $as_echo "no" >&6; }
24051 fi
24052
24053
24054   fi
24055
24056   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
24057     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
24058   else
24059     :
24060   fi
24061
24062   GSETTINGS_RULES='
24063 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
24064
24065 mostlyclean-am: clean-gsettings-schemas
24066
24067 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
24068
24069 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
24070         $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
24071
24072 all-am: $(gsettings_SCHEMAS:.xml=.valid)
24073 uninstall-am: uninstall-gsettings-schemas
24074 install-data-am: install-gsettings-schemas
24075
24076 .SECONDARY: $(gsettings_SCHEMAS)
24077
24078 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
24079         @$(NORMAL_INSTALL)
24080         if test -n "$^"; then \
24081                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
24082                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
24083                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
24084         fi
24085
24086 uninstall-gsettings-schemas:
24087         @$(NORMAL_UNINSTALL)
24088         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
24089         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
24090         test -n "$$files" || exit 0; \
24091         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
24092         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
24093         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
24094
24095 clean-gsettings-schemas:
24096         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
24097
24098 ifdef gsettings_ENUM_NAMESPACE
24099 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
24100         $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
24101 endif
24102 '
24103
24104
24105
24106
24107
24108
24109
24110 #############
24111 # Resources #
24112 #############
24113
24114 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
24115
24116
24117 ##################################################
24118 # GObject introspection
24119 ##################################################
24120
24121
24122
24123
24124                 # Check whether --enable-introspection was given.
24125 if test "${enable_introspection+set}" = set; then :
24126   enableval=$enable_introspection;
24127 else
24128   enable_introspection=auto
24129 fi
24130
24131
24132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
24133 $as_echo_n "checking for gobject-introspection... " >&6; }
24134
24135         case $enable_introspection in #(
24136   no) :
24137             found_introspection="no (disabled, use --enable-introspection to enable)"
24138      ;; #(
24139       yes) :
24140             if test -n "$PKG_CONFIG" && \
24141     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
24142   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
24143   ac_status=$?
24144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24145   test $ac_status = 0; }; then
24146   :
24147 else
24148   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
24149 fi
24150         if test -n "$PKG_CONFIG" && \
24151     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10.1\""; } >&5
24152   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10.1") 2>&5
24153   ac_status=$?
24154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24155   test $ac_status = 0; }; then
24156   found_introspection=yes
24157 else
24158   as_fn_error $? "You need to have gobject-introspection >= 0.10.1 installed to build gtk+" "$LINENO" 5
24159 fi
24160      ;; #(
24161       auto) :
24162             if test -n "$PKG_CONFIG" && \
24163     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10.1\""; } >&5
24164   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10.1") 2>&5
24165   ac_status=$?
24166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24167   test $ac_status = 0; }; then
24168   found_introspection=yes
24169 else
24170   found_introspection=no
24171 fi
24172                 enable_introspection=$found_introspection
24173      ;; #(
24174   *) :
24175                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
24176      ;;
24177 esac
24178     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
24179 $as_echo "$found_introspection" >&6; }
24180
24181     INTROSPECTION_SCANNER=
24182     INTROSPECTION_COMPILER=
24183     INTROSPECTION_GENERATE=
24184     INTROSPECTION_GIRDIR=
24185     INTROSPECTION_TYPELIBDIR=
24186     if test "x$found_introspection" = "xyes"; then
24187        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
24188        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
24189        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
24190        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
24191        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
24192        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
24193        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
24194        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
24195     fi
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205      if test "x$found_introspection" = "xyes"; then
24206   HAVE_INTROSPECTION_TRUE=
24207   HAVE_INTROSPECTION_FALSE='#'
24208 else
24209   HAVE_INTROSPECTION_TRUE='#'
24210   HAVE_INTROSPECTION_FALSE=
24211 fi
24212
24213
24214
24215
24216 ##################################################
24217 # Packagekit module
24218 #################################################
24219
24220 # Check whether --enable-packagekit was given.
24221 if test "${enable_packagekit+set}" = set; then :
24222   enableval=$enable_packagekit; enable_packagekit="$enableval"
24223 else
24224   enable_packagekit=auto
24225 fi
24226
24227 if test "$enable_packagekit" = "auto"; then
24228   if test "$os_win32" = "yes"; then
24229     enable_packagekit=no
24230   else
24231     enable_packagekit=yes
24232   fi
24233 fi
24234
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use PackageKit" >&5
24236 $as_echo_n "checking whether to use PackageKit... " >&6; }
24237 build_packagekit=no
24238 if test "x$enable_packagekit" != "xno"; then
24239   if test "$os_win32" != "yes"; then
24240     build_packagekit=yes
24241
24242 $as_echo "#define ENABLE_PACKAGEKIT 1" >>confdefs.h
24243
24244   else
24245     as_fn_error $? "packagekit support is not available on win32" "$LINENO" 5
24246   fi
24247 fi
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_packagekit" >&5
24249 $as_echo "$build_packagekit" >&6; }
24250
24251  if test "x$build_packagekit" = "xyes"; then
24252   ENABLE_PACKAGEKIT_TRUE=
24253   ENABLE_PACKAGEKIT_FALSE='#'
24254 else
24255   ENABLE_PACKAGEKIT_TRUE='#'
24256   ENABLE_PACKAGEKIT_FALSE=
24257 fi
24258
24259
24260 ##################################################
24261 # colord module
24262 #################################################
24263
24264 # Check whether --enable-colord was given.
24265 if test "${enable_colord+set}" = set; then :
24266   enableval=$enable_colord; enable_colord="$enableval"
24267 else
24268   enable_colord=auto
24269 fi
24270
24271
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use colord" >&5
24273 $as_echo_n "checking whether to use colord... " >&6; }
24274 if test "$enable_colord" = "auto"; then
24275   if test "$os_win32" = "yes"; then
24276     enable_colord=no
24277   fi
24278 fi
24279 if test "$enable_colord" != "no"; then
24280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24281 $as_echo "yes" >&6; }
24282 else
24283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24285 fi
24286
24287 have_colord=no
24288 if test "$enable_colord" != "no"; then
24289         if test "$os_win32" != "yes"; then
24290
24291 pkg_failed=no
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COLORD" >&5
24293 $as_echo_n "checking for COLORD... " >&6; }
24294
24295 if test -n "$COLORD_CFLAGS"; then
24296     pkg_cv_COLORD_CFLAGS="$COLORD_CFLAGS"
24297  elif test -n "$PKG_CONFIG"; then
24298     if test -n "$PKG_CONFIG" && \
24299     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"colord >= 0.1.9\""; } >&5
24300   ($PKG_CONFIG --exists --print-errors "colord >= 0.1.9") 2>&5
24301   ac_status=$?
24302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24303   test $ac_status = 0; }; then
24304   pkg_cv_COLORD_CFLAGS=`$PKG_CONFIG --cflags "colord >= 0.1.9" 2>/dev/null`
24305 else
24306   pkg_failed=yes
24307 fi
24308  else
24309     pkg_failed=untried
24310 fi
24311 if test -n "$COLORD_LIBS"; then
24312     pkg_cv_COLORD_LIBS="$COLORD_LIBS"
24313  elif test -n "$PKG_CONFIG"; then
24314     if test -n "$PKG_CONFIG" && \
24315     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"colord >= 0.1.9\""; } >&5
24316   ($PKG_CONFIG --exists --print-errors "colord >= 0.1.9") 2>&5
24317   ac_status=$?
24318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24319   test $ac_status = 0; }; then
24320   pkg_cv_COLORD_LIBS=`$PKG_CONFIG --libs "colord >= 0.1.9" 2>/dev/null`
24321 else
24322   pkg_failed=yes
24323 fi
24324  else
24325     pkg_failed=untried
24326 fi
24327
24328
24329
24330 if test $pkg_failed = yes; then
24331         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24332 $as_echo "no" >&6; }
24333
24334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24335         _pkg_short_errors_supported=yes
24336 else
24337         _pkg_short_errors_supported=no
24338 fi
24339         if test $_pkg_short_errors_supported = yes; then
24340                 COLORD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "colord >= 0.1.9" 2>&1`
24341         else
24342                 COLORD_PKG_ERRORS=`$PKG_CONFIG --print-errors "colord >= 0.1.9" 2>&1`
24343         fi
24344         # Put the nasty error message in config.log where it belongs
24345         echo "$COLORD_PKG_ERRORS" >&5
24346
24347         have_colord=no
24348 elif test $pkg_failed = untried; then
24349         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24350 $as_echo "no" >&6; }
24351         have_colord=no
24352 else
24353         COLORD_CFLAGS=$pkg_cv_COLORD_CFLAGS
24354         COLORD_LIBS=$pkg_cv_COLORD_LIBS
24355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24356 $as_echo "yes" >&6; }
24357         have_colord=yes
24358 fi
24359                 if test "$enable_colord" = "yes"; then
24360                         if test "$have_colord" = "no"; then
24361                                 as_fn_error $? "--enable-colord specified, but not available" "$LINENO" 5
24362                         fi
24363                 fi
24364         else
24365                 as_fn_error $? "colord support is not available on win32" "$LINENO" 5
24366         fi
24367 fi
24368
24369 if test "$have_colord" = "yes"; then
24370
24371 $as_echo "#define HAVE_COLORD 1" >>confdefs.h
24372
24373 fi
24374  if test "x$have_colord" = "xyes"; then
24375   HAVE_COLORD_TRUE=
24376   HAVE_COLORD_FALSE='#'
24377 else
24378   HAVE_COLORD_TRUE='#'
24379   HAVE_COLORD_FALSE=
24380 fi
24381
24382
24383 ##################################################
24384 # Checks for gtk-doc and docbook-tools
24385 ##################################################
24386
24387
24388
24389
24390     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
24391 set dummy gtkdoc-check; ac_word=$2
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24393 $as_echo_n "checking for $ac_word... " >&6; }
24394 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
24395   $as_echo_n "(cached) " >&6
24396 else
24397   case $GTKDOC_CHECK in
24398   [\\/]* | ?:[\\/]*)
24399   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
24400   ;;
24401   *)
24402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24403 for as_dir in $PATH
24404 do
24405   IFS=$as_save_IFS
24406   test -z "$as_dir" && as_dir=.
24407     for ac_exec_ext in '' $ac_executable_extensions; do
24408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24409     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
24410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24411     break 2
24412   fi
24413 done
24414   done
24415 IFS=$as_save_IFS
24416
24417   ;;
24418 esac
24419 fi
24420 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
24421 if test -n "$GTKDOC_CHECK"; then
24422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
24423 $as_echo "$GTKDOC_CHECK" >&6; }
24424 else
24425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24426 $as_echo "no" >&6; }
24427 fi
24428
24429
24430   for ac_prog in gtkdoc-rebase
24431 do
24432   # Extract the first word of "$ac_prog", so it can be a program name with args.
24433 set dummy $ac_prog; ac_word=$2
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24435 $as_echo_n "checking for $ac_word... " >&6; }
24436 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
24437   $as_echo_n "(cached) " >&6
24438 else
24439   case $GTKDOC_REBASE in
24440   [\\/]* | ?:[\\/]*)
24441   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
24442   ;;
24443   *)
24444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24445 for as_dir in $PATH
24446 do
24447   IFS=$as_save_IFS
24448   test -z "$as_dir" && as_dir=.
24449     for ac_exec_ext in '' $ac_executable_extensions; do
24450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24451     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
24452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24453     break 2
24454   fi
24455 done
24456   done
24457 IFS=$as_save_IFS
24458
24459   ;;
24460 esac
24461 fi
24462 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
24463 if test -n "$GTKDOC_REBASE"; then
24464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
24465 $as_echo "$GTKDOC_REBASE" >&6; }
24466 else
24467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24468 $as_echo "no" >&6; }
24469 fi
24470
24471
24472   test -n "$GTKDOC_REBASE" && break
24473 done
24474 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
24475
24476   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
24477 set dummy gtkdoc-mkpdf; ac_word=$2
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24479 $as_echo_n "checking for $ac_word... " >&6; }
24480 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
24481   $as_echo_n "(cached) " >&6
24482 else
24483   case $GTKDOC_MKPDF in
24484   [\\/]* | ?:[\\/]*)
24485   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
24486   ;;
24487   *)
24488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24489 for as_dir in $PATH
24490 do
24491   IFS=$as_save_IFS
24492   test -z "$as_dir" && as_dir=.
24493     for ac_exec_ext in '' $ac_executable_extensions; do
24494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24495     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
24496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24497     break 2
24498   fi
24499 done
24500   done
24501 IFS=$as_save_IFS
24502
24503   ;;
24504 esac
24505 fi
24506 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
24507 if test -n "$GTKDOC_MKPDF"; then
24508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
24509 $as_echo "$GTKDOC_MKPDF" >&6; }
24510 else
24511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24512 $as_echo "no" >&6; }
24513 fi
24514
24515
24516
24517
24518 # Check whether --with-html-dir was given.
24519 if test "${with_html_dir+set}" = set; then :
24520   withval=$with_html_dir;
24521 else
24522   with_html_dir='${datadir}/gtk-doc/html'
24523 fi
24524
24525   HTML_DIR="$with_html_dir"
24526
24527
24528     # Check whether --enable-gtk-doc was given.
24529 if test "${enable_gtk_doc+set}" = set; then :
24530   enableval=$enable_gtk_doc;
24531 else
24532   enable_gtk_doc=no
24533 fi
24534
24535
24536   if test x$enable_gtk_doc = xyes; then
24537     if test -n "$PKG_CONFIG" && \
24538     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
24539   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
24540   ac_status=$?
24541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24542   test $ac_status = 0; }; then
24543   :
24544 else
24545   as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
24546 fi
24547         if test "x$PACKAGE_NAME" != "xglib"; then
24548
24549 pkg_failed=no
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
24551 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
24552
24553 if test -n "$GTKDOC_DEPS_CFLAGS"; then
24554     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
24555  elif test -n "$PKG_CONFIG"; then
24556     if test -n "$PKG_CONFIG" && \
24557     { { $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
24558   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
24559   ac_status=$?
24560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24561   test $ac_status = 0; }; then
24562   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
24563 else
24564   pkg_failed=yes
24565 fi
24566  else
24567     pkg_failed=untried
24568 fi
24569 if test -n "$GTKDOC_DEPS_LIBS"; then
24570     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
24571  elif test -n "$PKG_CONFIG"; then
24572     if test -n "$PKG_CONFIG" && \
24573     { { $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
24574   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
24575   ac_status=$?
24576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24577   test $ac_status = 0; }; then
24578   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
24579 else
24580   pkg_failed=yes
24581 fi
24582  else
24583     pkg_failed=untried
24584 fi
24585
24586
24587
24588 if test $pkg_failed = yes; then
24589         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24590 $as_echo "no" >&6; }
24591
24592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24593         _pkg_short_errors_supported=yes
24594 else
24595         _pkg_short_errors_supported=no
24596 fi
24597         if test $_pkg_short_errors_supported = yes; then
24598                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
24599         else
24600                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
24601         fi
24602         # Put the nasty error message in config.log where it belongs
24603         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
24604
24605         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
24606
24607 $GTKDOC_DEPS_PKG_ERRORS
24608
24609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24610 installed software in a non-standard prefix.
24611
24612 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
24613 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
24614 See the pkg-config man page for more details." "$LINENO" 5
24615
24616 elif test $pkg_failed = untried; then
24617         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24618 $as_echo "no" >&6; }
24619         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24621 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
24622 is in your PATH or set the PKG_CONFIG environment variable to the full
24623 path to pkg-config.
24624
24625 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
24626 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
24627 See the pkg-config man page for more details.
24628
24629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24630 See \`config.log' for more details" "$LINENO" 5; }
24631
24632 else
24633         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
24634         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
24635         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24636 $as_echo "yes" >&6; }
24637
24638 fi
24639     fi
24640   fi
24641
24642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
24643 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
24644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
24645 $as_echo "$enable_gtk_doc" >&6; }
24646
24647     # Check whether --enable-gtk-doc-html was given.
24648 if test "${enable_gtk_doc_html+set}" = set; then :
24649   enableval=$enable_gtk_doc_html;
24650 else
24651   enable_gtk_doc_html=yes
24652 fi
24653
24654     # Check whether --enable-gtk-doc-pdf was given.
24655 if test "${enable_gtk_doc_pdf+set}" = set; then :
24656   enableval=$enable_gtk_doc_pdf;
24657 else
24658   enable_gtk_doc_pdf=no
24659 fi
24660
24661
24662   if test -z "$GTKDOC_MKPDF"; then
24663     enable_gtk_doc_pdf=no
24664   fi
24665
24666
24667    if test x$enable_gtk_doc = xyes; then
24668   ENABLE_GTK_DOC_TRUE=
24669   ENABLE_GTK_DOC_FALSE='#'
24670 else
24671   ENABLE_GTK_DOC_TRUE='#'
24672   ENABLE_GTK_DOC_FALSE=
24673 fi
24674
24675    if test x$enable_gtk_doc_html = xyes; then
24676   GTK_DOC_BUILD_HTML_TRUE=
24677   GTK_DOC_BUILD_HTML_FALSE='#'
24678 else
24679   GTK_DOC_BUILD_HTML_TRUE='#'
24680   GTK_DOC_BUILD_HTML_FALSE=
24681 fi
24682
24683    if test x$enable_gtk_doc_pdf = xyes; then
24684   GTK_DOC_BUILD_PDF_TRUE=
24685   GTK_DOC_BUILD_PDF_FALSE='#'
24686 else
24687   GTK_DOC_BUILD_PDF_TRUE='#'
24688   GTK_DOC_BUILD_PDF_FALSE=
24689 fi
24690
24691    if test -n "$LIBTOOL"; then
24692   GTK_DOC_USE_LIBTOOL_TRUE=
24693   GTK_DOC_USE_LIBTOOL_FALSE='#'
24694 else
24695   GTK_DOC_USE_LIBTOOL_TRUE='#'
24696   GTK_DOC_USE_LIBTOOL_FALSE=
24697 fi
24698
24699    if test -n "$GTKDOC_REBASE"; then
24700   GTK_DOC_USE_REBASE_TRUE=
24701   GTK_DOC_USE_REBASE_FALSE='#'
24702 else
24703   GTK_DOC_USE_REBASE_TRUE='#'
24704   GTK_DOC_USE_REBASE_FALSE=
24705 fi
24706
24707
24708
24709 # Extract the first word of "db2html", so it can be a program name with args.
24710 set dummy db2html; ac_word=$2
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24712 $as_echo_n "checking for $ac_word... " >&6; }
24713 if ${ac_cv_prog_DB2HTML+:} false; then :
24714   $as_echo_n "(cached) " >&6
24715 else
24716   if test -n "$DB2HTML"; then
24717   ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
24718 else
24719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24720 for as_dir in $PATH
24721 do
24722   IFS=$as_save_IFS
24723   test -z "$as_dir" && as_dir=.
24724     for ac_exec_ext in '' $ac_executable_extensions; do
24725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24726     ac_cv_prog_DB2HTML="true"
24727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24728     break 2
24729   fi
24730 done
24731   done
24732 IFS=$as_save_IFS
24733
24734   test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false"
24735 fi
24736 fi
24737 DB2HTML=$ac_cv_prog_DB2HTML
24738 if test -n "$DB2HTML"; then
24739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2HTML" >&5
24740 $as_echo "$DB2HTML" >&6; }
24741 else
24742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24743 $as_echo "no" >&6; }
24744 fi
24745
24746
24747  if $DB2HTML; then
24748   HAVE_DOCBOOK_TRUE=
24749   HAVE_DOCBOOK_FALSE='#'
24750 else
24751   HAVE_DOCBOOK_TRUE='#'
24752   HAVE_DOCBOOK_FALSE=
24753 fi
24754
24755
24756 # Check whether --enable-man was given.
24757 if test "${enable_man+set}" = set; then :
24758   enableval=$enable_man; enable_man=yes
24759 else
24760   enable_man=no
24761 fi
24762
24763
24764 if test "${enable_man}" != no; then
24765         # Extract the first word of "xsltproc", so it can be a program name with args.
24766 set dummy xsltproc; ac_word=$2
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24768 $as_echo_n "checking for $ac_word... " >&6; }
24769 if ${ac_cv_path_XSLTPROC+:} false; then :
24770   $as_echo_n "(cached) " >&6
24771 else
24772   case $XSLTPROC in
24773   [\\/]* | ?:[\\/]*)
24774   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
24775   ;;
24776   *)
24777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24778 for as_dir in $PATH
24779 do
24780   IFS=$as_save_IFS
24781   test -z "$as_dir" && as_dir=.
24782     for ac_exec_ext in '' $ac_executable_extensions; do
24783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24784     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
24785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24786     break 2
24787   fi
24788 done
24789   done
24790 IFS=$as_save_IFS
24791
24792   ;;
24793 esac
24794 fi
24795 XSLTPROC=$ac_cv_path_XSLTPROC
24796 if test -n "$XSLTPROC"; then
24797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
24798 $as_echo "$XSLTPROC" >&6; }
24799 else
24800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24801 $as_echo "no" >&6; }
24802 fi
24803
24804
24805   if test -z "$XSLTPROC"; then
24806     enable_man=no
24807   fi
24808
24809
24810   # check for the presence of the XML catalog
24811
24812 # Check whether --with-xml-catalog was given.
24813 if test "${with_xml_catalog+set}" = set; then :
24814   withval=$with_xml_catalog;
24815 else
24816   with_xml_catalog=/etc/xml/catalog
24817 fi
24818
24819   jh_found_xmlcatalog=true
24820   XML_CATALOG_FILE="$with_xml_catalog"
24821
24822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5
24823 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
24824   if test -f "$XML_CATALOG_FILE"; then
24825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24826 $as_echo "found" >&6; }
24827   else
24828     jh_found_xmlcatalog=false
24829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24830 $as_echo "not found" >&6; }
24831   fi
24832
24833   # check for the xmlcatalog program
24834   # Extract the first word of "xmlcatalog", so it can be a program name with args.
24835 set dummy xmlcatalog; ac_word=$2
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24837 $as_echo_n "checking for $ac_word... " >&6; }
24838 if ${ac_cv_path_XMLCATALOG+:} false; then :
24839   $as_echo_n "(cached) " >&6
24840 else
24841   case $XMLCATALOG in
24842   [\\/]* | ?:[\\/]*)
24843   ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
24844   ;;
24845   *)
24846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24847 for as_dir in $PATH
24848 do
24849   IFS=$as_save_IFS
24850   test -z "$as_dir" && as_dir=.
24851     for ac_exec_ext in '' $ac_executable_extensions; do
24852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24853     ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
24854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24855     break 2
24856   fi
24857 done
24858   done
24859 IFS=$as_save_IFS
24860
24861   test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
24862   ;;
24863 esac
24864 fi
24865 XMLCATALOG=$ac_cv_path_XMLCATALOG
24866 if test -n "$XMLCATALOG"; then
24867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
24868 $as_echo "$XMLCATALOG" >&6; }
24869 else
24870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24871 $as_echo "no" >&6; }
24872 fi
24873
24874
24875   if test "x$XMLCATALOG" = xno; then
24876     jh_found_xmlcatalog=false
24877   fi
24878
24879   if $jh_found_xmlcatalog; then
24880     :
24881   else
24882     :
24883   fi
24884
24885
24886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
24887 $as_echo_n "checking for DocBook XML DTD V4.1.2 in XML catalog... " >&6; }
24888   if $jh_found_xmlcatalog && \
24889      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2"; } >&5
24890   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
24891   ac_status=$?
24892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24893   test $ac_status = 0; }; then
24894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24895 $as_echo "found" >&6; }
24896       else
24897     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24898 $as_echo "not found" >&6; }
24899     enable_man=no
24900   fi
24901
24902
24903     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5
24904 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
24905   if $jh_found_xmlcatalog && \
24906      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2"; } >&5
24907   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
24908   ac_status=$?
24909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24910   test $ac_status = 0; }; then
24911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24912 $as_echo "found" >&6; }
24913       else
24914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24915 $as_echo "not found" >&6; }
24916     enable_man=no
24917   fi
24918
24919 fi
24920
24921  if test x$enable_man != xno; then
24922   ENABLE_MAN_TRUE=
24923   ENABLE_MAN_FALSE='#'
24924 else
24925   ENABLE_MAN_TRUE='#'
24926   ENABLE_MAN_FALSE=
24927 fi
24928
24929
24930
24931 ##################################################
24932 # Output commands
24933 ##################################################
24934
24935 ac_config_commands="$ac_config_commands gdk/gdkconfig.h"
24936
24937
24938 # Check whether --enable-Bsymbolic was given.
24939 if test "${enable_Bsymbolic+set}" = set; then :
24940   enableval=$enable_Bsymbolic;
24941 else
24942   SAVED_LDFLAGS="${LDFLAGS}"
24943                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
24944 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
24945                LDFLAGS=-Wl,-Bsymbolic-functions
24946                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h.  */
24948
24949 int
24950 main ()
24951 {
24952 int main (void) { return 0; }
24953   ;
24954   return 0;
24955 }
24956 _ACEOF
24957 if ac_fn_c_try_link "$LINENO"; then :
24958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24959 $as_echo "yes" >&6; }
24960                                enable_Bsymbolic=yes
24961 else
24962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24963 $as_echo "no" >&6; }
24964                                enable_Bsymbolic=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext \
24967     conftest$ac_exeext conftest.$ac_ext
24968                LDFLAGS="${SAVED_LDFLAGS}"
24969 fi
24970
24971
24972 if test "x${enable_Bsymbolic}" = "xyes" ; then
24973   GTK_LINK_FLAGS=-Wl,-Bsymbolic-functions
24974 fi
24975
24976
24977 ac_config_files="$ac_config_files config.h.win32 gtk-zip.sh Makefile gdk-3.0.pc gtk+-3.0.pc gtk+-unix-print-3.0.pc gail-3.0.pc m4macros/Makefile po/Makefile.in po-properties/Makefile.in demos/Makefile demos/gtk-demo/Makefile demos/gtk-demo/geninclude.pl demos/pixbuf-demo/Makefile demos/widget-factory/Makefile examples/Makefile tests/Makefile tests/a11y/Makefile tests/css/Makefile tests/css/parser/Makefile tests/reftests/Makefile tests/visuals/Makefile docs/Makefile docs/reference/Makefile docs/reference/gdk/Makefile docs/reference/gdk/version.xml docs/reference/gtk/Makefile docs/reference/gtk/version.xml docs/reference/libgail-util/Makefile docs/reference/libgail-util/version.xml docs/tools/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile gdk/Makefile gdk/broadway/Makefile gdk/x11/Makefile gdk/win32/Makefile gdk/win32/rc/Makefile gdk/win32/rc/gdk.rc gdk/quartz/Makefile gdk/wayland/Makefile gdk/tests/Makefile gdk/gdkversionmacros.h gtk/Makefile gtk/makefile.msc gtk/gtkversion.h gtk/gtk-win32.rc gtk/a11y/Makefile gtk/tests/Makefile libgail-util/Makefile modules/Makefile modules/engines/Makefile modules/engines/pixbuf/Makefile modules/engines/ms-windows/Makefile modules/engines/ms-windows/Theme/Makefile modules/engines/ms-windows/Theme/gtk-3.0/Makefile modules/input/Makefile modules/printbackends/Makefile modules/printbackends/cups/Makefile modules/printbackends/lpr/Makefile modules/printbackends/file/Makefile modules/printbackends/papi/Makefile modules/printbackends/test/Makefile perf/Makefile"
24978
24979
24980 cat >confcache <<\_ACEOF
24981 # This file is a shell script that caches the results of configure
24982 # tests run on this system so they can be shared between configure
24983 # scripts and configure runs, see configure's option --config-cache.
24984 # It is not useful on other systems.  If it contains results you don't
24985 # want to keep, you may remove or edit it.
24986 #
24987 # config.status only pays attention to the cache file if you give it
24988 # the --recheck option to rerun configure.
24989 #
24990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24992 # following values.
24993
24994 _ACEOF
24995
24996 # The following way of writing the cache mishandles newlines in values,
24997 # but we know of no workaround that is simple, portable, and efficient.
24998 # So, we kill variables containing newlines.
24999 # Ultrix sh set writes to stderr and can't be redirected directly,
25000 # and sets the high bit in the cache file unless we assign to the vars.
25001 (
25002   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25003     eval ac_val=\$$ac_var
25004     case $ac_val in #(
25005     *${as_nl}*)
25006       case $ac_var in #(
25007       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25009       esac
25010       case $ac_var in #(
25011       _ | IFS | as_nl) ;; #(
25012       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25013       *) { eval $ac_var=; unset $ac_var;} ;;
25014       esac ;;
25015     esac
25016   done
25017
25018   (set) 2>&1 |
25019     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25020     *${as_nl}ac_space=\ *)
25021       # `set' does not quote correctly, so add quotes: double-quote
25022       # substitution turns \\\\ into \\, and sed turns \\ into \.
25023       sed -n \
25024         "s/'/'\\\\''/g;
25025           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25026       ;; #(
25027     *)
25028       # `set' quotes correctly as required by POSIX, so do not add quotes.
25029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25030       ;;
25031     esac |
25032     sort
25033 ) |
25034   sed '
25035      /^ac_cv_env_/b end
25036      t clear
25037      :clear
25038      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25039      t end
25040      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25041      :end' >>confcache
25042 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25043   if test -w "$cache_file"; then
25044     if test "x$cache_file" != "x/dev/null"; then
25045       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25046 $as_echo "$as_me: updating cache $cache_file" >&6;}
25047       if test ! -f "$cache_file" || test -h "$cache_file"; then
25048         cat confcache >"$cache_file"
25049       else
25050         case $cache_file in #(
25051         */* | ?:*)
25052           mv -f confcache "$cache_file"$$ &&
25053           mv -f "$cache_file"$$ "$cache_file" ;; #(
25054         *)
25055           mv -f confcache "$cache_file" ;;
25056         esac
25057       fi
25058     fi
25059   else
25060     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25062   fi
25063 fi
25064 rm -f confcache
25065
25066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25067 # Let make expand exec_prefix.
25068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25069
25070 DEFS=-DHAVE_CONFIG_H
25071
25072 ac_libobjs=
25073 ac_ltlibobjs=
25074 U=
25075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25076   # 1. Remove the extension, and $U if already installed.
25077   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25078   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25079   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25080   #    will be set to the directory where LIBOBJS objects are built.
25081   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25082   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25083 done
25084 LIBOBJS=$ac_libobjs
25085
25086 LTLIBOBJS=$ac_ltlibobjs
25087
25088
25089  if test -n "$EXEEXT"; then
25090   am__EXEEXT_TRUE=
25091   am__EXEEXT_FALSE='#'
25092 else
25093   am__EXEEXT_TRUE='#'
25094   am__EXEEXT_FALSE=
25095 fi
25096
25097 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25098   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25100 fi
25101 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25102   as_fn_error $? "conditional \"AMDEP\" was never defined.
25103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25104 fi
25105 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25106   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25108 fi
25109 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25110   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25112 fi
25113 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
25114   as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
25115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25116 fi
25117 if test -z "${HAVE_OBJC_TRUE}" && test -z "${HAVE_OBJC_FALSE}"; then
25118   as_fn_error $? "conditional \"HAVE_OBJC\" was never defined.
25119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25120 fi
25121 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
25122   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
25123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25124 fi
25125 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
25126   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
25127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25128 fi
25129 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
25130   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
25131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25132 fi
25133 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
25134   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
25135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25136 fi
25137 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
25138   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
25139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25140 fi
25141 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
25142   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
25143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25144 fi
25145 if test -z "${BUILD_ICON_CACHE_TRUE}" && test -z "${BUILD_ICON_CACHE_FALSE}"; then
25146   as_fn_error $? "conditional \"BUILD_ICON_CACHE\" was never defined.
25147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25148 fi
25149 if test -z "${USE_WIN32_TRUE}" && test -z "${USE_WIN32_FALSE}"; then
25150   as_fn_error $? "conditional \"USE_WIN32\" was never defined.
25151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25152 fi
25153 if test -z "${USE_WIN32_TRUE}" && test -z "${USE_WIN32_FALSE}"; then
25154   as_fn_error $? "conditional \"USE_WIN32\" was never defined.
25155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25156 fi
25157 if test -z "${USE_QUARTZ_TRUE}" && test -z "${USE_QUARTZ_FALSE}"; then
25158   as_fn_error $? "conditional \"USE_QUARTZ\" was never defined.
25159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25160 fi
25161 if test -z "${USE_QUARTZ_TRUE}" && test -z "${USE_QUARTZ_FALSE}"; then
25162   as_fn_error $? "conditional \"USE_QUARTZ\" was never defined.
25163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25164 fi
25165 if test -z "${USE_BROADWAY_TRUE}" && test -z "${USE_BROADWAY_FALSE}"; then
25166   as_fn_error $? "conditional \"USE_BROADWAY\" was never defined.
25167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25168 fi
25169 if test -z "${USE_BROADWAY_TRUE}" && test -z "${USE_BROADWAY_FALSE}"; then
25170   as_fn_error $? "conditional \"USE_BROADWAY\" was never defined.
25171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25172 fi
25173 if test -z "${USE_WAYLAND_TRUE}" && test -z "${USE_WAYLAND_FALSE}"; then
25174   as_fn_error $? "conditional \"USE_WAYLAND\" was never defined.
25175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25176 fi
25177 if test -z "${USE_WAYLAND_TRUE}" && test -z "${USE_WAYLAND_FALSE}"; then
25178   as_fn_error $? "conditional \"USE_WAYLAND\" was never defined.
25179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25180 fi
25181 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
25182   as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
25183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25184 fi
25185 if test -z "${BUILD_DYNAMIC_MODULES_TRUE}" && test -z "${BUILD_DYNAMIC_MODULES_FALSE}"; then
25186   as_fn_error $? "conditional \"BUILD_DYNAMIC_MODULES\" was never defined.
25187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25188 fi
25189 if test -z "${HAVE_INCLUDED_IMMMODULES_TRUE}" && test -z "${HAVE_INCLUDED_IMMMODULES_FALSE}"; then
25190   as_fn_error $? "conditional \"HAVE_INCLUDED_IMMMODULES\" was never defined.
25191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25192 fi
25193 if test -z "${INCLUDE_IM_AM_ET_TRUE}" && test -z "${INCLUDE_IM_AM_ET_FALSE}"; then
25194   as_fn_error $? "conditional \"INCLUDE_IM_AM_ET\" was never defined.
25195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25196 fi
25197 if test -z "${INCLUDE_IM_CEDILLA_TRUE}" && test -z "${INCLUDE_IM_CEDILLA_FALSE}"; then
25198   as_fn_error $? "conditional \"INCLUDE_IM_CEDILLA\" was never defined.
25199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25200 fi
25201 if test -z "${INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE}" && test -z "${INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE}"; then
25202   as_fn_error $? "conditional \"INCLUDE_IM_CYRILLIC_TRANSLIT\" was never defined.
25203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25204 fi
25205 if test -z "${INCLUDE_IM_IME_TRUE}" && test -z "${INCLUDE_IM_IME_FALSE}"; then
25206   as_fn_error $? "conditional \"INCLUDE_IM_IME\" was never defined.
25207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25208 fi
25209 if test -z "${INCLUDE_IM_INUKTITUT_TRUE}" && test -z "${INCLUDE_IM_INUKTITUT_FALSE}"; then
25210   as_fn_error $? "conditional \"INCLUDE_IM_INUKTITUT\" was never defined.
25211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25212 fi
25213 if test -z "${INCLUDE_IM_IPA_TRUE}" && test -z "${INCLUDE_IM_IPA_FALSE}"; then
25214   as_fn_error $? "conditional \"INCLUDE_IM_IPA\" was never defined.
25215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25216 fi
25217 if test -z "${INCLUDE_IM_MULTIPRESS_TRUE}" && test -z "${INCLUDE_IM_MULTIPRESS_FALSE}"; then
25218   as_fn_error $? "conditional \"INCLUDE_IM_MULTIPRESS\" was never defined.
25219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25220 fi
25221 if test -z "${INCLUDE_IM_THAI_TRUE}" && test -z "${INCLUDE_IM_THAI_FALSE}"; then
25222   as_fn_error $? "conditional \"INCLUDE_IM_THAI\" was never defined.
25223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25224 fi
25225 if test -z "${INCLUDE_IM_TI_ER_TRUE}" && test -z "${INCLUDE_IM_TI_ER_FALSE}"; then
25226   as_fn_error $? "conditional \"INCLUDE_IM_TI_ER\" was never defined.
25227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25228 fi
25229 if test -z "${INCLUDE_IM_TI_ET_TRUE}" && test -z "${INCLUDE_IM_TI_ET_FALSE}"; then
25230   as_fn_error $? "conditional \"INCLUDE_IM_TI_ET\" was never defined.
25231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25232 fi
25233 if test -z "${INCLUDE_IM_VIQR_TRUE}" && test -z "${INCLUDE_IM_VIQR_FALSE}"; then
25234   as_fn_error $? "conditional \"INCLUDE_IM_VIQR\" was never defined.
25235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25236 fi
25237 if test -z "${INCLUDE_IM_XIM_TRUE}" && test -z "${INCLUDE_IM_XIM_FALSE}"; then
25238   as_fn_error $? "conditional \"INCLUDE_IM_XIM\" was never defined.
25239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25240 fi
25241 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
25242   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
25243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25244 fi
25245 if test -z "${USE_EXTERNAL_ICON_CACHE_TRUE}" && test -z "${USE_EXTERNAL_ICON_CACHE_FALSE}"; then
25246   as_fn_error $? "conditional \"USE_EXTERNAL_ICON_CACHE\" was never defined.
25247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25248 fi
25249 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
25250   as_fn_error $? "conditional \"USE_X11\" was never defined.
25251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25252 fi
25253 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
25254   as_fn_error $? "conditional \"USE_X11\" was never defined.
25255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25256 fi
25257 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
25258   as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
25259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25260 fi
25261 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
25262   as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
25263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25264 fi
25265 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
25266   as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
25267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25268 fi
25269 if test -z "${HAVE_PAPI_TRUE}" && test -z "${HAVE_PAPI_FALSE}"; then
25270   as_fn_error $? "conditional \"HAVE_PAPI\" was never defined.
25271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25272 fi
25273 if test -z "${HAVE_PAPI_TRUE}" && test -z "${HAVE_PAPI_FALSE}"; then
25274   as_fn_error $? "conditional \"HAVE_PAPI\" was never defined.
25275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25276 fi
25277 if test -z "${HAVE_PAPI_CUPS_TRUE}" && test -z "${HAVE_PAPI_CUPS_FALSE}"; then
25278   as_fn_error $? "conditional \"HAVE_PAPI_CUPS\" was never defined.
25279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25280 fi
25281 if test -z "${TEST_PRINT_BACKEND_TRUE}" && test -z "${TEST_PRINT_BACKEND_FALSE}"; then
25282   as_fn_error $? "conditional \"TEST_PRINT_BACKEND\" was never defined.
25283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25284 fi
25285 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
25286   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
25287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25288 fi
25289 if test -z "${ENABLE_PACKAGEKIT_TRUE}" && test -z "${ENABLE_PACKAGEKIT_FALSE}"; then
25290   as_fn_error $? "conditional \"ENABLE_PACKAGEKIT\" was never defined.
25291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25292 fi
25293 if test -z "${HAVE_COLORD_TRUE}" && test -z "${HAVE_COLORD_FALSE}"; then
25294   as_fn_error $? "conditional \"HAVE_COLORD\" was never defined.
25295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25296 fi
25297 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
25298   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
25299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25300 fi
25301 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
25302   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
25303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25304 fi
25305 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
25306   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
25307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25308 fi
25309 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
25310   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
25311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25312 fi
25313 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
25314   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
25315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25316 fi
25317 if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then
25318   as_fn_error $? "conditional \"HAVE_DOCBOOK\" was never defined.
25319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25320 fi
25321 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
25322   as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
25323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25324 fi
25325
25326 : "${CONFIG_STATUS=./config.status}"
25327 ac_write_fail=0
25328 ac_clean_files_save=$ac_clean_files
25329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25331 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25332 as_write_fail=0
25333 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25334 #! $SHELL
25335 # Generated by $as_me.
25336 # Run this file to recreate the current configuration.
25337 # Compiler output produced by configure, useful for debugging
25338 # configure, is in config.log if it exists.
25339
25340 debug=false
25341 ac_cs_recheck=false
25342 ac_cs_silent=false
25343
25344 SHELL=\${CONFIG_SHELL-$SHELL}
25345 export SHELL
25346 _ASEOF
25347 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25348 ## -------------------- ##
25349 ## M4sh Initialization. ##
25350 ## -------------------- ##
25351
25352 # Be more Bourne compatible
25353 DUALCASE=1; export DUALCASE # for MKS sh
25354 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25355   emulate sh
25356   NULLCMD=:
25357   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25358   # is contrary to our usage.  Disable this feature.
25359   alias -g '${1+"$@"}'='"$@"'
25360   setopt NO_GLOB_SUBST
25361 else
25362   case `(set -o) 2>/dev/null` in #(
25363   *posix*) :
25364     set -o posix ;; #(
25365   *) :
25366      ;;
25367 esac
25368 fi
25369
25370
25371 as_nl='
25372 '
25373 export as_nl
25374 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25375 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25378 # Prefer a ksh shell builtin over an external printf program on Solaris,
25379 # but without wasting forks for bash or zsh.
25380 if test -z "$BASH_VERSION$ZSH_VERSION" \
25381     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25382   as_echo='print -r --'
25383   as_echo_n='print -rn --'
25384 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25385   as_echo='printf %s\n'
25386   as_echo_n='printf %s'
25387 else
25388   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25389     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25390     as_echo_n='/usr/ucb/echo -n'
25391   else
25392     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25393     as_echo_n_body='eval
25394       arg=$1;
25395       case $arg in #(
25396       *"$as_nl"*)
25397         expr "X$arg" : "X\\(.*\\)$as_nl";
25398         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25399       esac;
25400       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25401     '
25402     export as_echo_n_body
25403     as_echo_n='sh -c $as_echo_n_body as_echo'
25404   fi
25405   export as_echo_body
25406   as_echo='sh -c $as_echo_body as_echo'
25407 fi
25408
25409 # The user is always right.
25410 if test "${PATH_SEPARATOR+set}" != set; then
25411   PATH_SEPARATOR=:
25412   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25413     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25414       PATH_SEPARATOR=';'
25415   }
25416 fi
25417
25418
25419 # IFS
25420 # We need space, tab and new line, in precisely that order.  Quoting is
25421 # there to prevent editors from complaining about space-tab.
25422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25423 # splitting by setting IFS to empty value.)
25424 IFS=" ""        $as_nl"
25425
25426 # Find who we are.  Look in the path if we contain no directory separator.
25427 as_myself=
25428 case $0 in #((
25429   *[\\/]* ) as_myself=$0 ;;
25430   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25431 for as_dir in $PATH
25432 do
25433   IFS=$as_save_IFS
25434   test -z "$as_dir" && as_dir=.
25435     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25436   done
25437 IFS=$as_save_IFS
25438
25439      ;;
25440 esac
25441 # We did not find ourselves, most probably we were run as `sh COMMAND'
25442 # in which case we are not to be found in the path.
25443 if test "x$as_myself" = x; then
25444   as_myself=$0
25445 fi
25446 if test ! -f "$as_myself"; then
25447   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25448   exit 1
25449 fi
25450
25451 # Unset variables that we do not need and which cause bugs (e.g. in
25452 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25453 # suppresses any "Segmentation fault" message there.  '((' could
25454 # trigger a bug in pdksh 5.2.14.
25455 for as_var in BASH_ENV ENV MAIL MAILPATH
25456 do eval test x\${$as_var+set} = xset \
25457   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25458 done
25459 PS1='$ '
25460 PS2='> '
25461 PS4='+ '
25462
25463 # NLS nuisances.
25464 LC_ALL=C
25465 export LC_ALL
25466 LANGUAGE=C
25467 export LANGUAGE
25468
25469 # CDPATH.
25470 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25471
25472
25473 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25474 # ----------------------------------------
25475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25477 # script with STATUS, using 1 if that was 0.
25478 as_fn_error ()
25479 {
25480   as_status=$1; test $as_status -eq 0 && as_status=1
25481   if test "$4"; then
25482     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25483     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25484   fi
25485   $as_echo "$as_me: error: $2" >&2
25486   as_fn_exit $as_status
25487 } # as_fn_error
25488
25489
25490 # as_fn_set_status STATUS
25491 # -----------------------
25492 # Set $? to STATUS, without forking.
25493 as_fn_set_status ()
25494 {
25495   return $1
25496 } # as_fn_set_status
25497
25498 # as_fn_exit STATUS
25499 # -----------------
25500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25501 as_fn_exit ()
25502 {
25503   set +e
25504   as_fn_set_status $1
25505   exit $1
25506 } # as_fn_exit
25507
25508 # as_fn_unset VAR
25509 # ---------------
25510 # Portably unset VAR.
25511 as_fn_unset ()
25512 {
25513   { eval $1=; unset $1;}
25514 }
25515 as_unset=as_fn_unset
25516 # as_fn_append VAR VALUE
25517 # ----------------------
25518 # Append the text in VALUE to the end of the definition contained in VAR. Take
25519 # advantage of any shell optimizations that allow amortized linear growth over
25520 # repeated appends, instead of the typical quadratic growth present in naive
25521 # implementations.
25522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25523   eval 'as_fn_append ()
25524   {
25525     eval $1+=\$2
25526   }'
25527 else
25528   as_fn_append ()
25529   {
25530     eval $1=\$$1\$2
25531   }
25532 fi # as_fn_append
25533
25534 # as_fn_arith ARG...
25535 # ------------------
25536 # Perform arithmetic evaluation on the ARGs, and store the result in the
25537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25538 # must be portable across $(()) and expr.
25539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25540   eval 'as_fn_arith ()
25541   {
25542     as_val=$(( $* ))
25543   }'
25544 else
25545   as_fn_arith ()
25546   {
25547     as_val=`expr "$@" || test $? -eq 1`
25548   }
25549 fi # as_fn_arith
25550
25551
25552 if expr a : '\(a\)' >/dev/null 2>&1 &&
25553    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25554   as_expr=expr
25555 else
25556   as_expr=false
25557 fi
25558
25559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25560   as_basename=basename
25561 else
25562   as_basename=false
25563 fi
25564
25565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25566   as_dirname=dirname
25567 else
25568   as_dirname=false
25569 fi
25570
25571 as_me=`$as_basename -- "$0" ||
25572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25573          X"$0" : 'X\(//\)$' \| \
25574          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25575 $as_echo X/"$0" |
25576     sed '/^.*\/\([^/][^/]*\)\/*$/{
25577             s//\1/
25578             q
25579           }
25580           /^X\/\(\/\/\)$/{
25581             s//\1/
25582             q
25583           }
25584           /^X\/\(\/\).*/{
25585             s//\1/
25586             q
25587           }
25588           s/.*/./; q'`
25589
25590 # Avoid depending upon Character Ranges.
25591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25594 as_cr_digits='0123456789'
25595 as_cr_alnum=$as_cr_Letters$as_cr_digits
25596
25597 ECHO_C= ECHO_N= ECHO_T=
25598 case `echo -n x` in #(((((
25599 -n*)
25600   case `echo 'xy\c'` in
25601   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25602   xy)  ECHO_C='\c';;
25603   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25604        ECHO_T=' ';;
25605   esac;;
25606 *)
25607   ECHO_N='-n';;
25608 esac
25609
25610 rm -f conf$$ conf$$.exe conf$$.file
25611 if test -d conf$$.dir; then
25612   rm -f conf$$.dir/conf$$.file
25613 else
25614   rm -f conf$$.dir
25615   mkdir conf$$.dir 2>/dev/null
25616 fi
25617 if (echo >conf$$.file) 2>/dev/null; then
25618   if ln -s conf$$.file conf$$ 2>/dev/null; then
25619     as_ln_s='ln -s'
25620     # ... but there are two gotchas:
25621     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25622     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25623     # In both cases, we have to default to `cp -p'.
25624     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25625       as_ln_s='cp -p'
25626   elif ln conf$$.file conf$$ 2>/dev/null; then
25627     as_ln_s=ln
25628   else
25629     as_ln_s='cp -p'
25630   fi
25631 else
25632   as_ln_s='cp -p'
25633 fi
25634 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25635 rmdir conf$$.dir 2>/dev/null
25636
25637
25638 # as_fn_mkdir_p
25639 # -------------
25640 # Create "$as_dir" as a directory, including parents if necessary.
25641 as_fn_mkdir_p ()
25642 {
25643
25644   case $as_dir in #(
25645   -*) as_dir=./$as_dir;;
25646   esac
25647   test -d "$as_dir" || eval $as_mkdir_p || {
25648     as_dirs=
25649     while :; do
25650       case $as_dir in #(
25651       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25652       *) as_qdir=$as_dir;;
25653       esac
25654       as_dirs="'$as_qdir' $as_dirs"
25655       as_dir=`$as_dirname -- "$as_dir" ||
25656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25657          X"$as_dir" : 'X\(//\)[^/]' \| \
25658          X"$as_dir" : 'X\(//\)$' \| \
25659          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25660 $as_echo X"$as_dir" |
25661     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25662             s//\1/
25663             q
25664           }
25665           /^X\(\/\/\)[^/].*/{
25666             s//\1/
25667             q
25668           }
25669           /^X\(\/\/\)$/{
25670             s//\1/
25671             q
25672           }
25673           /^X\(\/\).*/{
25674             s//\1/
25675             q
25676           }
25677           s/.*/./; q'`
25678       test -d "$as_dir" && break
25679     done
25680     test -z "$as_dirs" || eval "mkdir $as_dirs"
25681   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25682
25683
25684 } # as_fn_mkdir_p
25685 if mkdir -p . 2>/dev/null; then
25686   as_mkdir_p='mkdir -p "$as_dir"'
25687 else
25688   test -d ./-p && rmdir ./-p
25689   as_mkdir_p=false
25690 fi
25691
25692 if test -x / >/dev/null 2>&1; then
25693   as_test_x='test -x'
25694 else
25695   if ls -dL / >/dev/null 2>&1; then
25696     as_ls_L_option=L
25697   else
25698     as_ls_L_option=
25699   fi
25700   as_test_x='
25701     eval sh -c '\''
25702       if test -d "$1"; then
25703         test -d "$1/.";
25704       else
25705         case $1 in #(
25706         -*)set "./$1";;
25707         esac;
25708         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25709         ???[sx]*):;;*)false;;esac;fi
25710     '\'' sh
25711   '
25712 fi
25713 as_executable_p=$as_test_x
25714
25715 # Sed expression to map a string onto a valid CPP name.
25716 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25717
25718 # Sed expression to map a string onto a valid variable name.
25719 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25720
25721
25722 exec 6>&1
25723 ## ----------------------------------- ##
25724 ## Main body of $CONFIG_STATUS script. ##
25725 ## ----------------------------------- ##
25726 _ASEOF
25727 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25728
25729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25730 # Save the log message, to keep $0 and so on meaningful, and to
25731 # report actual input values of CONFIG_FILES etc. instead of their
25732 # values after options handling.
25733 ac_log="
25734 This file was extended by gtk+ $as_me 3.4.0, which was
25735 generated by GNU Autoconf 2.68.  Invocation command line was
25736
25737   CONFIG_FILES    = $CONFIG_FILES
25738   CONFIG_HEADERS  = $CONFIG_HEADERS
25739   CONFIG_LINKS    = $CONFIG_LINKS
25740   CONFIG_COMMANDS = $CONFIG_COMMANDS
25741   $ $0 $@
25742
25743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25744 "
25745
25746 _ACEOF
25747
25748 case $ac_config_files in *"
25749 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25750 esac
25751
25752 case $ac_config_headers in *"
25753 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25754 esac
25755
25756
25757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25758 # Files that config.status was made for.
25759 config_files="$ac_config_files"
25760 config_headers="$ac_config_headers"
25761 config_commands="$ac_config_commands"
25762
25763 _ACEOF
25764
25765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25766 ac_cs_usage="\
25767 \`$as_me' instantiates files and other configuration actions
25768 from templates according to the current configuration.  Unless the files
25769 and actions are specified as TAGs, all are instantiated by default.
25770
25771 Usage: $0 [OPTION]... [TAG]...
25772
25773   -h, --help       print this help, then exit
25774   -V, --version    print version number and configuration settings, then exit
25775       --config     print configuration, then exit
25776   -q, --quiet, --silent
25777                    do not print progress messages
25778   -d, --debug      don't remove temporary files
25779       --recheck    update $as_me by reconfiguring in the same conditions
25780       --file=FILE[:TEMPLATE]
25781                    instantiate the configuration file FILE
25782       --header=FILE[:TEMPLATE]
25783                    instantiate the configuration header FILE
25784
25785 Configuration files:
25786 $config_files
25787
25788 Configuration headers:
25789 $config_headers
25790
25791 Configuration commands:
25792 $config_commands
25793
25794 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>."
25795
25796 _ACEOF
25797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25798 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25799 ac_cs_version="\\
25800 gtk+ config.status 3.4.0
25801 configured by $0, generated by GNU Autoconf 2.68,
25802   with options \\"\$ac_cs_config\\"
25803
25804 Copyright (C) 2010 Free Software Foundation, Inc.
25805 This config.status script is free software; the Free Software Foundation
25806 gives unlimited permission to copy, distribute and modify it."
25807
25808 ac_pwd='$ac_pwd'
25809 srcdir='$srcdir'
25810 INSTALL='$INSTALL'
25811 MKDIR_P='$MKDIR_P'
25812 AWK='$AWK'
25813 test -n "\$AWK" || AWK=awk
25814 _ACEOF
25815
25816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25817 # The default lists apply if the user does not specify any file.
25818 ac_need_defaults=:
25819 while test $# != 0
25820 do
25821   case $1 in
25822   --*=?*)
25823     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25824     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25825     ac_shift=:
25826     ;;
25827   --*=)
25828     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25829     ac_optarg=
25830     ac_shift=:
25831     ;;
25832   *)
25833     ac_option=$1
25834     ac_optarg=$2
25835     ac_shift=shift
25836     ;;
25837   esac
25838
25839   case $ac_option in
25840   # Handling of the options.
25841   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25842     ac_cs_recheck=: ;;
25843   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25844     $as_echo "$ac_cs_version"; exit ;;
25845   --config | --confi | --conf | --con | --co | --c )
25846     $as_echo "$ac_cs_config"; exit ;;
25847   --debug | --debu | --deb | --de | --d | -d )
25848     debug=: ;;
25849   --file | --fil | --fi | --f )
25850     $ac_shift
25851     case $ac_optarg in
25852     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25853     '') as_fn_error $? "missing file argument" ;;
25854     esac
25855     as_fn_append CONFIG_FILES " '$ac_optarg'"
25856     ac_need_defaults=false;;
25857   --header | --heade | --head | --hea )
25858     $ac_shift
25859     case $ac_optarg in
25860     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25861     esac
25862     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25863     ac_need_defaults=false;;
25864   --he | --h)
25865     # Conflict between --help and --header
25866     as_fn_error $? "ambiguous option: \`$1'
25867 Try \`$0 --help' for more information.";;
25868   --help | --hel | -h )
25869     $as_echo "$ac_cs_usage"; exit ;;
25870   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25871   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25872     ac_cs_silent=: ;;
25873
25874   # This is an error.
25875   -*) as_fn_error $? "unrecognized option: \`$1'
25876 Try \`$0 --help' for more information." ;;
25877
25878   *) as_fn_append ac_config_targets " $1"
25879      ac_need_defaults=false ;;
25880
25881   esac
25882   shift
25883 done
25884
25885 ac_configure_extra_args=
25886
25887 if $ac_cs_silent; then
25888   exec 6>/dev/null
25889   ac_configure_extra_args="$ac_configure_extra_args --silent"
25890 fi
25891
25892 _ACEOF
25893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25894 if \$ac_cs_recheck; then
25895   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25896   shift
25897   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25898   CONFIG_SHELL='$SHELL'
25899   export CONFIG_SHELL
25900   exec "\$@"
25901 fi
25902
25903 _ACEOF
25904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25905 exec 5>>config.log
25906 {
25907   echo
25908   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25909 ## Running $as_me. ##
25910 _ASBOX
25911   $as_echo "$ac_log"
25912 } >&5
25913
25914 _ACEOF
25915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25916 #
25917 # INIT-COMMANDS
25918 #
25919 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25920
25921
25922 # The HP-UX ksh and POSIX shell print the target directory to stdout
25923 # if CDPATH is set.
25924 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25925
25926 sed_quote_subst='$sed_quote_subst'
25927 double_quote_subst='$double_quote_subst'
25928 delay_variable_subst='$delay_variable_subst'
25929 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25930 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25931 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25932 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
25933 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25934 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25935 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25936 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25937 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25938 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25939 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25940 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25941 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25942 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25943 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25944 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25945 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25946 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25947 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25948 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25949 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25950 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25951 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25952 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25953 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25954 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25955 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25956 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25957 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25958 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25959 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25960 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25961 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25962 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25963 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25964 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25965 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25966 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25967 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25968 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25969 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25970 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25971 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25972 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25973 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25974 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25975 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25976 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25977 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25978 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25979 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25980 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25981 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25982 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25983 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25984 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25985 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25986 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"`'
25987 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25988 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25989 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25990 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25991 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25992 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25993 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25994 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25995 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25996 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25997 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25998 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25999 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26000 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26001 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26002 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26003 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26004 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26005 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26006 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26007 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26008 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26009 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26010 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26011 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26012 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26013 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26014 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26015 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26016 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26017 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26018 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26019 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26020 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26021 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26022 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26023 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26024 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26025 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26026 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26027 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26028 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26029 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26030 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26031 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26032 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26033 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26034 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26035 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26036 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26037 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26038 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26039 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26040 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26041 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26042 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26043 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26044 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26045 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26046 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26047 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26048 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26049 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26050 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26051 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26052 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26053 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26054 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26055 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26056 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26057 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26058 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26059 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26060 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26061 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26062 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26063 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26064 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26065 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26066 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26067 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26068 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26069 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26070 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26071 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26072 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26073 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26074 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26075 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26076 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26077 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26078 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26079 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26080 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26081 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26082 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26083 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26084 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26085 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26086 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26087 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26088 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26089 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26090 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26091 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26092 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26093 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26094 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26095 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26096 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26097 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26098 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26099 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26100 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26101 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26102 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26103 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26104 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26105 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26106 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26107 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26108 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26109 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26110 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26111 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26112 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26113 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26114
26115 LTCC='$LTCC'
26116 LTCFLAGS='$LTCFLAGS'
26117 compiler='$compiler_DEFAULT'
26118
26119 # A function that is used when there is no print builtin or printf.
26120 func_fallback_echo ()
26121 {
26122   eval 'cat <<_LTECHO_EOF
26123 \$1
26124 _LTECHO_EOF'
26125 }
26126
26127 # Quote evaled strings.
26128 for var in AS \
26129 DLLTOOL \
26130 OBJDUMP \
26131 SHELL \
26132 ECHO \
26133 PATH_SEPARATOR \
26134 SED \
26135 GREP \
26136 EGREP \
26137 FGREP \
26138 LD \
26139 NM \
26140 LN_S \
26141 lt_SP2NL \
26142 lt_NL2SP \
26143 reload_flag \
26144 deplibs_check_method \
26145 file_magic_cmd \
26146 file_magic_glob \
26147 want_nocaseglob \
26148 sharedlib_from_linklib_cmd \
26149 AR \
26150 AR_FLAGS \
26151 archiver_list_spec \
26152 STRIP \
26153 RANLIB \
26154 CC \
26155 CFLAGS \
26156 compiler \
26157 lt_cv_sys_global_symbol_pipe \
26158 lt_cv_sys_global_symbol_to_cdecl \
26159 lt_cv_sys_global_symbol_to_c_name_address \
26160 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26161 nm_file_list_spec \
26162 lt_prog_compiler_no_builtin_flag \
26163 lt_prog_compiler_pic \
26164 lt_prog_compiler_wl \
26165 lt_prog_compiler_static \
26166 lt_cv_prog_compiler_c_o \
26167 need_locks \
26168 MANIFEST_TOOL \
26169 DSYMUTIL \
26170 NMEDIT \
26171 LIPO \
26172 OTOOL \
26173 OTOOL64 \
26174 shrext_cmds \
26175 export_dynamic_flag_spec \
26176 whole_archive_flag_spec \
26177 compiler_needs_object \
26178 with_gnu_ld \
26179 allow_undefined_flag \
26180 no_undefined_flag \
26181 hardcode_libdir_flag_spec \
26182 hardcode_libdir_separator \
26183 exclude_expsyms \
26184 include_expsyms \
26185 file_list_spec \
26186 variables_saved_for_relink \
26187 libname_spec \
26188 library_names_spec \
26189 soname_spec \
26190 install_override_mode \
26191 finish_eval \
26192 old_striplib \
26193 striplib \
26194 compiler_lib_search_dirs \
26195 predep_objects \
26196 postdep_objects \
26197 predeps \
26198 postdeps \
26199 compiler_lib_search_path \
26200 LD_CXX \
26201 reload_flag_CXX \
26202 compiler_CXX \
26203 lt_prog_compiler_no_builtin_flag_CXX \
26204 lt_prog_compiler_pic_CXX \
26205 lt_prog_compiler_wl_CXX \
26206 lt_prog_compiler_static_CXX \
26207 lt_cv_prog_compiler_c_o_CXX \
26208 export_dynamic_flag_spec_CXX \
26209 whole_archive_flag_spec_CXX \
26210 compiler_needs_object_CXX \
26211 with_gnu_ld_CXX \
26212 allow_undefined_flag_CXX \
26213 no_undefined_flag_CXX \
26214 hardcode_libdir_flag_spec_CXX \
26215 hardcode_libdir_separator_CXX \
26216 exclude_expsyms_CXX \
26217 include_expsyms_CXX \
26218 file_list_spec_CXX \
26219 compiler_lib_search_dirs_CXX \
26220 predep_objects_CXX \
26221 postdep_objects_CXX \
26222 predeps_CXX \
26223 postdeps_CXX \
26224 compiler_lib_search_path_CXX; do
26225     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26226     *[\\\\\\\`\\"\\\$]*)
26227       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26228       ;;
26229     *)
26230       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26231       ;;
26232     esac
26233 done
26234
26235 # Double-quote double-evaled strings.
26236 for var in reload_cmds \
26237 old_postinstall_cmds \
26238 old_postuninstall_cmds \
26239 old_archive_cmds \
26240 extract_expsyms_cmds \
26241 old_archive_from_new_cmds \
26242 old_archive_from_expsyms_cmds \
26243 archive_cmds \
26244 archive_expsym_cmds \
26245 module_cmds \
26246 module_expsym_cmds \
26247 export_symbols_cmds \
26248 prelink_cmds \
26249 postlink_cmds \
26250 postinstall_cmds \
26251 postuninstall_cmds \
26252 finish_cmds \
26253 sys_lib_search_path_spec \
26254 sys_lib_dlsearch_path_spec \
26255 reload_cmds_CXX \
26256 old_archive_cmds_CXX \
26257 old_archive_from_new_cmds_CXX \
26258 old_archive_from_expsyms_cmds_CXX \
26259 archive_cmds_CXX \
26260 archive_expsym_cmds_CXX \
26261 module_cmds_CXX \
26262 module_expsym_cmds_CXX \
26263 export_symbols_cmds_CXX \
26264 prelink_cmds_CXX \
26265 postlink_cmds_CXX; do
26266     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26267     *[\\\\\\\`\\"\\\$]*)
26268       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26269       ;;
26270     *)
26271       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26272       ;;
26273     esac
26274 done
26275
26276 ac_aux_dir='$ac_aux_dir'
26277 xsi_shell='$xsi_shell'
26278 lt_shell_append='$lt_shell_append'
26279
26280 # See if we are running on zsh, and set the options which allow our
26281 # commands through without removal of \ escapes INIT.
26282 if test -n "\${ZSH_VERSION+set}" ; then
26283    setopt NO_GLOB_SUBST
26284 fi
26285
26286
26287     PACKAGE='$PACKAGE'
26288     VERSION='$VERSION'
26289     TIMESTAMP='$TIMESTAMP'
26290     RM='$RM'
26291     ofile='$ofile'
26292
26293
26294
26295 ac_aux_dir='$ac_aux_dir'
26296
26297
26298
26299
26300
26301 gdk_windowing='$GDK_WINDOWING'
26302
26303
26304 _ACEOF
26305
26306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26307
26308 # Handling of arguments.
26309 for ac_config_target in $ac_config_targets
26310 do
26311   case $ac_config_target in
26312     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26313     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26314     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26315     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26316     "po-properties") CONFIG_COMMANDS="$CONFIG_COMMANDS po-properties" ;;
26317     "gdk/gdkconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gdk/gdkconfig.h" ;;
26318     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
26319     "gtk-zip.sh") CONFIG_FILES="$CONFIG_FILES gtk-zip.sh" ;;
26320     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26321     "gdk-3.0.pc") CONFIG_FILES="$CONFIG_FILES gdk-3.0.pc" ;;
26322     "gtk+-3.0.pc") CONFIG_FILES="$CONFIG_FILES gtk+-3.0.pc" ;;
26323     "gtk+-unix-print-3.0.pc") CONFIG_FILES="$CONFIG_FILES gtk+-unix-print-3.0.pc" ;;
26324     "gail-3.0.pc") CONFIG_FILES="$CONFIG_FILES gail-3.0.pc" ;;
26325     "m4macros/Makefile") CONFIG_FILES="$CONFIG_FILES m4macros/Makefile" ;;
26326     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26327     "po-properties/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-properties/Makefile.in" ;;
26328     "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
26329     "demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/Makefile" ;;
26330     "demos/gtk-demo/geninclude.pl") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/geninclude.pl" ;;
26331     "demos/pixbuf-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/pixbuf-demo/Makefile" ;;
26332     "demos/widget-factory/Makefile") CONFIG_FILES="$CONFIG_FILES demos/widget-factory/Makefile" ;;
26333     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
26334     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
26335     "tests/a11y/Makefile") CONFIG_FILES="$CONFIG_FILES tests/a11y/Makefile" ;;
26336     "tests/css/Makefile") CONFIG_FILES="$CONFIG_FILES tests/css/Makefile" ;;
26337     "tests/css/parser/Makefile") CONFIG_FILES="$CONFIG_FILES tests/css/parser/Makefile" ;;
26338     "tests/reftests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reftests/Makefile" ;;
26339     "tests/visuals/Makefile") CONFIG_FILES="$CONFIG_FILES tests/visuals/Makefile" ;;
26340     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26341     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
26342     "docs/reference/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk/Makefile" ;;
26343     "docs/reference/gdk/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk/version.xml" ;;
26344     "docs/reference/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gtk/Makefile" ;;
26345     "docs/reference/gtk/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gtk/version.xml" ;;
26346     "docs/reference/libgail-util/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libgail-util/Makefile" ;;
26347     "docs/reference/libgail-util/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libgail-util/version.xml" ;;
26348     "docs/tools/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tools/Makefile" ;;
26349     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
26350     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
26351     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
26352     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
26353     "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
26354     "gdk/broadway/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/broadway/Makefile" ;;
26355     "gdk/x11/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/x11/Makefile" ;;
26356     "gdk/win32/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/win32/Makefile" ;;
26357     "gdk/win32/rc/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/win32/rc/Makefile" ;;
26358     "gdk/win32/rc/gdk.rc") CONFIG_FILES="$CONFIG_FILES gdk/win32/rc/gdk.rc" ;;
26359     "gdk/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/quartz/Makefile" ;;
26360     "gdk/wayland/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/wayland/Makefile" ;;
26361     "gdk/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/tests/Makefile" ;;
26362     "gdk/gdkversionmacros.h") CONFIG_FILES="$CONFIG_FILES gdk/gdkversionmacros.h" ;;
26363     "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
26364     "gtk/makefile.msc") CONFIG_FILES="$CONFIG_FILES gtk/makefile.msc" ;;
26365     "gtk/gtkversion.h") CONFIG_FILES="$CONFIG_FILES gtk/gtkversion.h" ;;
26366     "gtk/gtk-win32.rc") CONFIG_FILES="$CONFIG_FILES gtk/gtk-win32.rc" ;;
26367     "gtk/a11y/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/a11y/Makefile" ;;
26368     "gtk/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/tests/Makefile" ;;
26369     "libgail-util/Makefile") CONFIG_FILES="$CONFIG_FILES libgail-util/Makefile" ;;
26370     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
26371     "modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/Makefile" ;;
26372     "modules/engines/pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/pixbuf/Makefile" ;;
26373     "modules/engines/ms-windows/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Makefile" ;;
26374     "modules/engines/ms-windows/Theme/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Theme/Makefile" ;;
26375     "modules/engines/ms-windows/Theme/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Theme/gtk-3.0/Makefile" ;;
26376     "modules/input/Makefile") CONFIG_FILES="$CONFIG_FILES modules/input/Makefile" ;;
26377     "modules/printbackends/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/Makefile" ;;
26378     "modules/printbackends/cups/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/cups/Makefile" ;;
26379     "modules/printbackends/lpr/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/lpr/Makefile" ;;
26380     "modules/printbackends/file/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/file/Makefile" ;;
26381     "modules/printbackends/papi/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/papi/Makefile" ;;
26382     "modules/printbackends/test/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/test/Makefile" ;;
26383     "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
26384
26385   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26386   esac
26387 done
26388
26389
26390 # If the user did not use the arguments to specify the items to instantiate,
26391 # then the envvar interface is used.  Set only those that are not.
26392 # We use the long form for the default assignment because of an extremely
26393 # bizarre bug on SunOS 4.1.3.
26394 if $ac_need_defaults; then
26395   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26396   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26397   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26398 fi
26399
26400 # Have a temporary directory for convenience.  Make it in the build tree
26401 # simply because there is no reason against having it here, and in addition,
26402 # creating and moving files from /tmp can sometimes cause problems.
26403 # Hook for its removal unless debugging.
26404 # Note that there is a small window in which the directory will not be cleaned:
26405 # after its creation but before its name has been assigned to `$tmp'.
26406 $debug ||
26407 {
26408   tmp= ac_tmp=
26409   trap 'exit_status=$?
26410   : "${ac_tmp:=$tmp}"
26411   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26412 ' 0
26413   trap 'as_fn_exit 1' 1 2 13 15
26414 }
26415 # Create a (secure) tmp directory for tmp files.
26416
26417 {
26418   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26419   test -d "$tmp"
26420 }  ||
26421 {
26422   tmp=./conf$$-$RANDOM
26423   (umask 077 && mkdir "$tmp")
26424 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26425 ac_tmp=$tmp
26426
26427 # Set up the scripts for CONFIG_FILES section.
26428 # No need to generate them if there are no CONFIG_FILES.
26429 # This happens for instance with `./config.status config.h'.
26430 if test -n "$CONFIG_FILES"; then
26431
26432
26433 ac_cr=`echo X | tr X '\015'`
26434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26435 # But we know of no other shell where ac_cr would be empty at this
26436 # point, so we can use a bashism as a fallback.
26437 if test "x$ac_cr" = x; then
26438   eval ac_cr=\$\'\\r\'
26439 fi
26440 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26442   ac_cs_awk_cr='\\r'
26443 else
26444   ac_cs_awk_cr=$ac_cr
26445 fi
26446
26447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26448 _ACEOF
26449
26450
26451 {
26452   echo "cat >conf$$subs.awk <<_ACEOF" &&
26453   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26454   echo "_ACEOF"
26455 } >conf$$subs.sh ||
26456   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26458 ac_delim='%!_!# '
26459 for ac_last_try in false false false false false :; do
26460   . ./conf$$subs.sh ||
26461     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26462
26463   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26464   if test $ac_delim_n = $ac_delim_num; then
26465     break
26466   elif $ac_last_try; then
26467     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26468   else
26469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26470   fi
26471 done
26472 rm -f conf$$subs.sh
26473
26474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26475 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
26476 _ACEOF
26477 sed -n '
26478 h
26479 s/^/S["/; s/!.*/"]=/
26480 p
26481 g
26482 s/^[^!]*!//
26483 :repl
26484 t repl
26485 s/'"$ac_delim"'$//
26486 t delim
26487 :nl
26488 h
26489 s/\(.\{148\}\)..*/\1/
26490 t more1
26491 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26492 p
26493 n
26494 b repl
26495 :more1
26496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26497 p
26498 g
26499 s/.\{148\}//
26500 t nl
26501 :delim
26502 h
26503 s/\(.\{148\}\)..*/\1/
26504 t more2
26505 s/["\\]/\\&/g; s/^/"/; s/$/"/
26506 p
26507 b
26508 :more2
26509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26510 p
26511 g
26512 s/.\{148\}//
26513 t delim
26514 ' <conf$$subs.awk | sed '
26515 /^[^""]/{
26516   N
26517   s/\n//
26518 }
26519 ' >>$CONFIG_STATUS || ac_write_fail=1
26520 rm -f conf$$subs.awk
26521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26522 _ACAWK
26523 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26524   for (key in S) S_is_set[key] = 1
26525   FS = "\a"
26526
26527 }
26528 {
26529   line = $ 0
26530   nfields = split(line, field, "@")
26531   substed = 0
26532   len = length(field[1])
26533   for (i = 2; i < nfields; i++) {
26534     key = field[i]
26535     keylen = length(key)
26536     if (S_is_set[key]) {
26537       value = S[key]
26538       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26539       len += length(value) + length(field[++i])
26540       substed = 1
26541     } else
26542       len += 1 + keylen
26543   }
26544
26545   print line
26546 }
26547
26548 _ACAWK
26549 _ACEOF
26550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26551 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26552   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26553 else
26554   cat
26555 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
26556   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26557 _ACEOF
26558
26559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26561 # trailing colons and then remove the whole line if VPATH becomes empty
26562 # (actually we leave an empty line to preserve line numbers).
26563 if test "x$srcdir" = x.; then
26564   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
26565 h
26566 s///
26567 s/^/:/
26568 s/[      ]*$/:/
26569 s/:\$(srcdir):/:/g
26570 s/:\${srcdir}:/:/g
26571 s/:@srcdir@:/:/g
26572 s/^:*//
26573 s/:*$//
26574 x
26575 s/\(=[   ]*\).*/\1/
26576 G
26577 s/\n//
26578 s/^[^=]*=[       ]*$//
26579 }'
26580 fi
26581
26582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26583 fi # test -n "$CONFIG_FILES"
26584
26585 # Set up the scripts for CONFIG_HEADERS section.
26586 # No need to generate them if there are no CONFIG_HEADERS.
26587 # This happens for instance with `./config.status Makefile'.
26588 if test -n "$CONFIG_HEADERS"; then
26589 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
26590 BEGIN {
26591 _ACEOF
26592
26593 # Transform confdefs.h into an awk script `defines.awk', embedded as
26594 # here-document in config.status, that substitutes the proper values into
26595 # config.h.in to produce config.h.
26596
26597 # Create a delimiter string that does not exist in confdefs.h, to ease
26598 # handling of long lines.
26599 ac_delim='%!_!# '
26600 for ac_last_try in false false :; do
26601   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26602   if test -z "$ac_tt"; then
26603     break
26604   elif $ac_last_try; then
26605     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26606   else
26607     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26608   fi
26609 done
26610
26611 # For the awk script, D is an array of macro values keyed by name,
26612 # likewise P contains macro parameters if any.  Preserve backslash
26613 # newline sequences.
26614
26615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26616 sed -n '
26617 s/.\{148\}/&'"$ac_delim"'/g
26618 t rset
26619 :rset
26620 s/^[     ]*#[    ]*define[       ][      ]*/ /
26621 t def
26622 d
26623 :def
26624 s/\\$//
26625 t bsnl
26626 s/["\\]/\\&/g
26627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26628 D["\1"]=" \3"/p
26629 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26630 d
26631 :bsnl
26632 s/["\\]/\\&/g
26633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26634 D["\1"]=" \3\\\\\\n"\\/p
26635 t cont
26636 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26637 t cont
26638 d
26639 :cont
26640 n
26641 s/.\{148\}/&'"$ac_delim"'/g
26642 t clear
26643 :clear
26644 s/\\$//
26645 t bsnlc
26646 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26647 d
26648 :bsnlc
26649 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26650 b cont
26651 ' <confdefs.h | sed '
26652 s/'"$ac_delim"'/"\\\
26653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26654
26655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26656   for (key in D) D_is_set[key] = 1
26657   FS = "\a"
26658 }
26659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26660   line = \$ 0
26661   split(line, arg, " ")
26662   if (arg[1] == "#") {
26663     defundef = arg[2]
26664     mac1 = arg[3]
26665   } else {
26666     defundef = substr(arg[1], 2)
26667     mac1 = arg[2]
26668   }
26669   split(mac1, mac2, "(") #)
26670   macro = mac2[1]
26671   prefix = substr(line, 1, index(line, defundef) - 1)
26672   if (D_is_set[macro]) {
26673     # Preserve the white space surrounding the "#".
26674     print prefix "define", macro P[macro] D[macro]
26675     next
26676   } else {
26677     # Replace #undef with comments.  This is necessary, for example,
26678     # in the case of _POSIX_SOURCE, which is predefined and required
26679     # on some systems where configure will not decide to define it.
26680     if (defundef == "undef") {
26681       print "/*", prefix defundef, macro, "*/"
26682       next
26683     }
26684   }
26685 }
26686 { print }
26687 _ACAWK
26688 _ACEOF
26689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26690   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26691 fi # test -n "$CONFIG_HEADERS"
26692
26693
26694 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26695 shift
26696 for ac_tag
26697 do
26698   case $ac_tag in
26699   :[FHLC]) ac_mode=$ac_tag; continue;;
26700   esac
26701   case $ac_mode$ac_tag in
26702   :[FHL]*:*);;
26703   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26704   :[FH]-) ac_tag=-:-;;
26705   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26706   esac
26707   ac_save_IFS=$IFS
26708   IFS=:
26709   set x $ac_tag
26710   IFS=$ac_save_IFS
26711   shift
26712   ac_file=$1
26713   shift
26714
26715   case $ac_mode in
26716   :L) ac_source=$1;;
26717   :[FH])
26718     ac_file_inputs=
26719     for ac_f
26720     do
26721       case $ac_f in
26722       -) ac_f="$ac_tmp/stdin";;
26723       *) # Look for the file first in the build tree, then in the source tree
26724          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26725          # because $ac_f cannot contain `:'.
26726          test -f "$ac_f" ||
26727            case $ac_f in
26728            [\\/$]*) false;;
26729            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26730            esac ||
26731            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26732       esac
26733       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26734       as_fn_append ac_file_inputs " '$ac_f'"
26735     done
26736
26737     # Let's still pretend it is `configure' which instantiates (i.e., don't
26738     # use $as_me), people would be surprised to read:
26739     #    /* config.h.  Generated by config.status.  */
26740     configure_input='Generated from '`
26741           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26742         `' by configure.'
26743     if test x"$ac_file" != x-; then
26744       configure_input="$ac_file.  $configure_input"
26745       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26746 $as_echo "$as_me: creating $ac_file" >&6;}
26747     fi
26748     # Neutralize special characters interpreted by sed in replacement strings.
26749     case $configure_input in #(
26750     *\&* | *\|* | *\\* )
26751        ac_sed_conf_input=`$as_echo "$configure_input" |
26752        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26753     *) ac_sed_conf_input=$configure_input;;
26754     esac
26755
26756     case $ac_tag in
26757     *:-:* | *:-) cat >"$ac_tmp/stdin" \
26758       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26759     esac
26760     ;;
26761   esac
26762
26763   ac_dir=`$as_dirname -- "$ac_file" ||
26764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26765          X"$ac_file" : 'X\(//\)[^/]' \| \
26766          X"$ac_file" : 'X\(//\)$' \| \
26767          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26768 $as_echo X"$ac_file" |
26769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26770             s//\1/
26771             q
26772           }
26773           /^X\(\/\/\)[^/].*/{
26774             s//\1/
26775             q
26776           }
26777           /^X\(\/\/\)$/{
26778             s//\1/
26779             q
26780           }
26781           /^X\(\/\).*/{
26782             s//\1/
26783             q
26784           }
26785           s/.*/./; q'`
26786   as_dir="$ac_dir"; as_fn_mkdir_p
26787   ac_builddir=.
26788
26789 case "$ac_dir" in
26790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26791 *)
26792   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26793   # A ".." for each directory in $ac_dir_suffix.
26794   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26795   case $ac_top_builddir_sub in
26796   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26797   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26798   esac ;;
26799 esac
26800 ac_abs_top_builddir=$ac_pwd
26801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26802 # for backward compatibility:
26803 ac_top_builddir=$ac_top_build_prefix
26804
26805 case $srcdir in
26806   .)  # We are building in place.
26807     ac_srcdir=.
26808     ac_top_srcdir=$ac_top_builddir_sub
26809     ac_abs_top_srcdir=$ac_pwd ;;
26810   [\\/]* | ?:[\\/]* )  # Absolute name.
26811     ac_srcdir=$srcdir$ac_dir_suffix;
26812     ac_top_srcdir=$srcdir
26813     ac_abs_top_srcdir=$srcdir ;;
26814   *) # Relative name.
26815     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26816     ac_top_srcdir=$ac_top_build_prefix$srcdir
26817     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26818 esac
26819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26820
26821
26822   case $ac_mode in
26823   :F)
26824   #
26825   # CONFIG_FILE
26826   #
26827
26828   case $INSTALL in
26829   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26830   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26831   esac
26832   ac_MKDIR_P=$MKDIR_P
26833   case $MKDIR_P in
26834   [\\/$]* | ?:[\\/]* ) ;;
26835   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26836   esac
26837 _ACEOF
26838
26839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26840 # If the template does not know about datarootdir, expand it.
26841 # FIXME: This hack should be removed a few years after 2.60.
26842 ac_datarootdir_hack=; ac_datarootdir_seen=
26843 ac_sed_dataroot='
26844 /datarootdir/ {
26845   p
26846   q
26847 }
26848 /@datadir@/p
26849 /@docdir@/p
26850 /@infodir@/p
26851 /@localedir@/p
26852 /@mandir@/p'
26853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26854 *datarootdir*) ac_datarootdir_seen=yes;;
26855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26856   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26858 _ACEOF
26859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26860   ac_datarootdir_hack='
26861   s&@datadir@&$datadir&g
26862   s&@docdir@&$docdir&g
26863   s&@infodir@&$infodir&g
26864   s&@localedir@&$localedir&g
26865   s&@mandir@&$mandir&g
26866   s&\\\${datarootdir}&$datarootdir&g' ;;
26867 esac
26868 _ACEOF
26869
26870 # Neutralize VPATH when `$srcdir' = `.'.
26871 # Shell code in configure.ac might set extrasub.
26872 # FIXME: do we really want to maintain this feature?
26873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26874 ac_sed_extra="$ac_vpsub
26875 $extrasub
26876 _ACEOF
26877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26878 :t
26879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26880 s|@configure_input@|$ac_sed_conf_input|;t t
26881 s&@top_builddir@&$ac_top_builddir_sub&;t t
26882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26883 s&@srcdir@&$ac_srcdir&;t t
26884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26885 s&@top_srcdir@&$ac_top_srcdir&;t t
26886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26887 s&@builddir@&$ac_builddir&;t t
26888 s&@abs_builddir@&$ac_abs_builddir&;t t
26889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26890 s&@INSTALL@&$ac_INSTALL&;t t
26891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26892 $ac_datarootdir_hack
26893 "
26894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26895   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26896
26897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26898   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26899   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
26900       "$ac_tmp/out"`; test -z "$ac_out"; } &&
26901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26902 which seems to be undefined.  Please make sure it is defined" >&5
26903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26904 which seems to be undefined.  Please make sure it is defined" >&2;}
26905
26906   rm -f "$ac_tmp/stdin"
26907   case $ac_file in
26908   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26909   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26910   esac \
26911   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26912  ;;
26913   :H)
26914   #
26915   # CONFIG_HEADER
26916   #
26917   if test x"$ac_file" != x-; then
26918     {
26919       $as_echo "/* $configure_input  */" \
26920       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26921     } >"$ac_tmp/config.h" \
26922       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26923     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26924       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26926     else
26927       rm -f "$ac_file"
26928       mv "$ac_tmp/config.h" "$ac_file" \
26929         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26930     fi
26931   else
26932     $as_echo "/* $configure_input  */" \
26933       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26934       || as_fn_error $? "could not create -" "$LINENO" 5
26935   fi
26936 # Compute "$ac_file"'s index in $config_headers.
26937 _am_arg="$ac_file"
26938 _am_stamp_count=1
26939 for _am_header in $config_headers :; do
26940   case $_am_header in
26941     $_am_arg | $_am_arg:* )
26942       break ;;
26943     * )
26944       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26945   esac
26946 done
26947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26949          X"$_am_arg" : 'X\(//\)[^/]' \| \
26950          X"$_am_arg" : 'X\(//\)$' \| \
26951          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26952 $as_echo X"$_am_arg" |
26953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26954             s//\1/
26955             q
26956           }
26957           /^X\(\/\/\)[^/].*/{
26958             s//\1/
26959             q
26960           }
26961           /^X\(\/\/\)$/{
26962             s//\1/
26963             q
26964           }
26965           /^X\(\/\).*/{
26966             s//\1/
26967             q
26968           }
26969           s/.*/./; q'`/stamp-h$_am_stamp_count
26970  ;;
26971
26972   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26973 $as_echo "$as_me: executing $ac_file commands" >&6;}
26974  ;;
26975   esac
26976
26977
26978   case $ac_file$ac_mode in
26979     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26980   # Autoconf 2.62 quotes --file arguments for eval, but not when files
26981   # are listed without --file.  Let's play safe and only enable the eval
26982   # if we detect the quoting.
26983   case $CONFIG_FILES in
26984   *\'*) eval set x "$CONFIG_FILES" ;;
26985   *)   set x $CONFIG_FILES ;;
26986   esac
26987   shift
26988   for mf
26989   do
26990     # Strip MF so we end up with the name of the file.
26991     mf=`echo "$mf" | sed -e 's/:.*$//'`
26992     # Check whether this is an Automake generated Makefile or not.
26993     # We used to match only the files named `Makefile.in', but
26994     # some people rename them; so instead we look at the file content.
26995     # Grep'ing the first line is not enough: some people post-process
26996     # each Makefile.in and add a new line on top of each file to say so.
26997     # Grep'ing the whole file is not good either: AIX grep has a line
26998     # limit of 2048, but all sed's we know have understand at least 4000.
26999     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27000       dirpart=`$as_dirname -- "$mf" ||
27001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27002          X"$mf" : 'X\(//\)[^/]' \| \
27003          X"$mf" : 'X\(//\)$' \| \
27004          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27005 $as_echo X"$mf" |
27006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27007             s//\1/
27008             q
27009           }
27010           /^X\(\/\/\)[^/].*/{
27011             s//\1/
27012             q
27013           }
27014           /^X\(\/\/\)$/{
27015             s//\1/
27016             q
27017           }
27018           /^X\(\/\).*/{
27019             s//\1/
27020             q
27021           }
27022           s/.*/./; q'`
27023     else
27024       continue
27025     fi
27026     # Extract the definition of DEPDIR, am__include, and am__quote
27027     # from the Makefile without running `make'.
27028     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27029     test -z "$DEPDIR" && continue
27030     am__include=`sed -n 's/^am__include = //p' < "$mf"`
27031     test -z "am__include" && continue
27032     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27033     # When using ansi2knr, U may be empty or an underscore; expand it
27034     U=`sed -n 's/^U = //p' < "$mf"`
27035     # Find all dependency output files, they are included files with
27036     # $(DEPDIR) in their names.  We invoke sed twice because it is the
27037     # simplest approach to changing $(DEPDIR) to its actual value in the
27038     # expansion.
27039     for file in `sed -n "
27040       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27041          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27042       # Make sure the directory exists.
27043       test -f "$dirpart/$file" && continue
27044       fdir=`$as_dirname -- "$file" ||
27045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27046          X"$file" : 'X\(//\)[^/]' \| \
27047          X"$file" : 'X\(//\)$' \| \
27048          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27049 $as_echo X"$file" |
27050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27051             s//\1/
27052             q
27053           }
27054           /^X\(\/\/\)[^/].*/{
27055             s//\1/
27056             q
27057           }
27058           /^X\(\/\/\)$/{
27059             s//\1/
27060             q
27061           }
27062           /^X\(\/\).*/{
27063             s//\1/
27064             q
27065           }
27066           s/.*/./; q'`
27067       as_dir=$dirpart/$fdir; as_fn_mkdir_p
27068       # echo "creating $dirpart/$file"
27069       echo '# dummy' > "$dirpart/$file"
27070     done
27071   done
27072 }
27073  ;;
27074     "libtool":C)
27075
27076     # See if we are running on zsh, and set the options which allow our
27077     # commands through without removal of \ escapes.
27078     if test -n "${ZSH_VERSION+set}" ; then
27079       setopt NO_GLOB_SUBST
27080     fi
27081
27082     cfgfile="${ofile}T"
27083     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27084     $RM "$cfgfile"
27085
27086     cat <<_LT_EOF >> "$cfgfile"
27087 #! $SHELL
27088
27089 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27090 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27092 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27093 #
27094 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27095 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
27096 #                 Foundation, Inc.
27097 #   Written by Gordon Matzigkeit, 1996
27098 #
27099 #   This file is part of GNU Libtool.
27100 #
27101 # GNU Libtool is free software; you can redistribute it and/or
27102 # modify it under the terms of the GNU General Public License as
27103 # published by the Free Software Foundation; either version 2 of
27104 # the License, or (at your option) any later version.
27105 #
27106 # As a special exception to the GNU General Public License,
27107 # if you distribute this file as part of a program or library that
27108 # is built using GNU Libtool, you may include this file under the
27109 # same distribution terms that you use for the rest of that program.
27110 #
27111 # GNU Libtool is distributed in the hope that it will be useful,
27112 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27114 # GNU General Public License for more details.
27115 #
27116 # You should have received a copy of the GNU General Public License
27117 # along with GNU Libtool; see the file COPYING.  If not, a copy
27118 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27119 # obtained by writing to the Free Software Foundation, Inc.,
27120 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27121
27122
27123 # The names of the tagged configurations supported by this script.
27124 available_tags="CXX "
27125
27126 # ### BEGIN LIBTOOL CONFIG
27127
27128 # Which release of libtool.m4 was used?
27129 macro_version=$macro_version
27130 macro_revision=$macro_revision
27131
27132 # Whether or not to build static libraries.
27133 build_old_libs=$enable_static
27134
27135 # Assembler program.
27136 AS=$lt_AS
27137
27138 # DLL creation program.
27139 DLLTOOL=$lt_DLLTOOL
27140
27141 # Object dumper program.
27142 OBJDUMP=$lt_OBJDUMP
27143
27144 # Whether or not to build shared libraries.
27145 build_libtool_libs=$enable_shared
27146
27147 # What type of objects to build.
27148 pic_mode=$pic_mode
27149
27150 # Whether or not to optimize for fast installation.
27151 fast_install=$enable_fast_install
27152
27153 # Shell to use when invoking shell scripts.
27154 SHELL=$lt_SHELL
27155
27156 # An echo program that protects backslashes.
27157 ECHO=$lt_ECHO
27158
27159 # The PATH separator for the build system.
27160 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27161
27162 # The host system.
27163 host_alias=$host_alias
27164 host=$host
27165 host_os=$host_os
27166
27167 # The build system.
27168 build_alias=$build_alias
27169 build=$build
27170 build_os=$build_os
27171
27172 # A sed program that does not truncate output.
27173 SED=$lt_SED
27174
27175 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27176 Xsed="\$SED -e 1s/^X//"
27177
27178 # A grep program that handles long lines.
27179 GREP=$lt_GREP
27180
27181 # An ERE matcher.
27182 EGREP=$lt_EGREP
27183
27184 # A literal string matcher.
27185 FGREP=$lt_FGREP
27186
27187 # A BSD- or MS-compatible name lister.
27188 NM=$lt_NM
27189
27190 # Whether we need soft or hard links.
27191 LN_S=$lt_LN_S
27192
27193 # What is the maximum length of a command?
27194 max_cmd_len=$max_cmd_len
27195
27196 # Object file suffix (normally "o").
27197 objext=$ac_objext
27198
27199 # Executable file suffix (normally "").
27200 exeext=$exeext
27201
27202 # whether the shell understands "unset".
27203 lt_unset=$lt_unset
27204
27205 # turn spaces into newlines.
27206 SP2NL=$lt_lt_SP2NL
27207
27208 # turn newlines into spaces.
27209 NL2SP=$lt_lt_NL2SP
27210
27211 # convert \$build file names to \$host format.
27212 to_host_file_cmd=$lt_cv_to_host_file_cmd
27213
27214 # convert \$build files to toolchain format.
27215 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
27216
27217 # Method to check whether dependent libraries are shared objects.
27218 deplibs_check_method=$lt_deplibs_check_method
27219
27220 # Command to use when deplibs_check_method = "file_magic".
27221 file_magic_cmd=$lt_file_magic_cmd
27222
27223 # How to find potential files when deplibs_check_method = "file_magic".
27224 file_magic_glob=$lt_file_magic_glob
27225
27226 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
27227 want_nocaseglob=$lt_want_nocaseglob
27228
27229 # Command to associate shared and link libraries.
27230 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
27231
27232 # The archiver.
27233 AR=$lt_AR
27234
27235 # Flags to create an archive.
27236 AR_FLAGS=$lt_AR_FLAGS
27237
27238 # How to feed a file listing to the archiver.
27239 archiver_list_spec=$lt_archiver_list_spec
27240
27241 # A symbol stripping program.
27242 STRIP=$lt_STRIP
27243
27244 # Commands used to install an old-style archive.
27245 RANLIB=$lt_RANLIB
27246 old_postinstall_cmds=$lt_old_postinstall_cmds
27247 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27248
27249 # Whether to use a lock for old archive extraction.
27250 lock_old_archive_extraction=$lock_old_archive_extraction
27251
27252 # A C compiler.
27253 LTCC=$lt_CC
27254
27255 # LTCC compiler flags.
27256 LTCFLAGS=$lt_CFLAGS
27257
27258 # Take the output of nm and produce a listing of raw symbols and C names.
27259 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27260
27261 # Transform the output of nm in a proper C declaration.
27262 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27263
27264 # Transform the output of nm in a C name address pair.
27265 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27266
27267 # Transform the output of nm in a C name address pair when lib prefix is needed.
27268 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27269
27270 # Specify filename containing input files for \$NM.
27271 nm_file_list_spec=$lt_nm_file_list_spec
27272
27273 # The root where to search for dependent libraries,and in which our libraries should be installed.
27274 lt_sysroot=$lt_sysroot
27275
27276 # The name of the directory that contains temporary libtool files.
27277 objdir=$objdir
27278
27279 # Used to examine libraries when file_magic_cmd begins with "file".
27280 MAGIC_CMD=$MAGIC_CMD
27281
27282 # Must we lock files when doing compilation?
27283 need_locks=$lt_need_locks
27284
27285 # Manifest tool.
27286 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27287
27288 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27289 DSYMUTIL=$lt_DSYMUTIL
27290
27291 # Tool to change global to local symbols on Mac OS X.
27292 NMEDIT=$lt_NMEDIT
27293
27294 # Tool to manipulate fat objects and archives on Mac OS X.
27295 LIPO=$lt_LIPO
27296
27297 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27298 OTOOL=$lt_OTOOL
27299
27300 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27301 OTOOL64=$lt_OTOOL64
27302
27303 # Old archive suffix (normally "a").
27304 libext=$libext
27305
27306 # Shared library suffix (normally ".so").
27307 shrext_cmds=$lt_shrext_cmds
27308
27309 # The commands to extract the exported symbol list from a shared archive.
27310 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27311
27312 # Variables whose values should be saved in libtool wrapper scripts and
27313 # restored at link time.
27314 variables_saved_for_relink=$lt_variables_saved_for_relink
27315
27316 # Do we need the "lib" prefix for modules?
27317 need_lib_prefix=$need_lib_prefix
27318
27319 # Do we need a version for libraries?
27320 need_version=$need_version
27321
27322 # Library versioning type.
27323 version_type=$version_type
27324
27325 # Shared library runtime path variable.
27326 runpath_var=$runpath_var
27327
27328 # Shared library path variable.
27329 shlibpath_var=$shlibpath_var
27330
27331 # Is shlibpath searched before the hard-coded library search path?
27332 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27333
27334 # Format of library name prefix.
27335 libname_spec=$lt_libname_spec
27336
27337 # List of archive names.  First name is the real one, the rest are links.
27338 # The last name is the one that the linker finds with -lNAME
27339 library_names_spec=$lt_library_names_spec
27340
27341 # The coded name of the library, if different from the real name.
27342 soname_spec=$lt_soname_spec
27343
27344 # Permission mode override for installation of shared libraries.
27345 install_override_mode=$lt_install_override_mode
27346
27347 # Command to use after installation of a shared archive.
27348 postinstall_cmds=$lt_postinstall_cmds
27349
27350 # Command to use after uninstallation of a shared archive.
27351 postuninstall_cmds=$lt_postuninstall_cmds
27352
27353 # Commands used to finish a libtool library installation in a directory.
27354 finish_cmds=$lt_finish_cmds
27355
27356 # As "finish_cmds", except a single script fragment to be evaled but
27357 # not shown.
27358 finish_eval=$lt_finish_eval
27359
27360 # Whether we should hardcode library paths into libraries.
27361 hardcode_into_libs=$hardcode_into_libs
27362
27363 # Compile-time system search path for libraries.
27364 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27365
27366 # Run-time system search path for libraries.
27367 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27368
27369 # Whether dlopen is supported.
27370 dlopen_support=$enable_dlopen
27371
27372 # Whether dlopen of programs is supported.
27373 dlopen_self=$enable_dlopen_self
27374
27375 # Whether dlopen of statically linked programs is supported.
27376 dlopen_self_static=$enable_dlopen_self_static
27377
27378 # Commands to strip libraries.
27379 old_striplib=$lt_old_striplib
27380 striplib=$lt_striplib
27381
27382
27383 # The linker used to build libraries.
27384 LD=$lt_LD
27385
27386 # How to create reloadable object files.
27387 reload_flag=$lt_reload_flag
27388 reload_cmds=$lt_reload_cmds
27389
27390 # Commands used to build an old-style archive.
27391 old_archive_cmds=$lt_old_archive_cmds
27392
27393 # A language specific compiler.
27394 CC=$lt_compiler
27395
27396 # Is the compiler the GNU compiler?
27397 with_gcc=$GCC
27398
27399 # Compiler flag to turn off builtin functions.
27400 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27401
27402 # Additional compiler flags for building library objects.
27403 pic_flag=$lt_lt_prog_compiler_pic
27404
27405 # How to pass a linker flag through the compiler.
27406 wl=$lt_lt_prog_compiler_wl
27407
27408 # Compiler flag to prevent dynamic linking.
27409 link_static_flag=$lt_lt_prog_compiler_static
27410
27411 # Does compiler simultaneously support -c and -o options?
27412 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27413
27414 # Whether or not to add -lc for building shared libraries.
27415 build_libtool_need_lc=$archive_cmds_need_lc
27416
27417 # Whether or not to disallow shared libs when runtime libs are static.
27418 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27419
27420 # Compiler flag to allow reflexive dlopens.
27421 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27422
27423 # Compiler flag to generate shared objects directly from archives.
27424 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27425
27426 # Whether the compiler copes with passing no objects directly.
27427 compiler_needs_object=$lt_compiler_needs_object
27428
27429 # Create an old-style archive from a shared archive.
27430 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27431
27432 # Create a temporary old-style archive to link instead of a shared archive.
27433 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27434
27435 # Commands used to build a shared archive.
27436 archive_cmds=$lt_archive_cmds
27437 archive_expsym_cmds=$lt_archive_expsym_cmds
27438
27439 # Commands used to build a loadable module if different from building
27440 # a shared archive.
27441 module_cmds=$lt_module_cmds
27442 module_expsym_cmds=$lt_module_expsym_cmds
27443
27444 # Whether we are building with GNU ld or not.
27445 with_gnu_ld=$lt_with_gnu_ld
27446
27447 # Flag that allows shared libraries with undefined symbols to be built.
27448 allow_undefined_flag=$lt_allow_undefined_flag
27449
27450 # Flag that enforces no undefined symbols.
27451 no_undefined_flag=$lt_no_undefined_flag
27452
27453 # Flag to hardcode \$libdir into a binary during linking.
27454 # This must work even if \$libdir does not exist
27455 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27456
27457 # Whether we need a single "-rpath" flag with a separated argument.
27458 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27459
27460 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27461 # DIR into the resulting binary.
27462 hardcode_direct=$hardcode_direct
27463
27464 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27465 # DIR into the resulting binary and the resulting library dependency is
27466 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27467 # library is relocated.
27468 hardcode_direct_absolute=$hardcode_direct_absolute
27469
27470 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27471 # into the resulting binary.
27472 hardcode_minus_L=$hardcode_minus_L
27473
27474 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27475 # into the resulting binary.
27476 hardcode_shlibpath_var=$hardcode_shlibpath_var
27477
27478 # Set to "yes" if building a shared library automatically hardcodes DIR
27479 # into the library and all subsequent libraries and executables linked
27480 # against it.
27481 hardcode_automatic=$hardcode_automatic
27482
27483 # Set to yes if linker adds runtime paths of dependent libraries
27484 # to runtime path list.
27485 inherit_rpath=$inherit_rpath
27486
27487 # Whether libtool must link a program against all its dependency libraries.
27488 link_all_deplibs=$link_all_deplibs
27489
27490 # Set to "yes" if exported symbols are required.
27491 always_export_symbols=$always_export_symbols
27492
27493 # The commands to list exported symbols.
27494 export_symbols_cmds=$lt_export_symbols_cmds
27495
27496 # Symbols that should not be listed in the preloaded symbols.
27497 exclude_expsyms=$lt_exclude_expsyms
27498
27499 # Symbols that must always be exported.
27500 include_expsyms=$lt_include_expsyms
27501
27502 # Commands necessary for linking programs (against libraries) with templates.
27503 prelink_cmds=$lt_prelink_cmds
27504
27505 # Commands necessary for finishing linking programs.
27506 postlink_cmds=$lt_postlink_cmds
27507
27508 # Specify filename containing input files.
27509 file_list_spec=$lt_file_list_spec
27510
27511 # How to hardcode a shared library path into an executable.
27512 hardcode_action=$hardcode_action
27513
27514 # The directories searched by this compiler when creating a shared library.
27515 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27516
27517 # Dependencies to place before and after the objects being linked to
27518 # create a shared library.
27519 predep_objects=$lt_predep_objects
27520 postdep_objects=$lt_postdep_objects
27521 predeps=$lt_predeps
27522 postdeps=$lt_postdeps
27523
27524 # The library search path used internally by the compiler when linking
27525 # a shared library.
27526 compiler_lib_search_path=$lt_compiler_lib_search_path
27527
27528 # ### END LIBTOOL CONFIG
27529
27530 _LT_EOF
27531
27532   case $host_os in
27533   aix3*)
27534     cat <<\_LT_EOF >> "$cfgfile"
27535 # AIX sometimes has problems with the GCC collect2 program.  For some
27536 # reason, if we set the COLLECT_NAMES environment variable, the problems
27537 # vanish in a puff of smoke.
27538 if test "X${COLLECT_NAMES+set}" != Xset; then
27539   COLLECT_NAMES=
27540   export COLLECT_NAMES
27541 fi
27542 _LT_EOF
27543     ;;
27544   esac
27545
27546
27547 ltmain="$ac_aux_dir/ltmain.sh"
27548
27549
27550   # We use sed instead of cat because bash on DJGPP gets confused if
27551   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27552   # text mode, it properly converts lines to CR/LF.  This bash problem
27553   # is reportedly fixed, but why not run on old versions too?
27554   sed '$q' "$ltmain" >> "$cfgfile" \
27555      || (rm -f "$cfgfile"; exit 1)
27556
27557   if test x"$xsi_shell" = xyes; then
27558   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
27559 func_dirname ()\
27560 {\
27561 \    case ${1} in\
27562 \      */*) func_dirname_result="${1%/*}${2}" ;;\
27563 \      *  ) func_dirname_result="${3}" ;;\
27564 \    esac\
27565 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
27566   && mv -f "$cfgfile.tmp" "$cfgfile" \
27567     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27568 test 0 -eq $? || _lt_function_replace_fail=:
27569
27570
27571   sed -e '/^func_basename ()$/,/^} # func_basename /c\
27572 func_basename ()\
27573 {\
27574 \    func_basename_result="${1##*/}"\
27575 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
27576   && mv -f "$cfgfile.tmp" "$cfgfile" \
27577     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27578 test 0 -eq $? || _lt_function_replace_fail=:
27579
27580
27581   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
27582 func_dirname_and_basename ()\
27583 {\
27584 \    case ${1} in\
27585 \      */*) func_dirname_result="${1%/*}${2}" ;;\
27586 \      *  ) func_dirname_result="${3}" ;;\
27587 \    esac\
27588 \    func_basename_result="${1##*/}"\
27589 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
27590   && mv -f "$cfgfile.tmp" "$cfgfile" \
27591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27592 test 0 -eq $? || _lt_function_replace_fail=:
27593
27594
27595   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
27596 func_stripname ()\
27597 {\
27598 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
27599 \    # positional parameters, so assign one to ordinary parameter first.\
27600 \    func_stripname_result=${3}\
27601 \    func_stripname_result=${func_stripname_result#"${1}"}\
27602 \    func_stripname_result=${func_stripname_result%"${2}"}\
27603 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
27604   && mv -f "$cfgfile.tmp" "$cfgfile" \
27605     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27606 test 0 -eq $? || _lt_function_replace_fail=:
27607
27608
27609   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
27610 func_split_long_opt ()\
27611 {\
27612 \    func_split_long_opt_name=${1%%=*}\
27613 \    func_split_long_opt_arg=${1#*=}\
27614 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
27615   && mv -f "$cfgfile.tmp" "$cfgfile" \
27616     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27617 test 0 -eq $? || _lt_function_replace_fail=:
27618
27619
27620   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
27621 func_split_short_opt ()\
27622 {\
27623 \    func_split_short_opt_arg=${1#??}\
27624 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
27625 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
27626   && mv -f "$cfgfile.tmp" "$cfgfile" \
27627     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27628 test 0 -eq $? || _lt_function_replace_fail=:
27629
27630
27631   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
27632 func_lo2o ()\
27633 {\
27634 \    case ${1} in\
27635 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
27636 \      *)    func_lo2o_result=${1} ;;\
27637 \    esac\
27638 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
27639   && mv -f "$cfgfile.tmp" "$cfgfile" \
27640     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27641 test 0 -eq $? || _lt_function_replace_fail=:
27642
27643
27644   sed -e '/^func_xform ()$/,/^} # func_xform /c\
27645 func_xform ()\
27646 {\
27647     func_xform_result=${1%.*}.lo\
27648 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
27649   && mv -f "$cfgfile.tmp" "$cfgfile" \
27650     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27651 test 0 -eq $? || _lt_function_replace_fail=:
27652
27653
27654   sed -e '/^func_arith ()$/,/^} # func_arith /c\
27655 func_arith ()\
27656 {\
27657     func_arith_result=$(( $* ))\
27658 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
27659   && mv -f "$cfgfile.tmp" "$cfgfile" \
27660     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27661 test 0 -eq $? || _lt_function_replace_fail=:
27662
27663
27664   sed -e '/^func_len ()$/,/^} # func_len /c\
27665 func_len ()\
27666 {\
27667     func_len_result=${#1}\
27668 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
27669   && mv -f "$cfgfile.tmp" "$cfgfile" \
27670     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27671 test 0 -eq $? || _lt_function_replace_fail=:
27672
27673 fi
27674
27675 if test x"$lt_shell_append" = xyes; then
27676   sed -e '/^func_append ()$/,/^} # func_append /c\
27677 func_append ()\
27678 {\
27679     eval "${1}+=\\${2}"\
27680 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
27681   && mv -f "$cfgfile.tmp" "$cfgfile" \
27682     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27683 test 0 -eq $? || _lt_function_replace_fail=:
27684
27685
27686   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
27687 func_append_quoted ()\
27688 {\
27689 \    func_quote_for_eval "${2}"\
27690 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
27691 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
27692   && mv -f "$cfgfile.tmp" "$cfgfile" \
27693     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27694 test 0 -eq $? || _lt_function_replace_fail=:
27695
27696
27697   # Save a `func_append' function call where possible by direct use of '+='
27698   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
27699     && mv -f "$cfgfile.tmp" "$cfgfile" \
27700       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27701   test 0 -eq $? || _lt_function_replace_fail=:
27702 else
27703   # Save a `func_append' function call even when '+=' is not available
27704   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
27705     && mv -f "$cfgfile.tmp" "$cfgfile" \
27706       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27707   test 0 -eq $? || _lt_function_replace_fail=:
27708 fi
27709
27710 if test x"$_lt_function_replace_fail" = x":"; then
27711   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
27712 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
27713 fi
27714
27715
27716    mv -f "$cfgfile" "$ofile" ||
27717     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27718   chmod +x "$ofile"
27719
27720
27721     cat <<_LT_EOF >> "$ofile"
27722
27723 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27724
27725 # The linker used to build libraries.
27726 LD=$lt_LD_CXX
27727
27728 # How to create reloadable object files.
27729 reload_flag=$lt_reload_flag_CXX
27730 reload_cmds=$lt_reload_cmds_CXX
27731
27732 # Commands used to build an old-style archive.
27733 old_archive_cmds=$lt_old_archive_cmds_CXX
27734
27735 # A language specific compiler.
27736 CC=$lt_compiler_CXX
27737
27738 # Is the compiler the GNU compiler?
27739 with_gcc=$GCC_CXX
27740
27741 # Compiler flag to turn off builtin functions.
27742 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27743
27744 # Additional compiler flags for building library objects.
27745 pic_flag=$lt_lt_prog_compiler_pic_CXX
27746
27747 # How to pass a linker flag through the compiler.
27748 wl=$lt_lt_prog_compiler_wl_CXX
27749
27750 # Compiler flag to prevent dynamic linking.
27751 link_static_flag=$lt_lt_prog_compiler_static_CXX
27752
27753 # Does compiler simultaneously support -c and -o options?
27754 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27755
27756 # Whether or not to add -lc for building shared libraries.
27757 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27758
27759 # Whether or not to disallow shared libs when runtime libs are static.
27760 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27761
27762 # Compiler flag to allow reflexive dlopens.
27763 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27764
27765 # Compiler flag to generate shared objects directly from archives.
27766 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27767
27768 # Whether the compiler copes with passing no objects directly.
27769 compiler_needs_object=$lt_compiler_needs_object_CXX
27770
27771 # Create an old-style archive from a shared archive.
27772 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27773
27774 # Create a temporary old-style archive to link instead of a shared archive.
27775 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27776
27777 # Commands used to build a shared archive.
27778 archive_cmds=$lt_archive_cmds_CXX
27779 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27780
27781 # Commands used to build a loadable module if different from building
27782 # a shared archive.
27783 module_cmds=$lt_module_cmds_CXX
27784 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27785
27786 # Whether we are building with GNU ld or not.
27787 with_gnu_ld=$lt_with_gnu_ld_CXX
27788
27789 # Flag that allows shared libraries with undefined symbols to be built.
27790 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27791
27792 # Flag that enforces no undefined symbols.
27793 no_undefined_flag=$lt_no_undefined_flag_CXX
27794
27795 # Flag to hardcode \$libdir into a binary during linking.
27796 # This must work even if \$libdir does not exist
27797 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27798
27799 # Whether we need a single "-rpath" flag with a separated argument.
27800 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27801
27802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27803 # DIR into the resulting binary.
27804 hardcode_direct=$hardcode_direct_CXX
27805
27806 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27807 # DIR into the resulting binary and the resulting library dependency is
27808 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27809 # library is relocated.
27810 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27811
27812 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27813 # into the resulting binary.
27814 hardcode_minus_L=$hardcode_minus_L_CXX
27815
27816 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27817 # into the resulting binary.
27818 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27819
27820 # Set to "yes" if building a shared library automatically hardcodes DIR
27821 # into the library and all subsequent libraries and executables linked
27822 # against it.
27823 hardcode_automatic=$hardcode_automatic_CXX
27824
27825 # Set to yes if linker adds runtime paths of dependent libraries
27826 # to runtime path list.
27827 inherit_rpath=$inherit_rpath_CXX
27828
27829 # Whether libtool must link a program against all its dependency libraries.
27830 link_all_deplibs=$link_all_deplibs_CXX
27831
27832 # Set to "yes" if exported symbols are required.
27833 always_export_symbols=$always_export_symbols_CXX
27834
27835 # The commands to list exported symbols.
27836 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27837
27838 # Symbols that should not be listed in the preloaded symbols.
27839 exclude_expsyms=$lt_exclude_expsyms_CXX
27840
27841 # Symbols that must always be exported.
27842 include_expsyms=$lt_include_expsyms_CXX
27843
27844 # Commands necessary for linking programs (against libraries) with templates.
27845 prelink_cmds=$lt_prelink_cmds_CXX
27846
27847 # Commands necessary for finishing linking programs.
27848 postlink_cmds=$lt_postlink_cmds_CXX
27849
27850 # Specify filename containing input files.
27851 file_list_spec=$lt_file_list_spec_CXX
27852
27853 # How to hardcode a shared library path into an executable.
27854 hardcode_action=$hardcode_action_CXX
27855
27856 # The directories searched by this compiler when creating a shared library.
27857 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27858
27859 # Dependencies to place before and after the objects being linked to
27860 # create a shared library.
27861 predep_objects=$lt_predep_objects_CXX
27862 postdep_objects=$lt_postdep_objects_CXX
27863 predeps=$lt_predeps_CXX
27864 postdeps=$lt_postdeps_CXX
27865
27866 # The library search path used internally by the compiler when linking
27867 # a shared library.
27868 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27869
27870 # ### END LIBTOOL TAG CONFIG: CXX
27871 _LT_EOF
27872
27873  ;;
27874     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
27875         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
27876       esac ;;
27877     "po-properties":C) case "$CONFIG_FILES" in *po-properties/Makefile.in*)
27878                        sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
27879                      esac ;;
27880     "gdk/gdkconfig.h":C)
27881         outfile=gdkconfig.h-tmp
27882         cat > $outfile <<\_______EOF
27883 /* gdkconfig.h
27884  *
27885  * This is a generated file.  Please modify `configure.ac'
27886  */
27887
27888 #ifndef __GDKCONFIG_H__
27889 #define __GDKCONFIG_H__
27890
27891 #if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
27892 #error "Only <gdk/gdk.h> can be included directly."
27893 #endif
27894
27895 #include <glib.h>
27896
27897 G_BEGIN_DECLS
27898
27899 _______EOF
27900
27901         cat >>$outfile <<_______EOF
27902 $gdk_windowing
27903 _______EOF
27904
27905         cat >>$outfile <<_______EOF
27906
27907 G_END_DECLS
27908
27909 #endif  /* __GDKCONFIG_H__ */
27910 _______EOF
27911
27912
27913         if cmp -s $outfile gdk/gdkconfig.h; then
27914           { $as_echo "$as_me:${as_lineno-$LINENO}: gdk/gdkconfig.h is unchanged" >&5
27915 $as_echo "$as_me: gdk/gdkconfig.h is unchanged" >&6;}
27916           rm -f $outfile
27917         else
27918           mv $outfile gdk/gdkconfig.h
27919         fi
27920  ;;
27921
27922   esac
27923 done # for ac_tag
27924
27925
27926 as_fn_exit 0
27927 _ACEOF
27928 ac_clean_files=$ac_clean_files_save
27929
27930 test $ac_write_fail = 0 ||
27931   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
27932
27933
27934 # configure is writing to config.log, and then calls config.status.
27935 # config.status does its own redirection, appending to config.log.
27936 # Unfortunately, on DOS this fails, as config.log is still kept open
27937 # by configure, so config.status won't be able to write to it; its
27938 # output is simply discarded.  So we exec the FD to /dev/null,
27939 # effectively closing config.log, so it can be properly (re)opened and
27940 # appended to by config.status.  When coming back to configure, we
27941 # need to make the FD available again.
27942 if test "$no_create" != yes; then
27943   ac_cs_success=:
27944   ac_config_status_args=
27945   test "$silent" = yes &&
27946     ac_config_status_args="$ac_config_status_args --quiet"
27947   exec 5>/dev/null
27948   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27949   exec 5>>config.log
27950   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27951   # would make configure fail if this is the last instruction.
27952   $ac_cs_success || as_fn_exit 1
27953 fi
27954 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27955   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27956 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27957 fi
27958
27959
27960 # beautify the immodule list a bit
27961 included_immodules=$(echo "${included_immodules}" | $SED 's/,/ /g')
27962 if test -z "${included_immodules}"; then included_immodules="none"; fi
27963
27964 echo ""
27965 echo "        GTK+ $GTK_VERSION"
27966 echo "        ==========="
27967 echo ""
27968 echo "        GDK backends:         $GDK_BACKENDS"
27969 if test "$enable_x11_backend" = "yes"; then
27970 echo "        X11 extensions:       $X_EXTENSIONS"
27971 fi
27972 echo "        Print backends:       $PRINT_BACKENDS"
27973 echo "        Dynamic modules:      $build_dynamic_modules"
27974 echo "        Included immodules:   $included_immodules"
27975 echo "        PackageKit support:   $build_packagekit"
27976 echo "        colord support:       $have_colord"
27977 echo "        Introspection:        $found_introspection"
27978 echo "        Debugging:            $enable_debug"
27979 echo "        Documentation:        $enable_gtk_doc"