cleanup specfile for packaging
[profile/ivi/gdk-pixbuf.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gdk-pixbuf 2.26.1.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf>.
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=gdk-pixbuf
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='gdk-pixbuf'
573 PACKAGE_TARNAME='gdk-pixbuf'
574 PACKAGE_VERSION='2.26.1'
575 PACKAGE_STRING='gdk-pixbuf 2.26.1'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf'
577 PACKAGE_URL=''
578
579 ac_unique_file="gdk-pixbuf/gdk-pixbuf.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 gt_needs=
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 GDK_PIXBUF_LINK_FLAGS
622 ENABLE_MAN_FALSE
623 ENABLE_MAN_TRUE
624 XSLTPROC
625 HAVE_DOCBOOK_FALSE
626 HAVE_DOCBOOK_TRUE
627 DB2HTML
628 GTK_DOC_USE_REBASE_FALSE
629 GTK_DOC_USE_REBASE_TRUE
630 GTK_DOC_USE_LIBTOOL_FALSE
631 GTK_DOC_USE_LIBTOOL_TRUE
632 GTK_DOC_BUILD_PDF_FALSE
633 GTK_DOC_BUILD_PDF_TRUE
634 GTK_DOC_BUILD_HTML_FALSE
635 GTK_DOC_BUILD_HTML_TRUE
636 ENABLE_GTK_DOC_FALSE
637 ENABLE_GTK_DOC_TRUE
638 GTKDOC_DEPS_LIBS
639 GTKDOC_DEPS_CFLAGS
640 HTML_DIR
641 GTKDOC_MKPDF
642 GTKDOC_REBASE
643 GTKDOC_CHECK
644 HAVE_INTROSPECTION_FALSE
645 HAVE_INTROSPECTION_TRUE
646 INTROSPECTION_MAKEFILE
647 INTROSPECTION_LIBS
648 INTROSPECTION_CFLAGS
649 INTROSPECTION_TYPELIBDIR
650 INTROSPECTION_GIRDIR
651 INTROSPECTION_GENERATE
652 INTROSPECTION_COMPILER
653 INTROSPECTION_SCANNER
654 GDK_PIXBUF_XLIB_DEP_LIBS
655 GDK_PIXBUF_XLIB_DEP_CFLAGS
656 USE_X11_FALSE
657 USE_X11_TRUE
658 GDK_PIXBUF_DEP_CFLAGS
659 GDK_PIXBUF_DEP_LIBS
660 GDK_PIXBUF_EXTRA_CFLAGS
661 GDK_PIXBUF_EXTRA_LIBS
662 GDK_PIXBUF_PACKAGES
663 PNG_DEP_CFLAGS_PACKAGES
664 GTK_UPDATE_ICON_CACHE
665 GDK_PIXBUF_CSOURCE
666 CROSS_COMPILING_FALSE
667 CROSS_COMPILING_TRUE
668 USE_MMX_FALSE
669 USE_MMX_TRUE
670 USE_MEDIALIB25_FALSE
671 USE_MEDIALIB25_TRUE
672 USE_MEDIALIB_FALSE
673 USE_MEDIALIB_TRUE
674 HAVE_JASPER_FALSE
675 HAVE_JASPER_TRUE
676 HAVE_JPEG_FALSE
677 HAVE_JPEG_TRUE
678 HAVE_PNG_FALSE
679 HAVE_PNG_TRUE
680 HAVE_TIFF_FALSE
681 HAVE_TIFF_TRUE
682 INCLUDE_GDIPLUS_FALSE
683 INCLUDE_GDIPLUS_TRUE
684 INCLUDE_QTIF_FALSE
685 INCLUDE_QTIF_TRUE
686 INCLUDE_JASPER_FALSE
687 INCLUDE_JASPER_TRUE
688 INCLUDE_ICNS_FALSE
689 INCLUDE_ICNS_TRUE
690 INCLUDE_PCX_FALSE
691 INCLUDE_PCX_TRUE
692 INCLUDE_TGA_FALSE
693 INCLUDE_TGA_TRUE
694 INCLUDE_XBM_FALSE
695 INCLUDE_XBM_TRUE
696 INCLUDE_XPM_FALSE
697 INCLUDE_XPM_TRUE
698 INCLUDE_TIFF_FALSE
699 INCLUDE_TIFF_TRUE
700 INCLUDE_RAS_FALSE
701 INCLUDE_RAS_TRUE
702 INCLUDE_PNM_FALSE
703 INCLUDE_PNM_TRUE
704 INCLUDE_JPEG_FALSE
705 INCLUDE_JPEG_TRUE
706 INCLUDE_ANI_FALSE
707 INCLUDE_ANI_TRUE
708 INCLUDE_ICO_FALSE
709 INCLUDE_ICO_TRUE
710 INCLUDE_GIF_FALSE
711 INCLUDE_GIF_TRUE
712 INCLUDE_WBMP_FALSE
713 INCLUDE_WBMP_TRUE
714 INCLUDE_BMP_FALSE
715 INCLUDE_BMP_TRUE
716 INCLUDE_PNG_FALSE
717 INCLUDE_PNG_TRUE
718 INCLUDED_LOADER_DEFINE
719 INCLUDED_LOADER_OBJ
720 BUILD_DYNAMIC_MODULES_FALSE
721 BUILD_DYNAMIC_MODULES_TRUE
722 LIBJASPER
723 LIBPNG
724 LIBJPEG
725 LIBTIFF
726 BUILD_GDIPLUS_LOADERS_FALSE
727 BUILD_GDIPLUS_LOADERS_TRUE
728 GLIB_COMPILE_RESOURCES
729 GLIB_MKENUMS
730 GOBJECT_QUERY
731 GLIB_GENMARSHAL
732 GLIB_LIBS
733 GLIB_CFLAGS
734 MATH_LIB
735 GETTEXT_PACKAGE
736 POSUB
737 LTLIBINTL
738 LIBINTL
739 INTLLIBS
740 LTLIBICONV
741 LIBICONV
742 INTL_MACOSX_LIBS
743 XGETTEXT_EXTRA_OPTIONS
744 MSGMERGE
745 XGETTEXT_015
746 XGETTEXT
747 GMSGFMT_015
748 MSGFMT_015
749 GMSGFMT
750 MSGFMT
751 GETTEXT_MACRO_VERSION
752 USE_NLS
753 REBUILD
754 PERL
755 DISABLE_EXPLICIT_DEPS_FALSE
756 DISABLE_EXPLICIT_DEPS_TRUE
757 LIBTOOL_EXPORT_OPTIONS
758 BASE_DEPENDENCIES_LIBS
759 BASE_DEPENDENCIES_CFLAGS
760 MS_LIB_AVAILABLE_FALSE
761 MS_LIB_AVAILABLE_TRUE
762 ms_librarian
763 WINDRES
764 OS_LINUX_FALSE
765 OS_LINUX_TRUE
766 OS_UNIX_FALSE
767 OS_UNIX_TRUE
768 OS_WIN32_FALSE
769 OS_WIN32_TRUE
770 PLATFORM_WIN32_FALSE
771 PLATFORM_WIN32_TRUE
772 am__fastdepCCAS_FALSE
773 am__fastdepCCAS_TRUE
774 CCASDEPMODE
775 CCASFLAGS
776 CCAS
777 CPP
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 MANIFEST_TOOL
784 RANLIB
785 ac_ct_AR
786 AR
787 LN_S
788 NM
789 ac_ct_DUMPBIN
790 DUMPBIN
791 LD
792 FGREP
793 EGREP
794 GREP
795 SED
796 LIBTOOL
797 OBJDUMP
798 DLLTOOL
799 AS
800 EXE_MANIFEST_ARCHITECTURE
801 LIB_EXE_MACHINE_FLAG
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 PKG_CONFIG_LIBDIR
811 PKG_CONFIG_PATH
812 PKG_CONFIG
813 am__fastdepCC_FALSE
814 am__fastdepCC_TRUE
815 CCDEPMODE
816 am__nodep
817 AMDEPBACKSLASH
818 AMDEP_FALSE
819 AMDEP_TRUE
820 am__quote
821 am__include
822 DEPDIR
823 OBJEXT
824 EXEEXT
825 ac_ct_CC
826 CPPFLAGS
827 LDFLAGS
828 CFLAGS
829 CC
830 LT_CURRENT_MINUS_AGE
831 LT_VERSION_INFO
832 GDK_PIXBUF_BINARY_VERSION
833 GDK_PIXBUF_API_VERSION
834 GDK_PIXBUF_VERSION
835 GDK_PIXBUF_MICRO
836 GDK_PIXBUF_MINOR
837 GDK_PIXBUF_MAJOR
838 AM_BACKSLASH
839 AM_DEFAULT_VERBOSITY
840 AM_DEFAULT_V
841 AM_V
842 MAINT
843 MAINTAINER_MODE_FALSE
844 MAINTAINER_MODE_TRUE
845 am__untar
846 am__tar
847 AMTAR
848 am__leading_dot
849 SET_MAKE
850 AWK
851 mkdir_p
852 MKDIR_P
853 INSTALL_STRIP_PROGRAM
854 STRIP
855 install_sh
856 MAKEINFO
857 AUTOHEADER
858 AUTOMAKE
859 AUTOCONF
860 ACLOCAL
861 VERSION
862 PACKAGE
863 CYGPATH_W
864 am__isrc
865 INSTALL_DATA
866 INSTALL_SCRIPT
867 INSTALL_PROGRAM
868 target_alias
869 host_alias
870 build_alias
871 LIBS
872 ECHO_T
873 ECHO_N
874 ECHO_C
875 DEFS
876 mandir
877 localedir
878 libdir
879 psdir
880 pdfdir
881 dvidir
882 htmldir
883 infodir
884 docdir
885 oldincludedir
886 includedir
887 localstatedir
888 sharedstatedir
889 sysconfdir
890 datadir
891 datarootdir
892 libexecdir
893 sbindir
894 bindir
895 program_transform_name
896 prefix
897 exec_prefix
898 PACKAGE_URL
899 PACKAGE_BUGREPORT
900 PACKAGE_STRING
901 PACKAGE_VERSION
902 PACKAGE_TARNAME
903 PACKAGE_NAME
904 PATH_SEPARATOR
905 SHELL'
906 ac_subst_files=''
907 ac_user_opts='
908 enable_option_checking
909 enable_maintainer_mode
910 enable_silent_rules
911 enable_dependency_tracking
912 enable_static
913 enable_shared
914 with_pic
915 enable_fast_install
916 with_gnu_ld
917 with_sysroot
918 enable_libtool_lock
919 enable_largefile
920 enable_debug
921 enable_rebuilds
922 enable_explicit_deps
923 enable_nls
924 enable_rpath
925 with_libiconv_prefix
926 with_libintl_prefix
927 enable_glibtest
928 enable_modules
929 with_libpng
930 with_libjpeg
931 with_libtiff
932 with_libjasper
933 with_gdiplus
934 with_included_loaders
935 with_x11
936 enable_introspection
937 with_html_dir
938 enable_gtk_doc
939 enable_gtk_doc_html
940 enable_gtk_doc_pdf
941 enable_man
942 enable_Bsymbolic
943 '
944       ac_precious_vars='build_alias
945 host_alias
946 target_alias
947 CC
948 CFLAGS
949 LDFLAGS
950 LIBS
951 CPPFLAGS
952 PKG_CONFIG
953 PKG_CONFIG_PATH
954 PKG_CONFIG_LIBDIR
955 CPP
956 CCAS
957 CCASFLAGS
958 BASE_DEPENDENCIES_CFLAGS
959 BASE_DEPENDENCIES_LIBS
960 GDK_PIXBUF_XLIB_DEP_CFLAGS
961 GDK_PIXBUF_XLIB_DEP_LIBS
962 GTKDOC_DEPS_CFLAGS
963 GTKDOC_DEPS_LIBS'
964
965
966 # Initialize some variables set by options.
967 ac_init_help=
968 ac_init_version=false
969 ac_unrecognized_opts=
970 ac_unrecognized_sep=
971 # The variables have the same names as the options, with
972 # dashes changed to underlines.
973 cache_file=/dev/null
974 exec_prefix=NONE
975 no_create=
976 no_recursion=
977 prefix=NONE
978 program_prefix=NONE
979 program_suffix=NONE
980 program_transform_name=s,x,x,
981 silent=
982 site=
983 srcdir=
984 verbose=
985 x_includes=NONE
986 x_libraries=NONE
987
988 # Installation directory options.
989 # These are left unexpanded so users can "make install exec_prefix=/foo"
990 # and all the variables that are supposed to be based on exec_prefix
991 # by default will actually change.
992 # Use braces instead of parens because sh, perl, etc. also accept them.
993 # (The list follows the same order as the GNU Coding Standards.)
994 bindir='${exec_prefix}/bin'
995 sbindir='${exec_prefix}/sbin'
996 libexecdir='${exec_prefix}/libexec'
997 datarootdir='${prefix}/share'
998 datadir='${datarootdir}'
999 sysconfdir='${prefix}/etc'
1000 sharedstatedir='${prefix}/com'
1001 localstatedir='${prefix}/var'
1002 includedir='${prefix}/include'
1003 oldincludedir='/usr/include'
1004 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1005 infodir='${datarootdir}/info'
1006 htmldir='${docdir}'
1007 dvidir='${docdir}'
1008 pdfdir='${docdir}'
1009 psdir='${docdir}'
1010 libdir='${exec_prefix}/lib'
1011 localedir='${datarootdir}/locale'
1012 mandir='${datarootdir}/man'
1013
1014 ac_prev=
1015 ac_dashdash=
1016 for ac_option
1017 do
1018   # If the previous option needs an argument, assign it.
1019   if test -n "$ac_prev"; then
1020     eval $ac_prev=\$ac_option
1021     ac_prev=
1022     continue
1023   fi
1024
1025   case $ac_option in
1026   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1027   *=)   ac_optarg= ;;
1028   *)    ac_optarg=yes ;;
1029   esac
1030
1031   # Accept the important Cygnus configure options, so we can diagnose typos.
1032
1033   case $ac_dashdash$ac_option in
1034   --)
1035     ac_dashdash=yes ;;
1036
1037   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1038     ac_prev=bindir ;;
1039   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1040     bindir=$ac_optarg ;;
1041
1042   -build | --build | --buil | --bui | --bu)
1043     ac_prev=build_alias ;;
1044   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1045     build_alias=$ac_optarg ;;
1046
1047   -cache-file | --cache-file | --cache-fil | --cache-fi \
1048   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1049     ac_prev=cache_file ;;
1050   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1051   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1052     cache_file=$ac_optarg ;;
1053
1054   --config-cache | -C)
1055     cache_file=config.cache ;;
1056
1057   -datadir | --datadir | --datadi | --datad)
1058     ac_prev=datadir ;;
1059   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1060     datadir=$ac_optarg ;;
1061
1062   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1063   | --dataroo | --dataro | --datar)
1064     ac_prev=datarootdir ;;
1065   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1066   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1067     datarootdir=$ac_optarg ;;
1068
1069   -disable-* | --disable-*)
1070     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071     # Reject names that are not valid shell variable names.
1072     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073       as_fn_error $? "invalid feature name: $ac_useropt"
1074     ac_useropt_orig=$ac_useropt
1075     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076     case $ac_user_opts in
1077       *"
1078 "enable_$ac_useropt"
1079 "*) ;;
1080       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081          ac_unrecognized_sep=', ';;
1082     esac
1083     eval enable_$ac_useropt=no ;;
1084
1085   -docdir | --docdir | --docdi | --doc | --do)
1086     ac_prev=docdir ;;
1087   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1088     docdir=$ac_optarg ;;
1089
1090   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1091     ac_prev=dvidir ;;
1092   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1093     dvidir=$ac_optarg ;;
1094
1095   -enable-* | --enable-*)
1096     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1097     # Reject names that are not valid shell variable names.
1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099       as_fn_error $? "invalid feature name: $ac_useropt"
1100     ac_useropt_orig=$ac_useropt
1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102     case $ac_user_opts in
1103       *"
1104 "enable_$ac_useropt"
1105 "*) ;;
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107          ac_unrecognized_sep=', ';;
1108     esac
1109     eval enable_$ac_useropt=\$ac_optarg ;;
1110
1111   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1112   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1113   | --exec | --exe | --ex)
1114     ac_prev=exec_prefix ;;
1115   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1116   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1117   | --exec=* | --exe=* | --ex=*)
1118     exec_prefix=$ac_optarg ;;
1119
1120   -gas | --gas | --ga | --g)
1121     # Obsolete; use --with-gas.
1122     with_gas=yes ;;
1123
1124   -help | --help | --hel | --he | -h)
1125     ac_init_help=long ;;
1126   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1127     ac_init_help=recursive ;;
1128   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1129     ac_init_help=short ;;
1130
1131   -host | --host | --hos | --ho)
1132     ac_prev=host_alias ;;
1133   -host=* | --host=* | --hos=* | --ho=*)
1134     host_alias=$ac_optarg ;;
1135
1136   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1137     ac_prev=htmldir ;;
1138   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1139   | --ht=*)
1140     htmldir=$ac_optarg ;;
1141
1142   -includedir | --includedir | --includedi | --included | --include \
1143   | --includ | --inclu | --incl | --inc)
1144     ac_prev=includedir ;;
1145   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1146   | --includ=* | --inclu=* | --incl=* | --inc=*)
1147     includedir=$ac_optarg ;;
1148
1149   -infodir | --infodir | --infodi | --infod | --info | --inf)
1150     ac_prev=infodir ;;
1151   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1152     infodir=$ac_optarg ;;
1153
1154   -libdir | --libdir | --libdi | --libd)
1155     ac_prev=libdir ;;
1156   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1157     libdir=$ac_optarg ;;
1158
1159   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1160   | --libexe | --libex | --libe)
1161     ac_prev=libexecdir ;;
1162   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1163   | --libexe=* | --libex=* | --libe=*)
1164     libexecdir=$ac_optarg ;;
1165
1166   -localedir | --localedir | --localedi | --localed | --locale)
1167     ac_prev=localedir ;;
1168   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1169     localedir=$ac_optarg ;;
1170
1171   -localstatedir | --localstatedir | --localstatedi | --localstated \
1172   | --localstate | --localstat | --localsta | --localst | --locals)
1173     ac_prev=localstatedir ;;
1174   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1175   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1176     localstatedir=$ac_optarg ;;
1177
1178   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1179     ac_prev=mandir ;;
1180   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1181     mandir=$ac_optarg ;;
1182
1183   -nfp | --nfp | --nf)
1184     # Obsolete; use --without-fp.
1185     with_fp=no ;;
1186
1187   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1188   | --no-cr | --no-c | -n)
1189     no_create=yes ;;
1190
1191   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1192   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1193     no_recursion=yes ;;
1194
1195   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1196   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1197   | --oldin | --oldi | --old | --ol | --o)
1198     ac_prev=oldincludedir ;;
1199   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1200   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1201   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1202     oldincludedir=$ac_optarg ;;
1203
1204   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1205     ac_prev=prefix ;;
1206   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1207     prefix=$ac_optarg ;;
1208
1209   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1210   | --program-pre | --program-pr | --program-p)
1211     ac_prev=program_prefix ;;
1212   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1213   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1214     program_prefix=$ac_optarg ;;
1215
1216   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1217   | --program-suf | --program-su | --program-s)
1218     ac_prev=program_suffix ;;
1219   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1220   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1221     program_suffix=$ac_optarg ;;
1222
1223   -program-transform-name | --program-transform-name \
1224   | --program-transform-nam | --program-transform-na \
1225   | --program-transform-n | --program-transform- \
1226   | --program-transform | --program-transfor \
1227   | --program-transfo | --program-transf \
1228   | --program-trans | --program-tran \
1229   | --progr-tra | --program-tr | --program-t)
1230     ac_prev=program_transform_name ;;
1231   -program-transform-name=* | --program-transform-name=* \
1232   | --program-transform-nam=* | --program-transform-na=* \
1233   | --program-transform-n=* | --program-transform-=* \
1234   | --program-transform=* | --program-transfor=* \
1235   | --program-transfo=* | --program-transf=* \
1236   | --program-trans=* | --program-tran=* \
1237   | --progr-tra=* | --program-tr=* | --program-t=*)
1238     program_transform_name=$ac_optarg ;;
1239
1240   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1241     ac_prev=pdfdir ;;
1242   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1243     pdfdir=$ac_optarg ;;
1244
1245   -psdir | --psdir | --psdi | --psd | --ps)
1246     ac_prev=psdir ;;
1247   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1248     psdir=$ac_optarg ;;
1249
1250   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1251   | -silent | --silent | --silen | --sile | --sil)
1252     silent=yes ;;
1253
1254   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1255     ac_prev=sbindir ;;
1256   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1257   | --sbi=* | --sb=*)
1258     sbindir=$ac_optarg ;;
1259
1260   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1261   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1262   | --sharedst | --shareds | --shared | --share | --shar \
1263   | --sha | --sh)
1264     ac_prev=sharedstatedir ;;
1265   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1266   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1267   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1268   | --sha=* | --sh=*)
1269     sharedstatedir=$ac_optarg ;;
1270
1271   -site | --site | --sit)
1272     ac_prev=site ;;
1273   -site=* | --site=* | --sit=*)
1274     site=$ac_optarg ;;
1275
1276   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1277     ac_prev=srcdir ;;
1278   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1279     srcdir=$ac_optarg ;;
1280
1281   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1282   | --syscon | --sysco | --sysc | --sys | --sy)
1283     ac_prev=sysconfdir ;;
1284   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1285   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1286     sysconfdir=$ac_optarg ;;
1287
1288   -target | --target | --targe | --targ | --tar | --ta | --t)
1289     ac_prev=target_alias ;;
1290   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1291     target_alias=$ac_optarg ;;
1292
1293   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1294     verbose=yes ;;
1295
1296   -version | --version | --versio | --versi | --vers | -V)
1297     ac_init_version=: ;;
1298
1299   -with-* | --with-*)
1300     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1301     # Reject names that are not valid shell variable names.
1302     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1303       as_fn_error $? "invalid package name: $ac_useropt"
1304     ac_useropt_orig=$ac_useropt
1305     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306     case $ac_user_opts in
1307       *"
1308 "with_$ac_useropt"
1309 "*) ;;
1310       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311          ac_unrecognized_sep=', ';;
1312     esac
1313     eval with_$ac_useropt=\$ac_optarg ;;
1314
1315   -without-* | --without-*)
1316     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317     # Reject names that are not valid shell variable names.
1318     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319       as_fn_error $? "invalid package name: $ac_useropt"
1320     ac_useropt_orig=$ac_useropt
1321     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322     case $ac_user_opts in
1323       *"
1324 "with_$ac_useropt"
1325 "*) ;;
1326       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327          ac_unrecognized_sep=', ';;
1328     esac
1329     eval with_$ac_useropt=no ;;
1330
1331   --x)
1332     # Obsolete; use --with-x.
1333     with_x=yes ;;
1334
1335   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336   | --x-incl | --x-inc | --x-in | --x-i)
1337     ac_prev=x_includes ;;
1338   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340     x_includes=$ac_optarg ;;
1341
1342   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344     ac_prev=x_libraries ;;
1345   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347     x_libraries=$ac_optarg ;;
1348
1349   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1350 Try \`$0 --help' for more information"
1351     ;;
1352
1353   *=*)
1354     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1355     # Reject names that are not valid shell variable names.
1356     case $ac_envvar in #(
1357       '' | [0-9]* | *[!_$as_cr_alnum]* )
1358       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1359     esac
1360     eval $ac_envvar=\$ac_optarg
1361     export $ac_envvar ;;
1362
1363   *)
1364     # FIXME: should be removed in autoconf 3.0.
1365     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1369     ;;
1370
1371   esac
1372 done
1373
1374 if test -n "$ac_prev"; then
1375   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376   as_fn_error $? "missing argument to $ac_option"
1377 fi
1378
1379 if test -n "$ac_unrecognized_opts"; then
1380   case $enable_option_checking in
1381     no) ;;
1382     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1383     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1384   esac
1385 fi
1386
1387 # Check all directory arguments for consistency.
1388 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389                 datadir sysconfdir sharedstatedir localstatedir includedir \
1390                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391                 libdir localedir mandir
1392 do
1393   eval ac_val=\$$ac_var
1394   # Remove trailing slashes.
1395   case $ac_val in
1396     */ )
1397       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398       eval $ac_var=\$ac_val;;
1399   esac
1400   # Be sure to have absolute directory names.
1401   case $ac_val in
1402     [\\/$]* | ?:[\\/]* )  continue;;
1403     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1404   esac
1405   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1406 done
1407
1408 # There might be people who depend on the old broken behavior: `$host'
1409 # used to hold the argument of --host etc.
1410 # FIXME: To remove some day.
1411 build=$build_alias
1412 host=$host_alias
1413 target=$target_alias
1414
1415 # FIXME: To remove some day.
1416 if test "x$host_alias" != x; then
1417   if test "x$build_alias" = x; then
1418     cross_compiling=maybe
1419     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1420     If a cross compiler is detected then cross compile mode will be used" >&2
1421   elif test "x$build_alias" != "x$host_alias"; then
1422     cross_compiling=yes
1423   fi
1424 fi
1425
1426 ac_tool_prefix=
1427 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1428
1429 test "$silent" = yes && exec 6>/dev/null
1430
1431
1432 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1433 ac_ls_di=`ls -di .` &&
1434 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1435   as_fn_error $? "working directory cannot be determined"
1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1437   as_fn_error $? "pwd does not report name of working directory"
1438
1439
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442   ac_srcdir_defaulted=yes
1443   # Try the directory containing this script, then the parent directory.
1444   ac_confdir=`$as_dirname -- "$as_myself" ||
1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446          X"$as_myself" : 'X\(//\)[^/]' \| \
1447          X"$as_myself" : 'X\(//\)$' \| \
1448          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449 $as_echo X"$as_myself" |
1450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451             s//\1/
1452             q
1453           }
1454           /^X\(\/\/\)[^/].*/{
1455             s//\1/
1456             q
1457           }
1458           /^X\(\/\/\)$/{
1459             s//\1/
1460             q
1461           }
1462           /^X\(\/\).*/{
1463             s//\1/
1464             q
1465           }
1466           s/.*/./; q'`
1467   srcdir=$ac_confdir
1468   if test ! -r "$srcdir/$ac_unique_file"; then
1469     srcdir=..
1470   fi
1471 else
1472   ac_srcdir_defaulted=no
1473 fi
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1477 fi
1478 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1479 ac_abs_confdir=`(
1480         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1481         pwd)`
1482 # When building in place, set srcdir=.
1483 if test "$ac_abs_confdir" = "$ac_pwd"; then
1484   srcdir=.
1485 fi
1486 # Remove unnecessary trailing slashes from srcdir.
1487 # Double slashes in file names in object file debugging info
1488 # mess up M-x gdb in Emacs.
1489 case $srcdir in
1490 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1491 esac
1492 for ac_var in $ac_precious_vars; do
1493   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1494   eval ac_env_${ac_var}_value=\$${ac_var}
1495   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1496   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1497 done
1498
1499 #
1500 # Report the --help message.
1501 #
1502 if test "$ac_init_help" = "long"; then
1503   # Omit some internal or obsolete options to make the list less imposing.
1504   # This message is too long to be a string in the A/UX 3.1 sh.
1505   cat <<_ACEOF
1506 \`configure' configures gdk-pixbuf 2.26.1 to adapt to many kinds of systems.
1507
1508 Usage: $0 [OPTION]... [VAR=VALUE]...
1509
1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511 VAR=VALUE.  See below for descriptions of some of the useful variables.
1512
1513 Defaults for the options are specified in brackets.
1514
1515 Configuration:
1516   -h, --help              display this help and exit
1517       --help=short        display options specific to this package
1518       --help=recursive    display the short help of all the included packages
1519   -V, --version           display version information and exit
1520   -q, --quiet, --silent   do not print \`checking ...' messages
1521       --cache-file=FILE   cache test results in FILE [disabled]
1522   -C, --config-cache      alias for \`--cache-file=config.cache'
1523   -n, --no-create         do not create output files
1524       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1525
1526 Installation directories:
1527   --prefix=PREFIX         install architecture-independent files in PREFIX
1528                           [$ac_default_prefix]
1529   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1530                           [PREFIX]
1531
1532 By default, \`make install' will install all the files in
1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535 for instance \`--prefix=\$HOME'.
1536
1537 For better control, use the options below.
1538
1539 Fine tuning of the installation directories:
1540   --bindir=DIR            user executables [EPREFIX/bin]
1541   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1542   --libexecdir=DIR        program executables [EPREFIX/libexec]
1543   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1544   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1545   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1546   --libdir=DIR            object code libraries [EPREFIX/lib]
1547   --includedir=DIR        C header files [PREFIX/include]
1548   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1549   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1550   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1551   --infodir=DIR           info documentation [DATAROOTDIR/info]
1552   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1553   --mandir=DIR            man documentation [DATAROOTDIR/man]
1554   --docdir=DIR            documentation root [DATAROOTDIR/doc/gdk-pixbuf]
1555   --htmldir=DIR           html documentation [DOCDIR]
1556   --dvidir=DIR            dvi documentation [DOCDIR]
1557   --pdfdir=DIR            pdf documentation [DOCDIR]
1558   --psdir=DIR             ps documentation [DOCDIR]
1559 _ACEOF
1560
1561   cat <<\_ACEOF
1562
1563 Program names:
1564   --program-prefix=PREFIX            prepend PREFIX to installed program names
1565   --program-suffix=SUFFIX            append SUFFIX to installed program names
1566   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1567
1568 System types:
1569   --build=BUILD     configure for building on BUILD [guessed]
1570   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1571 _ACEOF
1572 fi
1573
1574 if test -n "$ac_init_help"; then
1575   case $ac_init_help in
1576      short | recursive ) echo "Configuration of gdk-pixbuf 2.26.1:";;
1577    esac
1578   cat <<\_ACEOF
1579
1580 Optional Features:
1581   --disable-option-checking  ignore unrecognized --enable/--with options
1582   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1583   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1584   --disable-maintainer-mode  disable make rules and dependencies not useful
1585                           (and sometimes confusing) to the casual installer
1586   --enable-silent-rules          less verbose build output (undo: `make V=1')
1587   --disable-silent-rules         verbose build output (undo: `make V=0')
1588   --disable-dependency-tracking  speeds up one-time build
1589   --enable-dependency-tracking   do not reject slow dependency extractors
1590   --enable-static[=PKGS]  build static libraries [default=no]
1591   --enable-shared[=PKGS]  build shared libraries [default=yes]
1592   --enable-fast-install[=PKGS]
1593                           optimize for fast installation [default=yes]
1594   --disable-libtool-lock  avoid locking (might break parallel builds)
1595   --disable-largefile     omit support for large files
1596   --enable-debug=[no/minimum/yes]
1597                           turn on debugging [default=minimum]
1598   --disable-rebuilds      disable all source autogeneration rules
1599   --enable-explicit-deps=[yes/no/auto]
1600                           use explicit dependencies in .pc files
1601                           [default=auto]
1602   --disable-nls           do not use Native Language Support
1603   --disable-rpath         do not hardcode runtime library paths
1604   --disable-glibtest      do not try to compile and run a test GLIB program
1605   --disable-modules       disable dynamic module loading
1606   --enable-introspection=[no/auto/yes]
1607                           Enable introspection for this build
1608   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1609   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1610   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1611   --enable-man            regenerate man pages from Docbook [default=no]
1612   --disable-Bsymbolic     avoid linking with -Bsymbolic
1613
1614 Optional Packages:
1615   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1616   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1617   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1618                           both]
1619   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1620   --with-sysroot=DIR Search for dependent libraries within DIR
1621                         (or the compiler's sysroot if not specified).
1622   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1623   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1624   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1625   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1626   --without-libintl-prefix     don't search for libintl in includedir and libdir
1627   --without-libpng        disable PNG loader for gdk-pixbuf
1628   --without-libjpeg       disable JPEG loader for gdk-pixbuf
1629   --without-libtiff       disable TIFF loader for gdk-pixbuf
1630   --with-libjasper        enable JPEG2000 loader for gdk-pixbuf
1631   --without-gdiplus       disable GDI+ loaders for gdk-pixbuf on Windows
1632   --with-included-loaders=LOADER1,LOADER2,...
1633                           build the specified loaders into gdk-pixbuf
1634   --with-x11              build X11 support
1635   --with-html-dir=PATH    path to installed docs
1636
1637 Some influential environment variables:
1638   CC          C compiler command
1639   CFLAGS      C compiler flags
1640   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1641               nonstandard directory <lib dir>
1642   LIBS        libraries to pass to the linker, e.g. -l<library>
1643   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1644               you have headers in a nonstandard directory <include dir>
1645   PKG_CONFIG  path to pkg-config utility
1646   PKG_CONFIG_PATH
1647               directories to add to pkg-config's search path
1648   PKG_CONFIG_LIBDIR
1649               path overriding pkg-config's built-in search path
1650   CPP         C preprocessor
1651   CCAS        assembler compiler command (defaults to CC)
1652   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1653   BASE_DEPENDENCIES_CFLAGS
1654               C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
1655   BASE_DEPENDENCIES_LIBS
1656               linker flags for BASE_DEPENDENCIES, overriding pkg-config
1657   GDK_PIXBUF_XLIB_DEP_CFLAGS
1658               C compiler flags for GDK_PIXBUF_XLIB_DEP, overriding pkg-config
1659   GDK_PIXBUF_XLIB_DEP_LIBS
1660               linker flags for GDK_PIXBUF_XLIB_DEP, overriding pkg-config
1661   GTKDOC_DEPS_CFLAGS
1662               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1663   GTKDOC_DEPS_LIBS
1664               linker flags for GTKDOC_DEPS, overriding pkg-config
1665
1666 Use these variables to override the choices made by `configure' or to help
1667 it to find libraries and programs with nonstandard names/locations.
1668
1669 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf>.
1670 _ACEOF
1671 ac_status=$?
1672 fi
1673
1674 if test "$ac_init_help" = "recursive"; then
1675   # If there are subdirs, report their specific --help.
1676   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1677     test -d "$ac_dir" ||
1678       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1679       continue
1680     ac_builddir=.
1681
1682 case "$ac_dir" in
1683 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684 *)
1685   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1686   # A ".." for each directory in $ac_dir_suffix.
1687   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1688   case $ac_top_builddir_sub in
1689   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1691   esac ;;
1692 esac
1693 ac_abs_top_builddir=$ac_pwd
1694 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1695 # for backward compatibility:
1696 ac_top_builddir=$ac_top_build_prefix
1697
1698 case $srcdir in
1699   .)  # We are building in place.
1700     ac_srcdir=.
1701     ac_top_srcdir=$ac_top_builddir_sub
1702     ac_abs_top_srcdir=$ac_pwd ;;
1703   [\\/]* | ?:[\\/]* )  # Absolute name.
1704     ac_srcdir=$srcdir$ac_dir_suffix;
1705     ac_top_srcdir=$srcdir
1706     ac_abs_top_srcdir=$srcdir ;;
1707   *) # Relative name.
1708     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1709     ac_top_srcdir=$ac_top_build_prefix$srcdir
1710     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1711 esac
1712 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1713
1714     cd "$ac_dir" || { ac_status=$?; continue; }
1715     # Check for guested configure.
1716     if test -f "$ac_srcdir/configure.gnu"; then
1717       echo &&
1718       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1719     elif test -f "$ac_srcdir/configure"; then
1720       echo &&
1721       $SHELL "$ac_srcdir/configure" --help=recursive
1722     else
1723       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1724     fi || ac_status=$?
1725     cd "$ac_pwd" || { ac_status=$?; break; }
1726   done
1727 fi
1728
1729 test -n "$ac_init_help" && exit $ac_status
1730 if $ac_init_version; then
1731   cat <<\_ACEOF
1732 gdk-pixbuf configure 2.26.1
1733 generated by GNU Autoconf 2.68
1734
1735 Copyright (C) 2010 Free Software Foundation, Inc.
1736 This configure script is free software; the Free Software Foundation
1737 gives unlimited permission to copy, distribute and modify it.
1738 _ACEOF
1739   exit
1740 fi
1741
1742 ## ------------------------ ##
1743 ## Autoconf initialization. ##
1744 ## ------------------------ ##
1745
1746 # ac_fn_c_try_compile LINENO
1747 # --------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_c_try_compile ()
1750 {
1751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752   rm -f conftest.$ac_objext
1753   if { { ac_try="$ac_compile"
1754 case "(($ac_try" in
1755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1756   *) ac_try_echo=$ac_try;;
1757 esac
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760   (eval "$ac_compile") 2>conftest.err
1761   ac_status=$?
1762   if test -s conftest.err; then
1763     grep -v '^ *+' conftest.err >conftest.er1
1764     cat conftest.er1 >&5
1765     mv -f conftest.er1 conftest.err
1766   fi
1767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768   test $ac_status = 0; } && {
1769          test -z "$ac_c_werror_flag" ||
1770          test ! -s conftest.err
1771        } && test -s conftest.$ac_objext; then :
1772   ac_retval=0
1773 else
1774   $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1776
1777         ac_retval=1
1778 fi
1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780   as_fn_set_status $ac_retval
1781
1782 } # ac_fn_c_try_compile
1783
1784 # ac_fn_c_try_link LINENO
1785 # -----------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded.
1787 ac_fn_c_try_link ()
1788 {
1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790   rm -f conftest.$ac_objext conftest$ac_exeext
1791   if { { ac_try="$ac_link"
1792 case "(($ac_try" in
1793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794   *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798   (eval "$ac_link") 2>conftest.err
1799   ac_status=$?
1800   if test -s conftest.err; then
1801     grep -v '^ *+' conftest.err >conftest.er1
1802     cat conftest.er1 >&5
1803     mv -f conftest.er1 conftest.err
1804   fi
1805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806   test $ac_status = 0; } && {
1807          test -z "$ac_c_werror_flag" ||
1808          test ! -s conftest.err
1809        } && test -s conftest$ac_exeext && {
1810          test "$cross_compiling" = yes ||
1811          $as_test_x conftest$ac_exeext
1812        }; then :
1813   ac_retval=0
1814 else
1815   $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1817
1818         ac_retval=1
1819 fi
1820   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1821   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1822   # interfere with the next link command; also delete a directory that is
1823   # left behind by Apple's compiler.  We do this before executing the actions.
1824   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826   as_fn_set_status $ac_retval
1827
1828 } # ac_fn_c_try_link
1829
1830 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1831 # -------------------------------------------------------
1832 # Tests whether HEADER exists and can be compiled using the include files in
1833 # INCLUDES, setting the cache variable VAR accordingly.
1834 ac_fn_c_check_header_compile ()
1835 {
1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \${$3+:} false; then :
1840   $as_echo_n "(cached) " >&6
1841 else
1842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h.  */
1844 $4
1845 #include <$2>
1846 _ACEOF
1847 if ac_fn_c_try_compile "$LINENO"; then :
1848   eval "$3=yes"
1849 else
1850   eval "$3=no"
1851 fi
1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 fi
1854 eval ac_res=\$$3
1855                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858
1859 } # ac_fn_c_check_header_compile
1860
1861 # ac_fn_c_try_cpp LINENO
1862 # ----------------------
1863 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_c_try_cpp ()
1865 {
1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867   if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 case "(($ac_try" in
1869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870   *) ac_try_echo=$ac_try;;
1871 esac
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875   ac_status=$?
1876   if test -s conftest.err; then
1877     grep -v '^ *+' conftest.err >conftest.er1
1878     cat conftest.er1 >&5
1879     mv -f conftest.er1 conftest.err
1880   fi
1881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882   test $ac_status = 0; } > conftest.i && {
1883          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884          test ! -s conftest.err
1885        }; then :
1886   ac_retval=0
1887 else
1888   $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1890
1891     ac_retval=1
1892 fi
1893   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894   as_fn_set_status $ac_retval
1895
1896 } # ac_fn_c_try_cpp
1897
1898 # ac_fn_c_try_run LINENO
1899 # ----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1901 # that executables *can* be run.
1902 ac_fn_c_try_run ()
1903 {
1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905   if { { ac_try="$ac_link"
1906 case "(($ac_try" in
1907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908   *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912   (eval "$ac_link") 2>&5
1913   ac_status=$?
1914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1916   { { case "(($ac_try" in
1917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1918   *) ac_try_echo=$ac_try;;
1919 esac
1920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921 $as_echo "$ac_try_echo"; } >&5
1922   (eval "$ac_try") 2>&5
1923   ac_status=$?
1924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925   test $ac_status = 0; }; }; then :
1926   ac_retval=0
1927 else
1928   $as_echo "$as_me: program exited with status $ac_status" >&5
1929        $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1931
1932        ac_retval=$ac_status
1933 fi
1934   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936   as_fn_set_status $ac_retval
1937
1938 } # ac_fn_c_try_run
1939
1940 # ac_fn_c_check_func LINENO FUNC VAR
1941 # ----------------------------------
1942 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1943 ac_fn_c_check_func ()
1944 {
1945   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \${$3+:} false; then :
1949   $as_echo_n "(cached) " >&6
1950 else
1951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h.  */
1953 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1955 #define $2 innocuous_$2
1956
1957 /* System header to define __stub macros and hopefully few prototypes,
1958     which can conflict with char $2 (); below.
1959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1960     <limits.h> exists even on freestanding compilers.  */
1961
1962 #ifdef __STDC__
1963 # include <limits.h>
1964 #else
1965 # include <assert.h>
1966 #endif
1967
1968 #undef $2
1969
1970 /* Override any GCC internal prototype to avoid an error.
1971    Use char because int might match the return type of a GCC
1972    builtin and then its argument prototype would still apply.  */
1973 #ifdef __cplusplus
1974 extern "C"
1975 #endif
1976 char $2 ();
1977 /* The GNU C library defines this for functions which it implements
1978     to always fail with ENOSYS.  Some functions are actually named
1979     something starting with __ and the normal name is an alias.  */
1980 #if defined __stub_$2 || defined __stub___$2
1981 choke me
1982 #endif
1983
1984 int
1985 main ()
1986 {
1987 return $2 ();
1988   ;
1989   return 0;
1990 }
1991 _ACEOF
1992 if ac_fn_c_try_link "$LINENO"; then :
1993   eval "$3=yes"
1994 else
1995   eval "$3=no"
1996 fi
1997 rm -f core conftest.err conftest.$ac_objext \
1998     conftest$ac_exeext conftest.$ac_ext
1999 fi
2000 eval ac_res=\$$3
2001                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004
2005 } # ac_fn_c_check_func
2006
2007 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2008 # -------------------------------------------------------
2009 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2010 # the include files in INCLUDES and setting the cache variable VAR
2011 # accordingly.
2012 ac_fn_c_check_header_mongrel ()
2013 {
2014   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015   if eval \${$3+:} false; then :
2016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if eval \${$3+:} false; then :
2019   $as_echo_n "(cached) " >&6
2020 fi
2021 eval ac_res=\$$3
2022                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 else
2025   # Is the header compilable?
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2027 $as_echo_n "checking $2 usability... " >&6; }
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h.  */
2030 $4
2031 #include <$2>
2032 _ACEOF
2033 if ac_fn_c_try_compile "$LINENO"; then :
2034   ac_header_compiler=yes
2035 else
2036   ac_header_compiler=no
2037 fi
2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2040 $as_echo "$ac_header_compiler" >&6; }
2041
2042 # Is the header present?
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2044 $as_echo_n "checking $2 presence... " >&6; }
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h.  */
2047 #include <$2>
2048 _ACEOF
2049 if ac_fn_c_try_cpp "$LINENO"; then :
2050   ac_header_preproc=yes
2051 else
2052   ac_header_preproc=no
2053 fi
2054 rm -f conftest.err conftest.i conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2056 $as_echo "$ac_header_preproc" >&6; }
2057
2058 # So?  What about this header?
2059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2060   yes:no: )
2061     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2062 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2065     ;;
2066   no:yes:* )
2067     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2068 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2069     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2070 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2071     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2072 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2073     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2074 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2075     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2077 ( $as_echo "## ------------------------------------------------------------------------- ##
2078 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf ##
2079 ## ------------------------------------------------------------------------- ##"
2080      ) | sed "s/^/$as_me: WARNING:     /" >&2
2081     ;;
2082 esac
2083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if eval \${$3+:} false; then :
2086   $as_echo_n "(cached) " >&6
2087 else
2088   eval "$3=\$ac_header_compiler"
2089 fi
2090 eval ac_res=\$$3
2091                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 fi
2094   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095
2096 } # ac_fn_c_check_header_mongrel
2097 cat >config.log <<_ACEOF
2098 This file contains any messages produced by compilers while
2099 running configure, to aid debugging if configure makes a mistake.
2100
2101 It was created by gdk-pixbuf $as_me 2.26.1, which was
2102 generated by GNU Autoconf 2.68.  Invocation command line was
2103
2104   $ $0 $@
2105
2106 _ACEOF
2107 exec 5>>config.log
2108 {
2109 cat <<_ASUNAME
2110 ## --------- ##
2111 ## Platform. ##
2112 ## --------- ##
2113
2114 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2115 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2116 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2117 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2118 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2119
2120 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2121 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2122
2123 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2124 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2125 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2126 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2127 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2128 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2129 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2130
2131 _ASUNAME
2132
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH
2135 do
2136   IFS=$as_save_IFS
2137   test -z "$as_dir" && as_dir=.
2138     $as_echo "PATH: $as_dir"
2139   done
2140 IFS=$as_save_IFS
2141
2142 } >&5
2143
2144 cat >&5 <<_ACEOF
2145
2146
2147 ## ----------- ##
2148 ## Core tests. ##
2149 ## ----------- ##
2150
2151 _ACEOF
2152
2153
2154 # Keep a trace of the command line.
2155 # Strip out --no-create and --no-recursion so they do not pile up.
2156 # Strip out --silent because we don't want to record it for future runs.
2157 # Also quote any args containing shell meta-characters.
2158 # Make two passes to allow for proper duplicate-argument suppression.
2159 ac_configure_args=
2160 ac_configure_args0=
2161 ac_configure_args1=
2162 ac_must_keep_next=false
2163 for ac_pass in 1 2
2164 do
2165   for ac_arg
2166   do
2167     case $ac_arg in
2168     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2169     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2170     | -silent | --silent | --silen | --sile | --sil)
2171       continue ;;
2172     *\'*)
2173       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2174     esac
2175     case $ac_pass in
2176     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2177     2)
2178       as_fn_append ac_configure_args1 " '$ac_arg'"
2179       if test $ac_must_keep_next = true; then
2180         ac_must_keep_next=false # Got value, back to normal.
2181       else
2182         case $ac_arg in
2183           *=* | --config-cache | -C | -disable-* | --disable-* \
2184           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2185           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2186           | -with-* | --with-* | -without-* | --without-* | --x)
2187             case "$ac_configure_args0 " in
2188               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2189             esac
2190             ;;
2191           -* ) ac_must_keep_next=true ;;
2192         esac
2193       fi
2194       as_fn_append ac_configure_args " '$ac_arg'"
2195       ;;
2196     esac
2197   done
2198 done
2199 { ac_configure_args0=; unset ac_configure_args0;}
2200 { ac_configure_args1=; unset ac_configure_args1;}
2201
2202 # When interrupted or exit'd, cleanup temporary files, and complete
2203 # config.log.  We remove comments because anyway the quotes in there
2204 # would cause problems or look ugly.
2205 # WARNING: Use '\'' to represent an apostrophe within the trap.
2206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2207 trap 'exit_status=$?
2208   # Save into config.log some information that might help in debugging.
2209   {
2210     echo
2211
2212     $as_echo "## ---------------- ##
2213 ## Cache variables. ##
2214 ## ---------------- ##"
2215     echo
2216     # The following way of writing the cache mishandles newlines in values,
2217 (
2218   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2219     eval ac_val=\$$ac_var
2220     case $ac_val in #(
2221     *${as_nl}*)
2222       case $ac_var in #(
2223       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2224 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2225       esac
2226       case $ac_var in #(
2227       _ | IFS | as_nl) ;; #(
2228       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2229       *) { eval $ac_var=; unset $ac_var;} ;;
2230       esac ;;
2231     esac
2232   done
2233   (set) 2>&1 |
2234     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2235     *${as_nl}ac_space=\ *)
2236       sed -n \
2237         "s/'\''/'\''\\\\'\'''\''/g;
2238           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2239       ;; #(
2240     *)
2241       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2242       ;;
2243     esac |
2244     sort
2245 )
2246     echo
2247
2248     $as_echo "## ----------------- ##
2249 ## Output variables. ##
2250 ## ----------------- ##"
2251     echo
2252     for ac_var in $ac_subst_vars
2253     do
2254       eval ac_val=\$$ac_var
2255       case $ac_val in
2256       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2257       esac
2258       $as_echo "$ac_var='\''$ac_val'\''"
2259     done | sort
2260     echo
2261
2262     if test -n "$ac_subst_files"; then
2263       $as_echo "## ------------------- ##
2264 ## File substitutions. ##
2265 ## ------------------- ##"
2266       echo
2267       for ac_var in $ac_subst_files
2268       do
2269         eval ac_val=\$$ac_var
2270         case $ac_val in
2271         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272         esac
2273         $as_echo "$ac_var='\''$ac_val'\''"
2274       done | sort
2275       echo
2276     fi
2277
2278     if test -s confdefs.h; then
2279       $as_echo "## ----------- ##
2280 ## confdefs.h. ##
2281 ## ----------- ##"
2282       echo
2283       cat confdefs.h
2284       echo
2285     fi
2286     test "$ac_signal" != 0 &&
2287       $as_echo "$as_me: caught signal $ac_signal"
2288     $as_echo "$as_me: exit $exit_status"
2289   } >&5
2290   rm -f core *.core core.conftest.* &&
2291     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2292     exit $exit_status
2293 ' 0
2294 for ac_signal in 1 2 13 15; do
2295   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2296 done
2297 ac_signal=0
2298
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2301
2302 $as_echo "/* confdefs.h */" > confdefs.h
2303
2304 # Predefined preprocessor variables.
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2308 _ACEOF
2309
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2312 _ACEOF
2313
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2316 _ACEOF
2317
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_STRING "$PACKAGE_STRING"
2320 _ACEOF
2321
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2324 _ACEOF
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_URL "$PACKAGE_URL"
2328 _ACEOF
2329
2330
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer an explicitly selected file to automatically selected ones.
2333 ac_site_file1=NONE
2334 ac_site_file2=NONE
2335 if test -n "$CONFIG_SITE"; then
2336   # We do not want a PATH search for config.site.
2337   case $CONFIG_SITE in #((
2338     -*)  ac_site_file1=./$CONFIG_SITE;;
2339     */*) ac_site_file1=$CONFIG_SITE;;
2340     *)   ac_site_file1=./$CONFIG_SITE;;
2341   esac
2342 elif test "x$prefix" != xNONE; then
2343   ac_site_file1=$prefix/share/config.site
2344   ac_site_file2=$prefix/etc/config.site
2345 else
2346   ac_site_file1=$ac_default_prefix/share/config.site
2347   ac_site_file2=$ac_default_prefix/etc/config.site
2348 fi
2349 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2350 do
2351   test "x$ac_site_file" = xNONE && continue
2352   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2353     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2354 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2355     sed 's/^/| /' "$ac_site_file" >&5
2356     . "$ac_site_file" \
2357       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error $? "failed to load site script $ac_site_file
2360 See \`config.log' for more details" "$LINENO" 5; }
2361   fi
2362 done
2363
2364 if test -r "$cache_file"; then
2365   # Some versions of bash will fail to source /dev/null (special files
2366   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2367   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2368     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2369 $as_echo "$as_me: loading cache $cache_file" >&6;}
2370     case $cache_file in
2371       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2372       *)                      . "./$cache_file";;
2373     esac
2374   fi
2375 else
2376   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2377 $as_echo "$as_me: creating cache $cache_file" >&6;}
2378   >$cache_file
2379 fi
2380
2381 gt_needs="$gt_needs "
2382 # Check that the precious variables saved in the cache have kept the same
2383 # value.
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387   eval ac_new_set=\$ac_env_${ac_var}_set
2388   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389   eval ac_new_val=\$ac_env_${ac_var}_value
2390   case $ac_old_set,$ac_new_set in
2391     set,)
2392       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394       ac_cache_corrupted=: ;;
2395     ,set)
2396       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2397 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398       ac_cache_corrupted=: ;;
2399     ,);;
2400     *)
2401       if test "x$ac_old_val" != "x$ac_new_val"; then
2402         # differences in whitespace do not lead to failure.
2403         ac_old_val_w=`echo x $ac_old_val`
2404         ac_new_val_w=`echo x $ac_new_val`
2405         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408           ac_cache_corrupted=:
2409         else
2410           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412           eval $ac_var=\$ac_old_val
2413         fi
2414         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2415 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2416         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2418       fi;;
2419   esac
2420   # Pass precious variables to config.status.
2421   if test "$ac_new_set" = set; then
2422     case $ac_new_val in
2423     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424     *) ac_arg=$ac_var=$ac_new_val ;;
2425     esac
2426     case " $ac_configure_args " in
2427       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2428       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2429     esac
2430   fi
2431 done
2432 if $ac_cache_corrupted; then
2433   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2438 fi
2439 ## -------------------- ##
2440 ## Main body of script. ##
2441 ## -------------------- ##
2442
2443 ac_ext=c
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448
2449
2450
2451 ac_config_headers="$ac_config_headers config.h"
2452
2453
2454
2455
2456 # Save this value here, since automake will set cflags later
2457 cflags_set=${CFLAGS+set}
2458
2459 am__api_version='1.11'
2460
2461 ac_aux_dir=
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463   if test -f "$ac_dir/install-sh"; then
2464     ac_aux_dir=$ac_dir
2465     ac_install_sh="$ac_aux_dir/install-sh -c"
2466     break
2467   elif test -f "$ac_dir/install.sh"; then
2468     ac_aux_dir=$ac_dir
2469     ac_install_sh="$ac_aux_dir/install.sh -c"
2470     break
2471   elif test -f "$ac_dir/shtool"; then
2472     ac_aux_dir=$ac_dir
2473     ac_install_sh="$ac_aux_dir/shtool install -c"
2474     break
2475   fi
2476 done
2477 if test -z "$ac_aux_dir"; then
2478   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479 fi
2480
2481 # These three variables are undocumented and unsupported,
2482 # and are intended to be withdrawn in a future Autoconf release.
2483 # They can cause serious problems if a builder's source tree is in a directory
2484 # whose full name contains unusual characters.
2485 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2486 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2487 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2488
2489
2490 # Find a good install program.  We prefer a C program (faster),
2491 # so one script is as good as another.  But avoid the broken or
2492 # incompatible versions:
2493 # SysV /etc/install, /usr/sbin/install
2494 # SunOS /usr/etc/install
2495 # IRIX /sbin/install
2496 # AIX /bin/install
2497 # AmigaOS /C/install, which installs bootblocks on floppy discs
2498 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2499 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2500 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2501 # OS/2's system install, which has a completely different semantic
2502 # ./install, which can be erroneously created by make from ./install.sh.
2503 # Reject install programs that cannot install multiple files.
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2505 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2506 if test -z "$INSTALL"; then
2507 if ${ac_cv_path_install+:} false; then :
2508   $as_echo_n "(cached) " >&6
2509 else
2510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513   IFS=$as_save_IFS
2514   test -z "$as_dir" && as_dir=.
2515     # Account for people who put trailing slashes in PATH elements.
2516 case $as_dir/ in #((
2517   ./ | .// | /[cC]/* | \
2518   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2519   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2520   /usr/ucb/* ) ;;
2521   *)
2522     # OSF1 and SCO ODT 3.0 have their own names for install.
2523     # Don't use installbsd from OSF since it installs stuff as root
2524     # by default.
2525     for ac_prog in ginstall scoinst install; do
2526       for ac_exec_ext in '' $ac_executable_extensions; do
2527         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2528           if test $ac_prog = install &&
2529             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2530             # AIX install.  It has an incompatible calling convention.
2531             :
2532           elif test $ac_prog = install &&
2533             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2534             # program-specific install script used by HP pwplus--don't use.
2535             :
2536           else
2537             rm -rf conftest.one conftest.two conftest.dir
2538             echo one > conftest.one
2539             echo two > conftest.two
2540             mkdir conftest.dir
2541             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2542               test -s conftest.one && test -s conftest.two &&
2543               test -s conftest.dir/conftest.one &&
2544               test -s conftest.dir/conftest.two
2545             then
2546               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2547               break 3
2548             fi
2549           fi
2550         fi
2551       done
2552     done
2553     ;;
2554 esac
2555
2556   done
2557 IFS=$as_save_IFS
2558
2559 rm -rf conftest.one conftest.two conftest.dir
2560
2561 fi
2562   if test "${ac_cv_path_install+set}" = set; then
2563     INSTALL=$ac_cv_path_install
2564   else
2565     # As a last resort, use the slow shell script.  Don't cache a
2566     # value for INSTALL within a source directory, because that will
2567     # break other packages using the cache if that directory is
2568     # removed, or if the value is a relative name.
2569     INSTALL=$ac_install_sh
2570   fi
2571 fi
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2573 $as_echo "$INSTALL" >&6; }
2574
2575 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2576 # It thinks the first close brace ends the variable substitution.
2577 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2578
2579 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2580
2581 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2582
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2584 $as_echo_n "checking whether build environment is sane... " >&6; }
2585 # Just in case
2586 sleep 1
2587 echo timestamp > conftest.file
2588 # Reject unsafe characters in $srcdir or the absolute working directory
2589 # name.  Accept space and tab only in the latter.
2590 am_lf='
2591 '
2592 case `pwd` in
2593   *[\\\"\#\$\&\'\`$am_lf]*)
2594     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595 esac
2596 case $srcdir in
2597   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2598     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2599 esac
2600
2601 # Do `set' in a subshell so we don't clobber the current shell's
2602 # arguments.  Must try -L first in case configure is actually a
2603 # symlink; some systems play weird games with the mod time of symlinks
2604 # (eg FreeBSD returns the mod time of the symlink's containing
2605 # directory).
2606 if (
2607    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2608    if test "$*" = "X"; then
2609       # -L didn't work.
2610       set X `ls -t "$srcdir/configure" conftest.file`
2611    fi
2612    rm -f conftest.file
2613    if test "$*" != "X $srcdir/configure conftest.file" \
2614       && test "$*" != "X conftest.file $srcdir/configure"; then
2615
2616       # If neither matched, then we have a broken ls.  This can happen
2617       # if, for instance, CONFIG_SHELL is bash and it inherits a
2618       # broken ls alias from the environment.  This has actually
2619       # happened.  Such a system could not be considered "sane".
2620       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2621 alias in your environment" "$LINENO" 5
2622    fi
2623
2624    test "$2" = conftest.file
2625    )
2626 then
2627    # Ok.
2628    :
2629 else
2630    as_fn_error $? "newly created file is older than distributed files!
2631 Check your system clock" "$LINENO" 5
2632 fi
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634 $as_echo "yes" >&6; }
2635 test "$program_prefix" != NONE &&
2636   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2637 # Use a double $ so make ignores it.
2638 test "$program_suffix" != NONE &&
2639   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2640 # Double any \ or $.
2641 # By default was `s,x,x', remove it if useless.
2642 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2643 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2644
2645 # expand $ac_aux_dir to an absolute path
2646 am_aux_dir=`cd $ac_aux_dir && pwd`
2647
2648 if test x"${MISSING+set}" != xset; then
2649   case $am_aux_dir in
2650   *\ * | *\     *)
2651     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2652   *)
2653     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2654   esac
2655 fi
2656 # Use eval to expand $SHELL
2657 if eval "$MISSING --run true"; then
2658   am_missing_run="$MISSING --run "
2659 else
2660   am_missing_run=
2661   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2662 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2663 fi
2664
2665 if test x"${install_sh}" != xset; then
2666   case $am_aux_dir in
2667   *\ * | *\     *)
2668     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2669   *)
2670     install_sh="\${SHELL} $am_aux_dir/install-sh"
2671   esac
2672 fi
2673
2674 # Installed binaries are usually stripped using `strip' when the user
2675 # run `make install-strip'.  However `strip' might not be the right
2676 # tool to use in cross-compilation environments, therefore Automake
2677 # will honor the `STRIP' environment variable to overrule this program.
2678 if test "$cross_compiling" != no; then
2679   if test -n "$ac_tool_prefix"; then
2680   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}strip; ac_word=$2
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if ${ac_cv_prog_STRIP+:} false; then :
2685   $as_echo_n "(cached) " >&6
2686 else
2687   if test -n "$STRIP"; then
2688   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2689 else
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2692 do
2693   IFS=$as_save_IFS
2694   test -z "$as_dir" && as_dir=.
2695     for ac_exec_ext in '' $ac_executable_extensions; do
2696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699     break 2
2700   fi
2701 done
2702   done
2703 IFS=$as_save_IFS
2704
2705 fi
2706 fi
2707 STRIP=$ac_cv_prog_STRIP
2708 if test -n "$STRIP"; then
2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2710 $as_echo "$STRIP" >&6; }
2711 else
2712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714 fi
2715
2716
2717 fi
2718 if test -z "$ac_cv_prog_STRIP"; then
2719   ac_ct_STRIP=$STRIP
2720   # Extract the first word of "strip", so it can be a program name with args.
2721 set dummy strip; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2725   $as_echo_n "(cached) " >&6
2726 else
2727   if test -n "$ac_ct_STRIP"; then
2728   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2729 else
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH
2732 do
2733   IFS=$as_save_IFS
2734   test -z "$as_dir" && as_dir=.
2735     for ac_exec_ext in '' $ac_executable_extensions; do
2736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737     ac_cv_prog_ac_ct_STRIP="strip"
2738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739     break 2
2740   fi
2741 done
2742   done
2743 IFS=$as_save_IFS
2744
2745 fi
2746 fi
2747 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2748 if test -n "$ac_ct_STRIP"; then
2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2750 $as_echo "$ac_ct_STRIP" >&6; }
2751 else
2752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2754 fi
2755
2756   if test "x$ac_ct_STRIP" = x; then
2757     STRIP=":"
2758   else
2759     case $cross_compiling:$ac_tool_warned in
2760 yes:)
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2763 ac_tool_warned=yes ;;
2764 esac
2765     STRIP=$ac_ct_STRIP
2766   fi
2767 else
2768   STRIP="$ac_cv_prog_STRIP"
2769 fi
2770
2771 fi
2772 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2773
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2775 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2776 if test -z "$MKDIR_P"; then
2777   if ${ac_cv_path_mkdir+:} false; then :
2778   $as_echo_n "(cached) " >&6
2779 else
2780   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2782 do
2783   IFS=$as_save_IFS
2784   test -z "$as_dir" && as_dir=.
2785     for ac_prog in mkdir gmkdir; do
2786          for ac_exec_ext in '' $ac_executable_extensions; do
2787            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2788            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2789              'mkdir (GNU coreutils) '* | \
2790              'mkdir (coreutils) '* | \
2791              'mkdir (fileutils) '4.1*)
2792                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2793                break 3;;
2794            esac
2795          done
2796        done
2797   done
2798 IFS=$as_save_IFS
2799
2800 fi
2801
2802   test -d ./--version && rmdir ./--version
2803   if test "${ac_cv_path_mkdir+set}" = set; then
2804     MKDIR_P="$ac_cv_path_mkdir -p"
2805   else
2806     # As a last resort, use the slow shell script.  Don't cache a
2807     # value for MKDIR_P within a source directory, because that will
2808     # break other packages using the cache if that directory is
2809     # removed, or if the value is a relative name.
2810     MKDIR_P="$ac_install_sh -d"
2811   fi
2812 fi
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2814 $as_echo "$MKDIR_P" >&6; }
2815
2816 mkdir_p="$MKDIR_P"
2817 case $mkdir_p in
2818   [\\/$]* | ?:[\\/]*) ;;
2819   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2820 esac
2821
2822 for ac_prog in gawk mawk nawk awk
2823 do
2824   # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_AWK+:} false; then :
2829   $as_echo_n "(cached) " >&6
2830 else
2831   if test -n "$AWK"; then
2832   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2833 else
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 for as_dir in $PATH
2836 do
2837   IFS=$as_save_IFS
2838   test -z "$as_dir" && as_dir=.
2839     for ac_exec_ext in '' $ac_executable_extensions; do
2840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841     ac_cv_prog_AWK="$ac_prog"
2842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843     break 2
2844   fi
2845 done
2846   done
2847 IFS=$as_save_IFS
2848
2849 fi
2850 fi
2851 AWK=$ac_cv_prog_AWK
2852 if test -n "$AWK"; then
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2854 $as_echo "$AWK" >&6; }
2855 else
2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2858 fi
2859
2860
2861   test -n "$AWK" && break
2862 done
2863
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2866 set x ${MAKE-make}
2867 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2869   $as_echo_n "(cached) " >&6
2870 else
2871   cat >conftest.make <<\_ACEOF
2872 SHELL = /bin/sh
2873 all:
2874         @echo '@@@%%%=$(MAKE)=@@@%%%'
2875 _ACEOF
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2878   *@@@%%%=?*=@@@%%%*)
2879     eval ac_cv_prog_make_${ac_make}_set=yes;;
2880   *)
2881     eval ac_cv_prog_make_${ac_make}_set=no;;
2882 esac
2883 rm -f conftest.make
2884 fi
2885 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2888   SET_MAKE=
2889 else
2890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892   SET_MAKE="MAKE=${MAKE-make}"
2893 fi
2894
2895 rm -rf .tst 2>/dev/null
2896 mkdir .tst 2>/dev/null
2897 if test -d .tst; then
2898   am__leading_dot=.
2899 else
2900   am__leading_dot=_
2901 fi
2902 rmdir .tst 2>/dev/null
2903
2904 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2905   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2906   # is not polluted with repeated "-I."
2907   am__isrc=' -I$(srcdir)'
2908   # test to see if srcdir already configured
2909   if test -f $srcdir/config.status; then
2910     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2911   fi
2912 fi
2913
2914 # test whether we have cygpath
2915 if test -z "$CYGPATH_W"; then
2916   if (cygpath --version) >/dev/null 2>/dev/null; then
2917     CYGPATH_W='cygpath -w'
2918   else
2919     CYGPATH_W=echo
2920   fi
2921 fi
2922
2923
2924 # Define the identity of the package.
2925  PACKAGE='gdk-pixbuf'
2926  VERSION='2.26.1'
2927
2928
2929 # Some tools Automake needs.
2930
2931 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2932
2933
2934 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2935
2936
2937 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2938
2939
2940 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2941
2942
2943 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2944
2945 # We need awk for the "check" target.  The system "awk" is bad on
2946 # some platforms.
2947 # Always define AMTAR for backward compatibility.  Yes, it's still used
2948 # in the wild :-(  We should find a proper way to deprecate it ...
2949 AMTAR='$${TAR-tar}'
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2953 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2954 # Loop over all known methods to create a tar archive until one works.
2955 _am_tools='gnutar plaintar pax cpio none'
2956 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2957 # Do not fold the above two line into one, because Tru64 sh and
2958 # Solaris sh will not grok spaces in the rhs of `-'.
2959 for _am_tool in $_am_tools
2960 do
2961   case $_am_tool in
2962   gnutar)
2963     for _am_tar in tar gnutar gtar;
2964     do
2965       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2966    ($_am_tar --version) >&5 2>&5
2967    ac_status=$?
2968    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969    (exit $ac_status); } && break
2970     done
2971     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2972     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2973     am__untar="$_am_tar -xf -"
2974     ;;
2975   plaintar)
2976     # Must skip GNU tar: if it does not support --format= it doesn't create
2977     # ustar tarball either.
2978     (tar --version) >/dev/null 2>&1 && continue
2979     am__tar='tar chf - "$$tardir"'
2980     am__tar_='tar chf - "$tardir"'
2981     am__untar='tar xf -'
2982     ;;
2983   pax)
2984     am__tar='pax -L -x ustar -w "$$tardir"'
2985     am__tar_='pax -L -x ustar -w "$tardir"'
2986     am__untar='pax -r'
2987     ;;
2988   cpio)
2989     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2990     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2991     am__untar='cpio -i -H ustar -d'
2992     ;;
2993   none)
2994     am__tar=false
2995     am__tar_=false
2996     am__untar=false
2997     ;;
2998   esac
2999
3000   # If the value was cached, stop now.  We just wanted to have am__tar
3001   # and am__untar set.
3002   test -n "${am_cv_prog_tar_ustar}" && break
3003
3004   # tar/untar a dummy directory, and stop if the command works
3005   rm -rf conftest.dir
3006   mkdir conftest.dir
3007   echo GrepMe > conftest.dir/file
3008   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3009    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3010    ac_status=$?
3011    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012    (exit $ac_status); }
3013   rm -rf conftest.dir
3014   if test -s conftest.tar; then
3015     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3016    ($am__untar <conftest.tar) >&5 2>&5
3017    ac_status=$?
3018    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019    (exit $ac_status); }
3020     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3021   fi
3022 done
3023 rm -rf conftest.dir
3024
3025 if ${am_cv_prog_tar_ustar+:} false; then :
3026   $as_echo_n "(cached) " >&6
3027 else
3028   am_cv_prog_tar_ustar=$_am_tool
3029 fi
3030
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3032 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3033
3034
3035
3036
3037
3038
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3040 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3041     # Check whether --enable-maintainer-mode was given.
3042 if test "${enable_maintainer_mode+set}" = set; then :
3043   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3044 else
3045   USE_MAINTAINER_MODE=yes
3046 fi
3047
3048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3049 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3050    if test $USE_MAINTAINER_MODE = yes; then
3051   MAINTAINER_MODE_TRUE=
3052   MAINTAINER_MODE_FALSE='#'
3053 else
3054   MAINTAINER_MODE_TRUE='#'
3055   MAINTAINER_MODE_FALSE=
3056 fi
3057
3058   MAINT=$MAINTAINER_MODE_TRUE
3059
3060
3061
3062 # Support silent build rules. Disable
3063 # by either passing --disable-silent-rules to configure or passing V=0
3064 # to make
3065 # Check whether --enable-silent-rules was given.
3066 if test "${enable_silent_rules+set}" = set; then :
3067   enableval=$enable_silent_rules;
3068 fi
3069
3070 case $enable_silent_rules in
3071 yes) AM_DEFAULT_VERBOSITY=0;;
3072 no)  AM_DEFAULT_VERBOSITY=1;;
3073 *)   AM_DEFAULT_VERBOSITY=0;;
3074 esac
3075 am_make=${MAKE-make}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3077 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3078 if ${am_cv_make_support_nested_variables+:} false; then :
3079   $as_echo_n "(cached) " >&6
3080 else
3081   if $as_echo 'TRUE=$(BAR$(V))
3082 BAR0=false
3083 BAR1=true
3084 V=1
3085 am__doit:
3086         @$(TRUE)
3087 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3088   am_cv_make_support_nested_variables=yes
3089 else
3090   am_cv_make_support_nested_variables=no
3091 fi
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3094 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3095 if test $am_cv_make_support_nested_variables = yes; then
3096     AM_V='$(V)'
3097   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3098 else
3099   AM_V=$AM_DEFAULT_VERBOSITY
3100   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3101 fi
3102 AM_BACKSLASH='\'
3103
3104
3105 #
3106 # For each of the libraries we build, we define the following
3107 # substituted variables:
3108 #
3109 # foo_PACKAGES:     pkg-config packages this library requires
3110 # foo_EXTRA_LIBS:   Libraries this module requires not pulled in by pkg-config
3111 # foo_EXTRA_CFLAGS: cflags this module requires not pulled in by pkg-config
3112 # foo_DEP_LIBS:     All libraries this module requires
3113 # foo_DEP_CFLAGS:   All cflags this module requires
3114
3115 GDK_PIXBUF_MAJOR=2
3116 GDK_PIXBUF_MINOR=26
3117 GDK_PIXBUF_MICRO=1
3118 GDK_PIXBUF_VERSION=2.26.1
3119 GDK_PIXBUF_API_VERSION=2.0
3120 GDK_PIXBUF_BINARY_VERSION=2.10.0
3121
3122
3123
3124
3125
3126
3127
3128 # libtool versioning
3129 #LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
3130 #LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
3131 #LT_REVISION=$GTK_INTERFACE_AGE
3132 #LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
3133 #LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
3134
3135
3136
3137
3138 LT_VERSION_INFO="2600:1:2600"
3139 LT_CURRENT_MINUS_AGE=0
3140
3141
3142
3143 # Checks for programs.
3144 ac_ext=c
3145 ac_cpp='$CPP $CPPFLAGS'
3146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3149 if test -n "$ac_tool_prefix"; then
3150   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3151 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false; then :
3155   $as_echo_n "(cached) " >&6
3156 else
3157   if test -n "$CC"; then
3158   ac_cv_prog_CC="$CC" # Let the user override the test.
3159 else
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 for as_dir in $PATH
3162 do
3163   IFS=$as_save_IFS
3164   test -z "$as_dir" && as_dir=.
3165     for ac_exec_ext in '' $ac_executable_extensions; do
3166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169     break 2
3170   fi
3171 done
3172   done
3173 IFS=$as_save_IFS
3174
3175 fi
3176 fi
3177 CC=$ac_cv_prog_CC
3178 if test -n "$CC"; then
3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3181 else
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 fi
3185
3186
3187 fi
3188 if test -z "$ac_cv_prog_CC"; then
3189   ac_ct_CC=$CC
3190   # Extract the first word of "gcc", so it can be a program name with args.
3191 set dummy gcc; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3195   $as_echo_n "(cached) " >&6
3196 else
3197   if test -n "$ac_ct_CC"; then
3198   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3199 else
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH
3202 do
3203   IFS=$as_save_IFS
3204   test -z "$as_dir" && as_dir=.
3205     for ac_exec_ext in '' $ac_executable_extensions; do
3206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207     ac_cv_prog_ac_ct_CC="gcc"
3208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209     break 2
3210   fi
3211 done
3212   done
3213 IFS=$as_save_IFS
3214
3215 fi
3216 fi
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3220 $as_echo "$ac_ct_CC" >&6; }
3221 else
3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3224 fi
3225
3226   if test "x$ac_ct_CC" = x; then
3227     CC=""
3228   else
3229     case $cross_compiling:$ac_tool_warned in
3230 yes:)
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3233 ac_tool_warned=yes ;;
3234 esac
3235     CC=$ac_ct_CC
3236   fi
3237 else
3238   CC="$ac_cv_prog_CC"
3239 fi
3240
3241 if test -z "$CC"; then
3242           if test -n "$ac_tool_prefix"; then
3243     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3244 set dummy ${ac_tool_prefix}cc; ac_word=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_CC+:} false; then :
3248   $as_echo_n "(cached) " >&6
3249 else
3250   if test -n "$CC"; then
3251   ac_cv_prog_CC="$CC" # Let the user override the test.
3252 else
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254 for as_dir in $PATH
3255 do
3256   IFS=$as_save_IFS
3257   test -z "$as_dir" && as_dir=.
3258     for ac_exec_ext in '' $ac_executable_extensions; do
3259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260     ac_cv_prog_CC="${ac_tool_prefix}cc"
3261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262     break 2
3263   fi
3264 done
3265   done
3266 IFS=$as_save_IFS
3267
3268 fi
3269 fi
3270 CC=$ac_cv_prog_CC
3271 if test -n "$CC"; then
3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3274 else
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3277 fi
3278
3279
3280   fi
3281 fi
3282 if test -z "$CC"; then
3283   # Extract the first word of "cc", so it can be a program name with args.
3284 set dummy cc; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_CC+:} false; then :
3288   $as_echo_n "(cached) " >&6
3289 else
3290   if test -n "$CC"; then
3291   ac_cv_prog_CC="$CC" # Let the user override the test.
3292 else
3293   ac_prog_rejected=no
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH
3296 do
3297   IFS=$as_save_IFS
3298   test -z "$as_dir" && as_dir=.
3299     for ac_exec_ext in '' $ac_executable_extensions; do
3300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3302        ac_prog_rejected=yes
3303        continue
3304      fi
3305     ac_cv_prog_CC="cc"
3306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307     break 2
3308   fi
3309 done
3310   done
3311 IFS=$as_save_IFS
3312
3313 if test $ac_prog_rejected = yes; then
3314   # We found a bogon in the path, so make sure we never use it.
3315   set dummy $ac_cv_prog_CC
3316   shift
3317   if test $# != 0; then
3318     # We chose a different compiler from the bogus one.
3319     # However, it has the same basename, so the bogon will be chosen
3320     # first if we set CC to just the basename; use the full file name.
3321     shift
3322     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3323   fi
3324 fi
3325 fi
3326 fi
3327 CC=$ac_cv_prog_CC
3328 if test -n "$CC"; then
3329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3330 $as_echo "$CC" >&6; }
3331 else
3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 fi
3335
3336
3337 fi
3338 if test -z "$CC"; then
3339   if test -n "$ac_tool_prefix"; then
3340   for ac_prog in cl.exe
3341   do
3342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345 $as_echo_n "checking for $ac_word... " >&6; }
3346 if ${ac_cv_prog_CC+:} false; then :
3347   $as_echo_n "(cached) " >&6
3348 else
3349   if test -n "$CC"; then
3350   ac_cv_prog_CC="$CC" # Let the user override the test.
3351 else
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH
3354 do
3355   IFS=$as_save_IFS
3356   test -z "$as_dir" && as_dir=.
3357     for ac_exec_ext in '' $ac_executable_extensions; do
3358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3359     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361     break 2
3362   fi
3363 done
3364   done
3365 IFS=$as_save_IFS
3366
3367 fi
3368 fi
3369 CC=$ac_cv_prog_CC
3370 if test -n "$CC"; then
3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372 $as_echo "$CC" >&6; }
3373 else
3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3376 fi
3377
3378
3379     test -n "$CC" && break
3380   done
3381 fi
3382 if test -z "$CC"; then
3383   ac_ct_CC=$CC
3384   for ac_prog in cl.exe
3385 do
3386   # Extract the first word of "$ac_prog", so it can be a program name with args.
3387 set dummy $ac_prog; ac_word=$2
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389 $as_echo_n "checking for $ac_word... " >&6; }
3390 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3391   $as_echo_n "(cached) " >&6
3392 else
3393   if test -n "$ac_ct_CC"; then
3394   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3395 else
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 for as_dir in $PATH
3398 do
3399   IFS=$as_save_IFS
3400   test -z "$as_dir" && as_dir=.
3401     for ac_exec_ext in '' $ac_executable_extensions; do
3402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3403     ac_cv_prog_ac_ct_CC="$ac_prog"
3404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405     break 2
3406   fi
3407 done
3408   done
3409 IFS=$as_save_IFS
3410
3411 fi
3412 fi
3413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3414 if test -n "$ac_ct_CC"; then
3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3416 $as_echo "$ac_ct_CC" >&6; }
3417 else
3418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3420 fi
3421
3422
3423   test -n "$ac_ct_CC" && break
3424 done
3425
3426   if test "x$ac_ct_CC" = x; then
3427     CC=""
3428   else
3429     case $cross_compiling:$ac_tool_warned in
3430 yes:)
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3433 ac_tool_warned=yes ;;
3434 esac
3435     CC=$ac_ct_CC
3436   fi
3437 fi
3438
3439 fi
3440
3441
3442 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 as_fn_error $? "no acceptable C compiler found in \$PATH
3445 See \`config.log' for more details" "$LINENO" 5; }
3446
3447 # Provide some information about the compiler.
3448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3449 set X $ac_compile
3450 ac_compiler=$2
3451 for ac_option in --version -v -V -qversion; do
3452   { { ac_try="$ac_compiler $ac_option >&5"
3453 case "(($ac_try" in
3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455   *) ac_try_echo=$ac_try;;
3456 esac
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3460   ac_status=$?
3461   if test -s conftest.err; then
3462     sed '10a\
3463 ... rest of stderr output deleted ...
3464          10q' conftest.err >conftest.er1
3465     cat conftest.er1 >&5
3466   fi
3467   rm -f conftest.er1 conftest.err
3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469   test $ac_status = 0; }
3470 done
3471
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h.  */
3474
3475 int
3476 main ()
3477 {
3478
3479   ;
3480   return 0;
3481 }
3482 _ACEOF
3483 ac_clean_files_save=$ac_clean_files
3484 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3485 # Try to create an executable without -o first, disregard a.out.
3486 # It will help us diagnose broken compilers, and finding out an intuition
3487 # of exeext.
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3489 $as_echo_n "checking whether the C compiler works... " >&6; }
3490 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3491
3492 # The possible output files:
3493 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3494
3495 ac_rmfiles=
3496 for ac_file in $ac_files
3497 do
3498   case $ac_file in
3499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3500     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3501   esac
3502 done
3503 rm -f $ac_rmfiles
3504
3505 if { { ac_try="$ac_link_default"
3506 case "(($ac_try" in
3507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508   *) ac_try_echo=$ac_try;;
3509 esac
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512   (eval "$ac_link_default") 2>&5
3513   ac_status=$?
3514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515   test $ac_status = 0; }; then :
3516   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3517 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3518 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3519 # so that the user can short-circuit this test for compilers unknown to
3520 # Autoconf.
3521 for ac_file in $ac_files ''
3522 do
3523   test -f "$ac_file" || continue
3524   case $ac_file in
3525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3526         ;;
3527     [ab].out )
3528         # We found the default executable, but exeext='' is most
3529         # certainly right.
3530         break;;
3531     *.* )
3532         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3533         then :; else
3534            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3535         fi
3536         # We set ac_cv_exeext here because the later test for it is not
3537         # safe: cross compilers may not add the suffix if given an `-o'
3538         # argument, so we may need to know it at that point already.
3539         # Even if this section looks crufty: it has the advantage of
3540         # actually working.
3541         break;;
3542     * )
3543         break;;
3544   esac
3545 done
3546 test "$ac_cv_exeext" = no && ac_cv_exeext=
3547
3548 else
3549   ac_file=''
3550 fi
3551 if test -z "$ac_file"; then :
3552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3554 $as_echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3556
3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 as_fn_error 77 "C compiler cannot create executables
3560 See \`config.log' for more details" "$LINENO" 5; }
3561 else
3562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3563 $as_echo "yes" >&6; }
3564 fi
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3566 $as_echo_n "checking for C compiler default output file name... " >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3568 $as_echo "$ac_file" >&6; }
3569 ac_exeext=$ac_cv_exeext
3570
3571 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3572 ac_clean_files=$ac_clean_files_save
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3574 $as_echo_n "checking for suffix of executables... " >&6; }
3575 if { { ac_try="$ac_link"
3576 case "(($ac_try" in
3577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578   *) ac_try_echo=$ac_try;;
3579 esac
3580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581 $as_echo "$ac_try_echo"; } >&5
3582   (eval "$ac_link") 2>&5
3583   ac_status=$?
3584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585   test $ac_status = 0; }; then :
3586   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3587 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3588 # work properly (i.e., refer to `conftest.exe'), while it won't with
3589 # `rm'.
3590 for ac_file in conftest.exe conftest conftest.*; do
3591   test -f "$ac_file" || continue
3592   case $ac_file in
3593     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3594     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3595           break;;
3596     * ) break;;
3597   esac
3598 done
3599 else
3600   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3603 See \`config.log' for more details" "$LINENO" 5; }
3604 fi
3605 rm -f conftest conftest$ac_cv_exeext
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3607 $as_echo "$ac_cv_exeext" >&6; }
3608
3609 rm -f conftest.$ac_ext
3610 EXEEXT=$ac_cv_exeext
3611 ac_exeext=$EXEEXT
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h.  */
3614 #include <stdio.h>
3615 int
3616 main ()
3617 {
3618 FILE *f = fopen ("conftest.out", "w");
3619  return ferror (f) || fclose (f) != 0;
3620
3621   ;
3622   return 0;
3623 }
3624 _ACEOF
3625 ac_clean_files="$ac_clean_files conftest.out"
3626 # Check that the compiler produces executables we can run.  If not, either
3627 # the compiler is broken, or we cross compile.
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3629 $as_echo_n "checking whether we are cross compiling... " >&6; }
3630 if test "$cross_compiling" != yes; then
3631   { { ac_try="$ac_link"
3632 case "(($ac_try" in
3633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634   *) ac_try_echo=$ac_try;;
3635 esac
3636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3637 $as_echo "$ac_try_echo"; } >&5
3638   (eval "$ac_link") 2>&5
3639   ac_status=$?
3640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641   test $ac_status = 0; }
3642   if { ac_try='./conftest$ac_cv_exeext'
3643   { { case "(($ac_try" in
3644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645   *) ac_try_echo=$ac_try;;
3646 esac
3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649   (eval "$ac_try") 2>&5
3650   ac_status=$?
3651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652   test $ac_status = 0; }; }; then
3653     cross_compiling=no
3654   else
3655     if test "$cross_compiling" = maybe; then
3656         cross_compiling=yes
3657     else
3658         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error $? "cannot run C compiled programs.
3661 If you meant to cross compile, use \`--host'.
3662 See \`config.log' for more details" "$LINENO" 5; }
3663     fi
3664   fi
3665 fi
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3667 $as_echo "$cross_compiling" >&6; }
3668
3669 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3670 ac_clean_files=$ac_clean_files_save
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3672 $as_echo_n "checking for suffix of object files... " >&6; }
3673 if ${ac_cv_objext+:} false; then :
3674   $as_echo_n "(cached) " >&6
3675 else
3676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h.  */
3678
3679 int
3680 main ()
3681 {
3682
3683   ;
3684   return 0;
3685 }
3686 _ACEOF
3687 rm -f conftest.o conftest.obj
3688 if { { ac_try="$ac_compile"
3689 case "(($ac_try" in
3690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3691   *) ac_try_echo=$ac_try;;
3692 esac
3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3694 $as_echo "$ac_try_echo"; } >&5
3695   (eval "$ac_compile") 2>&5
3696   ac_status=$?
3697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3698   test $ac_status = 0; }; then :
3699   for ac_file in conftest.o conftest.obj conftest.*; do
3700   test -f "$ac_file" || continue;
3701   case $ac_file in
3702     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3703     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3704        break;;
3705   esac
3706 done
3707 else
3708   $as_echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3710
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error $? "cannot compute suffix of object files: cannot compile
3714 See \`config.log' for more details" "$LINENO" 5; }
3715 fi
3716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3717 fi
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3719 $as_echo "$ac_cv_objext" >&6; }
3720 OBJEXT=$ac_cv_objext
3721 ac_objext=$OBJEXT
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3724 if ${ac_cv_c_compiler_gnu+:} false; then :
3725   $as_echo_n "(cached) " >&6
3726 else
3727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h.  */
3729
3730 int
3731 main ()
3732 {
3733 #ifndef __GNUC__
3734        choke me
3735 #endif
3736
3737   ;
3738   return 0;
3739 }
3740 _ACEOF
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742   ac_compiler_gnu=yes
3743 else
3744   ac_compiler_gnu=no
3745 fi
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3748
3749 fi
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3752 if test $ac_compiler_gnu = yes; then
3753   GCC=yes
3754 else
3755   GCC=
3756 fi
3757 ac_test_CFLAGS=${CFLAGS+set}
3758 ac_save_CFLAGS=$CFLAGS
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3761 if ${ac_cv_prog_cc_g+:} false; then :
3762   $as_echo_n "(cached) " >&6
3763 else
3764   ac_save_c_werror_flag=$ac_c_werror_flag
3765    ac_c_werror_flag=yes
3766    ac_cv_prog_cc_g=no
3767    CFLAGS="-g"
3768    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3769 /* end confdefs.h.  */
3770
3771 int
3772 main ()
3773 {
3774
3775   ;
3776   return 0;
3777 }
3778 _ACEOF
3779 if ac_fn_c_try_compile "$LINENO"; then :
3780   ac_cv_prog_cc_g=yes
3781 else
3782   CFLAGS=""
3783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h.  */
3785
3786 int
3787 main ()
3788 {
3789
3790   ;
3791   return 0;
3792 }
3793 _ACEOF
3794 if ac_fn_c_try_compile "$LINENO"; then :
3795
3796 else
3797   ac_c_werror_flag=$ac_save_c_werror_flag
3798          CFLAGS="-g"
3799          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h.  */
3801
3802 int
3803 main ()
3804 {
3805
3806   ;
3807   return 0;
3808 }
3809 _ACEOF
3810 if ac_fn_c_try_compile "$LINENO"; then :
3811   ac_cv_prog_cc_g=yes
3812 fi
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 fi
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 fi
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818    ac_c_werror_flag=$ac_save_c_werror_flag
3819 fi
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3821 $as_echo "$ac_cv_prog_cc_g" >&6; }
3822 if test "$ac_test_CFLAGS" = set; then
3823   CFLAGS=$ac_save_CFLAGS
3824 elif test $ac_cv_prog_cc_g = yes; then
3825   if test "$GCC" = yes; then
3826     CFLAGS="-g -O2"
3827   else
3828     CFLAGS="-g"
3829   fi
3830 else
3831   if test "$GCC" = yes; then
3832     CFLAGS="-O2"
3833   else
3834     CFLAGS=
3835   fi
3836 fi
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3839 if ${ac_cv_prog_cc_c89+:} false; then :
3840   $as_echo_n "(cached) " >&6
3841 else
3842   ac_cv_prog_cc_c89=no
3843 ac_save_CC=$CC
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h.  */
3846 #include <stdarg.h>
3847 #include <stdio.h>
3848 #include <sys/types.h>
3849 #include <sys/stat.h>
3850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3851 struct buf { int x; };
3852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3853 static char *e (p, i)
3854      char **p;
3855      int i;
3856 {
3857   return p[i];
3858 }
3859 static char *f (char * (*g) (char **, int), char **p, ...)
3860 {
3861   char *s;
3862   va_list v;
3863   va_start (v,p);
3864   s = g (p, va_arg (v,int));
3865   va_end (v);
3866   return s;
3867 }
3868
3869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3870    function prototypes and stuff, but not '\xHH' hex character constants.
3871    These don't provoke an error unfortunately, instead are silently treated
3872    as 'x'.  The following induces an error, until -std is added to get
3873    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3874    array size at least.  It's necessary to write '\x00'==0 to get something
3875    that's true only with -std.  */
3876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3877
3878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3879    inside strings and character constants.  */
3880 #define FOO(x) 'x'
3881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3882
3883 int test (int i, double x);
3884 struct s1 {int (*f) (int a);};
3885 struct s2 {int (*f) (double a);};
3886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3887 int argc;
3888 char **argv;
3889 int
3890 main ()
3891 {
3892 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3893   ;
3894   return 0;
3895 }
3896 _ACEOF
3897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3898         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3899 do
3900   CC="$ac_save_CC $ac_arg"
3901   if ac_fn_c_try_compile "$LINENO"; then :
3902   ac_cv_prog_cc_c89=$ac_arg
3903 fi
3904 rm -f core conftest.err conftest.$ac_objext
3905   test "x$ac_cv_prog_cc_c89" != "xno" && break
3906 done
3907 rm -f conftest.$ac_ext
3908 CC=$ac_save_CC
3909
3910 fi
3911 # AC_CACHE_VAL
3912 case "x$ac_cv_prog_cc_c89" in
3913   x)
3914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3915 $as_echo "none needed" >&6; } ;;
3916   xno)
3917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3918 $as_echo "unsupported" >&6; } ;;
3919   *)
3920     CC="$CC $ac_cv_prog_cc_c89"
3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3923 esac
3924 if test "x$ac_cv_prog_cc_c89" != xno; then :
3925
3926 fi
3927
3928 ac_ext=c
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 DEPDIR="${am__leading_dot}deps"
3934
3935 ac_config_commands="$ac_config_commands depfiles"
3936
3937
3938 am_make=${MAKE-make}
3939 cat > confinc << 'END'
3940 am__doit:
3941         @echo this is the am__doit target
3942 .PHONY: am__doit
3943 END
3944 # If we don't find an include directive, just comment out the code.
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3946 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3947 am__include="#"
3948 am__quote=
3949 _am_result=none
3950 # First try GNU make style include.
3951 echo "include confinc" > confmf
3952 # Ignore all kinds of additional output from `make'.
3953 case `$am_make -s -f confmf 2> /dev/null` in #(
3954 *the\ am__doit\ target*)
3955   am__include=include
3956   am__quote=
3957   _am_result=GNU
3958   ;;
3959 esac
3960 # Now try BSD make style include.
3961 if test "$am__include" = "#"; then
3962    echo '.include "confinc"' > confmf
3963    case `$am_make -s -f confmf 2> /dev/null` in #(
3964    *the\ am__doit\ target*)
3965      am__include=.include
3966      am__quote="\""
3967      _am_result=BSD
3968      ;;
3969    esac
3970 fi
3971
3972
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3974 $as_echo "$_am_result" >&6; }
3975 rm -f confinc confmf
3976
3977 # Check whether --enable-dependency-tracking was given.
3978 if test "${enable_dependency_tracking+set}" = set; then :
3979   enableval=$enable_dependency_tracking;
3980 fi
3981
3982 if test "x$enable_dependency_tracking" != xno; then
3983   am_depcomp="$ac_aux_dir/depcomp"
3984   AMDEPBACKSLASH='\'
3985   am__nodep='_no'
3986 fi
3987  if test "x$enable_dependency_tracking" != xno; then
3988   AMDEP_TRUE=
3989   AMDEP_FALSE='#'
3990 else
3991   AMDEP_TRUE='#'
3992   AMDEP_FALSE=
3993 fi
3994
3995
3996
3997 depcc="$CC"   am_compiler_list=
3998
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4000 $as_echo_n "checking dependency style of $depcc... " >&6; }
4001 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4002   $as_echo_n "(cached) " >&6
4003 else
4004   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4005   # We make a subdir and do the tests there.  Otherwise we can end up
4006   # making bogus files that we don't know about and never remove.  For
4007   # instance it was reported that on HP-UX the gcc test will end up
4008   # making a dummy file named `D' -- because `-MD' means `put the output
4009   # in D'.
4010   rm -rf conftest.dir
4011   mkdir conftest.dir
4012   # Copy depcomp to subdir because otherwise we won't find it if we're
4013   # using a relative directory.
4014   cp "$am_depcomp" conftest.dir
4015   cd conftest.dir
4016   # We will build objects and dependencies in a subdirectory because
4017   # it helps to detect inapplicable dependency modes.  For instance
4018   # both Tru64's cc and ICC support -MD to output dependencies as a
4019   # side effect of compilation, but ICC will put the dependencies in
4020   # the current directory while Tru64 will put them in the object
4021   # directory.
4022   mkdir sub
4023
4024   am_cv_CC_dependencies_compiler_type=none
4025   if test "$am_compiler_list" = ""; then
4026      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4027   fi
4028   am__universal=false
4029   case " $depcc " in #(
4030      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4031      esac
4032
4033   for depmode in $am_compiler_list; do
4034     # Setup a source with many dependencies, because some compilers
4035     # like to wrap large dependency lists on column 80 (with \), and
4036     # we should not choose a depcomp mode which is confused by this.
4037     #
4038     # We need to recreate these files for each test, as the compiler may
4039     # overwrite some of them when testing with obscure command lines.
4040     # This happens at least with the AIX C compiler.
4041     : > sub/conftest.c
4042     for i in 1 2 3 4 5 6; do
4043       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4044       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4045       # Solaris 8's {/usr,}/bin/sh.
4046       touch sub/conftst$i.h
4047     done
4048     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4049
4050     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4051     # mode.  It turns out that the SunPro C++ compiler does not properly
4052     # handle `-M -o', and we need to detect this.  Also, some Intel
4053     # versions had trouble with output in subdirs
4054     am__obj=sub/conftest.${OBJEXT-o}
4055     am__minus_obj="-o $am__obj"
4056     case $depmode in
4057     gcc)
4058       # This depmode causes a compiler race in universal mode.
4059       test "$am__universal" = false || continue
4060       ;;
4061     nosideeffect)
4062       # after this tag, mechanisms are not by side-effect, so they'll
4063       # only be used when explicitly requested
4064       if test "x$enable_dependency_tracking" = xyes; then
4065         continue
4066       else
4067         break
4068       fi
4069       ;;
4070     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4071       # This compiler won't grok `-c -o', but also, the minuso test has
4072       # not run yet.  These depmodes are late enough in the game, and
4073       # so weak that their functioning should not be impacted.
4074       am__obj=conftest.${OBJEXT-o}
4075       am__minus_obj=
4076       ;;
4077     none) break ;;
4078     esac
4079     if depmode=$depmode \
4080        source=sub/conftest.c object=$am__obj \
4081        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4082        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4083          >/dev/null 2>conftest.err &&
4084        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4085        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4086        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4087        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4088       # icc doesn't choke on unknown options, it will just issue warnings
4089       # or remarks (even with -Werror).  So we grep stderr for any message
4090       # that says an option was ignored or not supported.
4091       # When given -MP, icc 7.0 and 7.1 complain thusly:
4092       #   icc: Command line warning: ignoring option '-M'; no argument required
4093       # The diagnosis changed in icc 8.0:
4094       #   icc: Command line remark: option '-MP' not supported
4095       if (grep 'ignoring option' conftest.err ||
4096           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4097         am_cv_CC_dependencies_compiler_type=$depmode
4098         break
4099       fi
4100     fi
4101   done
4102
4103   cd ..
4104   rm -rf conftest.dir
4105 else
4106   am_cv_CC_dependencies_compiler_type=none
4107 fi
4108
4109 fi
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4111 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4112 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4113
4114  if
4115   test "x$enable_dependency_tracking" != xno \
4116   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4117   am__fastdepCC_TRUE=
4118   am__fastdepCC_FALSE='#'
4119 else
4120   am__fastdepCC_TRUE='#'
4121   am__fastdepCC_FALSE=
4122 fi
4123
4124
4125 if test "x$CC" != xcc; then
4126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4127 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4128 else
4129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4130 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4131 fi
4132 set dummy $CC; ac_cc=`$as_echo "$2" |
4133                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4134 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4135   $as_echo_n "(cached) " >&6
4136 else
4137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h.  */
4139
4140 int
4141 main ()
4142 {
4143
4144   ;
4145   return 0;
4146 }
4147 _ACEOF
4148 # Make sure it works both with $CC and with simple cc.
4149 # We do the test twice because some compilers refuse to overwrite an
4150 # existing .o file with -o, though they will create one.
4151 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4152 rm -f conftest2.*
4153 if { { case "(($ac_try" in
4154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155   *) ac_try_echo=$ac_try;;
4156 esac
4157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158 $as_echo "$ac_try_echo"; } >&5
4159   (eval "$ac_try") 2>&5
4160   ac_status=$?
4161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162   test $ac_status = 0; } &&
4163    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165   *) ac_try_echo=$ac_try;;
4166 esac
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169   (eval "$ac_try") 2>&5
4170   ac_status=$?
4171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172   test $ac_status = 0; };
4173 then
4174   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4175   if test "x$CC" != xcc; then
4176     # Test first that cc exists at all.
4177     if { ac_try='cc -c conftest.$ac_ext >&5'
4178   { { case "(($ac_try" in
4179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180   *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184   (eval "$ac_try") 2>&5
4185   ac_status=$?
4186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187   test $ac_status = 0; }; }; then
4188       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4189       rm -f conftest2.*
4190       if { { case "(($ac_try" in
4191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192   *) ac_try_echo=$ac_try;;
4193 esac
4194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196   (eval "$ac_try") 2>&5
4197   ac_status=$?
4198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199   test $ac_status = 0; } &&
4200          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202   *) ac_try_echo=$ac_try;;
4203 esac
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206   (eval "$ac_try") 2>&5
4207   ac_status=$?
4208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209   test $ac_status = 0; };
4210       then
4211         # cc works too.
4212         :
4213       else
4214         # cc exists but doesn't like -o.
4215         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4216       fi
4217     fi
4218   fi
4219 else
4220   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4221 fi
4222 rm -f core conftest*
4223
4224 fi
4225 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4228 else
4229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4231
4232 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4233
4234 fi
4235
4236    case $ac_cv_prog_cc_stdc in #(
4237   no) :
4238     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4239   *) :
4240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4241 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4242 if ${ac_cv_prog_cc_c99+:} false; then :
4243   $as_echo_n "(cached) " >&6
4244 else
4245   ac_cv_prog_cc_c99=no
4246 ac_save_CC=$CC
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h.  */
4249 #include <stdarg.h>
4250 #include <stdbool.h>
4251 #include <stdlib.h>
4252 #include <wchar.h>
4253 #include <stdio.h>
4254
4255 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4256 #define debug(...) fprintf (stderr, __VA_ARGS__)
4257 #define showlist(...) puts (#__VA_ARGS__)
4258 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4259 static void
4260 test_varargs_macros (void)
4261 {
4262   int x = 1234;
4263   int y = 5678;
4264   debug ("Flag");
4265   debug ("X = %d\n", x);
4266   showlist (The first, second, and third items.);
4267   report (x>y, "x is %d but y is %d", x, y);
4268 }
4269
4270 // Check long long types.
4271 #define BIG64 18446744073709551615ull
4272 #define BIG32 4294967295ul
4273 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4274 #if !BIG_OK
4275   your preprocessor is broken;
4276 #endif
4277 #if BIG_OK
4278 #else
4279   your preprocessor is broken;
4280 #endif
4281 static long long int bignum = -9223372036854775807LL;
4282 static unsigned long long int ubignum = BIG64;
4283
4284 struct incomplete_array
4285 {
4286   int datasize;
4287   double data[];
4288 };
4289
4290 struct named_init {
4291   int number;
4292   const wchar_t *name;
4293   double average;
4294 };
4295
4296 typedef const char *ccp;
4297
4298 static inline int
4299 test_restrict (ccp restrict text)
4300 {
4301   // See if C++-style comments work.
4302   // Iterate through items via the restricted pointer.
4303   // Also check for declarations in for loops.
4304   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4305     continue;
4306   return 0;
4307 }
4308
4309 // Check varargs and va_copy.
4310 static void
4311 test_varargs (const char *format, ...)
4312 {
4313   va_list args;
4314   va_start (args, format);
4315   va_list args_copy;
4316   va_copy (args_copy, args);
4317
4318   const char *str;
4319   int number;
4320   float fnumber;
4321
4322   while (*format)
4323     {
4324       switch (*format++)
4325         {
4326         case 's': // string
4327           str = va_arg (args_copy, const char *);
4328           break;
4329         case 'd': // int
4330           number = va_arg (args_copy, int);
4331           break;
4332         case 'f': // float
4333           fnumber = va_arg (args_copy, double);
4334           break;
4335         default:
4336           break;
4337         }
4338     }
4339   va_end (args_copy);
4340   va_end (args);
4341 }
4342
4343 int
4344 main ()
4345 {
4346
4347   // Check bool.
4348   _Bool success = false;
4349
4350   // Check restrict.
4351   if (test_restrict ("String literal") == 0)
4352     success = true;
4353   char *restrict newvar = "Another string";
4354
4355   // Check varargs.
4356   test_varargs ("s, d' f .", "string", 65, 34.234);
4357   test_varargs_macros ();
4358
4359   // Check flexible array members.
4360   struct incomplete_array *ia =
4361     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4362   ia->datasize = 10;
4363   for (int i = 0; i < ia->datasize; ++i)
4364     ia->data[i] = i * 1.234;
4365
4366   // Check named initializers.
4367   struct named_init ni = {
4368     .number = 34,
4369     .name = L"Test wide string",
4370     .average = 543.34343,
4371   };
4372
4373   ni.number = 58;
4374
4375   int dynamic_array[ni.number];
4376   dynamic_array[ni.number - 1] = 543;
4377
4378   // work around unused variable warnings
4379   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4380           || dynamic_array[ni.number - 1] != 543);
4381
4382   ;
4383   return 0;
4384 }
4385 _ACEOF
4386 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4387 do
4388   CC="$ac_save_CC $ac_arg"
4389   if ac_fn_c_try_compile "$LINENO"; then :
4390   ac_cv_prog_cc_c99=$ac_arg
4391 fi
4392 rm -f core conftest.err conftest.$ac_objext
4393   test "x$ac_cv_prog_cc_c99" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4397
4398 fi
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c99" in
4401   x)
4402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404   xno)
4405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4407   *)
4408     CC="$CC $ac_cv_prog_cc_c99"
4409     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4410 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c99" != xno; then :
4413   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4414 else
4415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4417 if ${ac_cv_prog_cc_c89+:} false; then :
4418   $as_echo_n "(cached) " >&6
4419 else
4420   ac_cv_prog_cc_c89=no
4421 ac_save_CC=$CC
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h.  */
4424 #include <stdarg.h>
4425 #include <stdio.h>
4426 #include <sys/types.h>
4427 #include <sys/stat.h>
4428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4429 struct buf { int x; };
4430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4431 static char *e (p, i)
4432      char **p;
4433      int i;
4434 {
4435   return p[i];
4436 }
4437 static char *f (char * (*g) (char **, int), char **p, ...)
4438 {
4439   char *s;
4440   va_list v;
4441   va_start (v,p);
4442   s = g (p, va_arg (v,int));
4443   va_end (v);
4444   return s;
4445 }
4446
4447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4448    function prototypes and stuff, but not '\xHH' hex character constants.
4449    These don't provoke an error unfortunately, instead are silently treated
4450    as 'x'.  The following induces an error, until -std is added to get
4451    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4452    array size at least.  It's necessary to write '\x00'==0 to get something
4453    that's true only with -std.  */
4454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4455
4456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4457    inside strings and character constants.  */
4458 #define FOO(x) 'x'
4459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4460
4461 int test (int i, double x);
4462 struct s1 {int (*f) (int a);};
4463 struct s2 {int (*f) (double a);};
4464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4465 int argc;
4466 char **argv;
4467 int
4468 main ()
4469 {
4470 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4471   ;
4472   return 0;
4473 }
4474 _ACEOF
4475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4476         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4477 do
4478   CC="$ac_save_CC $ac_arg"
4479   if ac_fn_c_try_compile "$LINENO"; then :
4480   ac_cv_prog_cc_c89=$ac_arg
4481 fi
4482 rm -f core conftest.err conftest.$ac_objext
4483   test "x$ac_cv_prog_cc_c89" != "xno" && break
4484 done
4485 rm -f conftest.$ac_ext
4486 CC=$ac_save_CC
4487
4488 fi
4489 # AC_CACHE_VAL
4490 case "x$ac_cv_prog_cc_c89" in
4491   x)
4492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4493 $as_echo "none needed" >&6; } ;;
4494   xno)
4495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4496 $as_echo "unsupported" >&6; } ;;
4497   *)
4498     CC="$CC $ac_cv_prog_cc_c89"
4499     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4500 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4501 esac
4502 if test "x$ac_cv_prog_cc_c89" != xno; then :
4503   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4504 else
4505   ac_cv_prog_cc_stdc=no
4506 fi
4507
4508 fi
4509  ;;
4510 esac
4511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4512 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4513   if ${ac_cv_prog_cc_stdc+:} false; then :
4514   $as_echo_n "(cached) " >&6
4515 fi
4516
4517   case $ac_cv_prog_cc_stdc in #(
4518   no) :
4519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4520 $as_echo "unsupported" >&6; } ;; #(
4521   '') :
4522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4523 $as_echo "none needed" >&6; } ;; #(
4524   *) :
4525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4526 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4527 esac
4528
4529
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4531 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4532 set x ${MAKE-make}
4533 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4534 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4535   $as_echo_n "(cached) " >&6
4536 else
4537   cat >conftest.make <<\_ACEOF
4538 SHELL = /bin/sh
4539 all:
4540         @echo '@@@%%%=$(MAKE)=@@@%%%'
4541 _ACEOF
4542 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4543 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4544   *@@@%%%=?*=@@@%%%*)
4545     eval ac_cv_prog_make_${ac_make}_set=yes;;
4546   *)
4547     eval ac_cv_prog_make_${ac_make}_set=no;;
4548 esac
4549 rm -f conftest.make
4550 fi
4551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4554   SET_MAKE=
4555 else
4556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 $as_echo "no" >&6; }
4558   SET_MAKE="MAKE=${MAKE-make}"
4559 fi
4560
4561
4562
4563
4564
4565
4566
4567 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4568         if test -n "$ac_tool_prefix"; then
4569   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4570 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4574   $as_echo_n "(cached) " >&6
4575 else
4576   case $PKG_CONFIG in
4577   [\\/]* | ?:[\\/]*)
4578   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4579   ;;
4580   *)
4581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4583 do
4584   IFS=$as_save_IFS
4585   test -z "$as_dir" && as_dir=.
4586     for ac_exec_ext in '' $ac_executable_extensions; do
4587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590     break 2
4591   fi
4592 done
4593   done
4594 IFS=$as_save_IFS
4595
4596   ;;
4597 esac
4598 fi
4599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4600 if test -n "$PKG_CONFIG"; then
4601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4602 $as_echo "$PKG_CONFIG" >&6; }
4603 else
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4606 fi
4607
4608
4609 fi
4610 if test -z "$ac_cv_path_PKG_CONFIG"; then
4611   ac_pt_PKG_CONFIG=$PKG_CONFIG
4612   # Extract the first word of "pkg-config", so it can be a program name with args.
4613 set dummy pkg-config; ac_word=$2
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4615 $as_echo_n "checking for $ac_word... " >&6; }
4616 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4617   $as_echo_n "(cached) " >&6
4618 else
4619   case $ac_pt_PKG_CONFIG in
4620   [\\/]* | ?:[\\/]*)
4621   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4622   ;;
4623   *)
4624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4626 do
4627   IFS=$as_save_IFS
4628   test -z "$as_dir" && as_dir=.
4629     for ac_exec_ext in '' $ac_executable_extensions; do
4630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633     break 2
4634   fi
4635 done
4636   done
4637 IFS=$as_save_IFS
4638
4639   ;;
4640 esac
4641 fi
4642 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4643 if test -n "$ac_pt_PKG_CONFIG"; then
4644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4645 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4646 else
4647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4649 fi
4650
4651   if test "x$ac_pt_PKG_CONFIG" = x; then
4652     PKG_CONFIG=""
4653   else
4654     case $cross_compiling:$ac_tool_warned in
4655 yes:)
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4658 ac_tool_warned=yes ;;
4659 esac
4660     PKG_CONFIG=$ac_pt_PKG_CONFIG
4661   fi
4662 else
4663   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4664 fi
4665
4666 fi
4667 if test -n "$PKG_CONFIG"; then
4668         _pkg_min_version=0.9.0
4669         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4670 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4671         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4672                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4673 $as_echo "yes" >&6; }
4674         else
4675                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4677                 PKG_CONFIG=""
4678         fi
4679 fi
4680
4681 # Make sure we can run config.sub.
4682 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4683   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4684
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4686 $as_echo_n "checking build system type... " >&6; }
4687 if ${ac_cv_build+:} false; then :
4688   $as_echo_n "(cached) " >&6
4689 else
4690   ac_build_alias=$build_alias
4691 test "x$ac_build_alias" = x &&
4692   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4693 test "x$ac_build_alias" = x &&
4694   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4696   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4697
4698 fi
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4700 $as_echo "$ac_cv_build" >&6; }
4701 case $ac_cv_build in
4702 *-*-*) ;;
4703 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4704 esac
4705 build=$ac_cv_build
4706 ac_save_IFS=$IFS; IFS='-'
4707 set x $ac_cv_build
4708 shift
4709 build_cpu=$1
4710 build_vendor=$2
4711 shift; shift
4712 # Remember, the first character of IFS is used to create $*,
4713 # except with old shells:
4714 build_os=$*
4715 IFS=$ac_save_IFS
4716 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4717
4718
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4720 $as_echo_n "checking host system type... " >&6; }
4721 if ${ac_cv_host+:} false; then :
4722   $as_echo_n "(cached) " >&6
4723 else
4724   if test "x$host_alias" = x; then
4725   ac_cv_host=$ac_cv_build
4726 else
4727   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4728     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4729 fi
4730
4731 fi
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4733 $as_echo "$ac_cv_host" >&6; }
4734 case $ac_cv_host in
4735 *-*-*) ;;
4736 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4737 esac
4738 host=$ac_cv_host
4739 ac_save_IFS=$IFS; IFS='-'
4740 set x $ac_cv_host
4741 shift
4742 host_cpu=$1
4743 host_vendor=$2
4744 shift; shift
4745 # Remember, the first character of IFS is used to create $*,
4746 # except with old shells:
4747 host_os=$*
4748 IFS=$ac_save_IFS
4749 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4750
4751
4752
4753 MATH_LIB=-lm
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
4755 $as_echo_n "checking for native Win32... " >&6; }
4756 LIB_EXE_MACHINE_FLAG=X86
4757 EXE_MANIFEST_ARCHITECTURE=X86
4758 case "$host" in
4759   *-*-mingw*)
4760     os_win32=yes
4761     gio_can_sniff=no
4762     MATH_LIB=
4763     case "$host" in
4764     x86_64-*-*)
4765       LIB_EXE_MACHINE_FLAG=X64
4766       EXE_MANIFEST_ARCHITECTURE=AMD64
4767       ;;
4768     esac
4769     ;;
4770   *)
4771     os_win32=no
4772     ;;
4773 esac
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
4775 $as_echo "$os_win32" >&6; }
4776
4777
4778
4779
4780 case $host in
4781   *-*-linux*)
4782     os_linux=yes
4783     ;;
4784 esac
4785
4786 if test "$os_win32" = "yes"; then
4787   if test x$enable_static = xyes -o x$enable_static = x; then
4788     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
4789 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
4790     enable_static=no
4791   fi
4792   if test x$enable_shared = xno; then
4793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
4794 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
4795   fi
4796   enable_shared=yes
4797 fi
4798
4799
4800 case `pwd` in
4801   *\ * | *\     *)
4802     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4803 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4804 esac
4805
4806
4807
4808 macro_version='2.4.2'
4809 macro_revision='1.3337'
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823 ltmain="$ac_aux_dir/ltmain.sh"
4824
4825 # Backslashify metacharacters that are still active within
4826 # double-quoted strings.
4827 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4828
4829 # Same as above, but do not quote variable references.
4830 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4831
4832 # Sed substitution to delay expansion of an escaped shell variable in a
4833 # double_quote_subst'ed string.
4834 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4835
4836 # Sed substitution to delay expansion of an escaped single quote.
4837 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4838
4839 # Sed substitution to avoid accidental globbing in evaled expressions
4840 no_glob_subst='s/\*/\\\*/g'
4841
4842 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4843 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4844 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4845
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4847 $as_echo_n "checking how to print strings... " >&6; }
4848 # Test print first, because it will be a builtin if present.
4849 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4850    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4851   ECHO='print -r --'
4852 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4853   ECHO='printf %s\n'
4854 else
4855   # Use this function as a fallback that always works.
4856   func_fallback_echo ()
4857   {
4858     eval 'cat <<_LTECHO_EOF
4859 $1
4860 _LTECHO_EOF'
4861   }
4862   ECHO='func_fallback_echo'
4863 fi
4864
4865 # func_echo_all arg...
4866 # Invoke $ECHO with all args, space-separated.
4867 func_echo_all ()
4868 {
4869     $ECHO ""
4870 }
4871
4872 case "$ECHO" in
4873   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4874 $as_echo "printf" >&6; } ;;
4875   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4876 $as_echo "print -r" >&6; } ;;
4877   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4878 $as_echo "cat" >&6; } ;;
4879 esac
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4895 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4896 if ${ac_cv_path_SED+:} false; then :
4897   $as_echo_n "(cached) " >&6
4898 else
4899             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4900      for ac_i in 1 2 3 4 5 6 7; do
4901        ac_script="$ac_script$as_nl$ac_script"
4902      done
4903      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4904      { ac_script=; unset ac_script;}
4905      if test -z "$SED"; then
4906   ac_path_SED_found=false
4907   # Loop through the user's path and test for each of PROGNAME-LIST
4908   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4910 do
4911   IFS=$as_save_IFS
4912   test -z "$as_dir" && as_dir=.
4913     for ac_prog in sed gsed; do
4914     for ac_exec_ext in '' $ac_executable_extensions; do
4915       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4916       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4917 # Check for GNU ac_path_SED and select it if it is found.
4918   # Check for GNU $ac_path_SED
4919 case `"$ac_path_SED" --version 2>&1` in
4920 *GNU*)
4921   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4922 *)
4923   ac_count=0
4924   $as_echo_n 0123456789 >"conftest.in"
4925   while :
4926   do
4927     cat "conftest.in" "conftest.in" >"conftest.tmp"
4928     mv "conftest.tmp" "conftest.in"
4929     cp "conftest.in" "conftest.nl"
4930     $as_echo '' >> "conftest.nl"
4931     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4932     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4933     as_fn_arith $ac_count + 1 && ac_count=$as_val
4934     if test $ac_count -gt ${ac_path_SED_max-0}; then
4935       # Best one so far, save it but keep looking for a better one
4936       ac_cv_path_SED="$ac_path_SED"
4937       ac_path_SED_max=$ac_count
4938     fi
4939     # 10*(2^10) chars as input seems more than enough
4940     test $ac_count -gt 10 && break
4941   done
4942   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943 esac
4944
4945       $ac_path_SED_found && break 3
4946     done
4947   done
4948   done
4949 IFS=$as_save_IFS
4950   if test -z "$ac_cv_path_SED"; then
4951     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4952   fi
4953 else
4954   ac_cv_path_SED=$SED
4955 fi
4956
4957 fi
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4959 $as_echo "$ac_cv_path_SED" >&6; }
4960  SED="$ac_cv_path_SED"
4961   rm -f conftest.sed
4962
4963 test -z "$SED" && SED=sed
4964 Xsed="$SED -e 1s/^X//"
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4977 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4978 if ${ac_cv_path_GREP+:} false; then :
4979   $as_echo_n "(cached) " >&6
4980 else
4981   if test -z "$GREP"; then
4982   ac_path_GREP_found=false
4983   # Loop through the user's path and test for each of PROGNAME-LIST
4984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4986 do
4987   IFS=$as_save_IFS
4988   test -z "$as_dir" && as_dir=.
4989     for ac_prog in grep ggrep; do
4990     for ac_exec_ext in '' $ac_executable_extensions; do
4991       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4992       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4993 # Check for GNU ac_path_GREP and select it if it is found.
4994   # Check for GNU $ac_path_GREP
4995 case `"$ac_path_GREP" --version 2>&1` in
4996 *GNU*)
4997   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4998 *)
4999   ac_count=0
5000   $as_echo_n 0123456789 >"conftest.in"
5001   while :
5002   do
5003     cat "conftest.in" "conftest.in" >"conftest.tmp"
5004     mv "conftest.tmp" "conftest.in"
5005     cp "conftest.in" "conftest.nl"
5006     $as_echo 'GREP' >> "conftest.nl"
5007     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5008     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5009     as_fn_arith $ac_count + 1 && ac_count=$as_val
5010     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5011       # Best one so far, save it but keep looking for a better one
5012       ac_cv_path_GREP="$ac_path_GREP"
5013       ac_path_GREP_max=$ac_count
5014     fi
5015     # 10*(2^10) chars as input seems more than enough
5016     test $ac_count -gt 10 && break
5017   done
5018   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5019 esac
5020
5021       $ac_path_GREP_found && break 3
5022     done
5023   done
5024   done
5025 IFS=$as_save_IFS
5026   if test -z "$ac_cv_path_GREP"; then
5027     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5028   fi
5029 else
5030   ac_cv_path_GREP=$GREP
5031 fi
5032
5033 fi
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5035 $as_echo "$ac_cv_path_GREP" >&6; }
5036  GREP="$ac_cv_path_GREP"
5037
5038
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5040 $as_echo_n "checking for egrep... " >&6; }
5041 if ${ac_cv_path_EGREP+:} false; then :
5042   $as_echo_n "(cached) " >&6
5043 else
5044   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5045    then ac_cv_path_EGREP="$GREP -E"
5046    else
5047      if test -z "$EGREP"; then
5048   ac_path_EGREP_found=false
5049   # Loop through the user's path and test for each of PROGNAME-LIST
5050   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5052 do
5053   IFS=$as_save_IFS
5054   test -z "$as_dir" && as_dir=.
5055     for ac_prog in egrep; do
5056     for ac_exec_ext in '' $ac_executable_extensions; do
5057       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5058       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5059 # Check for GNU ac_path_EGREP and select it if it is found.
5060   # Check for GNU $ac_path_EGREP
5061 case `"$ac_path_EGREP" --version 2>&1` in
5062 *GNU*)
5063   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5064 *)
5065   ac_count=0
5066   $as_echo_n 0123456789 >"conftest.in"
5067   while :
5068   do
5069     cat "conftest.in" "conftest.in" >"conftest.tmp"
5070     mv "conftest.tmp" "conftest.in"
5071     cp "conftest.in" "conftest.nl"
5072     $as_echo 'EGREP' >> "conftest.nl"
5073     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5074     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5075     as_fn_arith $ac_count + 1 && ac_count=$as_val
5076     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5077       # Best one so far, save it but keep looking for a better one
5078       ac_cv_path_EGREP="$ac_path_EGREP"
5079       ac_path_EGREP_max=$ac_count
5080     fi
5081     # 10*(2^10) chars as input seems more than enough
5082     test $ac_count -gt 10 && break
5083   done
5084   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5085 esac
5086
5087       $ac_path_EGREP_found && break 3
5088     done
5089   done
5090   done
5091 IFS=$as_save_IFS
5092   if test -z "$ac_cv_path_EGREP"; then
5093     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5094   fi
5095 else
5096   ac_cv_path_EGREP=$EGREP
5097 fi
5098
5099    fi
5100 fi
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5102 $as_echo "$ac_cv_path_EGREP" >&6; }
5103  EGREP="$ac_cv_path_EGREP"
5104
5105
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5107 $as_echo_n "checking for fgrep... " >&6; }
5108 if ${ac_cv_path_FGREP+:} false; then :
5109   $as_echo_n "(cached) " >&6
5110 else
5111   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5112    then ac_cv_path_FGREP="$GREP -F"
5113    else
5114      if test -z "$FGREP"; then
5115   ac_path_FGREP_found=false
5116   # Loop through the user's path and test for each of PROGNAME-LIST
5117   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5119 do
5120   IFS=$as_save_IFS
5121   test -z "$as_dir" && as_dir=.
5122     for ac_prog in fgrep; do
5123     for ac_exec_ext in '' $ac_executable_extensions; do
5124       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5125       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5126 # Check for GNU ac_path_FGREP and select it if it is found.
5127   # Check for GNU $ac_path_FGREP
5128 case `"$ac_path_FGREP" --version 2>&1` in
5129 *GNU*)
5130   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5131 *)
5132   ac_count=0
5133   $as_echo_n 0123456789 >"conftest.in"
5134   while :
5135   do
5136     cat "conftest.in" "conftest.in" >"conftest.tmp"
5137     mv "conftest.tmp" "conftest.in"
5138     cp "conftest.in" "conftest.nl"
5139     $as_echo 'FGREP' >> "conftest.nl"
5140     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5141     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5142     as_fn_arith $ac_count + 1 && ac_count=$as_val
5143     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5144       # Best one so far, save it but keep looking for a better one
5145       ac_cv_path_FGREP="$ac_path_FGREP"
5146       ac_path_FGREP_max=$ac_count
5147     fi
5148     # 10*(2^10) chars as input seems more than enough
5149     test $ac_count -gt 10 && break
5150   done
5151   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5152 esac
5153
5154       $ac_path_FGREP_found && break 3
5155     done
5156   done
5157   done
5158 IFS=$as_save_IFS
5159   if test -z "$ac_cv_path_FGREP"; then
5160     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5161   fi
5162 else
5163   ac_cv_path_FGREP=$FGREP
5164 fi
5165
5166    fi
5167 fi
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5169 $as_echo "$ac_cv_path_FGREP" >&6; }
5170  FGREP="$ac_cv_path_FGREP"
5171
5172
5173 test -z "$GREP" && GREP=grep
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193 # Check whether --with-gnu-ld was given.
5194 if test "${with_gnu_ld+set}" = set; then :
5195   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5196 else
5197   with_gnu_ld=no
5198 fi
5199
5200 ac_prog=ld
5201 if test "$GCC" = yes; then
5202   # Check if gcc -print-prog-name=ld gives a path.
5203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5204 $as_echo_n "checking for ld used by $CC... " >&6; }
5205   case $host in
5206   *-*-mingw*)
5207     # gcc leaves a trailing carriage return which upsets mingw
5208     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5209   *)
5210     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5211   esac
5212   case $ac_prog in
5213     # Accept absolute paths.
5214     [\\/]* | ?:[\\/]*)
5215       re_direlt='/[^/][^/]*/\.\./'
5216       # Canonicalize the pathname of ld
5217       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5218       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5219         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5220       done
5221       test -z "$LD" && LD="$ac_prog"
5222       ;;
5223   "")
5224     # If it fails, then pretend we aren't using GCC.
5225     ac_prog=ld
5226     ;;
5227   *)
5228     # If it is relative, then search for the first ld in PATH.
5229     with_gnu_ld=unknown
5230     ;;
5231   esac
5232 elif test "$with_gnu_ld" = yes; then
5233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5234 $as_echo_n "checking for GNU ld... " >&6; }
5235 else
5236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5237 $as_echo_n "checking for non-GNU ld... " >&6; }
5238 fi
5239 if ${lt_cv_path_LD+:} false; then :
5240   $as_echo_n "(cached) " >&6
5241 else
5242   if test -z "$LD"; then
5243   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5244   for ac_dir in $PATH; do
5245     IFS="$lt_save_ifs"
5246     test -z "$ac_dir" && ac_dir=.
5247     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5248       lt_cv_path_LD="$ac_dir/$ac_prog"
5249       # Check to see if the program is GNU ld.  I'd rather use --version,
5250       # but apparently some variants of GNU ld only accept -v.
5251       # Break only if it was the GNU/non-GNU ld that we prefer.
5252       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5253       *GNU* | *'with BFD'*)
5254         test "$with_gnu_ld" != no && break
5255         ;;
5256       *)
5257         test "$with_gnu_ld" != yes && break
5258         ;;
5259       esac
5260     fi
5261   done
5262   IFS="$lt_save_ifs"
5263 else
5264   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5265 fi
5266 fi
5267
5268 LD="$lt_cv_path_LD"
5269 if test -n "$LD"; then
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5271 $as_echo "$LD" >&6; }
5272 else
5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5275 fi
5276 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5278 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5279 if ${lt_cv_prog_gnu_ld+:} false; then :
5280   $as_echo_n "(cached) " >&6
5281 else
5282   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5283 case `$LD -v 2>&1 </dev/null` in
5284 *GNU* | *'with BFD'*)
5285   lt_cv_prog_gnu_ld=yes
5286   ;;
5287 *)
5288   lt_cv_prog_gnu_ld=no
5289   ;;
5290 esac
5291 fi
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5293 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5294 with_gnu_ld=$lt_cv_prog_gnu_ld
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5305 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5306 if ${lt_cv_path_NM+:} false; then :
5307   $as_echo_n "(cached) " >&6
5308 else
5309   if test -n "$NM"; then
5310   # Let the user override the test.
5311   lt_cv_path_NM="$NM"
5312 else
5313   lt_nm_to_check="${ac_tool_prefix}nm"
5314   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5315     lt_nm_to_check="$lt_nm_to_check nm"
5316   fi
5317   for lt_tmp_nm in $lt_nm_to_check; do
5318     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5319     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5320       IFS="$lt_save_ifs"
5321       test -z "$ac_dir" && ac_dir=.
5322       tmp_nm="$ac_dir/$lt_tmp_nm"
5323       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5324         # Check to see if the nm accepts a BSD-compat flag.
5325         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5326         #   nm: unknown option "B" ignored
5327         # Tru64's nm complains that /dev/null is an invalid object file
5328         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5329         */dev/null* | *'Invalid file or object type'*)
5330           lt_cv_path_NM="$tmp_nm -B"
5331           break
5332           ;;
5333         *)
5334           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5335           */dev/null*)
5336             lt_cv_path_NM="$tmp_nm -p"
5337             break
5338             ;;
5339           *)
5340             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5341             continue # so that we can try to find one that supports BSD flags
5342             ;;
5343           esac
5344           ;;
5345         esac
5346       fi
5347     done
5348     IFS="$lt_save_ifs"
5349   done
5350   : ${lt_cv_path_NM=no}
5351 fi
5352 fi
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5354 $as_echo "$lt_cv_path_NM" >&6; }
5355 if test "$lt_cv_path_NM" != "no"; then
5356   NM="$lt_cv_path_NM"
5357 else
5358   # Didn't find any BSD compatible name lister, look for dumpbin.
5359   if test -n "$DUMPBIN"; then :
5360     # Let the user override the test.
5361   else
5362     if test -n "$ac_tool_prefix"; then
5363   for ac_prog in dumpbin "link -dump"
5364   do
5365     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_DUMPBIN+:} false; then :
5370   $as_echo_n "(cached) " >&6
5371 else
5372   if test -n "$DUMPBIN"; then
5373   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5374 else
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH
5377 do
5378   IFS=$as_save_IFS
5379   test -z "$as_dir" && as_dir=.
5380     for ac_exec_ext in '' $ac_executable_extensions; do
5381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384     break 2
5385   fi
5386 done
5387   done
5388 IFS=$as_save_IFS
5389
5390 fi
5391 fi
5392 DUMPBIN=$ac_cv_prog_DUMPBIN
5393 if test -n "$DUMPBIN"; then
5394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5395 $as_echo "$DUMPBIN" >&6; }
5396 else
5397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5399 fi
5400
5401
5402     test -n "$DUMPBIN" && break
5403   done
5404 fi
5405 if test -z "$DUMPBIN"; then
5406   ac_ct_DUMPBIN=$DUMPBIN
5407   for ac_prog in dumpbin "link -dump"
5408 do
5409   # Extract the first word of "$ac_prog", so it can be a program name with args.
5410 set dummy $ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5414   $as_echo_n "(cached) " >&6
5415 else
5416   if test -n "$ac_ct_DUMPBIN"; then
5417   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5421 do
5422   IFS=$as_save_IFS
5423   test -z "$as_dir" && as_dir=.
5424     for ac_exec_ext in '' $ac_executable_extensions; do
5425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5426     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428     break 2
5429   fi
5430 done
5431   done
5432 IFS=$as_save_IFS
5433
5434 fi
5435 fi
5436 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5437 if test -n "$ac_ct_DUMPBIN"; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5439 $as_echo "$ac_ct_DUMPBIN" >&6; }
5440 else
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5443 fi
5444
5445
5446   test -n "$ac_ct_DUMPBIN" && break
5447 done
5448
5449   if test "x$ac_ct_DUMPBIN" = x; then
5450     DUMPBIN=":"
5451   else
5452     case $cross_compiling:$ac_tool_warned in
5453 yes:)
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5456 ac_tool_warned=yes ;;
5457 esac
5458     DUMPBIN=$ac_ct_DUMPBIN
5459   fi
5460 fi
5461
5462     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5463     *COFF*)
5464       DUMPBIN="$DUMPBIN -symbols"
5465       ;;
5466     *)
5467       DUMPBIN=:
5468       ;;
5469     esac
5470   fi
5471
5472   if test "$DUMPBIN" != ":"; then
5473     NM="$DUMPBIN"
5474   fi
5475 fi
5476 test -z "$NM" && NM=nm
5477
5478
5479
5480
5481
5482
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5484 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5485 if ${lt_cv_nm_interface+:} false; then :
5486   $as_echo_n "(cached) " >&6
5487 else
5488   lt_cv_nm_interface="BSD nm"
5489   echo "int some_variable = 0;" > conftest.$ac_ext
5490   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5491   (eval "$ac_compile" 2>conftest.err)
5492   cat conftest.err >&5
5493   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5494   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5495   cat conftest.err >&5
5496   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5497   cat conftest.out >&5
5498   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5499     lt_cv_nm_interface="MS dumpbin"
5500   fi
5501   rm -f conftest*
5502 fi
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5504 $as_echo "$lt_cv_nm_interface" >&6; }
5505
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5507 $as_echo_n "checking whether ln -s works... " >&6; }
5508 LN_S=$as_ln_s
5509 if test "$LN_S" = "ln -s"; then
5510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5511 $as_echo "yes" >&6; }
5512 else
5513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5514 $as_echo "no, using $LN_S" >&6; }
5515 fi
5516
5517 # find the maximum length of command line arguments
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5519 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5520 if ${lt_cv_sys_max_cmd_len+:} false; then :
5521   $as_echo_n "(cached) " >&6
5522 else
5523     i=0
5524   teststring="ABCD"
5525
5526   case $build_os in
5527   msdosdjgpp*)
5528     # On DJGPP, this test can blow up pretty badly due to problems in libc
5529     # (any single argument exceeding 2000 bytes causes a buffer overrun
5530     # during glob expansion).  Even if it were fixed, the result of this
5531     # check would be larger than it should be.
5532     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5533     ;;
5534
5535   gnu*)
5536     # Under GNU Hurd, this test is not required because there is
5537     # no limit to the length of command line arguments.
5538     # Libtool will interpret -1 as no limit whatsoever
5539     lt_cv_sys_max_cmd_len=-1;
5540     ;;
5541
5542   cygwin* | mingw* | cegcc*)
5543     # On Win9x/ME, this test blows up -- it succeeds, but takes
5544     # about 5 minutes as the teststring grows exponentially.
5545     # Worse, since 9x/ME are not pre-emptively multitasking,
5546     # you end up with a "frozen" computer, even though with patience
5547     # the test eventually succeeds (with a max line length of 256k).
5548     # Instead, let's just punt: use the minimum linelength reported by
5549     # all of the supported platforms: 8192 (on NT/2K/XP).
5550     lt_cv_sys_max_cmd_len=8192;
5551     ;;
5552
5553   mint*)
5554     # On MiNT this can take a long time and run out of memory.
5555     lt_cv_sys_max_cmd_len=8192;
5556     ;;
5557
5558   amigaos*)
5559     # On AmigaOS with pdksh, this test takes hours, literally.
5560     # So we just punt and use a minimum line length of 8192.
5561     lt_cv_sys_max_cmd_len=8192;
5562     ;;
5563
5564   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5565     # This has been around since 386BSD, at least.  Likely further.
5566     if test -x /sbin/sysctl; then
5567       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5568     elif test -x /usr/sbin/sysctl; then
5569       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5570     else
5571       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5572     fi
5573     # And add a safety zone
5574     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5575     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5576     ;;
5577
5578   interix*)
5579     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5580     lt_cv_sys_max_cmd_len=196608
5581     ;;
5582
5583   os2*)
5584     # The test takes a long time on OS/2.
5585     lt_cv_sys_max_cmd_len=8192
5586     ;;
5587
5588   osf*)
5589     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5590     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5591     # nice to cause kernel panics so lets avoid the loop below.
5592     # First set a reasonable default.
5593     lt_cv_sys_max_cmd_len=16384
5594     #
5595     if test -x /sbin/sysconfig; then
5596       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5597         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5598       esac
5599     fi
5600     ;;
5601   sco3.2v5*)
5602     lt_cv_sys_max_cmd_len=102400
5603     ;;
5604   sysv5* | sco5v6* | sysv4.2uw2*)
5605     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5606     if test -n "$kargmax"; then
5607       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5608     else
5609       lt_cv_sys_max_cmd_len=32768
5610     fi
5611     ;;
5612   *)
5613     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5614     if test -n "$lt_cv_sys_max_cmd_len"; then
5615       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5616       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5617     else
5618       # Make teststring a little bigger before we do anything with it.
5619       # a 1K string should be a reasonable start.
5620       for i in 1 2 3 4 5 6 7 8 ; do
5621         teststring=$teststring$teststring
5622       done
5623       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5624       # If test is not a shell built-in, we'll probably end up computing a
5625       # maximum length that is only half of the actual maximum length, but
5626       # we can't tell.
5627       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5628                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5629               test $i != 17 # 1/2 MB should be enough
5630       do
5631         i=`expr $i + 1`
5632         teststring=$teststring$teststring
5633       done
5634       # Only check the string length outside the loop.
5635       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5636       teststring=
5637       # Add a significant safety factor because C++ compilers can tack on
5638       # massive amounts of additional arguments before passing them to the
5639       # linker.  It appears as though 1/2 is a usable value.
5640       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5641     fi
5642     ;;
5643   esac
5644
5645 fi
5646
5647 if test -n $lt_cv_sys_max_cmd_len ; then
5648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5649 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5650 else
5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5652 $as_echo "none" >&6; }
5653 fi
5654 max_cmd_len=$lt_cv_sys_max_cmd_len
5655
5656
5657
5658
5659
5660
5661 : ${CP="cp -f"}
5662 : ${MV="mv -f"}
5663 : ${RM="rm -f"}
5664
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5666 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5667 # Try some XSI features
5668 xsi_shell=no
5669 ( _lt_dummy="a/b/c"
5670   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5671       = c,a/b,b/c, \
5672     && eval 'test $(( 1 + 1 )) -eq 2 \
5673     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5674   && xsi_shell=yes
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5676 $as_echo "$xsi_shell" >&6; }
5677
5678
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5680 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5681 lt_shell_append=no
5682 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5683     >/dev/null 2>&1 \
5684   && lt_shell_append=yes
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5686 $as_echo "$lt_shell_append" >&6; }
5687
5688
5689 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5690   lt_unset=unset
5691 else
5692   lt_unset=false
5693 fi
5694
5695
5696
5697
5698
5699 # test EBCDIC or ASCII
5700 case `echo X|tr X '\101'` in
5701  A) # ASCII based system
5702     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5703   lt_SP2NL='tr \040 \012'
5704   lt_NL2SP='tr \015\012 \040\040'
5705   ;;
5706  *) # EBCDIC based system
5707   lt_SP2NL='tr \100 \n'
5708   lt_NL2SP='tr \r\n \100\100'
5709   ;;
5710 esac
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5721 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5722 if ${lt_cv_to_host_file_cmd+:} false; then :
5723   $as_echo_n "(cached) " >&6
5724 else
5725   case $host in
5726   *-*-mingw* )
5727     case $build in
5728       *-*-mingw* ) # actually msys
5729         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5730         ;;
5731       *-*-cygwin* )
5732         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5733         ;;
5734       * ) # otherwise, assume *nix
5735         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5736         ;;
5737     esac
5738     ;;
5739   *-*-cygwin* )
5740     case $build in
5741       *-*-mingw* ) # actually msys
5742         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5743         ;;
5744       *-*-cygwin* )
5745         lt_cv_to_host_file_cmd=func_convert_file_noop
5746         ;;
5747       * ) # otherwise, assume *nix
5748         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5749         ;;
5750     esac
5751     ;;
5752   * ) # unhandled hosts (and "normal" native builds)
5753     lt_cv_to_host_file_cmd=func_convert_file_noop
5754     ;;
5755 esac
5756
5757 fi
5758
5759 to_host_file_cmd=$lt_cv_to_host_file_cmd
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5761 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5762
5763
5764
5765
5766
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5768 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5769 if ${lt_cv_to_tool_file_cmd+:} false; then :
5770   $as_echo_n "(cached) " >&6
5771 else
5772   #assume ordinary cross tools, or native build.
5773 lt_cv_to_tool_file_cmd=func_convert_file_noop
5774 case $host in
5775   *-*-mingw* )
5776     case $build in
5777       *-*-mingw* ) # actually msys
5778         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5779         ;;
5780     esac
5781     ;;
5782 esac
5783
5784 fi
5785
5786 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5788 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5789
5790
5791
5792
5793
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5795 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5796 if ${lt_cv_ld_reload_flag+:} false; then :
5797   $as_echo_n "(cached) " >&6
5798 else
5799   lt_cv_ld_reload_flag='-r'
5800 fi
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5802 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5803 reload_flag=$lt_cv_ld_reload_flag
5804 case $reload_flag in
5805 "" | " "*) ;;
5806 *) reload_flag=" $reload_flag" ;;
5807 esac
5808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5809 case $host_os in
5810   cygwin* | mingw* | pw32* | cegcc*)
5811     if test "$GCC" != yes; then
5812       reload_cmds=false
5813     fi
5814     ;;
5815   darwin*)
5816     if test "$GCC" = yes; then
5817       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5818     else
5819       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5820     fi
5821     ;;
5822 esac
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832 if test -n "$ac_tool_prefix"; then
5833   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_OBJDUMP+:} false; then :
5838   $as_echo_n "(cached) " >&6
5839 else
5840   if test -n "$OBJDUMP"; then
5841   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5845 do
5846   IFS=$as_save_IFS
5847   test -z "$as_dir" && as_dir=.
5848     for ac_exec_ext in '' $ac_executable_extensions; do
5849   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852     break 2
5853   fi
5854 done
5855   done
5856 IFS=$as_save_IFS
5857
5858 fi
5859 fi
5860 OBJDUMP=$ac_cv_prog_OBJDUMP
5861 if test -n "$OBJDUMP"; then
5862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5863 $as_echo "$OBJDUMP" >&6; }
5864 else
5865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5867 fi
5868
5869
5870 fi
5871 if test -z "$ac_cv_prog_OBJDUMP"; then
5872   ac_ct_OBJDUMP=$OBJDUMP
5873   # Extract the first word of "objdump", so it can be a program name with args.
5874 set dummy objdump; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5878   $as_echo_n "(cached) " >&6
5879 else
5880   if test -n "$ac_ct_OBJDUMP"; then
5881   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5885 do
5886   IFS=$as_save_IFS
5887   test -z "$as_dir" && as_dir=.
5888     for ac_exec_ext in '' $ac_executable_extensions; do
5889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892     break 2
5893   fi
5894 done
5895   done
5896 IFS=$as_save_IFS
5897
5898 fi
5899 fi
5900 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5901 if test -n "$ac_ct_OBJDUMP"; then
5902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5903 $as_echo "$ac_ct_OBJDUMP" >&6; }
5904 else
5905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5907 fi
5908
5909   if test "x$ac_ct_OBJDUMP" = x; then
5910     OBJDUMP="false"
5911   else
5912     case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5917 esac
5918     OBJDUMP=$ac_ct_OBJDUMP
5919   fi
5920 else
5921   OBJDUMP="$ac_cv_prog_OBJDUMP"
5922 fi
5923
5924 test -z "$OBJDUMP" && OBJDUMP=objdump
5925
5926
5927
5928
5929
5930
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5932 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5933 if ${lt_cv_deplibs_check_method+:} false; then :
5934   $as_echo_n "(cached) " >&6
5935 else
5936   lt_cv_file_magic_cmd='$MAGIC_CMD'
5937 lt_cv_file_magic_test_file=
5938 lt_cv_deplibs_check_method='unknown'
5939 # Need to set the preceding variable on all platforms that support
5940 # interlibrary dependencies.
5941 # 'none' -- dependencies not supported.
5942 # `unknown' -- same as none, but documents that we really don't know.
5943 # 'pass_all' -- all dependencies passed with no checks.
5944 # 'test_compile' -- check by making test program.
5945 # 'file_magic [[regex]]' -- check by looking for files in library path
5946 # which responds to the $file_magic_cmd with a given extended regex.
5947 # If you have `file' or equivalent on your system and you're not sure
5948 # whether `pass_all' will *always* work, you probably want this one.
5949
5950 case $host_os in
5951 aix[4-9]*)
5952   lt_cv_deplibs_check_method=pass_all
5953   ;;
5954
5955 beos*)
5956   lt_cv_deplibs_check_method=pass_all
5957   ;;
5958
5959 bsdi[45]*)
5960   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5961   lt_cv_file_magic_cmd='/usr/bin/file -L'
5962   lt_cv_file_magic_test_file=/shlib/libc.so
5963   ;;
5964
5965 cygwin*)
5966   # func_win32_libid is a shell function defined in ltmain.sh
5967   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5968   lt_cv_file_magic_cmd='func_win32_libid'
5969   ;;
5970
5971 mingw* | pw32*)
5972   # Base MSYS/MinGW do not provide the 'file' command needed by
5973   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5974   # unless we find 'file', for example because we are cross-compiling.
5975   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5976   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5977     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5978     lt_cv_file_magic_cmd='func_win32_libid'
5979   else
5980     # Keep this pattern in sync with the one in func_win32_libid.
5981     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5982     lt_cv_file_magic_cmd='$OBJDUMP -f'
5983   fi
5984   ;;
5985
5986 cegcc*)
5987   # use the weaker test based on 'objdump'. See mingw*.
5988   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5989   lt_cv_file_magic_cmd='$OBJDUMP -f'
5990   ;;
5991
5992 darwin* | rhapsody*)
5993   lt_cv_deplibs_check_method=pass_all
5994   ;;
5995
5996 freebsd* | dragonfly*)
5997   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5998     case $host_cpu in
5999     i*86 )
6000       # Not sure whether the presence of OpenBSD here was a mistake.
6001       # Let's accept both of them until this is cleared up.
6002       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6003       lt_cv_file_magic_cmd=/usr/bin/file
6004       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6005       ;;
6006     esac
6007   else
6008     lt_cv_deplibs_check_method=pass_all
6009   fi
6010   ;;
6011
6012 gnu*)
6013   lt_cv_deplibs_check_method=pass_all
6014   ;;
6015
6016 haiku*)
6017   lt_cv_deplibs_check_method=pass_all
6018   ;;
6019
6020 hpux10.20* | hpux11*)
6021   lt_cv_file_magic_cmd=/usr/bin/file
6022   case $host_cpu in
6023   ia64*)
6024     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6025     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6026     ;;
6027   hppa*64*)
6028     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]'
6029     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6030     ;;
6031   *)
6032     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6033     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6034     ;;
6035   esac
6036   ;;
6037
6038 interix[3-9]*)
6039   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6040   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6041   ;;
6042
6043 irix5* | irix6* | nonstopux*)
6044   case $LD in
6045   *-32|*"-32 ") libmagic=32-bit;;
6046   *-n32|*"-n32 ") libmagic=N32;;
6047   *-64|*"-64 ") libmagic=64-bit;;
6048   *) libmagic=never-match;;
6049   esac
6050   lt_cv_deplibs_check_method=pass_all
6051   ;;
6052
6053 # This must be glibc/ELF.
6054 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6055   lt_cv_deplibs_check_method=pass_all
6056   ;;
6057
6058 netbsd*)
6059   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6060     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6061   else
6062     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6063   fi
6064   ;;
6065
6066 newos6*)
6067   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6068   lt_cv_file_magic_cmd=/usr/bin/file
6069   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6070   ;;
6071
6072 *nto* | *qnx*)
6073   lt_cv_deplibs_check_method=pass_all
6074   ;;
6075
6076 openbsd*)
6077   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6078     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6079   else
6080     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6081   fi
6082   ;;
6083
6084 osf3* | osf4* | osf5*)
6085   lt_cv_deplibs_check_method=pass_all
6086   ;;
6087
6088 rdos*)
6089   lt_cv_deplibs_check_method=pass_all
6090   ;;
6091
6092 solaris*)
6093   lt_cv_deplibs_check_method=pass_all
6094   ;;
6095
6096 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6097   lt_cv_deplibs_check_method=pass_all
6098   ;;
6099
6100 sysv4 | sysv4.3*)
6101   case $host_vendor in
6102   motorola)
6103     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]'
6104     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6105     ;;
6106   ncr)
6107     lt_cv_deplibs_check_method=pass_all
6108     ;;
6109   sequent)
6110     lt_cv_file_magic_cmd='/bin/file'
6111     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6112     ;;
6113   sni)
6114     lt_cv_file_magic_cmd='/bin/file'
6115     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6116     lt_cv_file_magic_test_file=/lib/libc.so
6117     ;;
6118   siemens)
6119     lt_cv_deplibs_check_method=pass_all
6120     ;;
6121   pc)
6122     lt_cv_deplibs_check_method=pass_all
6123     ;;
6124   esac
6125   ;;
6126
6127 tpf*)
6128   lt_cv_deplibs_check_method=pass_all
6129   ;;
6130 esac
6131
6132 fi
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6134 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6135
6136 file_magic_glob=
6137 want_nocaseglob=no
6138 if test "$build" = "$host"; then
6139   case $host_os in
6140   mingw* | pw32*)
6141     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6142       want_nocaseglob=yes
6143     else
6144       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6145     fi
6146     ;;
6147   esac
6148 fi
6149
6150 file_magic_cmd=$lt_cv_file_magic_cmd
6151 deplibs_check_method=$lt_cv_deplibs_check_method
6152 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175 if test -n "$ac_tool_prefix"; then
6176   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6177 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if ${ac_cv_prog_DLLTOOL+:} false; then :
6181   $as_echo_n "(cached) " >&6
6182 else
6183   if test -n "$DLLTOOL"; then
6184   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6185 else
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH
6188 do
6189   IFS=$as_save_IFS
6190   test -z "$as_dir" && as_dir=.
6191     for ac_exec_ext in '' $ac_executable_extensions; do
6192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195     break 2
6196   fi
6197 done
6198   done
6199 IFS=$as_save_IFS
6200
6201 fi
6202 fi
6203 DLLTOOL=$ac_cv_prog_DLLTOOL
6204 if test -n "$DLLTOOL"; then
6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6206 $as_echo "$DLLTOOL" >&6; }
6207 else
6208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 $as_echo "no" >&6; }
6210 fi
6211
6212
6213 fi
6214 if test -z "$ac_cv_prog_DLLTOOL"; then
6215   ac_ct_DLLTOOL=$DLLTOOL
6216   # Extract the first word of "dlltool", so it can be a program name with args.
6217 set dummy dlltool; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6221   $as_echo_n "(cached) " >&6
6222 else
6223   if test -n "$ac_ct_DLLTOOL"; then
6224   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6225 else
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $PATH
6228 do
6229   IFS=$as_save_IFS
6230   test -z "$as_dir" && as_dir=.
6231     for ac_exec_ext in '' $ac_executable_extensions; do
6232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6233     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235     break 2
6236   fi
6237 done
6238   done
6239 IFS=$as_save_IFS
6240
6241 fi
6242 fi
6243 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6244 if test -n "$ac_ct_DLLTOOL"; then
6245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6246 $as_echo "$ac_ct_DLLTOOL" >&6; }
6247 else
6248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6250 fi
6251
6252   if test "x$ac_ct_DLLTOOL" = x; then
6253     DLLTOOL="false"
6254   else
6255     case $cross_compiling:$ac_tool_warned in
6256 yes:)
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6259 ac_tool_warned=yes ;;
6260 esac
6261     DLLTOOL=$ac_ct_DLLTOOL
6262   fi
6263 else
6264   DLLTOOL="$ac_cv_prog_DLLTOOL"
6265 fi
6266
6267 test -z "$DLLTOOL" && DLLTOOL=dlltool
6268
6269
6270
6271
6272
6273
6274
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6276 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6277 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6278   $as_echo_n "(cached) " >&6
6279 else
6280   lt_cv_sharedlib_from_linklib_cmd='unknown'
6281
6282 case $host_os in
6283 cygwin* | mingw* | pw32* | cegcc*)
6284   # two different shell functions defined in ltmain.sh
6285   # decide which to use based on capabilities of $DLLTOOL
6286   case `$DLLTOOL --help 2>&1` in
6287   *--identify-strict*)
6288     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6289     ;;
6290   *)
6291     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6292     ;;
6293   esac
6294   ;;
6295 *)
6296   # fallback: assume linklib IS sharedlib
6297   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6298   ;;
6299 esac
6300
6301 fi
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6303 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6304 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6305 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6306
6307
6308
6309
6310
6311
6312
6313
6314 if test -n "$ac_tool_prefix"; then
6315   for ac_prog in ar
6316   do
6317     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if ${ac_cv_prog_AR+:} false; then :
6322   $as_echo_n "(cached) " >&6
6323 else
6324   if test -n "$AR"; then
6325   ac_cv_prog_AR="$AR" # Let the user override the test.
6326 else
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH
6329 do
6330   IFS=$as_save_IFS
6331   test -z "$as_dir" && as_dir=.
6332     for ac_exec_ext in '' $ac_executable_extensions; do
6333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336     break 2
6337   fi
6338 done
6339   done
6340 IFS=$as_save_IFS
6341
6342 fi
6343 fi
6344 AR=$ac_cv_prog_AR
6345 if test -n "$AR"; then
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6347 $as_echo "$AR" >&6; }
6348 else
6349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6351 fi
6352
6353
6354     test -n "$AR" && break
6355   done
6356 fi
6357 if test -z "$AR"; then
6358   ac_ct_AR=$AR
6359   for ac_prog in ar
6360 do
6361   # Extract the first word of "$ac_prog", so it can be a program name with args.
6362 set dummy $ac_prog; ac_word=$2
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364 $as_echo_n "checking for $ac_word... " >&6; }
6365 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6366   $as_echo_n "(cached) " >&6
6367 else
6368   if test -n "$ac_ct_AR"; then
6369   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6370 else
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH
6373 do
6374   IFS=$as_save_IFS
6375   test -z "$as_dir" && as_dir=.
6376     for ac_exec_ext in '' $ac_executable_extensions; do
6377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6378     ac_cv_prog_ac_ct_AR="$ac_prog"
6379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380     break 2
6381   fi
6382 done
6383   done
6384 IFS=$as_save_IFS
6385
6386 fi
6387 fi
6388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6389 if test -n "$ac_ct_AR"; then
6390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6391 $as_echo "$ac_ct_AR" >&6; }
6392 else
6393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394 $as_echo "no" >&6; }
6395 fi
6396
6397
6398   test -n "$ac_ct_AR" && break
6399 done
6400
6401   if test "x$ac_ct_AR" = x; then
6402     AR="false"
6403   else
6404     case $cross_compiling:$ac_tool_warned in
6405 yes:)
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6408 ac_tool_warned=yes ;;
6409 esac
6410     AR=$ac_ct_AR
6411   fi
6412 fi
6413
6414 : ${AR=ar}
6415 : ${AR_FLAGS=cru}
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6428 $as_echo_n "checking for archiver @FILE support... " >&6; }
6429 if ${lt_cv_ar_at_file+:} false; then :
6430   $as_echo_n "(cached) " >&6
6431 else
6432   lt_cv_ar_at_file=no
6433    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h.  */
6435
6436 int
6437 main ()
6438 {
6439
6440   ;
6441   return 0;
6442 }
6443 _ACEOF
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445   echo conftest.$ac_objext > conftest.lst
6446       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6447       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6448   (eval $lt_ar_try) 2>&5
6449   ac_status=$?
6450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6451   test $ac_status = 0; }
6452       if test "$ac_status" -eq 0; then
6453         # Ensure the archiver fails upon bogus file names.
6454         rm -f conftest.$ac_objext libconftest.a
6455         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6456   (eval $lt_ar_try) 2>&5
6457   ac_status=$?
6458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6459   test $ac_status = 0; }
6460         if test "$ac_status" -ne 0; then
6461           lt_cv_ar_at_file=@
6462         fi
6463       fi
6464       rm -f conftest.* libconftest.a
6465
6466 fi
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6468
6469 fi
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6471 $as_echo "$lt_cv_ar_at_file" >&6; }
6472
6473 if test "x$lt_cv_ar_at_file" = xno; then
6474   archiver_list_spec=
6475 else
6476   archiver_list_spec=$lt_cv_ar_at_file
6477 fi
6478
6479
6480
6481
6482
6483
6484
6485 if test -n "$ac_tool_prefix"; then
6486   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}strip; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_STRIP+:} false; then :
6491   $as_echo_n "(cached) " >&6
6492 else
6493   if test -n "$STRIP"; then
6494   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6498 do
6499   IFS=$as_save_IFS
6500   test -z "$as_dir" && as_dir=.
6501     for ac_exec_ext in '' $ac_executable_extensions; do
6502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505     break 2
6506   fi
6507 done
6508   done
6509 IFS=$as_save_IFS
6510
6511 fi
6512 fi
6513 STRIP=$ac_cv_prog_STRIP
6514 if test -n "$STRIP"; then
6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6516 $as_echo "$STRIP" >&6; }
6517 else
6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6520 fi
6521
6522
6523 fi
6524 if test -z "$ac_cv_prog_STRIP"; then
6525   ac_ct_STRIP=$STRIP
6526   # Extract the first word of "strip", so it can be a program name with args.
6527 set dummy strip; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6531   $as_echo_n "(cached) " >&6
6532 else
6533   if test -n "$ac_ct_STRIP"; then
6534   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6535 else
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in $PATH
6538 do
6539   IFS=$as_save_IFS
6540   test -z "$as_dir" && as_dir=.
6541     for ac_exec_ext in '' $ac_executable_extensions; do
6542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543     ac_cv_prog_ac_ct_STRIP="strip"
6544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545     break 2
6546   fi
6547 done
6548   done
6549 IFS=$as_save_IFS
6550
6551 fi
6552 fi
6553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6554 if test -n "$ac_ct_STRIP"; then
6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6556 $as_echo "$ac_ct_STRIP" >&6; }
6557 else
6558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6560 fi
6561
6562   if test "x$ac_ct_STRIP" = x; then
6563     STRIP=":"
6564   else
6565     case $cross_compiling:$ac_tool_warned in
6566 yes:)
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6569 ac_tool_warned=yes ;;
6570 esac
6571     STRIP=$ac_ct_STRIP
6572   fi
6573 else
6574   STRIP="$ac_cv_prog_STRIP"
6575 fi
6576
6577 test -z "$STRIP" && STRIP=:
6578
6579
6580
6581
6582
6583
6584 if test -n "$ac_tool_prefix"; then
6585   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6586 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_RANLIB+:} false; then :
6590   $as_echo_n "(cached) " >&6
6591 else
6592   if test -n "$RANLIB"; then
6593   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6597 do
6598   IFS=$as_save_IFS
6599   test -z "$as_dir" && as_dir=.
6600     for ac_exec_ext in '' $ac_executable_extensions; do
6601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604     break 2
6605   fi
6606 done
6607   done
6608 IFS=$as_save_IFS
6609
6610 fi
6611 fi
6612 RANLIB=$ac_cv_prog_RANLIB
6613 if test -n "$RANLIB"; then
6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6615 $as_echo "$RANLIB" >&6; }
6616 else
6617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 fi
6620
6621
6622 fi
6623 if test -z "$ac_cv_prog_RANLIB"; then
6624   ac_ct_RANLIB=$RANLIB
6625   # Extract the first word of "ranlib", so it can be a program name with args.
6626 set dummy ranlib; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6630   $as_echo_n "(cached) " >&6
6631 else
6632   if test -n "$ac_ct_RANLIB"; then
6633   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6637 do
6638   IFS=$as_save_IFS
6639   test -z "$as_dir" && as_dir=.
6640     for ac_exec_ext in '' $ac_executable_extensions; do
6641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642     ac_cv_prog_ac_ct_RANLIB="ranlib"
6643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644     break 2
6645   fi
6646 done
6647   done
6648 IFS=$as_save_IFS
6649
6650 fi
6651 fi
6652 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6653 if test -n "$ac_ct_RANLIB"; then
6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6655 $as_echo "$ac_ct_RANLIB" >&6; }
6656 else
6657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6659 fi
6660
6661   if test "x$ac_ct_RANLIB" = x; then
6662     RANLIB=":"
6663   else
6664     case $cross_compiling:$ac_tool_warned in
6665 yes:)
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6668 ac_tool_warned=yes ;;
6669 esac
6670     RANLIB=$ac_ct_RANLIB
6671   fi
6672 else
6673   RANLIB="$ac_cv_prog_RANLIB"
6674 fi
6675
6676 test -z "$RANLIB" && RANLIB=:
6677
6678
6679
6680
6681
6682
6683 # Determine commands to create old-style static archives.
6684 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6685 old_postinstall_cmds='chmod 644 $oldlib'
6686 old_postuninstall_cmds=
6687
6688 if test -n "$RANLIB"; then
6689   case $host_os in
6690   openbsd*)
6691     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6692     ;;
6693   *)
6694     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6695     ;;
6696   esac
6697   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6698 fi
6699
6700 case $host_os in
6701   darwin*)
6702     lock_old_archive_extraction=yes ;;
6703   *)
6704     lock_old_archive_extraction=no ;;
6705 esac
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745 # If no C compiler was specified, use CC.
6746 LTCC=${LTCC-"$CC"}
6747
6748 # If no C compiler flags were specified, use CFLAGS.
6749 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6750
6751 # Allow CC to be a program name with arguments.
6752 compiler=$CC
6753
6754
6755 # Check for command to grab the raw symbol name followed by C symbol from nm.
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6757 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6758 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6759   $as_echo_n "(cached) " >&6
6760 else
6761
6762 # These are sane defaults that work on at least a few old systems.
6763 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6764
6765 # Character class describing NM global symbol codes.
6766 symcode='[BCDEGRST]'
6767
6768 # Regexp to match symbols that can be accessed directly from C.
6769 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6770
6771 # Define system-specific variables.
6772 case $host_os in
6773 aix*)
6774   symcode='[BCDT]'
6775   ;;
6776 cygwin* | mingw* | pw32* | cegcc*)
6777   symcode='[ABCDGISTW]'
6778   ;;
6779 hpux*)
6780   if test "$host_cpu" = ia64; then
6781     symcode='[ABCDEGRST]'
6782   fi
6783   ;;
6784 irix* | nonstopux*)
6785   symcode='[BCDEGRST]'
6786   ;;
6787 osf*)
6788   symcode='[BCDEGQRST]'
6789   ;;
6790 solaris*)
6791   symcode='[BDRT]'
6792   ;;
6793 sco3.2v5*)
6794   symcode='[DT]'
6795   ;;
6796 sysv4.2uw2*)
6797   symcode='[DT]'
6798   ;;
6799 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6800   symcode='[ABDT]'
6801   ;;
6802 sysv4)
6803   symcode='[DFNSTU]'
6804   ;;
6805 esac
6806
6807 # If we're using GNU nm, then use its standard symbol codes.
6808 case `$NM -V 2>&1` in
6809 *GNU* | *'with BFD'*)
6810   symcode='[ABCDGIRSTW]' ;;
6811 esac
6812
6813 # Transform an extracted symbol line into a proper C declaration.
6814 # Some systems (esp. on ia64) link data and code symbols differently,
6815 # so use this general approach.
6816 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6817
6818 # Transform an extracted symbol line into symbol name and symbol address
6819 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6820 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'"
6821
6822 # Handle CRLF in mingw tool chain
6823 opt_cr=
6824 case $build_os in
6825 mingw*)
6826   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6827   ;;
6828 esac
6829
6830 # Try without a prefix underscore, then with it.
6831 for ac_symprfx in "" "_"; do
6832
6833   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6834   symxfrm="\\1 $ac_symprfx\\2 \\2"
6835
6836   # Write the raw and C identifiers.
6837   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6838     # Fake it for dumpbin and say T for any non-static function
6839     # and D for any global variable.
6840     # Also find C++ and __fastcall symbols from MSVC++,
6841     # which start with @ or ?.
6842     lt_cv_sys_global_symbol_pipe="$AWK '"\
6843 "     {last_section=section; section=\$ 3};"\
6844 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6845 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6846 "     \$ 0!~/External *\|/{next};"\
6847 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6848 "     {if(hide[section]) next};"\
6849 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6850 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6851 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6852 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6853 "     ' prfx=^$ac_symprfx"
6854   else
6855     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6856   fi
6857   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6858
6859   # Check to see that the pipe works correctly.
6860   pipe_works=no
6861
6862   rm -f conftest*
6863   cat > conftest.$ac_ext <<_LT_EOF
6864 #ifdef __cplusplus
6865 extern "C" {
6866 #endif
6867 char nm_test_var;
6868 void nm_test_func(void);
6869 void nm_test_func(void){}
6870 #ifdef __cplusplus
6871 }
6872 #endif
6873 int main(){nm_test_var='a';nm_test_func();return(0);}
6874 _LT_EOF
6875
6876   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877   (eval $ac_compile) 2>&5
6878   ac_status=$?
6879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6880   test $ac_status = 0; }; then
6881     # Now try to grab the symbols.
6882     nlist=conftest.nm
6883     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6884   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6885   ac_status=$?
6886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6887   test $ac_status = 0; } && test -s "$nlist"; then
6888       # Try sorting and uniquifying the output.
6889       if sort "$nlist" | uniq > "$nlist"T; then
6890         mv -f "$nlist"T "$nlist"
6891       else
6892         rm -f "$nlist"T
6893       fi
6894
6895       # Make sure that we snagged all the symbols we need.
6896       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6897         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6898           cat <<_LT_EOF > conftest.$ac_ext
6899 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6900 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6901 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6902    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6903 # define LT_DLSYM_CONST
6904 #elif defined(__osf__)
6905 /* This system does not cope well with relocations in const data.  */
6906 # define LT_DLSYM_CONST
6907 #else
6908 # define LT_DLSYM_CONST const
6909 #endif
6910
6911 #ifdef __cplusplus
6912 extern "C" {
6913 #endif
6914
6915 _LT_EOF
6916           # Now generate the symbol file.
6917           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6918
6919           cat <<_LT_EOF >> conftest.$ac_ext
6920
6921 /* The mapping between symbol names and symbols.  */
6922 LT_DLSYM_CONST struct {
6923   const char *name;
6924   void       *address;
6925 }
6926 lt__PROGRAM__LTX_preloaded_symbols[] =
6927 {
6928   { "@PROGRAM@", (void *) 0 },
6929 _LT_EOF
6930           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6931           cat <<\_LT_EOF >> conftest.$ac_ext
6932   {0, (void *) 0}
6933 };
6934
6935 /* This works around a problem in FreeBSD linker */
6936 #ifdef FREEBSD_WORKAROUND
6937 static const void *lt_preloaded_setup() {
6938   return lt__PROGRAM__LTX_preloaded_symbols;
6939 }
6940 #endif
6941
6942 #ifdef __cplusplus
6943 }
6944 #endif
6945 _LT_EOF
6946           # Now try linking the two files.
6947           mv conftest.$ac_objext conftstm.$ac_objext
6948           lt_globsym_save_LIBS=$LIBS
6949           lt_globsym_save_CFLAGS=$CFLAGS
6950           LIBS="conftstm.$ac_objext"
6951           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6952           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6953   (eval $ac_link) 2>&5
6954   ac_status=$?
6955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6956   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6957             pipe_works=yes
6958           fi
6959           LIBS=$lt_globsym_save_LIBS
6960           CFLAGS=$lt_globsym_save_CFLAGS
6961         else
6962           echo "cannot find nm_test_func in $nlist" >&5
6963         fi
6964       else
6965         echo "cannot find nm_test_var in $nlist" >&5
6966       fi
6967     else
6968       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6969     fi
6970   else
6971     echo "$progname: failed program was:" >&5
6972     cat conftest.$ac_ext >&5
6973   fi
6974   rm -rf conftest* conftst*
6975
6976   # Do not use the global_symbol_pipe unless it works.
6977   if test "$pipe_works" = yes; then
6978     break
6979   else
6980     lt_cv_sys_global_symbol_pipe=
6981   fi
6982 done
6983
6984 fi
6985
6986 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6987   lt_cv_sys_global_symbol_to_cdecl=
6988 fi
6989 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6991 $as_echo "failed" >&6; }
6992 else
6993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6994 $as_echo "ok" >&6; }
6995 fi
6996
6997 # Response file support.
6998 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6999   nm_file_list_spec='@'
7000 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7001   nm_file_list_spec='@'
7002 fi
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7031 $as_echo_n "checking for sysroot... " >&6; }
7032
7033 # Check whether --with-sysroot was given.
7034 if test "${with_sysroot+set}" = set; then :
7035   withval=$with_sysroot;
7036 else
7037   with_sysroot=no
7038 fi
7039
7040
7041 lt_sysroot=
7042 case ${with_sysroot} in #(
7043  yes)
7044    if test "$GCC" = yes; then
7045      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7046    fi
7047    ;; #(
7048  /*)
7049    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7050    ;; #(
7051  no|'')
7052    ;; #(
7053  *)
7054    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7055 $as_echo "${with_sysroot}" >&6; }
7056    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7057    ;;
7058 esac
7059
7060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7061 $as_echo "${lt_sysroot:-no}" >&6; }
7062
7063
7064
7065
7066
7067 # Check whether --enable-libtool-lock was given.
7068 if test "${enable_libtool_lock+set}" = set; then :
7069   enableval=$enable_libtool_lock;
7070 fi
7071
7072 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7073
7074 # Some flags need to be propagated to the compiler or linker for good
7075 # libtool support.
7076 case $host in
7077 ia64-*-hpux*)
7078   # Find out which ABI we are using.
7079   echo 'int i;' > conftest.$ac_ext
7080   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081   (eval $ac_compile) 2>&5
7082   ac_status=$?
7083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084   test $ac_status = 0; }; then
7085     case `/usr/bin/file conftest.$ac_objext` in
7086       *ELF-32*)
7087         HPUX_IA64_MODE="32"
7088         ;;
7089       *ELF-64*)
7090         HPUX_IA64_MODE="64"
7091         ;;
7092     esac
7093   fi
7094   rm -rf conftest*
7095   ;;
7096 *-*-irix6*)
7097   # Find out which ABI we are using.
7098   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7099   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7100   (eval $ac_compile) 2>&5
7101   ac_status=$?
7102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7103   test $ac_status = 0; }; then
7104     if test "$lt_cv_prog_gnu_ld" = yes; then
7105       case `/usr/bin/file conftest.$ac_objext` in
7106         *32-bit*)
7107           LD="${LD-ld} -melf32bsmip"
7108           ;;
7109         *N32*)
7110           LD="${LD-ld} -melf32bmipn32"
7111           ;;
7112         *64-bit*)
7113           LD="${LD-ld} -melf64bmip"
7114         ;;
7115       esac
7116     else
7117       case `/usr/bin/file conftest.$ac_objext` in
7118         *32-bit*)
7119           LD="${LD-ld} -32"
7120           ;;
7121         *N32*)
7122           LD="${LD-ld} -n32"
7123           ;;
7124         *64-bit*)
7125           LD="${LD-ld} -64"
7126           ;;
7127       esac
7128     fi
7129   fi
7130   rm -rf conftest*
7131   ;;
7132
7133 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7134 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7135   # Find out which ABI we are using.
7136   echo 'int i;' > conftest.$ac_ext
7137   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7138   (eval $ac_compile) 2>&5
7139   ac_status=$?
7140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7141   test $ac_status = 0; }; then
7142     case `/usr/bin/file conftest.o` in
7143       *32-bit*)
7144         case $host in
7145           x86_64-*kfreebsd*-gnu)
7146             LD="${LD-ld} -m elf_i386_fbsd"
7147             ;;
7148           x86_64-*linux*)
7149             LD="${LD-ld} -m elf_i386"
7150             ;;
7151           ppc64-*linux*|powerpc64-*linux*)
7152             LD="${LD-ld} -m elf32ppclinux"
7153             ;;
7154           s390x-*linux*)
7155             LD="${LD-ld} -m elf_s390"
7156             ;;
7157           sparc64-*linux*)
7158             LD="${LD-ld} -m elf32_sparc"
7159             ;;
7160         esac
7161         ;;
7162       *64-bit*)
7163         case $host in
7164           x86_64-*kfreebsd*-gnu)
7165             LD="${LD-ld} -m elf_x86_64_fbsd"
7166             ;;
7167           x86_64-*linux*)
7168             LD="${LD-ld} -m elf_x86_64"
7169             ;;
7170           ppc*-*linux*|powerpc*-*linux*)
7171             LD="${LD-ld} -m elf64ppc"
7172             ;;
7173           s390*-*linux*|s390*-*tpf*)
7174             LD="${LD-ld} -m elf64_s390"
7175             ;;
7176           sparc*-*linux*)
7177             LD="${LD-ld} -m elf64_sparc"
7178             ;;
7179         esac
7180         ;;
7181     esac
7182   fi
7183   rm -rf conftest*
7184   ;;
7185
7186 *-*-sco3.2v5*)
7187   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7188   SAVE_CFLAGS="$CFLAGS"
7189   CFLAGS="$CFLAGS -belf"
7190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7191 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7192 if ${lt_cv_cc_needs_belf+:} false; then :
7193   $as_echo_n "(cached) " >&6
7194 else
7195   ac_ext=c
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200
7201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h.  */
7203
7204 int
7205 main ()
7206 {
7207
7208   ;
7209   return 0;
7210 }
7211 _ACEOF
7212 if ac_fn_c_try_link "$LINENO"; then :
7213   lt_cv_cc_needs_belf=yes
7214 else
7215   lt_cv_cc_needs_belf=no
7216 fi
7217 rm -f core conftest.err conftest.$ac_objext \
7218     conftest$ac_exeext conftest.$ac_ext
7219      ac_ext=c
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7224
7225 fi
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7227 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7228   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7229     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7230     CFLAGS="$SAVE_CFLAGS"
7231   fi
7232   ;;
7233 *-*solaris*)
7234   # Find out which ABI we are using.
7235   echo 'int i;' > conftest.$ac_ext
7236   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7237   (eval $ac_compile) 2>&5
7238   ac_status=$?
7239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7240   test $ac_status = 0; }; then
7241     case `/usr/bin/file conftest.o` in
7242     *64-bit*)
7243       case $lt_cv_prog_gnu_ld in
7244       yes*)
7245         case $host in
7246         i?86-*-solaris*)
7247           LD="${LD-ld} -m elf_x86_64"
7248           ;;
7249         sparc*-*-solaris*)
7250           LD="${LD-ld} -m elf64_sparc"
7251           ;;
7252         esac
7253         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7254         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7255           LD="${LD-ld}_sol2"
7256         fi
7257         ;;
7258       *)
7259         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7260           LD="${LD-ld} -64"
7261         fi
7262         ;;
7263       esac
7264       ;;
7265     esac
7266   fi
7267   rm -rf conftest*
7268   ;;
7269 esac
7270
7271 need_locks="$enable_libtool_lock"
7272
7273 if test -n "$ac_tool_prefix"; then
7274   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7275 set dummy ${ac_tool_prefix}mt; ac_word=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7279   $as_echo_n "(cached) " >&6
7280 else
7281   if test -n "$MANIFEST_TOOL"; then
7282   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7283 else
7284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 for as_dir in $PATH
7286 do
7287   IFS=$as_save_IFS
7288   test -z "$as_dir" && as_dir=.
7289     for ac_exec_ext in '' $ac_executable_extensions; do
7290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293     break 2
7294   fi
7295 done
7296   done
7297 IFS=$as_save_IFS
7298
7299 fi
7300 fi
7301 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7302 if test -n "$MANIFEST_TOOL"; then
7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7304 $as_echo "$MANIFEST_TOOL" >&6; }
7305 else
7306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 $as_echo "no" >&6; }
7308 fi
7309
7310
7311 fi
7312 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7313   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7314   # Extract the first word of "mt", so it can be a program name with args.
7315 set dummy mt; ac_word=$2
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 $as_echo_n "checking for $ac_word... " >&6; }
7318 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7319   $as_echo_n "(cached) " >&6
7320 else
7321   if test -n "$ac_ct_MANIFEST_TOOL"; then
7322   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7323 else
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 for as_dir in $PATH
7326 do
7327   IFS=$as_save_IFS
7328   test -z "$as_dir" && as_dir=.
7329     for ac_exec_ext in '' $ac_executable_extensions; do
7330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7331     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333     break 2
7334   fi
7335 done
7336   done
7337 IFS=$as_save_IFS
7338
7339 fi
7340 fi
7341 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7342 if test -n "$ac_ct_MANIFEST_TOOL"; then
7343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7344 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7345 else
7346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347 $as_echo "no" >&6; }
7348 fi
7349
7350   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7351     MANIFEST_TOOL=":"
7352   else
7353     case $cross_compiling:$ac_tool_warned in
7354 yes:)
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7357 ac_tool_warned=yes ;;
7358 esac
7359     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7360   fi
7361 else
7362   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7363 fi
7364
7365 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7367 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7368 if ${lt_cv_path_mainfest_tool+:} false; then :
7369   $as_echo_n "(cached) " >&6
7370 else
7371   lt_cv_path_mainfest_tool=no
7372   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7373   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7374   cat conftest.err >&5
7375   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7376     lt_cv_path_mainfest_tool=yes
7377   fi
7378   rm -f conftest*
7379 fi
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7381 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7382 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7383   MANIFEST_TOOL=:
7384 fi
7385
7386
7387
7388
7389
7390
7391   case $host_os in
7392     rhapsody* | darwin*)
7393     if test -n "$ac_tool_prefix"; then
7394   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7395 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7399   $as_echo_n "(cached) " >&6
7400 else
7401   if test -n "$DSYMUTIL"; then
7402   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7403 else
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH
7406 do
7407   IFS=$as_save_IFS
7408   test -z "$as_dir" && as_dir=.
7409     for ac_exec_ext in '' $ac_executable_extensions; do
7410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7411     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413     break 2
7414   fi
7415 done
7416   done
7417 IFS=$as_save_IFS
7418
7419 fi
7420 fi
7421 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7422 if test -n "$DSYMUTIL"; then
7423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7424 $as_echo "$DSYMUTIL" >&6; }
7425 else
7426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7428 fi
7429
7430
7431 fi
7432 if test -z "$ac_cv_prog_DSYMUTIL"; then
7433   ac_ct_DSYMUTIL=$DSYMUTIL
7434   # Extract the first word of "dsymutil", so it can be a program name with args.
7435 set dummy dsymutil; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7439   $as_echo_n "(cached) " >&6
7440 else
7441   if test -n "$ac_ct_DSYMUTIL"; then
7442   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7446 do
7447   IFS=$as_save_IFS
7448   test -z "$as_dir" && as_dir=.
7449     for ac_exec_ext in '' $ac_executable_extensions; do
7450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453     break 2
7454   fi
7455 done
7456   done
7457 IFS=$as_save_IFS
7458
7459 fi
7460 fi
7461 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7462 if test -n "$ac_ct_DSYMUTIL"; then
7463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7464 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7465 else
7466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7468 fi
7469
7470   if test "x$ac_ct_DSYMUTIL" = x; then
7471     DSYMUTIL=":"
7472   else
7473     case $cross_compiling:$ac_tool_warned in
7474 yes:)
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7477 ac_tool_warned=yes ;;
7478 esac
7479     DSYMUTIL=$ac_ct_DSYMUTIL
7480   fi
7481 else
7482   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7483 fi
7484
7485     if test -n "$ac_tool_prefix"; then
7486   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_NMEDIT+:} false; then :
7491   $as_echo_n "(cached) " >&6
7492 else
7493   if test -n "$NMEDIT"; then
7494   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7498 do
7499   IFS=$as_save_IFS
7500   test -z "$as_dir" && as_dir=.
7501     for ac_exec_ext in '' $ac_executable_extensions; do
7502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505     break 2
7506   fi
7507 done
7508   done
7509 IFS=$as_save_IFS
7510
7511 fi
7512 fi
7513 NMEDIT=$ac_cv_prog_NMEDIT
7514 if test -n "$NMEDIT"; then
7515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7516 $as_echo "$NMEDIT" >&6; }
7517 else
7518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7520 fi
7521
7522
7523 fi
7524 if test -z "$ac_cv_prog_NMEDIT"; then
7525   ac_ct_NMEDIT=$NMEDIT
7526   # Extract the first word of "nmedit", so it can be a program name with args.
7527 set dummy nmedit; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7531   $as_echo_n "(cached) " >&6
7532 else
7533   if test -n "$ac_ct_NMEDIT"; then
7534   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7538 do
7539   IFS=$as_save_IFS
7540   test -z "$as_dir" && as_dir=.
7541     for ac_exec_ext in '' $ac_executable_extensions; do
7542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545     break 2
7546   fi
7547 done
7548   done
7549 IFS=$as_save_IFS
7550
7551 fi
7552 fi
7553 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7554 if test -n "$ac_ct_NMEDIT"; then
7555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7556 $as_echo "$ac_ct_NMEDIT" >&6; }
7557 else
7558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7560 fi
7561
7562   if test "x$ac_ct_NMEDIT" = x; then
7563     NMEDIT=":"
7564   else
7565     case $cross_compiling:$ac_tool_warned in
7566 yes:)
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned=yes ;;
7570 esac
7571     NMEDIT=$ac_ct_NMEDIT
7572   fi
7573 else
7574   NMEDIT="$ac_cv_prog_NMEDIT"
7575 fi
7576
7577     if test -n "$ac_tool_prefix"; then
7578   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7579 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if ${ac_cv_prog_LIPO+:} false; then :
7583   $as_echo_n "(cached) " >&6
7584 else
7585   if test -n "$LIPO"; then
7586   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7587 else
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 for as_dir in $PATH
7590 do
7591   IFS=$as_save_IFS
7592   test -z "$as_dir" && as_dir=.
7593     for ac_exec_ext in '' $ac_executable_extensions; do
7594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597     break 2
7598   fi
7599 done
7600   done
7601 IFS=$as_save_IFS
7602
7603 fi
7604 fi
7605 LIPO=$ac_cv_prog_LIPO
7606 if test -n "$LIPO"; then
7607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7608 $as_echo "$LIPO" >&6; }
7609 else
7610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7612 fi
7613
7614
7615 fi
7616 if test -z "$ac_cv_prog_LIPO"; then
7617   ac_ct_LIPO=$LIPO
7618   # Extract the first word of "lipo", so it can be a program name with args.
7619 set dummy lipo; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7623   $as_echo_n "(cached) " >&6
7624 else
7625   if test -n "$ac_ct_LIPO"; then
7626   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7630 do
7631   IFS=$as_save_IFS
7632   test -z "$as_dir" && as_dir=.
7633     for ac_exec_ext in '' $ac_executable_extensions; do
7634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635     ac_cv_prog_ac_ct_LIPO="lipo"
7636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637     break 2
7638   fi
7639 done
7640   done
7641 IFS=$as_save_IFS
7642
7643 fi
7644 fi
7645 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7646 if test -n "$ac_ct_LIPO"; then
7647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7648 $as_echo "$ac_ct_LIPO" >&6; }
7649 else
7650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7652 fi
7653
7654   if test "x$ac_ct_LIPO" = x; then
7655     LIPO=":"
7656   else
7657     case $cross_compiling:$ac_tool_warned in
7658 yes:)
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7661 ac_tool_warned=yes ;;
7662 esac
7663     LIPO=$ac_ct_LIPO
7664   fi
7665 else
7666   LIPO="$ac_cv_prog_LIPO"
7667 fi
7668
7669     if test -n "$ac_tool_prefix"; then
7670   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7671 set dummy ${ac_tool_prefix}otool; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7673 $as_echo_n "checking for $ac_word... " >&6; }
7674 if ${ac_cv_prog_OTOOL+:} false; then :
7675   $as_echo_n "(cached) " >&6
7676 else
7677   if test -n "$OTOOL"; then
7678   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7679 else
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 for as_dir in $PATH
7682 do
7683   IFS=$as_save_IFS
7684   test -z "$as_dir" && as_dir=.
7685     for ac_exec_ext in '' $ac_executable_extensions; do
7686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689     break 2
7690   fi
7691 done
7692   done
7693 IFS=$as_save_IFS
7694
7695 fi
7696 fi
7697 OTOOL=$ac_cv_prog_OTOOL
7698 if test -n "$OTOOL"; then
7699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7700 $as_echo "$OTOOL" >&6; }
7701 else
7702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7704 fi
7705
7706
7707 fi
7708 if test -z "$ac_cv_prog_OTOOL"; then
7709   ac_ct_OTOOL=$OTOOL
7710   # Extract the first word of "otool", so it can be a program name with args.
7711 set dummy otool; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 $as_echo_n "checking for $ac_word... " >&6; }
7714 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7715   $as_echo_n "(cached) " >&6
7716 else
7717   if test -n "$ac_ct_OTOOL"; then
7718   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7719 else
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 for as_dir in $PATH
7722 do
7723   IFS=$as_save_IFS
7724   test -z "$as_dir" && as_dir=.
7725     for ac_exec_ext in '' $ac_executable_extensions; do
7726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727     ac_cv_prog_ac_ct_OTOOL="otool"
7728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729     break 2
7730   fi
7731 done
7732   done
7733 IFS=$as_save_IFS
7734
7735 fi
7736 fi
7737 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7738 if test -n "$ac_ct_OTOOL"; then
7739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7740 $as_echo "$ac_ct_OTOOL" >&6; }
7741 else
7742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743 $as_echo "no" >&6; }
7744 fi
7745
7746   if test "x$ac_ct_OTOOL" = x; then
7747     OTOOL=":"
7748   else
7749     case $cross_compiling:$ac_tool_warned in
7750 yes:)
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7753 ac_tool_warned=yes ;;
7754 esac
7755     OTOOL=$ac_ct_OTOOL
7756   fi
7757 else
7758   OTOOL="$ac_cv_prog_OTOOL"
7759 fi
7760
7761     if test -n "$ac_tool_prefix"; then
7762   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7763 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7765 $as_echo_n "checking for $ac_word... " >&6; }
7766 if ${ac_cv_prog_OTOOL64+:} false; then :
7767   $as_echo_n "(cached) " >&6
7768 else
7769   if test -n "$OTOOL64"; then
7770   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7771 else
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 for as_dir in $PATH
7774 do
7775   IFS=$as_save_IFS
7776   test -z "$as_dir" && as_dir=.
7777     for ac_exec_ext in '' $ac_executable_extensions; do
7778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7779     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781     break 2
7782   fi
7783 done
7784   done
7785 IFS=$as_save_IFS
7786
7787 fi
7788 fi
7789 OTOOL64=$ac_cv_prog_OTOOL64
7790 if test -n "$OTOOL64"; then
7791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7792 $as_echo "$OTOOL64" >&6; }
7793 else
7794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795 $as_echo "no" >&6; }
7796 fi
7797
7798
7799 fi
7800 if test -z "$ac_cv_prog_OTOOL64"; then
7801   ac_ct_OTOOL64=$OTOOL64
7802   # Extract the first word of "otool64", so it can be a program name with args.
7803 set dummy otool64; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7807   $as_echo_n "(cached) " >&6
7808 else
7809   if test -n "$ac_ct_OTOOL64"; then
7810   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7811 else
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 for as_dir in $PATH
7814 do
7815   IFS=$as_save_IFS
7816   test -z "$as_dir" && as_dir=.
7817     for ac_exec_ext in '' $ac_executable_extensions; do
7818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819     ac_cv_prog_ac_ct_OTOOL64="otool64"
7820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821     break 2
7822   fi
7823 done
7824   done
7825 IFS=$as_save_IFS
7826
7827 fi
7828 fi
7829 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7830 if test -n "$ac_ct_OTOOL64"; then
7831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7832 $as_echo "$ac_ct_OTOOL64" >&6; }
7833 else
7834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7836 fi
7837
7838   if test "x$ac_ct_OTOOL64" = x; then
7839     OTOOL64=":"
7840   else
7841     case $cross_compiling:$ac_tool_warned in
7842 yes:)
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7845 ac_tool_warned=yes ;;
7846 esac
7847     OTOOL64=$ac_ct_OTOOL64
7848   fi
7849 else
7850   OTOOL64="$ac_cv_prog_OTOOL64"
7851 fi
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7880 $as_echo_n "checking for -single_module linker flag... " >&6; }
7881 if ${lt_cv_apple_cc_single_mod+:} false; then :
7882   $as_echo_n "(cached) " >&6
7883 else
7884   lt_cv_apple_cc_single_mod=no
7885       if test -z "${LT_MULTI_MODULE}"; then
7886         # By default we will add the -single_module flag. You can override
7887         # by either setting the environment variable LT_MULTI_MODULE
7888         # non-empty at configure time, or by adding -multi_module to the
7889         # link flags.
7890         rm -rf libconftest.dylib*
7891         echo "int foo(void){return 1;}" > conftest.c
7892         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7893 -dynamiclib -Wl,-single_module conftest.c" >&5
7894         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7895           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7896         _lt_result=$?
7897         # If there is a non-empty error log, and "single_module"
7898         # appears in it, assume the flag caused a linker warning
7899         if test -s conftest.err && $GREP single_module conftest.err; then
7900           cat conftest.err >&5
7901         # Otherwise, if the output was created with a 0 exit code from
7902         # the compiler, it worked.
7903         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7904           lt_cv_apple_cc_single_mod=yes
7905         else
7906           cat conftest.err >&5
7907         fi
7908         rm -rf libconftest.dylib*
7909         rm -f conftest.*
7910       fi
7911 fi
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7913 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7914
7915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7916 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7917 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7918   $as_echo_n "(cached) " >&6
7919 else
7920   lt_cv_ld_exported_symbols_list=no
7921       save_LDFLAGS=$LDFLAGS
7922       echo "_main" > conftest.sym
7923       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h.  */
7926
7927 int
7928 main ()
7929 {
7930
7931   ;
7932   return 0;
7933 }
7934 _ACEOF
7935 if ac_fn_c_try_link "$LINENO"; then :
7936   lt_cv_ld_exported_symbols_list=yes
7937 else
7938   lt_cv_ld_exported_symbols_list=no
7939 fi
7940 rm -f core conftest.err conftest.$ac_objext \
7941     conftest$ac_exeext conftest.$ac_ext
7942         LDFLAGS="$save_LDFLAGS"
7943
7944 fi
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7946 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7947
7948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7949 $as_echo_n "checking for -force_load linker flag... " >&6; }
7950 if ${lt_cv_ld_force_load+:} false; then :
7951   $as_echo_n "(cached) " >&6
7952 else
7953   lt_cv_ld_force_load=no
7954       cat > conftest.c << _LT_EOF
7955 int forced_loaded() { return 2;}
7956 _LT_EOF
7957       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7958       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7959       echo "$AR cru libconftest.a conftest.o" >&5
7960       $AR cru libconftest.a conftest.o 2>&5
7961       echo "$RANLIB libconftest.a" >&5
7962       $RANLIB libconftest.a 2>&5
7963       cat > conftest.c << _LT_EOF
7964 int main() { return 0;}
7965 _LT_EOF
7966       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7967       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7968       _lt_result=$?
7969       if test -s conftest.err && $GREP force_load conftest.err; then
7970         cat conftest.err >&5
7971       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7972         lt_cv_ld_force_load=yes
7973       else
7974         cat conftest.err >&5
7975       fi
7976         rm -f conftest.err libconftest.a conftest conftest.c
7977         rm -rf conftest.dSYM
7978
7979 fi
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7981 $as_echo "$lt_cv_ld_force_load" >&6; }
7982     case $host_os in
7983     rhapsody* | darwin1.[012])
7984       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7985     darwin1.*)
7986       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7987     darwin*) # darwin 5.x on
7988       # if running on 10.5 or later, the deployment target defaults
7989       # to the OS version, if on x86, and 10.4, the deployment
7990       # target defaults to 10.4. Don't you love it?
7991       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7992         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7993           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7994         10.[012]*)
7995           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7996         10.*)
7997           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7998       esac
7999     ;;
8000   esac
8001     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8002       _lt_dar_single_mod='$single_module'
8003     fi
8004     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8005       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8006     else
8007       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8008     fi
8009     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8010       _lt_dsymutil='~$DSYMUTIL $lib || :'
8011     else
8012       _lt_dsymutil=
8013     fi
8014     ;;
8015   esac
8016
8017 ac_ext=c
8018 ac_cpp='$CPP $CPPFLAGS'
8019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8023 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8024 # On Suns, sometimes $CPP names a directory.
8025 if test -n "$CPP" && test -d "$CPP"; then
8026   CPP=
8027 fi
8028 if test -z "$CPP"; then
8029   if ${ac_cv_prog_CPP+:} false; then :
8030   $as_echo_n "(cached) " >&6
8031 else
8032       # Double quotes because CPP needs to be expanded
8033     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8034     do
8035       ac_preproc_ok=false
8036 for ac_c_preproc_warn_flag in '' yes
8037 do
8038   # Use a header file that comes with gcc, so configuring glibc
8039   # with a fresh cross-compiler works.
8040   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8041   # <limits.h> exists even on freestanding compilers.
8042   # On the NeXT, cc -E runs the code through the compiler's parser,
8043   # not just through cpp. "Syntax error" is here to catch this case.
8044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8045 /* end confdefs.h.  */
8046 #ifdef __STDC__
8047 # include <limits.h>
8048 #else
8049 # include <assert.h>
8050 #endif
8051                      Syntax error
8052 _ACEOF
8053 if ac_fn_c_try_cpp "$LINENO"; then :
8054
8055 else
8056   # Broken: fails on valid input.
8057 continue
8058 fi
8059 rm -f conftest.err conftest.i conftest.$ac_ext
8060
8061   # OK, works on sane cases.  Now check whether nonexistent headers
8062   # can be detected and how.
8063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h.  */
8065 #include <ac_nonexistent.h>
8066 _ACEOF
8067 if ac_fn_c_try_cpp "$LINENO"; then :
8068   # Broken: success on invalid input.
8069 continue
8070 else
8071   # Passes both tests.
8072 ac_preproc_ok=:
8073 break
8074 fi
8075 rm -f conftest.err conftest.i conftest.$ac_ext
8076
8077 done
8078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8079 rm -f conftest.i conftest.err conftest.$ac_ext
8080 if $ac_preproc_ok; then :
8081   break
8082 fi
8083
8084     done
8085     ac_cv_prog_CPP=$CPP
8086
8087 fi
8088   CPP=$ac_cv_prog_CPP
8089 else
8090   ac_cv_prog_CPP=$CPP
8091 fi
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8093 $as_echo "$CPP" >&6; }
8094 ac_preproc_ok=false
8095 for ac_c_preproc_warn_flag in '' yes
8096 do
8097   # Use a header file that comes with gcc, so configuring glibc
8098   # with a fresh cross-compiler works.
8099   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8100   # <limits.h> exists even on freestanding compilers.
8101   # On the NeXT, cc -E runs the code through the compiler's parser,
8102   # not just through cpp. "Syntax error" is here to catch this case.
8103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h.  */
8105 #ifdef __STDC__
8106 # include <limits.h>
8107 #else
8108 # include <assert.h>
8109 #endif
8110                      Syntax error
8111 _ACEOF
8112 if ac_fn_c_try_cpp "$LINENO"; then :
8113
8114 else
8115   # Broken: fails on valid input.
8116 continue
8117 fi
8118 rm -f conftest.err conftest.i conftest.$ac_ext
8119
8120   # OK, works on sane cases.  Now check whether nonexistent headers
8121   # can be detected and how.
8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h.  */
8124 #include <ac_nonexistent.h>
8125 _ACEOF
8126 if ac_fn_c_try_cpp "$LINENO"; then :
8127   # Broken: success on invalid input.
8128 continue
8129 else
8130   # Passes both tests.
8131 ac_preproc_ok=:
8132 break
8133 fi
8134 rm -f conftest.err conftest.i conftest.$ac_ext
8135
8136 done
8137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8138 rm -f conftest.i conftest.err conftest.$ac_ext
8139 if $ac_preproc_ok; then :
8140
8141 else
8142   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8144 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8145 See \`config.log' for more details" "$LINENO" 5; }
8146 fi
8147
8148 ac_ext=c
8149 ac_cpp='$CPP $CPPFLAGS'
8150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8153
8154
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8156 $as_echo_n "checking for ANSI C header files... " >&6; }
8157 if ${ac_cv_header_stdc+:} false; then :
8158   $as_echo_n "(cached) " >&6
8159 else
8160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h.  */
8162 #include <stdlib.h>
8163 #include <stdarg.h>
8164 #include <string.h>
8165 #include <float.h>
8166
8167 int
8168 main ()
8169 {
8170
8171   ;
8172   return 0;
8173 }
8174 _ACEOF
8175 if ac_fn_c_try_compile "$LINENO"; then :
8176   ac_cv_header_stdc=yes
8177 else
8178   ac_cv_header_stdc=no
8179 fi
8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8181
8182 if test $ac_cv_header_stdc = yes; then
8183   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h.  */
8186 #include <string.h>
8187
8188 _ACEOF
8189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8190   $EGREP "memchr" >/dev/null 2>&1; then :
8191
8192 else
8193   ac_cv_header_stdc=no
8194 fi
8195 rm -f conftest*
8196
8197 fi
8198
8199 if test $ac_cv_header_stdc = yes; then
8200   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h.  */
8203 #include <stdlib.h>
8204
8205 _ACEOF
8206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8207   $EGREP "free" >/dev/null 2>&1; then :
8208
8209 else
8210   ac_cv_header_stdc=no
8211 fi
8212 rm -f conftest*
8213
8214 fi
8215
8216 if test $ac_cv_header_stdc = yes; then
8217   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8218   if test "$cross_compiling" = yes; then :
8219   :
8220 else
8221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h.  */
8223 #include <ctype.h>
8224 #include <stdlib.h>
8225 #if ((' ' & 0x0FF) == 0x020)
8226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8228 #else
8229 # define ISLOWER(c) \
8230                    (('a' <= (c) && (c) <= 'i') \
8231                      || ('j' <= (c) && (c) <= 'r') \
8232                      || ('s' <= (c) && (c) <= 'z'))
8233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8234 #endif
8235
8236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8237 int
8238 main ()
8239 {
8240   int i;
8241   for (i = 0; i < 256; i++)
8242     if (XOR (islower (i), ISLOWER (i))
8243         || toupper (i) != TOUPPER (i))
8244       return 2;
8245   return 0;
8246 }
8247 _ACEOF
8248 if ac_fn_c_try_run "$LINENO"; then :
8249
8250 else
8251   ac_cv_header_stdc=no
8252 fi
8253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8254   conftest.$ac_objext conftest.beam conftest.$ac_ext
8255 fi
8256
8257 fi
8258 fi
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8260 $as_echo "$ac_cv_header_stdc" >&6; }
8261 if test $ac_cv_header_stdc = yes; then
8262
8263 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8264
8265 fi
8266
8267 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8268 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8269                   inttypes.h stdint.h unistd.h
8270 do :
8271   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8272 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8273 "
8274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8275   cat >>confdefs.h <<_ACEOF
8276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8277 _ACEOF
8278
8279 fi
8280
8281 done
8282
8283
8284 for ac_header in dlfcn.h
8285 do :
8286   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8287 "
8288 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8289   cat >>confdefs.h <<_ACEOF
8290 #define HAVE_DLFCN_H 1
8291 _ACEOF
8292
8293 fi
8294
8295 done
8296
8297
8298
8299
8300
8301 # Set options
8302 # Check whether --enable-static was given.
8303 if test "${enable_static+set}" = set; then :
8304   enableval=$enable_static; p=${PACKAGE-default}
8305     case $enableval in
8306     yes) enable_static=yes ;;
8307     no) enable_static=no ;;
8308     *)
8309      enable_static=no
8310       # Look at the argument we got.  We use all the common list separators.
8311       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8312       for pkg in $enableval; do
8313         IFS="$lt_save_ifs"
8314         if test "X$pkg" = "X$p"; then
8315           enable_static=yes
8316         fi
8317       done
8318       IFS="$lt_save_ifs"
8319       ;;
8320     esac
8321 else
8322   enable_static=no
8323 fi
8324
8325
8326
8327
8328
8329
8330
8331 enable_win32_dll=yes
8332
8333 case $host in
8334 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8335   if test -n "$ac_tool_prefix"; then
8336   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8337 set dummy ${ac_tool_prefix}as; ac_word=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if ${ac_cv_prog_AS+:} false; then :
8341   $as_echo_n "(cached) " >&6
8342 else
8343   if test -n "$AS"; then
8344   ac_cv_prog_AS="$AS" # Let the user override the test.
8345 else
8346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8347 for as_dir in $PATH
8348 do
8349   IFS=$as_save_IFS
8350   test -z "$as_dir" && as_dir=.
8351     for ac_exec_ext in '' $ac_executable_extensions; do
8352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8353     ac_cv_prog_AS="${ac_tool_prefix}as"
8354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8355     break 2
8356   fi
8357 done
8358   done
8359 IFS=$as_save_IFS
8360
8361 fi
8362 fi
8363 AS=$ac_cv_prog_AS
8364 if test -n "$AS"; then
8365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8366 $as_echo "$AS" >&6; }
8367 else
8368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8370 fi
8371
8372
8373 fi
8374 if test -z "$ac_cv_prog_AS"; then
8375   ac_ct_AS=$AS
8376   # Extract the first word of "as", so it can be a program name with args.
8377 set dummy as; ac_word=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8381   $as_echo_n "(cached) " >&6
8382 else
8383   if test -n "$ac_ct_AS"; then
8384   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8385 else
8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387 for as_dir in $PATH
8388 do
8389   IFS=$as_save_IFS
8390   test -z "$as_dir" && as_dir=.
8391     for ac_exec_ext in '' $ac_executable_extensions; do
8392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8393     ac_cv_prog_ac_ct_AS="as"
8394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8395     break 2
8396   fi
8397 done
8398   done
8399 IFS=$as_save_IFS
8400
8401 fi
8402 fi
8403 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8404 if test -n "$ac_ct_AS"; then
8405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8406 $as_echo "$ac_ct_AS" >&6; }
8407 else
8408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8410 fi
8411
8412   if test "x$ac_ct_AS" = x; then
8413     AS="false"
8414   else
8415     case $cross_compiling:$ac_tool_warned in
8416 yes:)
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8419 ac_tool_warned=yes ;;
8420 esac
8421     AS=$ac_ct_AS
8422   fi
8423 else
8424   AS="$ac_cv_prog_AS"
8425 fi
8426
8427   if test -n "$ac_tool_prefix"; then
8428   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8429 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if ${ac_cv_prog_DLLTOOL+:} false; then :
8433   $as_echo_n "(cached) " >&6
8434 else
8435   if test -n "$DLLTOOL"; then
8436   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8437 else
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8439 for as_dir in $PATH
8440 do
8441   IFS=$as_save_IFS
8442   test -z "$as_dir" && as_dir=.
8443     for ac_exec_ext in '' $ac_executable_extensions; do
8444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8445     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8447     break 2
8448   fi
8449 done
8450   done
8451 IFS=$as_save_IFS
8452
8453 fi
8454 fi
8455 DLLTOOL=$ac_cv_prog_DLLTOOL
8456 if test -n "$DLLTOOL"; then
8457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8458 $as_echo "$DLLTOOL" >&6; }
8459 else
8460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8462 fi
8463
8464
8465 fi
8466 if test -z "$ac_cv_prog_DLLTOOL"; then
8467   ac_ct_DLLTOOL=$DLLTOOL
8468   # Extract the first word of "dlltool", so it can be a program name with args.
8469 set dummy dlltool; ac_word=$2
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471 $as_echo_n "checking for $ac_word... " >&6; }
8472 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8473   $as_echo_n "(cached) " >&6
8474 else
8475   if test -n "$ac_ct_DLLTOOL"; then
8476   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8477 else
8478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8479 for as_dir in $PATH
8480 do
8481   IFS=$as_save_IFS
8482   test -z "$as_dir" && as_dir=.
8483     for ac_exec_ext in '' $ac_executable_extensions; do
8484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8485     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8487     break 2
8488   fi
8489 done
8490   done
8491 IFS=$as_save_IFS
8492
8493 fi
8494 fi
8495 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8496 if test -n "$ac_ct_DLLTOOL"; then
8497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8498 $as_echo "$ac_ct_DLLTOOL" >&6; }
8499 else
8500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8502 fi
8503
8504   if test "x$ac_ct_DLLTOOL" = x; then
8505     DLLTOOL="false"
8506   else
8507     case $cross_compiling:$ac_tool_warned in
8508 yes:)
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8511 ac_tool_warned=yes ;;
8512 esac
8513     DLLTOOL=$ac_ct_DLLTOOL
8514   fi
8515 else
8516   DLLTOOL="$ac_cv_prog_DLLTOOL"
8517 fi
8518
8519   if test -n "$ac_tool_prefix"; then
8520   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8521 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523 $as_echo_n "checking for $ac_word... " >&6; }
8524 if ${ac_cv_prog_OBJDUMP+:} false; then :
8525   $as_echo_n "(cached) " >&6
8526 else
8527   if test -n "$OBJDUMP"; then
8528   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8529 else
8530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8531 for as_dir in $PATH
8532 do
8533   IFS=$as_save_IFS
8534   test -z "$as_dir" && as_dir=.
8535     for ac_exec_ext in '' $ac_executable_extensions; do
8536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8537     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539     break 2
8540   fi
8541 done
8542   done
8543 IFS=$as_save_IFS
8544
8545 fi
8546 fi
8547 OBJDUMP=$ac_cv_prog_OBJDUMP
8548 if test -n "$OBJDUMP"; then
8549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8550 $as_echo "$OBJDUMP" >&6; }
8551 else
8552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553 $as_echo "no" >&6; }
8554 fi
8555
8556
8557 fi
8558 if test -z "$ac_cv_prog_OBJDUMP"; then
8559   ac_ct_OBJDUMP=$OBJDUMP
8560   # Extract the first word of "objdump", so it can be a program name with args.
8561 set dummy objdump; ac_word=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563 $as_echo_n "checking for $ac_word... " >&6; }
8564 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8565   $as_echo_n "(cached) " >&6
8566 else
8567   if test -n "$ac_ct_OBJDUMP"; then
8568   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8569 else
8570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571 for as_dir in $PATH
8572 do
8573   IFS=$as_save_IFS
8574   test -z "$as_dir" && as_dir=.
8575     for ac_exec_ext in '' $ac_executable_extensions; do
8576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8577     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8579     break 2
8580   fi
8581 done
8582   done
8583 IFS=$as_save_IFS
8584
8585 fi
8586 fi
8587 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8588 if test -n "$ac_ct_OBJDUMP"; then
8589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8590 $as_echo "$ac_ct_OBJDUMP" >&6; }
8591 else
8592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8594 fi
8595
8596   if test "x$ac_ct_OBJDUMP" = x; then
8597     OBJDUMP="false"
8598   else
8599     case $cross_compiling:$ac_tool_warned in
8600 yes:)
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8603 ac_tool_warned=yes ;;
8604 esac
8605     OBJDUMP=$ac_ct_OBJDUMP
8606   fi
8607 else
8608   OBJDUMP="$ac_cv_prog_OBJDUMP"
8609 fi
8610
8611   ;;
8612 esac
8613
8614 test -z "$AS" && AS=as
8615
8616
8617
8618
8619
8620 test -z "$DLLTOOL" && DLLTOOL=dlltool
8621
8622
8623
8624
8625
8626 test -z "$OBJDUMP" && OBJDUMP=objdump
8627
8628
8629
8630
8631
8632
8633
8634         enable_dlopen=no
8635
8636
8637
8638             # Check whether --enable-shared was given.
8639 if test "${enable_shared+set}" = set; then :
8640   enableval=$enable_shared; p=${PACKAGE-default}
8641     case $enableval in
8642     yes) enable_shared=yes ;;
8643     no) enable_shared=no ;;
8644     *)
8645       enable_shared=no
8646       # Look at the argument we got.  We use all the common list separators.
8647       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8648       for pkg in $enableval; do
8649         IFS="$lt_save_ifs"
8650         if test "X$pkg" = "X$p"; then
8651           enable_shared=yes
8652         fi
8653       done
8654       IFS="$lt_save_ifs"
8655       ;;
8656     esac
8657 else
8658   enable_shared=yes
8659 fi
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671 # Check whether --with-pic was given.
8672 if test "${with_pic+set}" = set; then :
8673   withval=$with_pic; lt_p=${PACKAGE-default}
8674     case $withval in
8675     yes|no) pic_mode=$withval ;;
8676     *)
8677       pic_mode=default
8678       # Look at the argument we got.  We use all the common list separators.
8679       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8680       for lt_pkg in $withval; do
8681         IFS="$lt_save_ifs"
8682         if test "X$lt_pkg" = "X$lt_p"; then
8683           pic_mode=yes
8684         fi
8685       done
8686       IFS="$lt_save_ifs"
8687       ;;
8688     esac
8689 else
8690   pic_mode=default
8691 fi
8692
8693
8694 test -z "$pic_mode" && pic_mode=default
8695
8696
8697
8698
8699
8700
8701
8702   # Check whether --enable-fast-install was given.
8703 if test "${enable_fast_install+set}" = set; then :
8704   enableval=$enable_fast_install; p=${PACKAGE-default}
8705     case $enableval in
8706     yes) enable_fast_install=yes ;;
8707     no) enable_fast_install=no ;;
8708     *)
8709       enable_fast_install=no
8710       # Look at the argument we got.  We use all the common list separators.
8711       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8712       for pkg in $enableval; do
8713         IFS="$lt_save_ifs"
8714         if test "X$pkg" = "X$p"; then
8715           enable_fast_install=yes
8716         fi
8717       done
8718       IFS="$lt_save_ifs"
8719       ;;
8720     esac
8721 else
8722   enable_fast_install=yes
8723 fi
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735 # This can be used to rebuild libtool when needed
8736 LIBTOOL_DEPS="$ltmain"
8737
8738 # Always use our own libtool.
8739 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770 test -z "$LN_S" && LN_S="ln -s"
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785 if test -n "${ZSH_VERSION+set}" ; then
8786    setopt NO_GLOB_SUBST
8787 fi
8788
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8790 $as_echo_n "checking for objdir... " >&6; }
8791 if ${lt_cv_objdir+:} false; then :
8792   $as_echo_n "(cached) " >&6
8793 else
8794   rm -f .libs 2>/dev/null
8795 mkdir .libs 2>/dev/null
8796 if test -d .libs; then
8797   lt_cv_objdir=.libs
8798 else
8799   # MS-DOS does not allow filenames that begin with a dot.
8800   lt_cv_objdir=_libs
8801 fi
8802 rmdir .libs 2>/dev/null
8803 fi
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8805 $as_echo "$lt_cv_objdir" >&6; }
8806 objdir=$lt_cv_objdir
8807
8808
8809
8810
8811
8812 cat >>confdefs.h <<_ACEOF
8813 #define LT_OBJDIR "$lt_cv_objdir/"
8814 _ACEOF
8815
8816
8817
8818
8819 case $host_os in
8820 aix3*)
8821   # AIX sometimes has problems with the GCC collect2 program.  For some
8822   # reason, if we set the COLLECT_NAMES environment variable, the problems
8823   # vanish in a puff of smoke.
8824   if test "X${COLLECT_NAMES+set}" != Xset; then
8825     COLLECT_NAMES=
8826     export COLLECT_NAMES
8827   fi
8828   ;;
8829 esac
8830
8831 # Global variables:
8832 ofile=libtool
8833 can_build_shared=yes
8834
8835 # All known linkers require a `.a' archive for static linking (except MSVC,
8836 # which needs '.lib').
8837 libext=a
8838
8839 with_gnu_ld="$lt_cv_prog_gnu_ld"
8840
8841 old_CC="$CC"
8842 old_CFLAGS="$CFLAGS"
8843
8844 # Set sane defaults for various variables
8845 test -z "$CC" && CC=cc
8846 test -z "$LTCC" && LTCC=$CC
8847 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8848 test -z "$LD" && LD=ld
8849 test -z "$ac_objext" && ac_objext=o
8850
8851 for cc_temp in $compiler""; do
8852   case $cc_temp in
8853     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8854     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8855     \-*) ;;
8856     *) break;;
8857   esac
8858 done
8859 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8860
8861
8862 # Only perform the check for file, if the check method requires it
8863 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8864 case $deplibs_check_method in
8865 file_magic*)
8866   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8868 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8869 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8870   $as_echo_n "(cached) " >&6
8871 else
8872   case $MAGIC_CMD in
8873 [\\/*] |  ?:[\\/]*)
8874   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8875   ;;
8876 *)
8877   lt_save_MAGIC_CMD="$MAGIC_CMD"
8878   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8879   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8880   for ac_dir in $ac_dummy; do
8881     IFS="$lt_save_ifs"
8882     test -z "$ac_dir" && ac_dir=.
8883     if test -f $ac_dir/${ac_tool_prefix}file; then
8884       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8885       if test -n "$file_magic_test_file"; then
8886         case $deplibs_check_method in
8887         "file_magic "*)
8888           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8889           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8890           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8891             $EGREP "$file_magic_regex" > /dev/null; then
8892             :
8893           else
8894             cat <<_LT_EOF 1>&2
8895
8896 *** Warning: the command libtool uses to detect shared libraries,
8897 *** $file_magic_cmd, produces output that libtool cannot recognize.
8898 *** The result is that libtool may fail to recognize shared libraries
8899 *** as such.  This will affect the creation of libtool libraries that
8900 *** depend on shared libraries, but programs linked with such libtool
8901 *** libraries will work regardless of this problem.  Nevertheless, you
8902 *** may want to report the problem to your system manager and/or to
8903 *** bug-libtool@gnu.org
8904
8905 _LT_EOF
8906           fi ;;
8907         esac
8908       fi
8909       break
8910     fi
8911   done
8912   IFS="$lt_save_ifs"
8913   MAGIC_CMD="$lt_save_MAGIC_CMD"
8914   ;;
8915 esac
8916 fi
8917
8918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8919 if test -n "$MAGIC_CMD"; then
8920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8921 $as_echo "$MAGIC_CMD" >&6; }
8922 else
8923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8925 fi
8926
8927
8928
8929
8930
8931 if test -z "$lt_cv_path_MAGIC_CMD"; then
8932   if test -n "$ac_tool_prefix"; then
8933     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8934 $as_echo_n "checking for file... " >&6; }
8935 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8936   $as_echo_n "(cached) " >&6
8937 else
8938   case $MAGIC_CMD in
8939 [\\/*] |  ?:[\\/]*)
8940   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8941   ;;
8942 *)
8943   lt_save_MAGIC_CMD="$MAGIC_CMD"
8944   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8945   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8946   for ac_dir in $ac_dummy; do
8947     IFS="$lt_save_ifs"
8948     test -z "$ac_dir" && ac_dir=.
8949     if test -f $ac_dir/file; then
8950       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8951       if test -n "$file_magic_test_file"; then
8952         case $deplibs_check_method in
8953         "file_magic "*)
8954           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8955           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8956           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8957             $EGREP "$file_magic_regex" > /dev/null; then
8958             :
8959           else
8960             cat <<_LT_EOF 1>&2
8961
8962 *** Warning: the command libtool uses to detect shared libraries,
8963 *** $file_magic_cmd, produces output that libtool cannot recognize.
8964 *** The result is that libtool may fail to recognize shared libraries
8965 *** as such.  This will affect the creation of libtool libraries that
8966 *** depend on shared libraries, but programs linked with such libtool
8967 *** libraries will work regardless of this problem.  Nevertheless, you
8968 *** may want to report the problem to your system manager and/or to
8969 *** bug-libtool@gnu.org
8970
8971 _LT_EOF
8972           fi ;;
8973         esac
8974       fi
8975       break
8976     fi
8977   done
8978   IFS="$lt_save_ifs"
8979   MAGIC_CMD="$lt_save_MAGIC_CMD"
8980   ;;
8981 esac
8982 fi
8983
8984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8985 if test -n "$MAGIC_CMD"; then
8986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8987 $as_echo "$MAGIC_CMD" >&6; }
8988 else
8989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8991 fi
8992
8993
8994   else
8995     MAGIC_CMD=:
8996   fi
8997 fi
8998
8999   fi
9000   ;;
9001 esac
9002
9003 # Use C for the default configuration in the libtool script
9004
9005 lt_save_CC="$CC"
9006 ac_ext=c
9007 ac_cpp='$CPP $CPPFLAGS'
9008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9011
9012
9013 # Source file extension for C test sources.
9014 ac_ext=c
9015
9016 # Object file extension for compiled C test sources.
9017 objext=o
9018 objext=$objext
9019
9020 # Code to be used in simple compile tests
9021 lt_simple_compile_test_code="int some_variable = 0;"
9022
9023 # Code to be used in simple link tests
9024 lt_simple_link_test_code='int main(){return(0);}'
9025
9026
9027
9028
9029
9030
9031
9032 # If no C compiler was specified, use CC.
9033 LTCC=${LTCC-"$CC"}
9034
9035 # If no C compiler flags were specified, use CFLAGS.
9036 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9037
9038 # Allow CC to be a program name with arguments.
9039 compiler=$CC
9040
9041 # Save the default compiler, since it gets overwritten when the other
9042 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9043 compiler_DEFAULT=$CC
9044
9045 # save warnings/boilerplate of simple test code
9046 ac_outfile=conftest.$ac_objext
9047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9049 _lt_compiler_boilerplate=`cat conftest.err`
9050 $RM conftest*
9051
9052 ac_outfile=conftest.$ac_objext
9053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9055 _lt_linker_boilerplate=`cat conftest.err`
9056 $RM -r conftest*
9057
9058
9059 ## CAVEAT EMPTOR:
9060 ## There is no encapsulation within the following macros, do not change
9061 ## the running order or otherwise move them around unless you know exactly
9062 ## what you are doing...
9063 if test -n "$compiler"; then
9064
9065 lt_prog_compiler_no_builtin_flag=
9066
9067 if test "$GCC" = yes; then
9068   case $cc_basename in
9069   nvcc*)
9070     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9071   *)
9072     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9073   esac
9074
9075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9076 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9077 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9078   $as_echo_n "(cached) " >&6
9079 else
9080   lt_cv_prog_compiler_rtti_exceptions=no
9081    ac_outfile=conftest.$ac_objext
9082    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9083    lt_compiler_flag="-fno-rtti -fno-exceptions"
9084    # Insert the option either (1) after the last *FLAGS variable, or
9085    # (2) before a word containing "conftest.", or (3) at the end.
9086    # Note that $ac_compile itself does not contain backslashes and begins
9087    # with a dollar sign (not a hyphen), so the echo should work correctly.
9088    # The option is referenced via a variable to avoid confusing sed.
9089    lt_compile=`echo "$ac_compile" | $SED \
9090    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9091    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9092    -e 's:$: $lt_compiler_flag:'`
9093    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9094    (eval "$lt_compile" 2>conftest.err)
9095    ac_status=$?
9096    cat conftest.err >&5
9097    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098    if (exit $ac_status) && test -s "$ac_outfile"; then
9099      # The compiler can only warn and ignore the option if not recognized
9100      # So say no if there are warnings other than the usual output.
9101      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9102      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9103      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9104        lt_cv_prog_compiler_rtti_exceptions=yes
9105      fi
9106    fi
9107    $RM conftest*
9108
9109 fi
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9111 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9112
9113 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9114     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9115 else
9116     :
9117 fi
9118
9119 fi
9120
9121
9122
9123
9124
9125
9126   lt_prog_compiler_wl=
9127 lt_prog_compiler_pic=
9128 lt_prog_compiler_static=
9129
9130
9131   if test "$GCC" = yes; then
9132     lt_prog_compiler_wl='-Wl,'
9133     lt_prog_compiler_static='-static'
9134
9135     case $host_os in
9136       aix*)
9137       # All AIX code is PIC.
9138       if test "$host_cpu" = ia64; then
9139         # AIX 5 now supports IA64 processor
9140         lt_prog_compiler_static='-Bstatic'
9141       fi
9142       ;;
9143
9144     amigaos*)
9145       case $host_cpu in
9146       powerpc)
9147             # see comment about AmigaOS4 .so support
9148             lt_prog_compiler_pic='-fPIC'
9149         ;;
9150       m68k)
9151             # FIXME: we need at least 68020 code to build shared libraries, but
9152             # adding the `-m68020' flag to GCC prevents building anything better,
9153             # like `-m68040'.
9154             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9155         ;;
9156       esac
9157       ;;
9158
9159     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9160       # PIC is the default for these OSes.
9161       ;;
9162
9163     mingw* | cygwin* | pw32* | os2* | cegcc*)
9164       # This hack is so that the source file can tell whether it is being
9165       # built for inclusion in a dll (and should export symbols for example).
9166       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9167       # (--disable-auto-import) libraries
9168       lt_prog_compiler_pic='-DDLL_EXPORT'
9169       ;;
9170
9171     darwin* | rhapsody*)
9172       # PIC is the default on this platform
9173       # Common symbols not allowed in MH_DYLIB files
9174       lt_prog_compiler_pic='-fno-common'
9175       ;;
9176
9177     haiku*)
9178       # PIC is the default for Haiku.
9179       # The "-static" flag exists, but is broken.
9180       lt_prog_compiler_static=
9181       ;;
9182
9183     hpux*)
9184       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9185       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9186       # sets the default TLS model and affects inlining.
9187       case $host_cpu in
9188       hppa*64*)
9189         # +Z the default
9190         ;;
9191       *)
9192         lt_prog_compiler_pic='-fPIC'
9193         ;;
9194       esac
9195       ;;
9196
9197     interix[3-9]*)
9198       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9199       # Instead, we relocate shared libraries at runtime.
9200       ;;
9201
9202     msdosdjgpp*)
9203       # Just because we use GCC doesn't mean we suddenly get shared libraries
9204       # on systems that don't support them.
9205       lt_prog_compiler_can_build_shared=no
9206       enable_shared=no
9207       ;;
9208
9209     *nto* | *qnx*)
9210       # QNX uses GNU C++, but need to define -shared option too, otherwise
9211       # it will coredump.
9212       lt_prog_compiler_pic='-fPIC -shared'
9213       ;;
9214
9215     sysv4*MP*)
9216       if test -d /usr/nec; then
9217         lt_prog_compiler_pic=-Kconform_pic
9218       fi
9219       ;;
9220
9221     *)
9222       lt_prog_compiler_pic='-fPIC'
9223       ;;
9224     esac
9225
9226     case $cc_basename in
9227     nvcc*) # Cuda Compiler Driver 2.2
9228       lt_prog_compiler_wl='-Xlinker '
9229       if test -n "$lt_prog_compiler_pic"; then
9230         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9231       fi
9232       ;;
9233     esac
9234   else
9235     # PORTME Check for flag to pass linker flags through the system compiler.
9236     case $host_os in
9237     aix*)
9238       lt_prog_compiler_wl='-Wl,'
9239       if test "$host_cpu" = ia64; then
9240         # AIX 5 now supports IA64 processor
9241         lt_prog_compiler_static='-Bstatic'
9242       else
9243         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9244       fi
9245       ;;
9246
9247     mingw* | cygwin* | pw32* | os2* | cegcc*)
9248       # This hack is so that the source file can tell whether it is being
9249       # built for inclusion in a dll (and should export symbols for example).
9250       lt_prog_compiler_pic='-DDLL_EXPORT'
9251       ;;
9252
9253     hpux9* | hpux10* | hpux11*)
9254       lt_prog_compiler_wl='-Wl,'
9255       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9256       # not for PA HP-UX.
9257       case $host_cpu in
9258       hppa*64*|ia64*)
9259         # +Z the default
9260         ;;
9261       *)
9262         lt_prog_compiler_pic='+Z'
9263         ;;
9264       esac
9265       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9266       lt_prog_compiler_static='${wl}-a ${wl}archive'
9267       ;;
9268
9269     irix5* | irix6* | nonstopux*)
9270       lt_prog_compiler_wl='-Wl,'
9271       # PIC (with -KPIC) is the default.
9272       lt_prog_compiler_static='-non_shared'
9273       ;;
9274
9275     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9276       case $cc_basename in
9277       # old Intel for x86_64 which still supported -KPIC.
9278       ecc*)
9279         lt_prog_compiler_wl='-Wl,'
9280         lt_prog_compiler_pic='-KPIC'
9281         lt_prog_compiler_static='-static'
9282         ;;
9283       # icc used to be incompatible with GCC.
9284       # ICC 10 doesn't accept -KPIC any more.
9285       icc* | ifort*)
9286         lt_prog_compiler_wl='-Wl,'
9287         lt_prog_compiler_pic='-fPIC'
9288         lt_prog_compiler_static='-static'
9289         ;;
9290       # Lahey Fortran 8.1.
9291       lf95*)
9292         lt_prog_compiler_wl='-Wl,'
9293         lt_prog_compiler_pic='--shared'
9294         lt_prog_compiler_static='--static'
9295         ;;
9296       nagfor*)
9297         # NAG Fortran compiler
9298         lt_prog_compiler_wl='-Wl,-Wl,,'
9299         lt_prog_compiler_pic='-PIC'
9300         lt_prog_compiler_static='-Bstatic'
9301         ;;
9302       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9303         # Portland Group compilers (*not* the Pentium gcc compiler,
9304         # which looks to be a dead project)
9305         lt_prog_compiler_wl='-Wl,'
9306         lt_prog_compiler_pic='-fpic'
9307         lt_prog_compiler_static='-Bstatic'
9308         ;;
9309       ccc*)
9310         lt_prog_compiler_wl='-Wl,'
9311         # All Alpha code is PIC.
9312         lt_prog_compiler_static='-non_shared'
9313         ;;
9314       xl* | bgxl* | bgf* | mpixl*)
9315         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9316         lt_prog_compiler_wl='-Wl,'
9317         lt_prog_compiler_pic='-qpic'
9318         lt_prog_compiler_static='-qstaticlink'
9319         ;;
9320       *)
9321         case `$CC -V 2>&1 | sed 5q` in
9322         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9323           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9324           lt_prog_compiler_pic='-KPIC'
9325           lt_prog_compiler_static='-Bstatic'
9326           lt_prog_compiler_wl=''
9327           ;;
9328         *Sun\ F* | *Sun*Fortran*)
9329           lt_prog_compiler_pic='-KPIC'
9330           lt_prog_compiler_static='-Bstatic'
9331           lt_prog_compiler_wl='-Qoption ld '
9332           ;;
9333         *Sun\ C*)
9334           # Sun C 5.9
9335           lt_prog_compiler_pic='-KPIC'
9336           lt_prog_compiler_static='-Bstatic'
9337           lt_prog_compiler_wl='-Wl,'
9338           ;;
9339         *Intel*\ [CF]*Compiler*)
9340           lt_prog_compiler_wl='-Wl,'
9341           lt_prog_compiler_pic='-fPIC'
9342           lt_prog_compiler_static='-static'
9343           ;;
9344         *Portland\ Group*)
9345           lt_prog_compiler_wl='-Wl,'
9346           lt_prog_compiler_pic='-fpic'
9347           lt_prog_compiler_static='-Bstatic'
9348           ;;
9349         esac
9350         ;;
9351       esac
9352       ;;
9353
9354     newsos6)
9355       lt_prog_compiler_pic='-KPIC'
9356       lt_prog_compiler_static='-Bstatic'
9357       ;;
9358
9359     *nto* | *qnx*)
9360       # QNX uses GNU C++, but need to define -shared option too, otherwise
9361       # it will coredump.
9362       lt_prog_compiler_pic='-fPIC -shared'
9363       ;;
9364
9365     osf3* | osf4* | osf5*)
9366       lt_prog_compiler_wl='-Wl,'
9367       # All OSF/1 code is PIC.
9368       lt_prog_compiler_static='-non_shared'
9369       ;;
9370
9371     rdos*)
9372       lt_prog_compiler_static='-non_shared'
9373       ;;
9374
9375     solaris*)
9376       lt_prog_compiler_pic='-KPIC'
9377       lt_prog_compiler_static='-Bstatic'
9378       case $cc_basename in
9379       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9380         lt_prog_compiler_wl='-Qoption ld ';;
9381       *)
9382         lt_prog_compiler_wl='-Wl,';;
9383       esac
9384       ;;
9385
9386     sunos4*)
9387       lt_prog_compiler_wl='-Qoption ld '
9388       lt_prog_compiler_pic='-PIC'
9389       lt_prog_compiler_static='-Bstatic'
9390       ;;
9391
9392     sysv4 | sysv4.2uw2* | sysv4.3*)
9393       lt_prog_compiler_wl='-Wl,'
9394       lt_prog_compiler_pic='-KPIC'
9395       lt_prog_compiler_static='-Bstatic'
9396       ;;
9397
9398     sysv4*MP*)
9399       if test -d /usr/nec ;then
9400         lt_prog_compiler_pic='-Kconform_pic'
9401         lt_prog_compiler_static='-Bstatic'
9402       fi
9403       ;;
9404
9405     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9406       lt_prog_compiler_wl='-Wl,'
9407       lt_prog_compiler_pic='-KPIC'
9408       lt_prog_compiler_static='-Bstatic'
9409       ;;
9410
9411     unicos*)
9412       lt_prog_compiler_wl='-Wl,'
9413       lt_prog_compiler_can_build_shared=no
9414       ;;
9415
9416     uts4*)
9417       lt_prog_compiler_pic='-pic'
9418       lt_prog_compiler_static='-Bstatic'
9419       ;;
9420
9421     *)
9422       lt_prog_compiler_can_build_shared=no
9423       ;;
9424     esac
9425   fi
9426
9427 case $host_os in
9428   # For platforms which do not support PIC, -DPIC is meaningless:
9429   *djgpp*)
9430     lt_prog_compiler_pic=
9431     ;;
9432   *)
9433     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9434     ;;
9435 esac
9436
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9438 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9439 if ${lt_cv_prog_compiler_pic+:} false; then :
9440   $as_echo_n "(cached) " >&6
9441 else
9442   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9443 fi
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9445 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9446 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9447
9448 #
9449 # Check to make sure the PIC flag actually works.
9450 #
9451 if test -n "$lt_prog_compiler_pic"; then
9452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9453 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9454 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9455   $as_echo_n "(cached) " >&6
9456 else
9457   lt_cv_prog_compiler_pic_works=no
9458    ac_outfile=conftest.$ac_objext
9459    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9460    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9461    # Insert the option either (1) after the last *FLAGS variable, or
9462    # (2) before a word containing "conftest.", or (3) at the end.
9463    # Note that $ac_compile itself does not contain backslashes and begins
9464    # with a dollar sign (not a hyphen), so the echo should work correctly.
9465    # The option is referenced via a variable to avoid confusing sed.
9466    lt_compile=`echo "$ac_compile" | $SED \
9467    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9468    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9469    -e 's:$: $lt_compiler_flag:'`
9470    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9471    (eval "$lt_compile" 2>conftest.err)
9472    ac_status=$?
9473    cat conftest.err >&5
9474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475    if (exit $ac_status) && test -s "$ac_outfile"; then
9476      # The compiler can only warn and ignore the option if not recognized
9477      # So say no if there are warnings other than the usual output.
9478      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9479      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9480      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9481        lt_cv_prog_compiler_pic_works=yes
9482      fi
9483    fi
9484    $RM conftest*
9485
9486 fi
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9488 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9489
9490 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9491     case $lt_prog_compiler_pic in
9492      "" | " "*) ;;
9493      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9494      esac
9495 else
9496     lt_prog_compiler_pic=
9497      lt_prog_compiler_can_build_shared=no
9498 fi
9499
9500 fi
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512 #
9513 # Check to make sure the static flag actually works.
9514 #
9515 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9517 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9518 if ${lt_cv_prog_compiler_static_works+:} false; then :
9519   $as_echo_n "(cached) " >&6
9520 else
9521   lt_cv_prog_compiler_static_works=no
9522    save_LDFLAGS="$LDFLAGS"
9523    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9524    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9525    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9526      # The linker can only warn and ignore the option if not recognized
9527      # So say no if there are warnings
9528      if test -s conftest.err; then
9529        # Append any errors to the config.log.
9530        cat conftest.err 1>&5
9531        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9532        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9533        if diff conftest.exp conftest.er2 >/dev/null; then
9534          lt_cv_prog_compiler_static_works=yes
9535        fi
9536      else
9537        lt_cv_prog_compiler_static_works=yes
9538      fi
9539    fi
9540    $RM -r conftest*
9541    LDFLAGS="$save_LDFLAGS"
9542
9543 fi
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9545 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9546
9547 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9548     :
9549 else
9550     lt_prog_compiler_static=
9551 fi
9552
9553
9554
9555
9556
9557
9558
9559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9560 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9561 if ${lt_cv_prog_compiler_c_o+:} false; then :
9562   $as_echo_n "(cached) " >&6
9563 else
9564   lt_cv_prog_compiler_c_o=no
9565    $RM -r conftest 2>/dev/null
9566    mkdir conftest
9567    cd conftest
9568    mkdir out
9569    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9570
9571    lt_compiler_flag="-o out/conftest2.$ac_objext"
9572    # Insert the option either (1) after the last *FLAGS variable, or
9573    # (2) before a word containing "conftest.", or (3) at the end.
9574    # Note that $ac_compile itself does not contain backslashes and begins
9575    # with a dollar sign (not a hyphen), so the echo should work correctly.
9576    lt_compile=`echo "$ac_compile" | $SED \
9577    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9578    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9579    -e 's:$: $lt_compiler_flag:'`
9580    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9581    (eval "$lt_compile" 2>out/conftest.err)
9582    ac_status=$?
9583    cat out/conftest.err >&5
9584    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9586    then
9587      # The compiler can only warn and ignore the option if not recognized
9588      # So say no if there are warnings
9589      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9590      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9591      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9592        lt_cv_prog_compiler_c_o=yes
9593      fi
9594    fi
9595    chmod u+w . 2>&5
9596    $RM conftest*
9597    # SGI C++ compiler will create directory out/ii_files/ for
9598    # template instantiation
9599    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9600    $RM out/* && rmdir out
9601    cd ..
9602    $RM -r conftest
9603    $RM conftest*
9604
9605 fi
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9607 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9608
9609
9610
9611
9612
9613
9614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9615 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9616 if ${lt_cv_prog_compiler_c_o+:} false; then :
9617   $as_echo_n "(cached) " >&6
9618 else
9619   lt_cv_prog_compiler_c_o=no
9620    $RM -r conftest 2>/dev/null
9621    mkdir conftest
9622    cd conftest
9623    mkdir out
9624    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9625
9626    lt_compiler_flag="-o out/conftest2.$ac_objext"
9627    # Insert the option either (1) after the last *FLAGS variable, or
9628    # (2) before a word containing "conftest.", or (3) at the end.
9629    # Note that $ac_compile itself does not contain backslashes and begins
9630    # with a dollar sign (not a hyphen), so the echo should work correctly.
9631    lt_compile=`echo "$ac_compile" | $SED \
9632    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9633    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9634    -e 's:$: $lt_compiler_flag:'`
9635    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9636    (eval "$lt_compile" 2>out/conftest.err)
9637    ac_status=$?
9638    cat out/conftest.err >&5
9639    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9641    then
9642      # The compiler can only warn and ignore the option if not recognized
9643      # So say no if there are warnings
9644      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9645      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9646      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9647        lt_cv_prog_compiler_c_o=yes
9648      fi
9649    fi
9650    chmod u+w . 2>&5
9651    $RM conftest*
9652    # SGI C++ compiler will create directory out/ii_files/ for
9653    # template instantiation
9654    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9655    $RM out/* && rmdir out
9656    cd ..
9657    $RM -r conftest
9658    $RM conftest*
9659
9660 fi
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9662 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9663
9664
9665
9666
9667 hard_links="nottested"
9668 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9669   # do not overwrite the value of need_locks provided by the user
9670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9671 $as_echo_n "checking if we can lock with hard links... " >&6; }
9672   hard_links=yes
9673   $RM conftest*
9674   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9675   touch conftest.a
9676   ln conftest.a conftest.b 2>&5 || hard_links=no
9677   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9679 $as_echo "$hard_links" >&6; }
9680   if test "$hard_links" = no; then
9681     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9682 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9683     need_locks=warn
9684   fi
9685 else
9686   need_locks=no
9687 fi
9688
9689
9690
9691
9692
9693
9694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9695 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9696
9697   runpath_var=
9698   allow_undefined_flag=
9699   always_export_symbols=no
9700   archive_cmds=
9701   archive_expsym_cmds=
9702   compiler_needs_object=no
9703   enable_shared_with_static_runtimes=no
9704   export_dynamic_flag_spec=
9705   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9706   hardcode_automatic=no
9707   hardcode_direct=no
9708   hardcode_direct_absolute=no
9709   hardcode_libdir_flag_spec=
9710   hardcode_libdir_separator=
9711   hardcode_minus_L=no
9712   hardcode_shlibpath_var=unsupported
9713   inherit_rpath=no
9714   link_all_deplibs=unknown
9715   module_cmds=
9716   module_expsym_cmds=
9717   old_archive_from_new_cmds=
9718   old_archive_from_expsyms_cmds=
9719   thread_safe_flag_spec=
9720   whole_archive_flag_spec=
9721   # include_expsyms should be a list of space-separated symbols to be *always*
9722   # included in the symbol list
9723   include_expsyms=
9724   # exclude_expsyms can be an extended regexp of symbols to exclude
9725   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9726   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9727   # as well as any symbol that contains `d'.
9728   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9729   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9730   # platforms (ab)use it in PIC code, but their linkers get confused if
9731   # the symbol is explicitly referenced.  Since portable code cannot
9732   # rely on this symbol name, it's probably fine to never include it in
9733   # preloaded symbol tables.
9734   # Exclude shared library initialization/finalization symbols.
9735   extract_expsyms_cmds=
9736
9737   case $host_os in
9738   cygwin* | mingw* | pw32* | cegcc*)
9739     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9740     # When not using gcc, we currently assume that we are using
9741     # Microsoft Visual C++.
9742     if test "$GCC" != yes; then
9743       with_gnu_ld=no
9744     fi
9745     ;;
9746   interix*)
9747     # we just hope/assume this is gcc and not c89 (= MSVC++)
9748     with_gnu_ld=yes
9749     ;;
9750   openbsd*)
9751     with_gnu_ld=no
9752     ;;
9753   esac
9754
9755   ld_shlibs=yes
9756
9757   # On some targets, GNU ld is compatible enough with the native linker
9758   # that we're better off using the native interface for both.
9759   lt_use_gnu_ld_interface=no
9760   if test "$with_gnu_ld" = yes; then
9761     case $host_os in
9762       aix*)
9763         # The AIX port of GNU ld has always aspired to compatibility
9764         # with the native linker.  However, as the warning in the GNU ld
9765         # block says, versions before 2.19.5* couldn't really create working
9766         # shared libraries, regardless of the interface used.
9767         case `$LD -v 2>&1` in
9768           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9769           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9770           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9771           *)
9772             lt_use_gnu_ld_interface=yes
9773             ;;
9774         esac
9775         ;;
9776       *)
9777         lt_use_gnu_ld_interface=yes
9778         ;;
9779     esac
9780   fi
9781
9782   if test "$lt_use_gnu_ld_interface" = yes; then
9783     # If archive_cmds runs LD, not CC, wlarc should be empty
9784     wlarc='${wl}'
9785
9786     # Set some defaults for GNU ld with shared library support. These
9787     # are reset later if shared libraries are not supported. Putting them
9788     # here allows them to be overridden if necessary.
9789     runpath_var=LD_RUN_PATH
9790     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9791     export_dynamic_flag_spec='${wl}--export-dynamic'
9792     # ancient GNU ld didn't support --whole-archive et. al.
9793     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9794       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9795     else
9796       whole_archive_flag_spec=
9797     fi
9798     supports_anon_versioning=no
9799     case `$LD -v 2>&1` in
9800       *GNU\ gold*) supports_anon_versioning=yes ;;
9801       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9802       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9803       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9804       *\ 2.11.*) ;; # other 2.11 versions
9805       *) supports_anon_versioning=yes ;;
9806     esac
9807
9808     # See if GNU ld supports shared libraries.
9809     case $host_os in
9810     aix[3-9]*)
9811       # On AIX/PPC, the GNU linker is very broken
9812       if test "$host_cpu" != ia64; then
9813         ld_shlibs=no
9814         cat <<_LT_EOF 1>&2
9815
9816 *** Warning: the GNU linker, at least up to release 2.19, is reported
9817 *** to be unable to reliably create shared libraries on AIX.
9818 *** Therefore, libtool is disabling shared libraries support.  If you
9819 *** really care for shared libraries, you may want to install binutils
9820 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9821 *** You will then need to restart the configuration process.
9822
9823 _LT_EOF
9824       fi
9825       ;;
9826
9827     amigaos*)
9828       case $host_cpu in
9829       powerpc)
9830             # see comment about AmigaOS4 .so support
9831             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9832             archive_expsym_cmds=''
9833         ;;
9834       m68k)
9835             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)'
9836             hardcode_libdir_flag_spec='-L$libdir'
9837             hardcode_minus_L=yes
9838         ;;
9839       esac
9840       ;;
9841
9842     beos*)
9843       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9844         allow_undefined_flag=unsupported
9845         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9846         # support --undefined.  This deserves some investigation.  FIXME
9847         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9848       else
9849         ld_shlibs=no
9850       fi
9851       ;;
9852
9853     cygwin* | mingw* | pw32* | cegcc*)
9854       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9855       # as there is no search path for DLLs.
9856       hardcode_libdir_flag_spec='-L$libdir'
9857       export_dynamic_flag_spec='${wl}--export-all-symbols'
9858       allow_undefined_flag=unsupported
9859       always_export_symbols=no
9860       enable_shared_with_static_runtimes=yes
9861       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'
9862       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9863
9864       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9865         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866         # If the export-symbols file already is a .def file (1st line
9867         # is EXPORTS), use it as is; otherwise, prepend...
9868         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9869           cp $export_symbols $output_objdir/$soname.def;
9870         else
9871           echo EXPORTS > $output_objdir/$soname.def;
9872           cat $export_symbols >> $output_objdir/$soname.def;
9873         fi~
9874         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9875       else
9876         ld_shlibs=no
9877       fi
9878       ;;
9879
9880     haiku*)
9881       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9882       link_all_deplibs=yes
9883       ;;
9884
9885     interix[3-9]*)
9886       hardcode_direct=no
9887       hardcode_shlibpath_var=no
9888       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9889       export_dynamic_flag_spec='${wl}-E'
9890       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9891       # Instead, shared libraries are loaded at an image base (0x10000000 by
9892       # default) and relocated if they conflict, which is a slow very memory
9893       # consuming and fragmenting process.  To avoid this, we pick a random,
9894       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9895       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9896       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9897       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'
9898       ;;
9899
9900     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9901       tmp_diet=no
9902       if test "$host_os" = linux-dietlibc; then
9903         case $cc_basename in
9904           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9905         esac
9906       fi
9907       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9908          && test "$tmp_diet" = no
9909       then
9910         tmp_addflag=' $pic_flag'
9911         tmp_sharedflag='-shared'
9912         case $cc_basename,$host_cpu in
9913         pgcc*)                          # Portland Group C compiler
9914           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'
9915           tmp_addflag=' $pic_flag'
9916           ;;
9917         pgf77* | pgf90* | pgf95* | pgfortran*)
9918                                         # Portland Group f77 and f90 compilers
9919           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'
9920           tmp_addflag=' $pic_flag -Mnomain' ;;
9921         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9922           tmp_addflag=' -i_dynamic' ;;
9923         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9924           tmp_addflag=' -i_dynamic -nofor_main' ;;
9925         ifc* | ifort*)                  # Intel Fortran compiler
9926           tmp_addflag=' -nofor_main' ;;
9927         lf95*)                          # Lahey Fortran 8.1
9928           whole_archive_flag_spec=
9929           tmp_sharedflag='--shared' ;;
9930         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9931           tmp_sharedflag='-qmkshrobj'
9932           tmp_addflag= ;;
9933         nvcc*)  # Cuda Compiler Driver 2.2
9934           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'
9935           compiler_needs_object=yes
9936           ;;
9937         esac
9938         case `$CC -V 2>&1 | sed 5q` in
9939         *Sun\ C*)                       # Sun C 5.9
9940           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'
9941           compiler_needs_object=yes
9942           tmp_sharedflag='-G' ;;
9943         *Sun\ F*)                       # Sun Fortran 8.3
9944           tmp_sharedflag='-G' ;;
9945         esac
9946         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9947
9948         if test "x$supports_anon_versioning" = xyes; then
9949           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9950             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9951             echo "local: *; };" >> $output_objdir/$libname.ver~
9952             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9953         fi
9954
9955         case $cc_basename in
9956         xlf* | bgf* | bgxlf* | mpixlf*)
9957           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9958           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9959           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9960           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9961           if test "x$supports_anon_versioning" = xyes; then
9962             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9963               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9964               echo "local: *; };" >> $output_objdir/$libname.ver~
9965               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9966           fi
9967           ;;
9968         esac
9969       else
9970         ld_shlibs=no
9971       fi
9972       ;;
9973
9974     netbsd*)
9975       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9976         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9977         wlarc=
9978       else
9979         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9981       fi
9982       ;;
9983
9984     solaris*)
9985       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9986         ld_shlibs=no
9987         cat <<_LT_EOF 1>&2
9988
9989 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9990 *** create shared libraries on Solaris systems.  Therefore, libtool
9991 *** is disabling shared libraries support.  We urge you to upgrade GNU
9992 *** binutils to release 2.9.1 or newer.  Another option is to modify
9993 *** your PATH or compiler configuration so that the native linker is
9994 *** used, and then restart.
9995
9996 _LT_EOF
9997       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9998         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9999         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10000       else
10001         ld_shlibs=no
10002       fi
10003       ;;
10004
10005     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10006       case `$LD -v 2>&1` in
10007         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10008         ld_shlibs=no
10009         cat <<_LT_EOF 1>&2
10010
10011 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10012 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10013 *** is disabling shared libraries support.  We urge you to upgrade GNU
10014 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10015 *** your PATH or compiler configuration so that the native linker is
10016 *** used, and then restart.
10017
10018 _LT_EOF
10019         ;;
10020         *)
10021           # For security reasons, it is highly recommended that you always
10022           # use absolute paths for naming shared libraries, and exclude the
10023           # DT_RUNPATH tag from executables and libraries.  But doing so
10024           # requires that you compile everything twice, which is a pain.
10025           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10026             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10027             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10029           else
10030             ld_shlibs=no
10031           fi
10032         ;;
10033       esac
10034       ;;
10035
10036     sunos4*)
10037       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10038       wlarc=
10039       hardcode_direct=yes
10040       hardcode_shlibpath_var=no
10041       ;;
10042
10043     *)
10044       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10045         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10046         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10047       else
10048         ld_shlibs=no
10049       fi
10050       ;;
10051     esac
10052
10053     if test "$ld_shlibs" = no; then
10054       runpath_var=
10055       hardcode_libdir_flag_spec=
10056       export_dynamic_flag_spec=
10057       whole_archive_flag_spec=
10058     fi
10059   else
10060     # PORTME fill in a description of your system's linker (not GNU ld)
10061     case $host_os in
10062     aix3*)
10063       allow_undefined_flag=unsupported
10064       always_export_symbols=yes
10065       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'
10066       # Note: this linker hardcodes the directories in LIBPATH if there
10067       # are no directories specified by -L.
10068       hardcode_minus_L=yes
10069       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10070         # Neither direct hardcoding nor static linking is supported with a
10071         # broken collect2.
10072         hardcode_direct=unsupported
10073       fi
10074       ;;
10075
10076     aix[4-9]*)
10077       if test "$host_cpu" = ia64; then
10078         # On IA64, the linker does run time linking by default, so we don't
10079         # have to do anything special.
10080         aix_use_runtimelinking=no
10081         exp_sym_flag='-Bexport'
10082         no_entry_flag=""
10083       else
10084         # If we're using GNU nm, then we don't want the "-C" option.
10085         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10086         # Also, AIX nm treats weak defined symbols like other global
10087         # defined symbols, whereas GNU nm marks them as "W".
10088         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10089           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'
10090         else
10091           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'
10092         fi
10093         aix_use_runtimelinking=no
10094
10095         # Test if we are trying to use run time linking or normal
10096         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10097         # need to do runtime linking.
10098         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10099           for ld_flag in $LDFLAGS; do
10100           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10101             aix_use_runtimelinking=yes
10102             break
10103           fi
10104           done
10105           ;;
10106         esac
10107
10108         exp_sym_flag='-bexport'
10109         no_entry_flag='-bnoentry'
10110       fi
10111
10112       # When large executables or shared objects are built, AIX ld can
10113       # have problems creating the table of contents.  If linking a library
10114       # or program results in "error TOC overflow" add -mminimal-toc to
10115       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10116       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10117
10118       archive_cmds=''
10119       hardcode_direct=yes
10120       hardcode_direct_absolute=yes
10121       hardcode_libdir_separator=':'
10122       link_all_deplibs=yes
10123       file_list_spec='${wl}-f,'
10124
10125       if test "$GCC" = yes; then
10126         case $host_os in aix4.[012]|aix4.[012].*)
10127         # We only want to do this on AIX 4.2 and lower, the check
10128         # below for broken collect2 doesn't work under 4.3+
10129           collect2name=`${CC} -print-prog-name=collect2`
10130           if test -f "$collect2name" &&
10131            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10132           then
10133           # We have reworked collect2
10134           :
10135           else
10136           # We have old collect2
10137           hardcode_direct=unsupported
10138           # It fails to find uninstalled libraries when the uninstalled
10139           # path is not listed in the libpath.  Setting hardcode_minus_L
10140           # to unsupported forces relinking
10141           hardcode_minus_L=yes
10142           hardcode_libdir_flag_spec='-L$libdir'
10143           hardcode_libdir_separator=
10144           fi
10145           ;;
10146         esac
10147         shared_flag='-shared'
10148         if test "$aix_use_runtimelinking" = yes; then
10149           shared_flag="$shared_flag "'${wl}-G'
10150         fi
10151       else
10152         # not using gcc
10153         if test "$host_cpu" = ia64; then
10154         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10155         # chokes on -Wl,-G. The following line is correct:
10156           shared_flag='-G'
10157         else
10158           if test "$aix_use_runtimelinking" = yes; then
10159             shared_flag='${wl}-G'
10160           else
10161             shared_flag='${wl}-bM:SRE'
10162           fi
10163         fi
10164       fi
10165
10166       export_dynamic_flag_spec='${wl}-bexpall'
10167       # It seems that -bexpall does not export symbols beginning with
10168       # underscore (_), so it is better to generate a list of symbols to export.
10169       always_export_symbols=yes
10170       if test "$aix_use_runtimelinking" = yes; then
10171         # Warning - without using the other runtime loading flags (-brtl),
10172         # -berok will link without error, but may produce a broken library.
10173         allow_undefined_flag='-berok'
10174         # Determine the default libpath from the value encoded in an
10175         # empty executable.
10176         if test "${lt_cv_aix_libpath+set}" = set; then
10177   aix_libpath=$lt_cv_aix_libpath
10178 else
10179   if ${lt_cv_aix_libpath_+:} false; then :
10180   $as_echo_n "(cached) " >&6
10181 else
10182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h.  */
10184
10185 int
10186 main ()
10187 {
10188
10189   ;
10190   return 0;
10191 }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194
10195   lt_aix_libpath_sed='
10196       /Import File Strings/,/^$/ {
10197           /^0/ {
10198               s/^0  *\([^ ]*\) *$/\1/
10199               p
10200           }
10201       }'
10202   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10203   # Check for a 64-bit object if we didn't find anything.
10204   if test -z "$lt_cv_aix_libpath_"; then
10205     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10206   fi
10207 fi
10208 rm -f core conftest.err conftest.$ac_objext \
10209     conftest$ac_exeext conftest.$ac_ext
10210   if test -z "$lt_cv_aix_libpath_"; then
10211     lt_cv_aix_libpath_="/usr/lib:/lib"
10212   fi
10213
10214 fi
10215
10216   aix_libpath=$lt_cv_aix_libpath_
10217 fi
10218
10219         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10220         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"
10221       else
10222         if test "$host_cpu" = ia64; then
10223           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10224           allow_undefined_flag="-z nodefs"
10225           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"
10226         else
10227          # Determine the default libpath from the value encoded in an
10228          # empty executable.
10229          if test "${lt_cv_aix_libpath+set}" = set; then
10230   aix_libpath=$lt_cv_aix_libpath
10231 else
10232   if ${lt_cv_aix_libpath_+:} false; then :
10233   $as_echo_n "(cached) " >&6
10234 else
10235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h.  */
10237
10238 int
10239 main ()
10240 {
10241
10242   ;
10243   return 0;
10244 }
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"; then :
10247
10248   lt_aix_libpath_sed='
10249       /Import File Strings/,/^$/ {
10250           /^0/ {
10251               s/^0  *\([^ ]*\) *$/\1/
10252               p
10253           }
10254       }'
10255   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10256   # Check for a 64-bit object if we didn't find anything.
10257   if test -z "$lt_cv_aix_libpath_"; then
10258     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10259   fi
10260 fi
10261 rm -f core conftest.err conftest.$ac_objext \
10262     conftest$ac_exeext conftest.$ac_ext
10263   if test -z "$lt_cv_aix_libpath_"; then
10264     lt_cv_aix_libpath_="/usr/lib:/lib"
10265   fi
10266
10267 fi
10268
10269   aix_libpath=$lt_cv_aix_libpath_
10270 fi
10271
10272          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10273           # Warning - without using the other run time loading flags,
10274           # -berok will link without error, but may produce a broken library.
10275           no_undefined_flag=' ${wl}-bernotok'
10276           allow_undefined_flag=' ${wl}-berok'
10277           if test "$with_gnu_ld" = yes; then
10278             # We only use this code for GNU lds that support --whole-archive.
10279             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10280           else
10281             # Exported symbols can be pulled into shared objects from archives
10282             whole_archive_flag_spec='$convenience'
10283           fi
10284           archive_cmds_need_lc=yes
10285           # This is similar to how AIX traditionally builds its shared libraries.
10286           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'
10287         fi
10288       fi
10289       ;;
10290
10291     amigaos*)
10292       case $host_cpu in
10293       powerpc)
10294             # see comment about AmigaOS4 .so support
10295             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10296             archive_expsym_cmds=''
10297         ;;
10298       m68k)
10299             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)'
10300             hardcode_libdir_flag_spec='-L$libdir'
10301             hardcode_minus_L=yes
10302         ;;
10303       esac
10304       ;;
10305
10306     bsdi[45]*)
10307       export_dynamic_flag_spec=-rdynamic
10308       ;;
10309
10310     cygwin* | mingw* | pw32* | cegcc*)
10311       # When not using gcc, we currently assume that we are using
10312       # Microsoft Visual C++.
10313       # hardcode_libdir_flag_spec is actually meaningless, as there is
10314       # no search path for DLLs.
10315       case $cc_basename in
10316       cl*)
10317         # Native MSVC
10318         hardcode_libdir_flag_spec=' '
10319         allow_undefined_flag=unsupported
10320         always_export_symbols=yes
10321         file_list_spec='@'
10322         # Tell ltmain to make .lib files, not .a files.
10323         libext=lib
10324         # Tell ltmain to make .dll files, not .so files.
10325         shrext_cmds=".dll"
10326         # FIXME: Setting linknames here is a bad hack.
10327         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10328         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10329             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10330           else
10331             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10332           fi~
10333           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10334           linknames='
10335         # The linker will not automatically build a static lib if we build a DLL.
10336         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10337         enable_shared_with_static_runtimes=yes
10338         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10339         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10340         # Don't use ranlib
10341         old_postinstall_cmds='chmod 644 $oldlib'
10342         postlink_cmds='lt_outputfile="@OUTPUT@"~
10343           lt_tool_outputfile="@TOOL_OUTPUT@"~
10344           case $lt_outputfile in
10345             *.exe|*.EXE) ;;
10346             *)
10347               lt_outputfile="$lt_outputfile.exe"
10348               lt_tool_outputfile="$lt_tool_outputfile.exe"
10349               ;;
10350           esac~
10351           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10352             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10353             $RM "$lt_outputfile.manifest";
10354           fi'
10355         ;;
10356       *)
10357         # Assume MSVC wrapper
10358         hardcode_libdir_flag_spec=' '
10359         allow_undefined_flag=unsupported
10360         # Tell ltmain to make .lib files, not .a files.
10361         libext=lib
10362         # Tell ltmain to make .dll files, not .so files.
10363         shrext_cmds=".dll"
10364         # FIXME: Setting linknames here is a bad hack.
10365         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10366         # The linker will automatically build a .lib file if we build a DLL.
10367         old_archive_from_new_cmds='true'
10368         # FIXME: Should let the user specify the lib program.
10369         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10370         enable_shared_with_static_runtimes=yes
10371         ;;
10372       esac
10373       ;;
10374
10375     darwin* | rhapsody*)
10376
10377
10378   archive_cmds_need_lc=no
10379   hardcode_direct=no
10380   hardcode_automatic=yes
10381   hardcode_shlibpath_var=unsupported
10382   if test "$lt_cv_ld_force_load" = "yes"; then
10383     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\"`'
10384
10385   else
10386     whole_archive_flag_spec=''
10387   fi
10388   link_all_deplibs=yes
10389   allow_undefined_flag="$_lt_dar_allow_undefined"
10390   case $cc_basename in
10391      ifort*) _lt_dar_can_shared=yes ;;
10392      *) _lt_dar_can_shared=$GCC ;;
10393   esac
10394   if test "$_lt_dar_can_shared" = "yes"; then
10395     output_verbose_link_cmd=func_echo_all
10396     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10397     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10398     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}"
10399     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}"
10400
10401   else
10402   ld_shlibs=no
10403   fi
10404
10405       ;;
10406
10407     dgux*)
10408       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10409       hardcode_libdir_flag_spec='-L$libdir'
10410       hardcode_shlibpath_var=no
10411       ;;
10412
10413     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10414     # support.  Future versions do this automatically, but an explicit c++rt0.o
10415     # does not break anything, and helps significantly (at the cost of a little
10416     # extra space).
10417     freebsd2.2*)
10418       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10419       hardcode_libdir_flag_spec='-R$libdir'
10420       hardcode_direct=yes
10421       hardcode_shlibpath_var=no
10422       ;;
10423
10424     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10425     freebsd2.*)
10426       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10427       hardcode_direct=yes
10428       hardcode_minus_L=yes
10429       hardcode_shlibpath_var=no
10430       ;;
10431
10432     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10433     freebsd* | dragonfly*)
10434       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10435       hardcode_libdir_flag_spec='-R$libdir'
10436       hardcode_direct=yes
10437       hardcode_shlibpath_var=no
10438       ;;
10439
10440     hpux9*)
10441       if test "$GCC" = yes; then
10442         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'
10443       else
10444         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'
10445       fi
10446       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10447       hardcode_libdir_separator=:
10448       hardcode_direct=yes
10449
10450       # hardcode_minus_L: Not really in the search PATH,
10451       # but as the default location of the library.
10452       hardcode_minus_L=yes
10453       export_dynamic_flag_spec='${wl}-E'
10454       ;;
10455
10456     hpux10*)
10457       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10458         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10459       else
10460         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10461       fi
10462       if test "$with_gnu_ld" = no; then
10463         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10464         hardcode_libdir_separator=:
10465         hardcode_direct=yes
10466         hardcode_direct_absolute=yes
10467         export_dynamic_flag_spec='${wl}-E'
10468         # hardcode_minus_L: Not really in the search PATH,
10469         # but as the default location of the library.
10470         hardcode_minus_L=yes
10471       fi
10472       ;;
10473
10474     hpux11*)
10475       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10476         case $host_cpu in
10477         hppa*64*)
10478           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10479           ;;
10480         ia64*)
10481           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10482           ;;
10483         *)
10484           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10485           ;;
10486         esac
10487       else
10488         case $host_cpu in
10489         hppa*64*)
10490           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10491           ;;
10492         ia64*)
10493           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10494           ;;
10495         *)
10496
10497           # Older versions of the 11.00 compiler do not understand -b yet
10498           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10499           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10500 $as_echo_n "checking if $CC understands -b... " >&6; }
10501 if ${lt_cv_prog_compiler__b+:} false; then :
10502   $as_echo_n "(cached) " >&6
10503 else
10504   lt_cv_prog_compiler__b=no
10505    save_LDFLAGS="$LDFLAGS"
10506    LDFLAGS="$LDFLAGS -b"
10507    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10508    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10509      # The linker can only warn and ignore the option if not recognized
10510      # So say no if there are warnings
10511      if test -s conftest.err; then
10512        # Append any errors to the config.log.
10513        cat conftest.err 1>&5
10514        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10515        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10516        if diff conftest.exp conftest.er2 >/dev/null; then
10517          lt_cv_prog_compiler__b=yes
10518        fi
10519      else
10520        lt_cv_prog_compiler__b=yes
10521      fi
10522    fi
10523    $RM -r conftest*
10524    LDFLAGS="$save_LDFLAGS"
10525
10526 fi
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10528 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10529
10530 if test x"$lt_cv_prog_compiler__b" = xyes; then
10531     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10532 else
10533     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10534 fi
10535
10536           ;;
10537         esac
10538       fi
10539       if test "$with_gnu_ld" = no; then
10540         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10541         hardcode_libdir_separator=:
10542
10543         case $host_cpu in
10544         hppa*64*|ia64*)
10545           hardcode_direct=no
10546           hardcode_shlibpath_var=no
10547           ;;
10548         *)
10549           hardcode_direct=yes
10550           hardcode_direct_absolute=yes
10551           export_dynamic_flag_spec='${wl}-E'
10552
10553           # hardcode_minus_L: Not really in the search PATH,
10554           # but as the default location of the library.
10555           hardcode_minus_L=yes
10556           ;;
10557         esac
10558       fi
10559       ;;
10560
10561     irix5* | irix6* | nonstopux*)
10562       if test "$GCC" = yes; then
10563         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'
10564         # Try to use the -exported_symbol ld option, if it does not
10565         # work, assume that -exports_file does not work either and
10566         # implicitly export all symbols.
10567         # This should be the same for all languages, so no per-tag cache variable.
10568         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10569 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10570 if ${lt_cv_irix_exported_symbol+:} false; then :
10571   $as_echo_n "(cached) " >&6
10572 else
10573   save_LDFLAGS="$LDFLAGS"
10574            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10575            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h.  */
10577 int foo (void) { return 0; }
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580   lt_cv_irix_exported_symbol=yes
10581 else
10582   lt_cv_irix_exported_symbol=no
10583 fi
10584 rm -f core conftest.err conftest.$ac_objext \
10585     conftest$ac_exeext conftest.$ac_ext
10586            LDFLAGS="$save_LDFLAGS"
10587 fi
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10589 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10590         if test "$lt_cv_irix_exported_symbol" = yes; then
10591           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'
10592         fi
10593       else
10594         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'
10595         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'
10596       fi
10597       archive_cmds_need_lc='no'
10598       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10599       hardcode_libdir_separator=:
10600       inherit_rpath=yes
10601       link_all_deplibs=yes
10602       ;;
10603
10604     netbsd*)
10605       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10606         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10607       else
10608         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10609       fi
10610       hardcode_libdir_flag_spec='-R$libdir'
10611       hardcode_direct=yes
10612       hardcode_shlibpath_var=no
10613       ;;
10614
10615     newsos6)
10616       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10617       hardcode_direct=yes
10618       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10619       hardcode_libdir_separator=:
10620       hardcode_shlibpath_var=no
10621       ;;
10622
10623     *nto* | *qnx*)
10624       ;;
10625
10626     openbsd*)
10627       if test -f /usr/libexec/ld.so; then
10628         hardcode_direct=yes
10629         hardcode_shlibpath_var=no
10630         hardcode_direct_absolute=yes
10631         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10632           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10633           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10634           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10635           export_dynamic_flag_spec='${wl}-E'
10636         else
10637           case $host_os in
10638            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10639              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10640              hardcode_libdir_flag_spec='-R$libdir'
10641              ;;
10642            *)
10643              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10644              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10645              ;;
10646           esac
10647         fi
10648       else
10649         ld_shlibs=no
10650       fi
10651       ;;
10652
10653     os2*)
10654       hardcode_libdir_flag_spec='-L$libdir'
10655       hardcode_minus_L=yes
10656       allow_undefined_flag=unsupported
10657       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'
10658       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10659       ;;
10660
10661     osf3*)
10662       if test "$GCC" = yes; then
10663         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10664         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'
10665       else
10666         allow_undefined_flag=' -expect_unresolved \*'
10667         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'
10668       fi
10669       archive_cmds_need_lc='no'
10670       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10671       hardcode_libdir_separator=:
10672       ;;
10673
10674     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10675       if test "$GCC" = yes; then
10676         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10677         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'
10678         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10679       else
10680         allow_undefined_flag=' -expect_unresolved \*'
10681         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'
10682         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~
10683         $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'
10684
10685         # Both c and cxx compiler support -rpath directly
10686         hardcode_libdir_flag_spec='-rpath $libdir'
10687       fi
10688       archive_cmds_need_lc='no'
10689       hardcode_libdir_separator=:
10690       ;;
10691
10692     solaris*)
10693       no_undefined_flag=' -z defs'
10694       if test "$GCC" = yes; then
10695         wlarc='${wl}'
10696         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10697         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10698           $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'
10699       else
10700         case `$CC -V 2>&1` in
10701         *"Compilers 5.0"*)
10702           wlarc=''
10703           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10704           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10705           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10706           ;;
10707         *)
10708           wlarc='${wl}'
10709           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10710           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10711           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10712           ;;
10713         esac
10714       fi
10715       hardcode_libdir_flag_spec='-R$libdir'
10716       hardcode_shlibpath_var=no
10717       case $host_os in
10718       solaris2.[0-5] | solaris2.[0-5].*) ;;
10719       *)
10720         # The compiler driver will combine and reorder linker options,
10721         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10722         # but is careful enough not to reorder.
10723         # Supported since Solaris 2.6 (maybe 2.5.1?)
10724         if test "$GCC" = yes; then
10725           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10726         else
10727           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10728         fi
10729         ;;
10730       esac
10731       link_all_deplibs=yes
10732       ;;
10733
10734     sunos4*)
10735       if test "x$host_vendor" = xsequent; then
10736         # Use $CC to link under sequent, because it throws in some extra .o
10737         # files that make .init and .fini sections work.
10738         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10739       else
10740         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10741       fi
10742       hardcode_libdir_flag_spec='-L$libdir'
10743       hardcode_direct=yes
10744       hardcode_minus_L=yes
10745       hardcode_shlibpath_var=no
10746       ;;
10747
10748     sysv4)
10749       case $host_vendor in
10750         sni)
10751           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10752           hardcode_direct=yes # is this really true???
10753         ;;
10754         siemens)
10755           ## LD is ld it makes a PLAMLIB
10756           ## CC just makes a GrossModule.
10757           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10758           reload_cmds='$CC -r -o $output$reload_objs'
10759           hardcode_direct=no
10760         ;;
10761         motorola)
10762           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10764         ;;
10765       esac
10766       runpath_var='LD_RUN_PATH'
10767       hardcode_shlibpath_var=no
10768       ;;
10769
10770     sysv4.3*)
10771       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10772       hardcode_shlibpath_var=no
10773       export_dynamic_flag_spec='-Bexport'
10774       ;;
10775
10776     sysv4*MP*)
10777       if test -d /usr/nec; then
10778         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10779         hardcode_shlibpath_var=no
10780         runpath_var=LD_RUN_PATH
10781         hardcode_runpath_var=yes
10782         ld_shlibs=yes
10783       fi
10784       ;;
10785
10786     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10787       no_undefined_flag='${wl}-z,text'
10788       archive_cmds_need_lc=no
10789       hardcode_shlibpath_var=no
10790       runpath_var='LD_RUN_PATH'
10791
10792       if test "$GCC" = yes; then
10793         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10794         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10795       else
10796         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10797         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10798       fi
10799       ;;
10800
10801     sysv5* | sco3.2v5* | sco5v6*)
10802       # Note: We can NOT use -z defs as we might desire, because we do not
10803       # link with -lc, and that would cause any symbols used from libc to
10804       # always be unresolved, which means just about no library would
10805       # ever link correctly.  If we're not using GNU ld we use -z text
10806       # though, which does catch some bad symbols but isn't as heavy-handed
10807       # as -z defs.
10808       no_undefined_flag='${wl}-z,text'
10809       allow_undefined_flag='${wl}-z,nodefs'
10810       archive_cmds_need_lc=no
10811       hardcode_shlibpath_var=no
10812       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10813       hardcode_libdir_separator=':'
10814       link_all_deplibs=yes
10815       export_dynamic_flag_spec='${wl}-Bexport'
10816       runpath_var='LD_RUN_PATH'
10817
10818       if test "$GCC" = yes; then
10819         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10820         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10821       else
10822         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10823         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10824       fi
10825       ;;
10826
10827     uts4*)
10828       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10829       hardcode_libdir_flag_spec='-L$libdir'
10830       hardcode_shlibpath_var=no
10831       ;;
10832
10833     *)
10834       ld_shlibs=no
10835       ;;
10836     esac
10837
10838     if test x$host_vendor = xsni; then
10839       case $host in
10840       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10841         export_dynamic_flag_spec='${wl}-Blargedynsym'
10842         ;;
10843       esac
10844     fi
10845   fi
10846
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10848 $as_echo "$ld_shlibs" >&6; }
10849 test "$ld_shlibs" = no && can_build_shared=no
10850
10851 with_gnu_ld=$with_gnu_ld
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867 #
10868 # Do we need to explicitly link libc?
10869 #
10870 case "x$archive_cmds_need_lc" in
10871 x|xyes)
10872   # Assume -lc should be added
10873   archive_cmds_need_lc=yes
10874
10875   if test "$enable_shared" = yes && test "$GCC" = yes; then
10876     case $archive_cmds in
10877     *'~'*)
10878       # FIXME: we may have to deal with multi-command sequences.
10879       ;;
10880     '$CC '*)
10881       # Test whether the compiler implicitly links with -lc since on some
10882       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10883       # to ld, don't add -lc before -lgcc.
10884       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10885 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10886 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10887   $as_echo_n "(cached) " >&6
10888 else
10889   $RM conftest*
10890         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10891
10892         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10893   (eval $ac_compile) 2>&5
10894   ac_status=$?
10895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896   test $ac_status = 0; } 2>conftest.err; then
10897           soname=conftest
10898           lib=conftest
10899           libobjs=conftest.$ac_objext
10900           deplibs=
10901           wl=$lt_prog_compiler_wl
10902           pic_flag=$lt_prog_compiler_pic
10903           compiler_flags=-v
10904           linker_flags=-v
10905           verstring=
10906           output_objdir=.
10907           libname=conftest
10908           lt_save_allow_undefined_flag=$allow_undefined_flag
10909           allow_undefined_flag=
10910           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10911   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10912   ac_status=$?
10913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10914   test $ac_status = 0; }
10915           then
10916             lt_cv_archive_cmds_need_lc=no
10917           else
10918             lt_cv_archive_cmds_need_lc=yes
10919           fi
10920           allow_undefined_flag=$lt_save_allow_undefined_flag
10921         else
10922           cat conftest.err 1>&5
10923         fi
10924         $RM conftest*
10925
10926 fi
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10928 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10929       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10930       ;;
10931     esac
10932   fi
10933   ;;
10934 esac
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11088 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11089
11090 if test "$GCC" = yes; then
11091   case $host_os in
11092     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11093     *) lt_awk_arg="/^libraries:/" ;;
11094   esac
11095   case $host_os in
11096     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11097     *) lt_sed_strip_eq="s,=/,/,g" ;;
11098   esac
11099   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11100   case $lt_search_path_spec in
11101   *\;*)
11102     # if the path contains ";" then we assume it to be the separator
11103     # otherwise default to the standard path separator (i.e. ":") - it is
11104     # assumed that no part of a normal pathname contains ";" but that should
11105     # okay in the real world where ";" in dirpaths is itself problematic.
11106     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11107     ;;
11108   *)
11109     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11110     ;;
11111   esac
11112   # Ok, now we have the path, separated by spaces, we can step through it
11113   # and add multilib dir if necessary.
11114   lt_tmp_lt_search_path_spec=
11115   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11116   for lt_sys_path in $lt_search_path_spec; do
11117     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11118       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11119     else
11120       test -d "$lt_sys_path" && \
11121         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11122     fi
11123   done
11124   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11125 BEGIN {RS=" "; FS="/|\n";} {
11126   lt_foo="";
11127   lt_count=0;
11128   for (lt_i = NF; lt_i > 0; lt_i--) {
11129     if ($lt_i != "" && $lt_i != ".") {
11130       if ($lt_i == "..") {
11131         lt_count++;
11132       } else {
11133         if (lt_count == 0) {
11134           lt_foo="/" $lt_i lt_foo;
11135         } else {
11136           lt_count--;
11137         }
11138       }
11139     }
11140   }
11141   if (lt_foo != "") { lt_freq[lt_foo]++; }
11142   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11143 }'`
11144   # AWK program above erroneously prepends '/' to C:/dos/paths
11145   # for these hosts.
11146   case $host_os in
11147     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11148       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11149   esac
11150   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11151 else
11152   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11153 fi
11154 library_names_spec=
11155 libname_spec='lib$name'
11156 soname_spec=
11157 shrext_cmds=".so"
11158 postinstall_cmds=
11159 postuninstall_cmds=
11160 finish_cmds=
11161 finish_eval=
11162 shlibpath_var=
11163 shlibpath_overrides_runpath=unknown
11164 version_type=none
11165 dynamic_linker="$host_os ld.so"
11166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11167 need_lib_prefix=unknown
11168 hardcode_into_libs=no
11169
11170 # when you set need_version to no, make sure it does not cause -set_version
11171 # flags to be left without arguments
11172 need_version=unknown
11173
11174 case $host_os in
11175 aix3*)
11176   version_type=linux # correct to gnu/linux during the next big refactor
11177   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11178   shlibpath_var=LIBPATH
11179
11180   # AIX 3 has no versioning support, so we append a major version to the name.
11181   soname_spec='${libname}${release}${shared_ext}$major'
11182   ;;
11183
11184 aix[4-9]*)
11185   version_type=linux # correct to gnu/linux during the next big refactor
11186   need_lib_prefix=no
11187   need_version=no
11188   hardcode_into_libs=yes
11189   if test "$host_cpu" = ia64; then
11190     # AIX 5 supports IA64
11191     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11192     shlibpath_var=LD_LIBRARY_PATH
11193   else
11194     # With GCC up to 2.95.x, collect2 would create an import file
11195     # for dependence libraries.  The import file would start with
11196     # the line `#! .'.  This would cause the generated library to
11197     # depend on `.', always an invalid library.  This was fixed in
11198     # development snapshots of GCC prior to 3.0.
11199     case $host_os in
11200       aix4 | aix4.[01] | aix4.[01].*)
11201       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11202            echo ' yes '
11203            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11204         :
11205       else
11206         can_build_shared=no
11207       fi
11208       ;;
11209     esac
11210     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11211     # soname into executable. Probably we can add versioning support to
11212     # collect2, so additional links can be useful in future.
11213     if test "$aix_use_runtimelinking" = yes; then
11214       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11215       # instead of lib<name>.a to let people know that these are not
11216       # typical AIX shared libraries.
11217       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218     else
11219       # We preserve .a as extension for shared libraries through AIX4.2
11220       # and later when we are not doing run time linking.
11221       library_names_spec='${libname}${release}.a $libname.a'
11222       soname_spec='${libname}${release}${shared_ext}$major'
11223     fi
11224     shlibpath_var=LIBPATH
11225   fi
11226   ;;
11227
11228 amigaos*)
11229   case $host_cpu in
11230   powerpc)
11231     # Since July 2007 AmigaOS4 officially supports .so libraries.
11232     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11233     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11234     ;;
11235   m68k)
11236     library_names_spec='$libname.ixlibrary $libname.a'
11237     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11238     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'
11239     ;;
11240   esac
11241   ;;
11242
11243 beos*)
11244   library_names_spec='${libname}${shared_ext}'
11245   dynamic_linker="$host_os ld.so"
11246   shlibpath_var=LIBRARY_PATH
11247   ;;
11248
11249 bsdi[45]*)
11250   version_type=linux # correct to gnu/linux during the next big refactor
11251   need_version=no
11252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253   soname_spec='${libname}${release}${shared_ext}$major'
11254   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11255   shlibpath_var=LD_LIBRARY_PATH
11256   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11257   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11258   # the default ld.so.conf also contains /usr/contrib/lib and
11259   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11260   # libtool to hard-code these into programs
11261   ;;
11262
11263 cygwin* | mingw* | pw32* | cegcc*)
11264   version_type=windows
11265   shrext_cmds=".dll"
11266   need_version=no
11267   need_lib_prefix=no
11268
11269   case $GCC,$cc_basename in
11270   yes,*)
11271     # gcc
11272     library_names_spec='$libname.dll.a'
11273     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11274     postinstall_cmds='base_file=`basename \${file}`~
11275       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11276       dldir=$destdir/`dirname \$dlpath`~
11277       test -d \$dldir || mkdir -p \$dldir~
11278       $install_prog $dir/$dlname \$dldir/$dlname~
11279       chmod a+x \$dldir/$dlname~
11280       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11281         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11282       fi'
11283     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11284       dlpath=$dir/\$dldll~
11285        $RM \$dlpath'
11286     shlibpath_overrides_runpath=yes
11287
11288     case $host_os in
11289     cygwin*)
11290       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11291       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11292
11293       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11294       ;;
11295     mingw* | cegcc*)
11296       # MinGW DLLs use traditional 'lib' prefix
11297       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11298       ;;
11299     pw32*)
11300       # pw32 DLLs use 'pw' prefix rather than 'lib'
11301       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11302       ;;
11303     esac
11304     dynamic_linker='Win32 ld.exe'
11305     ;;
11306
11307   *,cl*)
11308     # Native MSVC
11309     libname_spec='$name'
11310     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11311     library_names_spec='${libname}.dll.lib'
11312
11313     case $build_os in
11314     mingw*)
11315       sys_lib_search_path_spec=
11316       lt_save_ifs=$IFS
11317       IFS=';'
11318       for lt_path in $LIB
11319       do
11320         IFS=$lt_save_ifs
11321         # Let DOS variable expansion print the short 8.3 style file name.
11322         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11323         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11324       done
11325       IFS=$lt_save_ifs
11326       # Convert to MSYS style.
11327       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11328       ;;
11329     cygwin*)
11330       # Convert to unix form, then to dos form, then back to unix form
11331       # but this time dos style (no spaces!) so that the unix form looks
11332       # like /cygdrive/c/PROGRA~1:/cygdr...
11333       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11334       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11335       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11336       ;;
11337     *)
11338       sys_lib_search_path_spec="$LIB"
11339       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11340         # It is most probably a Windows format PATH.
11341         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11342       else
11343         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11344       fi
11345       # FIXME: find the short name or the path components, as spaces are
11346       # common. (e.g. "Program Files" -> "PROGRA~1")
11347       ;;
11348     esac
11349
11350     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11351     postinstall_cmds='base_file=`basename \${file}`~
11352       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11353       dldir=$destdir/`dirname \$dlpath`~
11354       test -d \$dldir || mkdir -p \$dldir~
11355       $install_prog $dir/$dlname \$dldir/$dlname'
11356     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11357       dlpath=$dir/\$dldll~
11358        $RM \$dlpath'
11359     shlibpath_overrides_runpath=yes
11360     dynamic_linker='Win32 link.exe'
11361     ;;
11362
11363   *)
11364     # Assume MSVC wrapper
11365     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11366     dynamic_linker='Win32 ld.exe'
11367     ;;
11368   esac
11369   # FIXME: first we should search . and the directory the executable is in
11370   shlibpath_var=PATH
11371   ;;
11372
11373 darwin* | rhapsody*)
11374   dynamic_linker="$host_os dyld"
11375   version_type=darwin
11376   need_lib_prefix=no
11377   need_version=no
11378   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11379   soname_spec='${libname}${release}${major}$shared_ext'
11380   shlibpath_overrides_runpath=yes
11381   shlibpath_var=DYLD_LIBRARY_PATH
11382   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11383
11384   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11385   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11386   ;;
11387
11388 dgux*)
11389   version_type=linux # correct to gnu/linux during the next big refactor
11390   need_lib_prefix=no
11391   need_version=no
11392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11393   soname_spec='${libname}${release}${shared_ext}$major'
11394   shlibpath_var=LD_LIBRARY_PATH
11395   ;;
11396
11397 freebsd* | dragonfly*)
11398   # DragonFly does not have aout.  When/if they implement a new
11399   # versioning mechanism, adjust this.
11400   if test -x /usr/bin/objformat; then
11401     objformat=`/usr/bin/objformat`
11402   else
11403     case $host_os in
11404     freebsd[23].*) objformat=aout ;;
11405     *) objformat=elf ;;
11406     esac
11407   fi
11408   version_type=freebsd-$objformat
11409   case $version_type in
11410     freebsd-elf*)
11411       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11412       need_version=no
11413       need_lib_prefix=no
11414       ;;
11415     freebsd-*)
11416       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11417       need_version=yes
11418       ;;
11419   esac
11420   shlibpath_var=LD_LIBRARY_PATH
11421   case $host_os in
11422   freebsd2.*)
11423     shlibpath_overrides_runpath=yes
11424     ;;
11425   freebsd3.[01]* | freebsdelf3.[01]*)
11426     shlibpath_overrides_runpath=yes
11427     hardcode_into_libs=yes
11428     ;;
11429   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11430   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11431     shlibpath_overrides_runpath=no
11432     hardcode_into_libs=yes
11433     ;;
11434   *) # from 4.6 on, and DragonFly
11435     shlibpath_overrides_runpath=yes
11436     hardcode_into_libs=yes
11437     ;;
11438   esac
11439   ;;
11440
11441 gnu*)
11442   version_type=linux # correct to gnu/linux during the next big refactor
11443   need_lib_prefix=no
11444   need_version=no
11445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11446   soname_spec='${libname}${release}${shared_ext}$major'
11447   shlibpath_var=LD_LIBRARY_PATH
11448   shlibpath_overrides_runpath=no
11449   hardcode_into_libs=yes
11450   ;;
11451
11452 haiku*)
11453   version_type=linux # correct to gnu/linux during the next big refactor
11454   need_lib_prefix=no
11455   need_version=no
11456   dynamic_linker="$host_os runtime_loader"
11457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11458   soname_spec='${libname}${release}${shared_ext}$major'
11459   shlibpath_var=LIBRARY_PATH
11460   shlibpath_overrides_runpath=yes
11461   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11462   hardcode_into_libs=yes
11463   ;;
11464
11465 hpux9* | hpux10* | hpux11*)
11466   # Give a soname corresponding to the major version so that dld.sl refuses to
11467   # link against other versions.
11468   version_type=sunos
11469   need_lib_prefix=no
11470   need_version=no
11471   case $host_cpu in
11472   ia64*)
11473     shrext_cmds='.so'
11474     hardcode_into_libs=yes
11475     dynamic_linker="$host_os dld.so"
11476     shlibpath_var=LD_LIBRARY_PATH
11477     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11478     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11479     soname_spec='${libname}${release}${shared_ext}$major'
11480     if test "X$HPUX_IA64_MODE" = X32; then
11481       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11482     else
11483       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11484     fi
11485     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11486     ;;
11487   hppa*64*)
11488     shrext_cmds='.sl'
11489     hardcode_into_libs=yes
11490     dynamic_linker="$host_os dld.sl"
11491     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11492     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494     soname_spec='${libname}${release}${shared_ext}$major'
11495     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11496     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11497     ;;
11498   *)
11499     shrext_cmds='.sl'
11500     dynamic_linker="$host_os dld.sl"
11501     shlibpath_var=SHLIB_PATH
11502     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504     soname_spec='${libname}${release}${shared_ext}$major'
11505     ;;
11506   esac
11507   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11508   postinstall_cmds='chmod 555 $lib'
11509   # or fails outright, so override atomically:
11510   install_override_mode=555
11511   ;;
11512
11513 interix[3-9]*)
11514   version_type=linux # correct to gnu/linux during the next big refactor
11515   need_lib_prefix=no
11516   need_version=no
11517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11518   soname_spec='${libname}${release}${shared_ext}$major'
11519   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11520   shlibpath_var=LD_LIBRARY_PATH
11521   shlibpath_overrides_runpath=no
11522   hardcode_into_libs=yes
11523   ;;
11524
11525 irix5* | irix6* | nonstopux*)
11526   case $host_os in
11527     nonstopux*) version_type=nonstopux ;;
11528     *)
11529         if test "$lt_cv_prog_gnu_ld" = yes; then
11530                 version_type=linux # correct to gnu/linux during the next big refactor
11531         else
11532                 version_type=irix
11533         fi ;;
11534   esac
11535   need_lib_prefix=no
11536   need_version=no
11537   soname_spec='${libname}${release}${shared_ext}$major'
11538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11539   case $host_os in
11540   irix5* | nonstopux*)
11541     libsuff= shlibsuff=
11542     ;;
11543   *)
11544     case $LD in # libtool.m4 will add one of these switches to LD
11545     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11546       libsuff= shlibsuff= libmagic=32-bit;;
11547     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11548       libsuff=32 shlibsuff=N32 libmagic=N32;;
11549     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11550       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11551     *) libsuff= shlibsuff= libmagic=never-match;;
11552     esac
11553     ;;
11554   esac
11555   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11556   shlibpath_overrides_runpath=no
11557   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11558   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11559   hardcode_into_libs=yes
11560   ;;
11561
11562 # No shared lib support for Linux oldld, aout, or coff.
11563 linux*oldld* | linux*aout* | linux*coff*)
11564   dynamic_linker=no
11565   ;;
11566
11567 # This must be glibc/ELF.
11568 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11569   version_type=linux # correct to gnu/linux during the next big refactor
11570   need_lib_prefix=no
11571   need_version=no
11572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573   soname_spec='${libname}${release}${shared_ext}$major'
11574   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11575   shlibpath_var=LD_LIBRARY_PATH
11576   shlibpath_overrides_runpath=no
11577
11578   # Some binutils ld are patched to set DT_RUNPATH
11579   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11580   $as_echo_n "(cached) " >&6
11581 else
11582   lt_cv_shlibpath_overrides_runpath=no
11583     save_LDFLAGS=$LDFLAGS
11584     save_libdir=$libdir
11585     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11586          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11587     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h.  */
11589
11590 int
11591 main ()
11592 {
11593
11594   ;
11595   return 0;
11596 }
11597 _ACEOF
11598 if ac_fn_c_try_link "$LINENO"; then :
11599   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11600   lt_cv_shlibpath_overrides_runpath=yes
11601 fi
11602 fi
11603 rm -f core conftest.err conftest.$ac_objext \
11604     conftest$ac_exeext conftest.$ac_ext
11605     LDFLAGS=$save_LDFLAGS
11606     libdir=$save_libdir
11607
11608 fi
11609
11610   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11611
11612   # This implies no fast_install, which is unacceptable.
11613   # Some rework will be needed to allow for fast_install
11614   # before this can be enabled.
11615   hardcode_into_libs=yes
11616
11617   # Add ABI-specific directories to the system library path.
11618   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11619
11620   # Append ld.so.conf contents to the search path
11621   if test -f /etc/ld.so.conf; then
11622     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' ' '`
11623     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11624
11625   fi
11626
11627   # We used to test for /lib/ld.so.1 and disable shared libraries on
11628   # powerpc, because MkLinux only supported shared libraries with the
11629   # GNU dynamic linker.  Since this was broken with cross compilers,
11630   # most powerpc-linux boxes support dynamic linking these days and
11631   # people can always --disable-shared, the test was removed, and we
11632   # assume the GNU/Linux dynamic linker is in use.
11633   dynamic_linker='GNU/Linux ld.so'
11634   ;;
11635
11636 netbsd*)
11637   version_type=sunos
11638   need_lib_prefix=no
11639   need_version=no
11640   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11641     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11642     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11643     dynamic_linker='NetBSD (a.out) ld.so'
11644   else
11645     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11646     soname_spec='${libname}${release}${shared_ext}$major'
11647     dynamic_linker='NetBSD ld.elf_so'
11648   fi
11649   shlibpath_var=LD_LIBRARY_PATH
11650   shlibpath_overrides_runpath=yes
11651   hardcode_into_libs=yes
11652   ;;
11653
11654 newsos6)
11655   version_type=linux # correct to gnu/linux during the next big refactor
11656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11657   shlibpath_var=LD_LIBRARY_PATH
11658   shlibpath_overrides_runpath=yes
11659   ;;
11660
11661 *nto* | *qnx*)
11662   version_type=qnx
11663   need_lib_prefix=no
11664   need_version=no
11665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11666   soname_spec='${libname}${release}${shared_ext}$major'
11667   shlibpath_var=LD_LIBRARY_PATH
11668   shlibpath_overrides_runpath=no
11669   hardcode_into_libs=yes
11670   dynamic_linker='ldqnx.so'
11671   ;;
11672
11673 openbsd*)
11674   version_type=sunos
11675   sys_lib_dlsearch_path_spec="/usr/lib"
11676   need_lib_prefix=no
11677   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11678   case $host_os in
11679     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11680     *)                          need_version=no  ;;
11681   esac
11682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11683   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11684   shlibpath_var=LD_LIBRARY_PATH
11685   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11686     case $host_os in
11687       openbsd2.[89] | openbsd2.[89].*)
11688         shlibpath_overrides_runpath=no
11689         ;;
11690       *)
11691         shlibpath_overrides_runpath=yes
11692         ;;
11693       esac
11694   else
11695     shlibpath_overrides_runpath=yes
11696   fi
11697   ;;
11698
11699 os2*)
11700   libname_spec='$name'
11701   shrext_cmds=".dll"
11702   need_lib_prefix=no
11703   library_names_spec='$libname${shared_ext} $libname.a'
11704   dynamic_linker='OS/2 ld.exe'
11705   shlibpath_var=LIBPATH
11706   ;;
11707
11708 osf3* | osf4* | osf5*)
11709   version_type=osf
11710   need_lib_prefix=no
11711   need_version=no
11712   soname_spec='${libname}${release}${shared_ext}$major'
11713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714   shlibpath_var=LD_LIBRARY_PATH
11715   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11716   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11717   ;;
11718
11719 rdos*)
11720   dynamic_linker=no
11721   ;;
11722
11723 solaris*)
11724   version_type=linux # correct to gnu/linux during the next big refactor
11725   need_lib_prefix=no
11726   need_version=no
11727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728   soname_spec='${libname}${release}${shared_ext}$major'
11729   shlibpath_var=LD_LIBRARY_PATH
11730   shlibpath_overrides_runpath=yes
11731   hardcode_into_libs=yes
11732   # ldd complains unless libraries are executable
11733   postinstall_cmds='chmod +x $lib'
11734   ;;
11735
11736 sunos4*)
11737   version_type=sunos
11738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11739   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11740   shlibpath_var=LD_LIBRARY_PATH
11741   shlibpath_overrides_runpath=yes
11742   if test "$with_gnu_ld" = yes; then
11743     need_lib_prefix=no
11744   fi
11745   need_version=yes
11746   ;;
11747
11748 sysv4 | sysv4.3*)
11749   version_type=linux # correct to gnu/linux during the next big refactor
11750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751   soname_spec='${libname}${release}${shared_ext}$major'
11752   shlibpath_var=LD_LIBRARY_PATH
11753   case $host_vendor in
11754     sni)
11755       shlibpath_overrides_runpath=no
11756       need_lib_prefix=no
11757       runpath_var=LD_RUN_PATH
11758       ;;
11759     siemens)
11760       need_lib_prefix=no
11761       ;;
11762     motorola)
11763       need_lib_prefix=no
11764       need_version=no
11765       shlibpath_overrides_runpath=no
11766       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11767       ;;
11768   esac
11769   ;;
11770
11771 sysv4*MP*)
11772   if test -d /usr/nec ;then
11773     version_type=linux # correct to gnu/linux during the next big refactor
11774     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11775     soname_spec='$libname${shared_ext}.$major'
11776     shlibpath_var=LD_LIBRARY_PATH
11777   fi
11778   ;;
11779
11780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11781   version_type=freebsd-elf
11782   need_lib_prefix=no
11783   need_version=no
11784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11785   soname_spec='${libname}${release}${shared_ext}$major'
11786   shlibpath_var=LD_LIBRARY_PATH
11787   shlibpath_overrides_runpath=yes
11788   hardcode_into_libs=yes
11789   if test "$with_gnu_ld" = yes; then
11790     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11791   else
11792     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11793     case $host_os in
11794       sco3.2v5*)
11795         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11796         ;;
11797     esac
11798   fi
11799   sys_lib_dlsearch_path_spec='/usr/lib'
11800   ;;
11801
11802 tpf*)
11803   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11804   version_type=linux # correct to gnu/linux during the next big refactor
11805   need_lib_prefix=no
11806   need_version=no
11807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11808   shlibpath_var=LD_LIBRARY_PATH
11809   shlibpath_overrides_runpath=no
11810   hardcode_into_libs=yes
11811   ;;
11812
11813 uts4*)
11814   version_type=linux # correct to gnu/linux during the next big refactor
11815   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11816   soname_spec='${libname}${release}${shared_ext}$major'
11817   shlibpath_var=LD_LIBRARY_PATH
11818   ;;
11819
11820 *)
11821   dynamic_linker=no
11822   ;;
11823 esac
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11825 $as_echo "$dynamic_linker" >&6; }
11826 test "$dynamic_linker" = no && can_build_shared=no
11827
11828 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11829 if test "$GCC" = yes; then
11830   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11831 fi
11832
11833 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11834   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11835 fi
11836 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11837   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11838 fi
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
11925
11926
11927
11928
11929
11930
11931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11932 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11933 hardcode_action=
11934 if test -n "$hardcode_libdir_flag_spec" ||
11935    test -n "$runpath_var" ||
11936    test "X$hardcode_automatic" = "Xyes" ; then
11937
11938   # We can hardcode non-existent directories.
11939   if test "$hardcode_direct" != no &&
11940      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11941      # have to relink, otherwise we might link with an installed library
11942      # when we should be linking with a yet-to-be-installed one
11943      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11944      test "$hardcode_minus_L" != no; then
11945     # Linking always hardcodes the temporary library directory.
11946     hardcode_action=relink
11947   else
11948     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11949     hardcode_action=immediate
11950   fi
11951 else
11952   # We cannot hardcode anything, or else we can only hardcode existing
11953   # directories.
11954   hardcode_action=unsupported
11955 fi
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11957 $as_echo "$hardcode_action" >&6; }
11958
11959 if test "$hardcode_action" = relink ||
11960    test "$inherit_rpath" = yes; then
11961   # Fast installation is not supported
11962   enable_fast_install=no
11963 elif test "$shlibpath_overrides_runpath" = yes ||
11964      test "$enable_shared" = no; then
11965   # Fast installation is not necessary
11966   enable_fast_install=needless
11967 fi
11968
11969
11970
11971
11972
11973
11974   if test "x$enable_dlopen" != xyes; then
11975   enable_dlopen=unknown
11976   enable_dlopen_self=unknown
11977   enable_dlopen_self_static=unknown
11978 else
11979   lt_cv_dlopen=no
11980   lt_cv_dlopen_libs=
11981
11982   case $host_os in
11983   beos*)
11984     lt_cv_dlopen="load_add_on"
11985     lt_cv_dlopen_libs=
11986     lt_cv_dlopen_self=yes
11987     ;;
11988
11989   mingw* | pw32* | cegcc*)
11990     lt_cv_dlopen="LoadLibrary"
11991     lt_cv_dlopen_libs=
11992     ;;
11993
11994   cygwin*)
11995     lt_cv_dlopen="dlopen"
11996     lt_cv_dlopen_libs=
11997     ;;
11998
11999   darwin*)
12000   # if libdl is installed we need to link against it
12001     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12002 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12003 if ${ac_cv_lib_dl_dlopen+:} false; then :
12004   $as_echo_n "(cached) " >&6
12005 else
12006   ac_check_lib_save_LIBS=$LIBS
12007 LIBS="-ldl  $LIBS"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h.  */
12010
12011 /* Override any GCC internal prototype to avoid an error.
12012    Use char because int might match the return type of a GCC
12013    builtin and then its argument prototype would still apply.  */
12014 #ifdef __cplusplus
12015 extern "C"
12016 #endif
12017 char dlopen ();
12018 int
12019 main ()
12020 {
12021 return dlopen ();
12022   ;
12023   return 0;
12024 }
12025 _ACEOF
12026 if ac_fn_c_try_link "$LINENO"; then :
12027   ac_cv_lib_dl_dlopen=yes
12028 else
12029   ac_cv_lib_dl_dlopen=no
12030 fi
12031 rm -f core conftest.err conftest.$ac_objext \
12032     conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_lib_save_LIBS
12034 fi
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12036 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12037 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12038   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12039 else
12040
12041     lt_cv_dlopen="dyld"
12042     lt_cv_dlopen_libs=
12043     lt_cv_dlopen_self=yes
12044
12045 fi
12046
12047     ;;
12048
12049   *)
12050     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12051 if test "x$ac_cv_func_shl_load" = xyes; then :
12052   lt_cv_dlopen="shl_load"
12053 else
12054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12055 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12056 if ${ac_cv_lib_dld_shl_load+:} false; then :
12057   $as_echo_n "(cached) " >&6
12058 else
12059   ac_check_lib_save_LIBS=$LIBS
12060 LIBS="-ldld  $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h.  */
12063
12064 /* Override any GCC internal prototype to avoid an error.
12065    Use char because int might match the return type of a GCC
12066    builtin and then its argument prototype would still apply.  */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 char shl_load ();
12071 int
12072 main ()
12073 {
12074 return shl_load ();
12075   ;
12076   return 0;
12077 }
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"; then :
12080   ac_cv_lib_dld_shl_load=yes
12081 else
12082   ac_cv_lib_dld_shl_load=no
12083 fi
12084 rm -f core conftest.err conftest.$ac_objext \
12085     conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_lib_save_LIBS
12087 fi
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12089 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12090 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12091   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12092 else
12093   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12094 if test "x$ac_cv_func_dlopen" = xyes; then :
12095   lt_cv_dlopen="dlopen"
12096 else
12097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12098 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12099 if ${ac_cv_lib_dl_dlopen+:} false; then :
12100   $as_echo_n "(cached) " >&6
12101 else
12102   ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-ldl  $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h.  */
12106
12107 /* Override any GCC internal prototype to avoid an error.
12108    Use char because int might match the return type of a GCC
12109    builtin and then its argument prototype would still apply.  */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char dlopen ();
12114 int
12115 main ()
12116 {
12117 return dlopen ();
12118   ;
12119   return 0;
12120 }
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123   ac_cv_lib_dl_dlopen=yes
12124 else
12125   ac_cv_lib_dl_dlopen=no
12126 fi
12127 rm -f core conftest.err conftest.$ac_objext \
12128     conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12130 fi
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12132 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12133 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12134   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12135 else
12136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12137 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12138 if ${ac_cv_lib_svld_dlopen+:} false; then :
12139   $as_echo_n "(cached) " >&6
12140 else
12141   ac_check_lib_save_LIBS=$LIBS
12142 LIBS="-lsvld  $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h.  */
12145
12146 /* Override any GCC internal prototype to avoid an error.
12147    Use char because int might match the return type of a GCC
12148    builtin and then its argument prototype would still apply.  */
12149 #ifdef __cplusplus
12150 extern "C"
12151 #endif
12152 char dlopen ();
12153 int
12154 main ()
12155 {
12156 return dlopen ();
12157   ;
12158   return 0;
12159 }
12160 _ACEOF
12161 if ac_fn_c_try_link "$LINENO"; then :
12162   ac_cv_lib_svld_dlopen=yes
12163 else
12164   ac_cv_lib_svld_dlopen=no
12165 fi
12166 rm -f core conftest.err conftest.$ac_objext \
12167     conftest$ac_exeext conftest.$ac_ext
12168 LIBS=$ac_check_lib_save_LIBS
12169 fi
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12171 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12172 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12173   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12174 else
12175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12176 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12177 if ${ac_cv_lib_dld_dld_link+:} false; then :
12178   $as_echo_n "(cached) " >&6
12179 else
12180   ac_check_lib_save_LIBS=$LIBS
12181 LIBS="-ldld  $LIBS"
12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h.  */
12184
12185 /* Override any GCC internal prototype to avoid an error.
12186    Use char because int might match the return type of a GCC
12187    builtin and then its argument prototype would still apply.  */
12188 #ifdef __cplusplus
12189 extern "C"
12190 #endif
12191 char dld_link ();
12192 int
12193 main ()
12194 {
12195 return dld_link ();
12196   ;
12197   return 0;
12198 }
12199 _ACEOF
12200 if ac_fn_c_try_link "$LINENO"; then :
12201   ac_cv_lib_dld_dld_link=yes
12202 else
12203   ac_cv_lib_dld_dld_link=no
12204 fi
12205 rm -f core conftest.err conftest.$ac_objext \
12206     conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_lib_save_LIBS
12208 fi
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12210 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12211 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12212   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12213 fi
12214
12215
12216 fi
12217
12218
12219 fi
12220
12221
12222 fi
12223
12224
12225 fi
12226
12227
12228 fi
12229
12230     ;;
12231   esac
12232
12233   if test "x$lt_cv_dlopen" != xno; then
12234     enable_dlopen=yes
12235   else
12236     enable_dlopen=no
12237   fi
12238
12239   case $lt_cv_dlopen in
12240   dlopen)
12241     save_CPPFLAGS="$CPPFLAGS"
12242     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12243
12244     save_LDFLAGS="$LDFLAGS"
12245     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12246
12247     save_LIBS="$LIBS"
12248     LIBS="$lt_cv_dlopen_libs $LIBS"
12249
12250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12251 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12252 if ${lt_cv_dlopen_self+:} false; then :
12253   $as_echo_n "(cached) " >&6
12254 else
12255           if test "$cross_compiling" = yes; then :
12256   lt_cv_dlopen_self=cross
12257 else
12258   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12259   lt_status=$lt_dlunknown
12260   cat > conftest.$ac_ext <<_LT_EOF
12261 #line $LINENO "configure"
12262 #include "confdefs.h"
12263
12264 #if HAVE_DLFCN_H
12265 #include <dlfcn.h>
12266 #endif
12267
12268 #include <stdio.h>
12269
12270 #ifdef RTLD_GLOBAL
12271 #  define LT_DLGLOBAL           RTLD_GLOBAL
12272 #else
12273 #  ifdef DL_GLOBAL
12274 #    define LT_DLGLOBAL         DL_GLOBAL
12275 #  else
12276 #    define LT_DLGLOBAL         0
12277 #  endif
12278 #endif
12279
12280 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12281    find out it does not work in some platform. */
12282 #ifndef LT_DLLAZY_OR_NOW
12283 #  ifdef RTLD_LAZY
12284 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12285 #  else
12286 #    ifdef DL_LAZY
12287 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12288 #    else
12289 #      ifdef RTLD_NOW
12290 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12291 #      else
12292 #        ifdef DL_NOW
12293 #          define LT_DLLAZY_OR_NOW      DL_NOW
12294 #        else
12295 #          define LT_DLLAZY_OR_NOW      0
12296 #        endif
12297 #      endif
12298 #    endif
12299 #  endif
12300 #endif
12301
12302 /* When -fvisbility=hidden is used, assume the code has been annotated
12303    correspondingly for the symbols needed.  */
12304 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12305 int fnord () __attribute__((visibility("default")));
12306 #endif
12307
12308 int fnord () { return 42; }
12309 int main ()
12310 {
12311   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12312   int status = $lt_dlunknown;
12313
12314   if (self)
12315     {
12316       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12317       else
12318         {
12319           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12320           else puts (dlerror ());
12321         }
12322       /* dlclose (self); */
12323     }
12324   else
12325     puts (dlerror ());
12326
12327   return status;
12328 }
12329 _LT_EOF
12330   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12331   (eval $ac_link) 2>&5
12332   ac_status=$?
12333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12334   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12335     (./conftest; exit; ) >&5 2>/dev/null
12336     lt_status=$?
12337     case x$lt_status in
12338       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12339       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12340       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12341     esac
12342   else :
12343     # compilation failed
12344     lt_cv_dlopen_self=no
12345   fi
12346 fi
12347 rm -fr conftest*
12348
12349
12350 fi
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12352 $as_echo "$lt_cv_dlopen_self" >&6; }
12353
12354     if test "x$lt_cv_dlopen_self" = xyes; then
12355       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12356       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12357 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12358 if ${lt_cv_dlopen_self_static+:} false; then :
12359   $as_echo_n "(cached) " >&6
12360 else
12361           if test "$cross_compiling" = yes; then :
12362   lt_cv_dlopen_self_static=cross
12363 else
12364   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12365   lt_status=$lt_dlunknown
12366   cat > conftest.$ac_ext <<_LT_EOF
12367 #line $LINENO "configure"
12368 #include "confdefs.h"
12369
12370 #if HAVE_DLFCN_H
12371 #include <dlfcn.h>
12372 #endif
12373
12374 #include <stdio.h>
12375
12376 #ifdef RTLD_GLOBAL
12377 #  define LT_DLGLOBAL           RTLD_GLOBAL
12378 #else
12379 #  ifdef DL_GLOBAL
12380 #    define LT_DLGLOBAL         DL_GLOBAL
12381 #  else
12382 #    define LT_DLGLOBAL         0
12383 #  endif
12384 #endif
12385
12386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12387    find out it does not work in some platform. */
12388 #ifndef LT_DLLAZY_OR_NOW
12389 #  ifdef RTLD_LAZY
12390 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12391 #  else
12392 #    ifdef DL_LAZY
12393 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12394 #    else
12395 #      ifdef RTLD_NOW
12396 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12397 #      else
12398 #        ifdef DL_NOW
12399 #          define LT_DLLAZY_OR_NOW      DL_NOW
12400 #        else
12401 #          define LT_DLLAZY_OR_NOW      0
12402 #        endif
12403 #      endif
12404 #    endif
12405 #  endif
12406 #endif
12407
12408 /* When -fvisbility=hidden is used, assume the code has been annotated
12409    correspondingly for the symbols needed.  */
12410 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12411 int fnord () __attribute__((visibility("default")));
12412 #endif
12413
12414 int fnord () { return 42; }
12415 int main ()
12416 {
12417   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12418   int status = $lt_dlunknown;
12419
12420   if (self)
12421     {
12422       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12423       else
12424         {
12425           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12426           else puts (dlerror ());
12427         }
12428       /* dlclose (self); */
12429     }
12430   else
12431     puts (dlerror ());
12432
12433   return status;
12434 }
12435 _LT_EOF
12436   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12437   (eval $ac_link) 2>&5
12438   ac_status=$?
12439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12440   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12441     (./conftest; exit; ) >&5 2>/dev/null
12442     lt_status=$?
12443     case x$lt_status in
12444       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12445       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12446       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12447     esac
12448   else :
12449     # compilation failed
12450     lt_cv_dlopen_self_static=no
12451   fi
12452 fi
12453 rm -fr conftest*
12454
12455
12456 fi
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12458 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12459     fi
12460
12461     CPPFLAGS="$save_CPPFLAGS"
12462     LDFLAGS="$save_LDFLAGS"
12463     LIBS="$save_LIBS"
12464     ;;
12465   esac
12466
12467   case $lt_cv_dlopen_self in
12468   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12469   *) enable_dlopen_self=unknown ;;
12470   esac
12471
12472   case $lt_cv_dlopen_self_static in
12473   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12474   *) enable_dlopen_self_static=unknown ;;
12475   esac
12476 fi
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494 striplib=
12495 old_striplib=
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12497 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12498 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12499   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12500   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12502 $as_echo "yes" >&6; }
12503 else
12504 # FIXME - insert some real tests, host_os isn't really good enough
12505   case $host_os in
12506   darwin*)
12507     if test -n "$STRIP" ; then
12508       striplib="$STRIP -x"
12509       old_striplib="$STRIP -S"
12510       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12511 $as_echo "yes" >&6; }
12512     else
12513       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12514 $as_echo "no" >&6; }
12515     fi
12516     ;;
12517   *)
12518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12519 $as_echo "no" >&6; }
12520     ;;
12521   esac
12522 fi
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535   # Report which library types will actually be built
12536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12537 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12539 $as_echo "$can_build_shared" >&6; }
12540
12541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12542 $as_echo_n "checking whether to build shared libraries... " >&6; }
12543   test "$can_build_shared" = "no" && enable_shared=no
12544
12545   # On AIX, shared libraries and static libraries use the same namespace, and
12546   # are all built from PIC.
12547   case $host_os in
12548   aix3*)
12549     test "$enable_shared" = yes && enable_static=no
12550     if test -n "$RANLIB"; then
12551       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12552       postinstall_cmds='$RANLIB $lib'
12553     fi
12554     ;;
12555
12556   aix[4-9]*)
12557     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12558       test "$enable_shared" = yes && enable_static=no
12559     fi
12560     ;;
12561   esac
12562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12563 $as_echo "$enable_shared" >&6; }
12564
12565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12566 $as_echo_n "checking whether to build static libraries... " >&6; }
12567   # Make sure either enable_shared or enable_static is yes.
12568   test "$enable_shared" = yes || enable_static=yes
12569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12570 $as_echo "$enable_static" >&6; }
12571
12572
12573
12574
12575 fi
12576 ac_ext=c
12577 ac_cpp='$CPP $CPPFLAGS'
12578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12581
12582 CC="$lt_save_CC"
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598         ac_config_commands="$ac_config_commands libtool"
12599
12600
12601
12602
12603 # Only expand once:
12604
12605
12606 # Create libtool early, because it's used in configure
12607 : ${CONFIG_LT=./config.lt}
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
12609 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
12610 as_write_fail=0
12611 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
12612 #! $SHELL
12613 # Generated by $as_me.
12614 # Run this file to recreate a libtool stub with the current configuration.
12615 SHELL=\${CONFIG_SHELL-$SHELL}
12616 export SHELL
12617 _ASEOF
12618 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
12619 ## -------------------- ##
12620 ## M4sh Initialization. ##
12621 ## -------------------- ##
12622
12623 # Be more Bourne compatible
12624 DUALCASE=1; export DUALCASE # for MKS sh
12625 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12626   emulate sh
12627   NULLCMD=:
12628   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12629   # is contrary to our usage.  Disable this feature.
12630   alias -g '${1+"$@"}'='"$@"'
12631   setopt NO_GLOB_SUBST
12632 else
12633   case `(set -o) 2>/dev/null` in #(
12634   *posix*) :
12635     set -o posix ;; #(
12636   *) :
12637      ;;
12638 esac
12639 fi
12640
12641
12642 as_nl='
12643 '
12644 export as_nl
12645 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12646 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12649 # Prefer a ksh shell builtin over an external printf program on Solaris,
12650 # but without wasting forks for bash or zsh.
12651 if test -z "$BASH_VERSION$ZSH_VERSION" \
12652     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12653   as_echo='print -r --'
12654   as_echo_n='print -rn --'
12655 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12656   as_echo='printf %s\n'
12657   as_echo_n='printf %s'
12658 else
12659   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12660     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12661     as_echo_n='/usr/ucb/echo -n'
12662   else
12663     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12664     as_echo_n_body='eval
12665       arg=$1;
12666       case $arg in #(
12667       *"$as_nl"*)
12668         expr "X$arg" : "X\\(.*\\)$as_nl";
12669         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12670       esac;
12671       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12672     '
12673     export as_echo_n_body
12674     as_echo_n='sh -c $as_echo_n_body as_echo'
12675   fi
12676   export as_echo_body
12677   as_echo='sh -c $as_echo_body as_echo'
12678 fi
12679
12680 # The user is always right.
12681 if test "${PATH_SEPARATOR+set}" != set; then
12682   PATH_SEPARATOR=:
12683   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12684     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12685       PATH_SEPARATOR=';'
12686   }
12687 fi
12688
12689
12690 # IFS
12691 # We need space, tab and new line, in precisely that order.  Quoting is
12692 # there to prevent editors from complaining about space-tab.
12693 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12694 # splitting by setting IFS to empty value.)
12695 IFS=" ""        $as_nl"
12696
12697 # Find who we are.  Look in the path if we contain no directory separator.
12698 as_myself=
12699 case $0 in #((
12700   *[\\/]* ) as_myself=$0 ;;
12701   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12702 for as_dir in $PATH
12703 do
12704   IFS=$as_save_IFS
12705   test -z "$as_dir" && as_dir=.
12706     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12707   done
12708 IFS=$as_save_IFS
12709
12710      ;;
12711 esac
12712 # We did not find ourselves, most probably we were run as `sh COMMAND'
12713 # in which case we are not to be found in the path.
12714 if test "x$as_myself" = x; then
12715   as_myself=$0
12716 fi
12717 if test ! -f "$as_myself"; then
12718   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12719   exit 1
12720 fi
12721
12722 # Unset variables that we do not need and which cause bugs (e.g. in
12723 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12724 # suppresses any "Segmentation fault" message there.  '((' could
12725 # trigger a bug in pdksh 5.2.14.
12726 for as_var in BASH_ENV ENV MAIL MAILPATH
12727 do eval test x\${$as_var+set} = xset \
12728   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12729 done
12730 PS1='$ '
12731 PS2='> '
12732 PS4='+ '
12733
12734 # NLS nuisances.
12735 LC_ALL=C
12736 export LC_ALL
12737 LANGUAGE=C
12738 export LANGUAGE
12739
12740 # CDPATH.
12741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12742
12743
12744 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12745 # ----------------------------------------
12746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12748 # script with STATUS, using 1 if that was 0.
12749 as_fn_error ()
12750 {
12751   as_status=$1; test $as_status -eq 0 && as_status=1
12752   if test "$4"; then
12753     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12754     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12755   fi
12756   $as_echo "$as_me: error: $2" >&2
12757   as_fn_exit $as_status
12758 } # as_fn_error
12759
12760
12761 # as_fn_set_status STATUS
12762 # -----------------------
12763 # Set $? to STATUS, without forking.
12764 as_fn_set_status ()
12765 {
12766   return $1
12767 } # as_fn_set_status
12768
12769 # as_fn_exit STATUS
12770 # -----------------
12771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12772 as_fn_exit ()
12773 {
12774   set +e
12775   as_fn_set_status $1
12776   exit $1
12777 } # as_fn_exit
12778
12779 # as_fn_unset VAR
12780 # ---------------
12781 # Portably unset VAR.
12782 as_fn_unset ()
12783 {
12784   { eval $1=; unset $1;}
12785 }
12786 as_unset=as_fn_unset
12787 # as_fn_append VAR VALUE
12788 # ----------------------
12789 # Append the text in VALUE to the end of the definition contained in VAR. Take
12790 # advantage of any shell optimizations that allow amortized linear growth over
12791 # repeated appends, instead of the typical quadratic growth present in naive
12792 # implementations.
12793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12794   eval 'as_fn_append ()
12795   {
12796     eval $1+=\$2
12797   }'
12798 else
12799   as_fn_append ()
12800   {
12801     eval $1=\$$1\$2
12802   }
12803 fi # as_fn_append
12804
12805 # as_fn_arith ARG...
12806 # ------------------
12807 # Perform arithmetic evaluation on the ARGs, and store the result in the
12808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12809 # must be portable across $(()) and expr.
12810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12811   eval 'as_fn_arith ()
12812   {
12813     as_val=$(( $* ))
12814   }'
12815 else
12816   as_fn_arith ()
12817   {
12818     as_val=`expr "$@" || test $? -eq 1`
12819   }
12820 fi # as_fn_arith
12821
12822
12823 if expr a : '\(a\)' >/dev/null 2>&1 &&
12824    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12825   as_expr=expr
12826 else
12827   as_expr=false
12828 fi
12829
12830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12831   as_basename=basename
12832 else
12833   as_basename=false
12834 fi
12835
12836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12837   as_dirname=dirname
12838 else
12839   as_dirname=false
12840 fi
12841
12842 as_me=`$as_basename -- "$0" ||
12843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12844          X"$0" : 'X\(//\)$' \| \
12845          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12846 $as_echo X/"$0" |
12847     sed '/^.*\/\([^/][^/]*\)\/*$/{
12848             s//\1/
12849             q
12850           }
12851           /^X\/\(\/\/\)$/{
12852             s//\1/
12853             q
12854           }
12855           /^X\/\(\/\).*/{
12856             s//\1/
12857             q
12858           }
12859           s/.*/./; q'`
12860
12861 # Avoid depending upon Character Ranges.
12862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12865 as_cr_digits='0123456789'
12866 as_cr_alnum=$as_cr_Letters$as_cr_digits
12867
12868 ECHO_C= ECHO_N= ECHO_T=
12869 case `echo -n x` in #(((((
12870 -n*)
12871   case `echo 'xy\c'` in
12872   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12873   xy)  ECHO_C='\c';;
12874   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12875        ECHO_T=' ';;
12876   esac;;
12877 *)
12878   ECHO_N='-n';;
12879 esac
12880
12881 rm -f conf$$ conf$$.exe conf$$.file
12882 if test -d conf$$.dir; then
12883   rm -f conf$$.dir/conf$$.file
12884 else
12885   rm -f conf$$.dir
12886   mkdir conf$$.dir 2>/dev/null
12887 fi
12888 if (echo >conf$$.file) 2>/dev/null; then
12889   if ln -s conf$$.file conf$$ 2>/dev/null; then
12890     as_ln_s='ln -s'
12891     # ... but there are two gotchas:
12892     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12893     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12894     # In both cases, we have to default to `cp -p'.
12895     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12896       as_ln_s='cp -p'
12897   elif ln conf$$.file conf$$ 2>/dev/null; then
12898     as_ln_s=ln
12899   else
12900     as_ln_s='cp -p'
12901   fi
12902 else
12903   as_ln_s='cp -p'
12904 fi
12905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12906 rmdir conf$$.dir 2>/dev/null
12907
12908
12909 # as_fn_mkdir_p
12910 # -------------
12911 # Create "$as_dir" as a directory, including parents if necessary.
12912 as_fn_mkdir_p ()
12913 {
12914
12915   case $as_dir in #(
12916   -*) as_dir=./$as_dir;;
12917   esac
12918   test -d "$as_dir" || eval $as_mkdir_p || {
12919     as_dirs=
12920     while :; do
12921       case $as_dir in #(
12922       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12923       *) as_qdir=$as_dir;;
12924       esac
12925       as_dirs="'$as_qdir' $as_dirs"
12926       as_dir=`$as_dirname -- "$as_dir" ||
12927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12928          X"$as_dir" : 'X\(//\)[^/]' \| \
12929          X"$as_dir" : 'X\(//\)$' \| \
12930          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12931 $as_echo X"$as_dir" |
12932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12933             s//\1/
12934             q
12935           }
12936           /^X\(\/\/\)[^/].*/{
12937             s//\1/
12938             q
12939           }
12940           /^X\(\/\/\)$/{
12941             s//\1/
12942             q
12943           }
12944           /^X\(\/\).*/{
12945             s//\1/
12946             q
12947           }
12948           s/.*/./; q'`
12949       test -d "$as_dir" && break
12950     done
12951     test -z "$as_dirs" || eval "mkdir $as_dirs"
12952   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12953
12954
12955 } # as_fn_mkdir_p
12956 if mkdir -p . 2>/dev/null; then
12957   as_mkdir_p='mkdir -p "$as_dir"'
12958 else
12959   test -d ./-p && rmdir ./-p
12960   as_mkdir_p=false
12961 fi
12962
12963 if test -x / >/dev/null 2>&1; then
12964   as_test_x='test -x'
12965 else
12966   if ls -dL / >/dev/null 2>&1; then
12967     as_ls_L_option=L
12968   else
12969     as_ls_L_option=
12970   fi
12971   as_test_x='
12972     eval sh -c '\''
12973       if test -d "$1"; then
12974         test -d "$1/.";
12975       else
12976         case $1 in #(
12977         -*)set "./$1";;
12978         esac;
12979         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12980         ???[sx]*):;;*)false;;esac;fi
12981     '\'' sh
12982   '
12983 fi
12984 as_executable_p=$as_test_x
12985
12986 # Sed expression to map a string onto a valid CPP name.
12987 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12988
12989 # Sed expression to map a string onto a valid variable name.
12990 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12991
12992
12993 exec 6>&1
12994 ## --------------------------------- ##
12995 ## Main body of "$CONFIG_LT" script. ##
12996 ## --------------------------------- ##
12997 _ASEOF
12998 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
12999
13000 cat >>"$CONFIG_LT" <<\_LTEOF
13001 lt_cl_silent=false
13002 exec 5>>config.log
13003 {
13004   echo
13005   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13006 ## Running $as_me. ##
13007 _ASBOX
13008 } >&5
13009
13010 lt_cl_help="\
13011 \`$as_me' creates a local libtool stub from the current configuration,
13012 for use in further configure time tests before the real libtool is
13013 generated.
13014
13015 Usage: $0 [OPTIONS]
13016
13017   -h, --help      print this help, then exit
13018   -V, --version   print version number, then exit
13019   -q, --quiet     do not print progress messages
13020   -d, --debug     don't remove temporary files
13021
13022 Report bugs to <bug-libtool@gnu.org>."
13023
13024 lt_cl_version="\
13025 gdk-pixbuf config.lt 2.26.1
13026 configured by $0, generated by GNU Autoconf 2.68.
13027
13028 Copyright (C) 2011 Free Software Foundation, Inc.
13029 This config.lt script is free software; the Free Software Foundation
13030 gives unlimited permision to copy, distribute and modify it."
13031
13032 while test $# != 0
13033 do
13034   case $1 in
13035     --version | --v* | -V )
13036       echo "$lt_cl_version"; exit 0 ;;
13037     --help | --h* | -h )
13038       echo "$lt_cl_help"; exit 0 ;;
13039     --debug | --d* | -d )
13040       debug=: ;;
13041     --quiet | --q* | --silent | --s* | -q )
13042       lt_cl_silent=: ;;
13043
13044     -*) as_fn_error $? "unrecognized option: $1
13045 Try \`$0 --help' for more information." "$LINENO" 5 ;;
13046
13047     *) as_fn_error $? "unrecognized argument: $1
13048 Try \`$0 --help' for more information." "$LINENO" 5 ;;
13049   esac
13050   shift
13051 done
13052
13053 if $lt_cl_silent; then
13054   exec 6>/dev/null
13055 fi
13056 _LTEOF
13057
13058 cat >>"$CONFIG_LT" <<_LTEOF
13059
13060
13061 # The HP-UX ksh and POSIX shell print the target directory to stdout
13062 # if CDPATH is set.
13063 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13064
13065 sed_quote_subst='$sed_quote_subst'
13066 double_quote_subst='$double_quote_subst'
13067 delay_variable_subst='$delay_variable_subst'
13068 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13069 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13070 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13071 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13072 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13073 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13074 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13075 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13076 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13077 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13078 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13079 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13080 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13081 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13082 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13083 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13084 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13085 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13086 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13087 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13088 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13089 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13090 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13091 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13092 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13093 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13094 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13095 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13096 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13097 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13098 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13099 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13100 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13101 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13102 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13103 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13104 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13105 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13106 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13107 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13108 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13109 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13110 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13111 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13112 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13113 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13114 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13115 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13116 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13117 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13118 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13119 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13120 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13121 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13122 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13123 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13124 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13125 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"`'
13126 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13127 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13128 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13129 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13130 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13131 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13132 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13133 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13134 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13135 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13136 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13137 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13138 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13139 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13140 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13141 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13142 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13143 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13144 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13145 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13146 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13147 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13148 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13149 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13150 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13151 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13152 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13153 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13154 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13155 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13156 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13157 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13158 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13159 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13160 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13161 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13162 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13163 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13164 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13165 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13166 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13167 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13168 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13169 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13170 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13171 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13172 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13173 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13174 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13175 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13176 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13177 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13178 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13179 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13180 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13181 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13182 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13183 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13184 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13185 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13186 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13187 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13188 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13189 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13190 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13191 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13192 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13193 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13194 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13195 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13196 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13197 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13198 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13199
13200 LTCC='$LTCC'
13201 LTCFLAGS='$LTCFLAGS'
13202 compiler='$compiler_DEFAULT'
13203
13204 # A function that is used when there is no print builtin or printf.
13205 func_fallback_echo ()
13206 {
13207   eval 'cat <<_LTECHO_EOF
13208 \$1
13209 _LTECHO_EOF'
13210 }
13211
13212 # Quote evaled strings.
13213 for var in AS \
13214 DLLTOOL \
13215 OBJDUMP \
13216 SHELL \
13217 ECHO \
13218 PATH_SEPARATOR \
13219 SED \
13220 GREP \
13221 EGREP \
13222 FGREP \
13223 LD \
13224 NM \
13225 LN_S \
13226 lt_SP2NL \
13227 lt_NL2SP \
13228 reload_flag \
13229 deplibs_check_method \
13230 file_magic_cmd \
13231 file_magic_glob \
13232 want_nocaseglob \
13233 sharedlib_from_linklib_cmd \
13234 AR \
13235 AR_FLAGS \
13236 archiver_list_spec \
13237 STRIP \
13238 RANLIB \
13239 CC \
13240 CFLAGS \
13241 compiler \
13242 lt_cv_sys_global_symbol_pipe \
13243 lt_cv_sys_global_symbol_to_cdecl \
13244 lt_cv_sys_global_symbol_to_c_name_address \
13245 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13246 nm_file_list_spec \
13247 lt_prog_compiler_no_builtin_flag \
13248 lt_prog_compiler_pic \
13249 lt_prog_compiler_wl \
13250 lt_prog_compiler_static \
13251 lt_cv_prog_compiler_c_o \
13252 need_locks \
13253 MANIFEST_TOOL \
13254 DSYMUTIL \
13255 NMEDIT \
13256 LIPO \
13257 OTOOL \
13258 OTOOL64 \
13259 shrext_cmds \
13260 export_dynamic_flag_spec \
13261 whole_archive_flag_spec \
13262 compiler_needs_object \
13263 with_gnu_ld \
13264 allow_undefined_flag \
13265 no_undefined_flag \
13266 hardcode_libdir_flag_spec \
13267 hardcode_libdir_separator \
13268 exclude_expsyms \
13269 include_expsyms \
13270 file_list_spec \
13271 variables_saved_for_relink \
13272 libname_spec \
13273 library_names_spec \
13274 soname_spec \
13275 install_override_mode \
13276 finish_eval \
13277 old_striplib \
13278 striplib; do
13279     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13280     *[\\\\\\\`\\"\\\$]*)
13281       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13282       ;;
13283     *)
13284       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13285       ;;
13286     esac
13287 done
13288
13289 # Double-quote double-evaled strings.
13290 for var in reload_cmds \
13291 old_postinstall_cmds \
13292 old_postuninstall_cmds \
13293 old_archive_cmds \
13294 extract_expsyms_cmds \
13295 old_archive_from_new_cmds \
13296 old_archive_from_expsyms_cmds \
13297 archive_cmds \
13298 archive_expsym_cmds \
13299 module_cmds \
13300 module_expsym_cmds \
13301 export_symbols_cmds \
13302 prelink_cmds \
13303 postlink_cmds \
13304 postinstall_cmds \
13305 postuninstall_cmds \
13306 finish_cmds \
13307 sys_lib_search_path_spec \
13308 sys_lib_dlsearch_path_spec; do
13309     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13310     *[\\\\\\\`\\"\\\$]*)
13311       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13312       ;;
13313     *)
13314       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13315       ;;
13316     esac
13317 done
13318
13319 ac_aux_dir='$ac_aux_dir'
13320 xsi_shell='$xsi_shell'
13321 lt_shell_append='$lt_shell_append'
13322
13323 # See if we are running on zsh, and set the options which allow our
13324 # commands through without removal of \ escapes INIT.
13325 if test -n "\${ZSH_VERSION+set}" ; then
13326    setopt NO_GLOB_SUBST
13327 fi
13328
13329
13330     PACKAGE='$PACKAGE'
13331     VERSION='$VERSION'
13332     TIMESTAMP='$TIMESTAMP'
13333     RM='$RM'
13334     ofile='$ofile'
13335
13336
13337
13338 _LTEOF
13339
13340 cat >>"$CONFIG_LT" <<\_LTEOF
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
13342 $as_echo "$as_me: creating $ofile" >&6;}
13343
13344
13345     # See if we are running on zsh, and set the options which allow our
13346     # commands through without removal of \ escapes.
13347     if test -n "${ZSH_VERSION+set}" ; then
13348       setopt NO_GLOB_SUBST
13349     fi
13350
13351     cfgfile="${ofile}T"
13352     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13353     $RM "$cfgfile"
13354
13355     cat <<_LT_EOF >> "$cfgfile"
13356 #! $SHELL
13357
13358 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13359 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13362 #
13363 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13364 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13365 #                 Foundation, Inc.
13366 #   Written by Gordon Matzigkeit, 1996
13367 #
13368 #   This file is part of GNU Libtool.
13369 #
13370 # GNU Libtool is free software; you can redistribute it and/or
13371 # modify it under the terms of the GNU General Public License as
13372 # published by the Free Software Foundation; either version 2 of
13373 # the License, or (at your option) any later version.
13374 #
13375 # As a special exception to the GNU General Public License,
13376 # if you distribute this file as part of a program or library that
13377 # is built using GNU Libtool, you may include this file under the
13378 # same distribution terms that you use for the rest of that program.
13379 #
13380 # GNU Libtool is distributed in the hope that it will be useful,
13381 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13382 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13383 # GNU General Public License for more details.
13384 #
13385 # You should have received a copy of the GNU General Public License
13386 # along with GNU Libtool; see the file COPYING.  If not, a copy
13387 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13388 # obtained by writing to the Free Software Foundation, Inc.,
13389 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13390
13391
13392 # The names of the tagged configurations supported by this script.
13393 available_tags=""
13394
13395 # ### BEGIN LIBTOOL CONFIG
13396
13397 # Which release of libtool.m4 was used?
13398 macro_version=$macro_version
13399 macro_revision=$macro_revision
13400
13401 # Whether or not to build static libraries.
13402 build_old_libs=$enable_static
13403
13404 # Assembler program.
13405 AS=$lt_AS
13406
13407 # DLL creation program.
13408 DLLTOOL=$lt_DLLTOOL
13409
13410 # Object dumper program.
13411 OBJDUMP=$lt_OBJDUMP
13412
13413 # Whether or not to build shared libraries.
13414 build_libtool_libs=$enable_shared
13415
13416 # What type of objects to build.
13417 pic_mode=$pic_mode
13418
13419 # Whether or not to optimize for fast installation.
13420 fast_install=$enable_fast_install
13421
13422 # Shell to use when invoking shell scripts.
13423 SHELL=$lt_SHELL
13424
13425 # An echo program that protects backslashes.
13426 ECHO=$lt_ECHO
13427
13428 # The PATH separator for the build system.
13429 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13430
13431 # The host system.
13432 host_alias=$host_alias
13433 host=$host
13434 host_os=$host_os
13435
13436 # The build system.
13437 build_alias=$build_alias
13438 build=$build
13439 build_os=$build_os
13440
13441 # A sed program that does not truncate output.
13442 SED=$lt_SED
13443
13444 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13445 Xsed="\$SED -e 1s/^X//"
13446
13447 # A grep program that handles long lines.
13448 GREP=$lt_GREP
13449
13450 # An ERE matcher.
13451 EGREP=$lt_EGREP
13452
13453 # A literal string matcher.
13454 FGREP=$lt_FGREP
13455
13456 # A BSD- or MS-compatible name lister.
13457 NM=$lt_NM
13458
13459 # Whether we need soft or hard links.
13460 LN_S=$lt_LN_S
13461
13462 # What is the maximum length of a command?
13463 max_cmd_len=$max_cmd_len
13464
13465 # Object file suffix (normally "o").
13466 objext=$ac_objext
13467
13468 # Executable file suffix (normally "").
13469 exeext=$exeext
13470
13471 # whether the shell understands "unset".
13472 lt_unset=$lt_unset
13473
13474 # turn spaces into newlines.
13475 SP2NL=$lt_lt_SP2NL
13476
13477 # turn newlines into spaces.
13478 NL2SP=$lt_lt_NL2SP
13479
13480 # convert \$build file names to \$host format.
13481 to_host_file_cmd=$lt_cv_to_host_file_cmd
13482
13483 # convert \$build files to toolchain format.
13484 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13485
13486 # Method to check whether dependent libraries are shared objects.
13487 deplibs_check_method=$lt_deplibs_check_method
13488
13489 # Command to use when deplibs_check_method = "file_magic".
13490 file_magic_cmd=$lt_file_magic_cmd
13491
13492 # How to find potential files when deplibs_check_method = "file_magic".
13493 file_magic_glob=$lt_file_magic_glob
13494
13495 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13496 want_nocaseglob=$lt_want_nocaseglob
13497
13498 # Command to associate shared and link libraries.
13499 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13500
13501 # The archiver.
13502 AR=$lt_AR
13503
13504 # Flags to create an archive.
13505 AR_FLAGS=$lt_AR_FLAGS
13506
13507 # How to feed a file listing to the archiver.
13508 archiver_list_spec=$lt_archiver_list_spec
13509
13510 # A symbol stripping program.
13511 STRIP=$lt_STRIP
13512
13513 # Commands used to install an old-style archive.
13514 RANLIB=$lt_RANLIB
13515 old_postinstall_cmds=$lt_old_postinstall_cmds
13516 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13517
13518 # Whether to use a lock for old archive extraction.
13519 lock_old_archive_extraction=$lock_old_archive_extraction
13520
13521 # A C compiler.
13522 LTCC=$lt_CC
13523
13524 # LTCC compiler flags.
13525 LTCFLAGS=$lt_CFLAGS
13526
13527 # Take the output of nm and produce a listing of raw symbols and C names.
13528 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13529
13530 # Transform the output of nm in a proper C declaration.
13531 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13532
13533 # Transform the output of nm in a C name address pair.
13534 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13535
13536 # Transform the output of nm in a C name address pair when lib prefix is needed.
13537 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13538
13539 # Specify filename containing input files for \$NM.
13540 nm_file_list_spec=$lt_nm_file_list_spec
13541
13542 # The root where to search for dependent libraries,and in which our libraries should be installed.
13543 lt_sysroot=$lt_sysroot
13544
13545 # The name of the directory that contains temporary libtool files.
13546 objdir=$objdir
13547
13548 # Used to examine libraries when file_magic_cmd begins with "file".
13549 MAGIC_CMD=$MAGIC_CMD
13550
13551 # Must we lock files when doing compilation?
13552 need_locks=$lt_need_locks
13553
13554 # Manifest tool.
13555 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13556
13557 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13558 DSYMUTIL=$lt_DSYMUTIL
13559
13560 # Tool to change global to local symbols on Mac OS X.
13561 NMEDIT=$lt_NMEDIT
13562
13563 # Tool to manipulate fat objects and archives on Mac OS X.
13564 LIPO=$lt_LIPO
13565
13566 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13567 OTOOL=$lt_OTOOL
13568
13569 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13570 OTOOL64=$lt_OTOOL64
13571
13572 # Old archive suffix (normally "a").
13573 libext=$libext
13574
13575 # Shared library suffix (normally ".so").
13576 shrext_cmds=$lt_shrext_cmds
13577
13578 # The commands to extract the exported symbol list from a shared archive.
13579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13580
13581 # Variables whose values should be saved in libtool wrapper scripts and
13582 # restored at link time.
13583 variables_saved_for_relink=$lt_variables_saved_for_relink
13584
13585 # Do we need the "lib" prefix for modules?
13586 need_lib_prefix=$need_lib_prefix
13587
13588 # Do we need a version for libraries?
13589 need_version=$need_version
13590
13591 # Library versioning type.
13592 version_type=$version_type
13593
13594 # Shared library runtime path variable.
13595 runpath_var=$runpath_var
13596
13597 # Shared library path variable.
13598 shlibpath_var=$shlibpath_var
13599
13600 # Is shlibpath searched before the hard-coded library search path?
13601 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13602
13603 # Format of library name prefix.
13604 libname_spec=$lt_libname_spec
13605
13606 # List of archive names.  First name is the real one, the rest are links.
13607 # The last name is the one that the linker finds with -lNAME
13608 library_names_spec=$lt_library_names_spec
13609
13610 # The coded name of the library, if different from the real name.
13611 soname_spec=$lt_soname_spec
13612
13613 # Permission mode override for installation of shared libraries.
13614 install_override_mode=$lt_install_override_mode
13615
13616 # Command to use after installation of a shared archive.
13617 postinstall_cmds=$lt_postinstall_cmds
13618
13619 # Command to use after uninstallation of a shared archive.
13620 postuninstall_cmds=$lt_postuninstall_cmds
13621
13622 # Commands used to finish a libtool library installation in a directory.
13623 finish_cmds=$lt_finish_cmds
13624
13625 # As "finish_cmds", except a single script fragment to be evaled but
13626 # not shown.
13627 finish_eval=$lt_finish_eval
13628
13629 # Whether we should hardcode library paths into libraries.
13630 hardcode_into_libs=$hardcode_into_libs
13631
13632 # Compile-time system search path for libraries.
13633 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13634
13635 # Run-time system search path for libraries.
13636 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13637
13638 # Whether dlopen is supported.
13639 dlopen_support=$enable_dlopen
13640
13641 # Whether dlopen of programs is supported.
13642 dlopen_self=$enable_dlopen_self
13643
13644 # Whether dlopen of statically linked programs is supported.
13645 dlopen_self_static=$enable_dlopen_self_static
13646
13647 # Commands to strip libraries.
13648 old_striplib=$lt_old_striplib
13649 striplib=$lt_striplib
13650
13651
13652 # The linker used to build libraries.
13653 LD=$lt_LD
13654
13655 # How to create reloadable object files.
13656 reload_flag=$lt_reload_flag
13657 reload_cmds=$lt_reload_cmds
13658
13659 # Commands used to build an old-style archive.
13660 old_archive_cmds=$lt_old_archive_cmds
13661
13662 # A language specific compiler.
13663 CC=$lt_compiler
13664
13665 # Is the compiler the GNU compiler?
13666 with_gcc=$GCC
13667
13668 # Compiler flag to turn off builtin functions.
13669 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13670
13671 # Additional compiler flags for building library objects.
13672 pic_flag=$lt_lt_prog_compiler_pic
13673
13674 # How to pass a linker flag through the compiler.
13675 wl=$lt_lt_prog_compiler_wl
13676
13677 # Compiler flag to prevent dynamic linking.
13678 link_static_flag=$lt_lt_prog_compiler_static
13679
13680 # Does compiler simultaneously support -c and -o options?
13681 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13682
13683 # Whether or not to add -lc for building shared libraries.
13684 build_libtool_need_lc=$archive_cmds_need_lc
13685
13686 # Whether or not to disallow shared libs when runtime libs are static.
13687 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13688
13689 # Compiler flag to allow reflexive dlopens.
13690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13691
13692 # Compiler flag to generate shared objects directly from archives.
13693 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13694
13695 # Whether the compiler copes with passing no objects directly.
13696 compiler_needs_object=$lt_compiler_needs_object
13697
13698 # Create an old-style archive from a shared archive.
13699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13700
13701 # Create a temporary old-style archive to link instead of a shared archive.
13702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13703
13704 # Commands used to build a shared archive.
13705 archive_cmds=$lt_archive_cmds
13706 archive_expsym_cmds=$lt_archive_expsym_cmds
13707
13708 # Commands used to build a loadable module if different from building
13709 # a shared archive.
13710 module_cmds=$lt_module_cmds
13711 module_expsym_cmds=$lt_module_expsym_cmds
13712
13713 # Whether we are building with GNU ld or not.
13714 with_gnu_ld=$lt_with_gnu_ld
13715
13716 # Flag that allows shared libraries with undefined symbols to be built.
13717 allow_undefined_flag=$lt_allow_undefined_flag
13718
13719 # Flag that enforces no undefined symbols.
13720 no_undefined_flag=$lt_no_undefined_flag
13721
13722 # Flag to hardcode \$libdir into a binary during linking.
13723 # This must work even if \$libdir does not exist
13724 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13725
13726 # Whether we need a single "-rpath" flag with a separated argument.
13727 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13728
13729 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13730 # DIR into the resulting binary.
13731 hardcode_direct=$hardcode_direct
13732
13733 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13734 # DIR into the resulting binary and the resulting library dependency is
13735 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13736 # library is relocated.
13737 hardcode_direct_absolute=$hardcode_direct_absolute
13738
13739 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13740 # into the resulting binary.
13741 hardcode_minus_L=$hardcode_minus_L
13742
13743 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13744 # into the resulting binary.
13745 hardcode_shlibpath_var=$hardcode_shlibpath_var
13746
13747 # Set to "yes" if building a shared library automatically hardcodes DIR
13748 # into the library and all subsequent libraries and executables linked
13749 # against it.
13750 hardcode_automatic=$hardcode_automatic
13751
13752 # Set to yes if linker adds runtime paths of dependent libraries
13753 # to runtime path list.
13754 inherit_rpath=$inherit_rpath
13755
13756 # Whether libtool must link a program against all its dependency libraries.
13757 link_all_deplibs=$link_all_deplibs
13758
13759 # Set to "yes" if exported symbols are required.
13760 always_export_symbols=$always_export_symbols
13761
13762 # The commands to list exported symbols.
13763 export_symbols_cmds=$lt_export_symbols_cmds
13764
13765 # Symbols that should not be listed in the preloaded symbols.
13766 exclude_expsyms=$lt_exclude_expsyms
13767
13768 # Symbols that must always be exported.
13769 include_expsyms=$lt_include_expsyms
13770
13771 # Commands necessary for linking programs (against libraries) with templates.
13772 prelink_cmds=$lt_prelink_cmds
13773
13774 # Commands necessary for finishing linking programs.
13775 postlink_cmds=$lt_postlink_cmds
13776
13777 # Specify filename containing input files.
13778 file_list_spec=$lt_file_list_spec
13779
13780 # How to hardcode a shared library path into an executable.
13781 hardcode_action=$hardcode_action
13782
13783 # ### END LIBTOOL CONFIG
13784
13785 _LT_EOF
13786
13787   case $host_os in
13788   aix3*)
13789     cat <<\_LT_EOF >> "$cfgfile"
13790 # AIX sometimes has problems with the GCC collect2 program.  For some
13791 # reason, if we set the COLLECT_NAMES environment variable, the problems
13792 # vanish in a puff of smoke.
13793 if test "X${COLLECT_NAMES+set}" != Xset; then
13794   COLLECT_NAMES=
13795   export COLLECT_NAMES
13796 fi
13797 _LT_EOF
13798     ;;
13799   esac
13800
13801
13802 ltmain="$ac_aux_dir/ltmain.sh"
13803
13804
13805   # We use sed instead of cat because bash on DJGPP gets confused if
13806   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13807   # text mode, it properly converts lines to CR/LF.  This bash problem
13808   # is reportedly fixed, but why not run on old versions too?
13809   sed '$q' "$ltmain" >> "$cfgfile" \
13810      || (rm -f "$cfgfile"; exit 1)
13811
13812   if test x"$xsi_shell" = xyes; then
13813   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13814 func_dirname ()\
13815 {\
13816 \    case ${1} in\
13817 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13818 \      *  ) func_dirname_result="${3}" ;;\
13819 \    esac\
13820 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13821   && mv -f "$cfgfile.tmp" "$cfgfile" \
13822     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13823 test 0 -eq $? || _lt_function_replace_fail=:
13824
13825
13826   sed -e '/^func_basename ()$/,/^} # func_basename /c\
13827 func_basename ()\
13828 {\
13829 \    func_basename_result="${1##*/}"\
13830 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13831   && mv -f "$cfgfile.tmp" "$cfgfile" \
13832     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13833 test 0 -eq $? || _lt_function_replace_fail=:
13834
13835
13836   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13837 func_dirname_and_basename ()\
13838 {\
13839 \    case ${1} in\
13840 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13841 \      *  ) func_dirname_result="${3}" ;;\
13842 \    esac\
13843 \    func_basename_result="${1##*/}"\
13844 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13845   && mv -f "$cfgfile.tmp" "$cfgfile" \
13846     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13847 test 0 -eq $? || _lt_function_replace_fail=:
13848
13849
13850   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13851 func_stripname ()\
13852 {\
13853 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13854 \    # positional parameters, so assign one to ordinary parameter first.\
13855 \    func_stripname_result=${3}\
13856 \    func_stripname_result=${func_stripname_result#"${1}"}\
13857 \    func_stripname_result=${func_stripname_result%"${2}"}\
13858 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13859   && mv -f "$cfgfile.tmp" "$cfgfile" \
13860     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13861 test 0 -eq $? || _lt_function_replace_fail=:
13862
13863
13864   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13865 func_split_long_opt ()\
13866 {\
13867 \    func_split_long_opt_name=${1%%=*}\
13868 \    func_split_long_opt_arg=${1#*=}\
13869 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13870   && mv -f "$cfgfile.tmp" "$cfgfile" \
13871     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13872 test 0 -eq $? || _lt_function_replace_fail=:
13873
13874
13875   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13876 func_split_short_opt ()\
13877 {\
13878 \    func_split_short_opt_arg=${1#??}\
13879 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13880 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13881   && mv -f "$cfgfile.tmp" "$cfgfile" \
13882     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13883 test 0 -eq $? || _lt_function_replace_fail=:
13884
13885
13886   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13887 func_lo2o ()\
13888 {\
13889 \    case ${1} in\
13890 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13891 \      *)    func_lo2o_result=${1} ;;\
13892 \    esac\
13893 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13894   && mv -f "$cfgfile.tmp" "$cfgfile" \
13895     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13896 test 0 -eq $? || _lt_function_replace_fail=:
13897
13898
13899   sed -e '/^func_xform ()$/,/^} # func_xform /c\
13900 func_xform ()\
13901 {\
13902     func_xform_result=${1%.*}.lo\
13903 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13904   && mv -f "$cfgfile.tmp" "$cfgfile" \
13905     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13906 test 0 -eq $? || _lt_function_replace_fail=:
13907
13908
13909   sed -e '/^func_arith ()$/,/^} # func_arith /c\
13910 func_arith ()\
13911 {\
13912     func_arith_result=$(( $* ))\
13913 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13914   && mv -f "$cfgfile.tmp" "$cfgfile" \
13915     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13916 test 0 -eq $? || _lt_function_replace_fail=:
13917
13918
13919   sed -e '/^func_len ()$/,/^} # func_len /c\
13920 func_len ()\
13921 {\
13922     func_len_result=${#1}\
13923 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13924   && mv -f "$cfgfile.tmp" "$cfgfile" \
13925     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13926 test 0 -eq $? || _lt_function_replace_fail=:
13927
13928 fi
13929
13930 if test x"$lt_shell_append" = xyes; then
13931   sed -e '/^func_append ()$/,/^} # func_append /c\
13932 func_append ()\
13933 {\
13934     eval "${1}+=\\${2}"\
13935 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13936   && mv -f "$cfgfile.tmp" "$cfgfile" \
13937     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13938 test 0 -eq $? || _lt_function_replace_fail=:
13939
13940
13941   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13942 func_append_quoted ()\
13943 {\
13944 \    func_quote_for_eval "${2}"\
13945 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13946 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13947   && mv -f "$cfgfile.tmp" "$cfgfile" \
13948     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13949 test 0 -eq $? || _lt_function_replace_fail=:
13950
13951
13952   # Save a `func_append' function call where possible by direct use of '+='
13953   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13954     && mv -f "$cfgfile.tmp" "$cfgfile" \
13955       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13956   test 0 -eq $? || _lt_function_replace_fail=:
13957 else
13958   # Save a `func_append' function call even when '+=' is not available
13959   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13960     && mv -f "$cfgfile.tmp" "$cfgfile" \
13961       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13962   test 0 -eq $? || _lt_function_replace_fail=:
13963 fi
13964
13965 if test x"$_lt_function_replace_fail" = x":"; then
13966   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13967 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13968 fi
13969
13970
13971    mv -f "$cfgfile" "$ofile" ||
13972     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13973   chmod +x "$ofile"
13974
13975
13976 as_fn_exit 0
13977 _LTEOF
13978 chmod +x "$CONFIG_LT"
13979
13980 # configure is writing to config.log, but config.lt does its own redirection,
13981 # appending to config.log, which fails on DOS, as config.log is still kept
13982 # open by configure.  Here we exec the FD to /dev/null, effectively closing
13983 # config.log, so it can be properly (re)opened and appended to by config.lt.
13984 lt_cl_success=:
13985 test "$silent" = yes &&
13986   lt_config_lt_args="$lt_config_lt_args --quiet"
13987 exec 5>/dev/null
13988 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13989 exec 5>>config.log
13990 $lt_cl_success || as_fn_exit 1
13991
13992
13993 # Make sure we use 64-bit versions of various file stuff.
13994 # Check whether --enable-largefile was given.
13995 if test "${enable_largefile+set}" = set; then :
13996   enableval=$enable_largefile;
13997 fi
13998
13999 if test "$enable_largefile" != no; then
14000
14001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14002 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14003 if ${ac_cv_sys_largefile_CC+:} false; then :
14004   $as_echo_n "(cached) " >&6
14005 else
14006   ac_cv_sys_largefile_CC=no
14007      if test "$GCC" != yes; then
14008        ac_save_CC=$CC
14009        while :; do
14010          # IRIX 6.2 and later do not support large files by default,
14011          # so use the C compiler's -n32 option if that helps.
14012          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h.  */
14014 #include <sys/types.h>
14015  /* Check that off_t can represent 2**63 - 1 correctly.
14016     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14017     since some C++ compilers masquerading as C compilers
14018     incorrectly reject 9223372036854775807.  */
14019 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14020   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14021                        && LARGE_OFF_T % 2147483647 == 1)
14022                       ? 1 : -1];
14023 int
14024 main ()
14025 {
14026
14027   ;
14028   return 0;
14029 }
14030 _ACEOF
14031          if ac_fn_c_try_compile "$LINENO"; then :
14032   break
14033 fi
14034 rm -f core conftest.err conftest.$ac_objext
14035          CC="$CC -n32"
14036          if ac_fn_c_try_compile "$LINENO"; then :
14037   ac_cv_sys_largefile_CC=' -n32'; break
14038 fi
14039 rm -f core conftest.err conftest.$ac_objext
14040          break
14041        done
14042        CC=$ac_save_CC
14043        rm -f conftest.$ac_ext
14044     fi
14045 fi
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14047 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14048   if test "$ac_cv_sys_largefile_CC" != no; then
14049     CC=$CC$ac_cv_sys_largefile_CC
14050   fi
14051
14052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14053 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14054 if ${ac_cv_sys_file_offset_bits+:} false; then :
14055   $as_echo_n "(cached) " >&6
14056 else
14057   while :; do
14058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h.  */
14060 #include <sys/types.h>
14061  /* Check that off_t can represent 2**63 - 1 correctly.
14062     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14063     since some C++ compilers masquerading as C compilers
14064     incorrectly reject 9223372036854775807.  */
14065 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14066   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14067                        && LARGE_OFF_T % 2147483647 == 1)
14068                       ? 1 : -1];
14069 int
14070 main ()
14071 {
14072
14073   ;
14074   return 0;
14075 }
14076 _ACEOF
14077 if ac_fn_c_try_compile "$LINENO"; then :
14078   ac_cv_sys_file_offset_bits=no; break
14079 fi
14080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h.  */
14083 #define _FILE_OFFSET_BITS 64
14084 #include <sys/types.h>
14085  /* Check that off_t can represent 2**63 - 1 correctly.
14086     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14087     since some C++ compilers masquerading as C compilers
14088     incorrectly reject 9223372036854775807.  */
14089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14090   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14091                        && LARGE_OFF_T % 2147483647 == 1)
14092                       ? 1 : -1];
14093 int
14094 main ()
14095 {
14096
14097   ;
14098   return 0;
14099 }
14100 _ACEOF
14101 if ac_fn_c_try_compile "$LINENO"; then :
14102   ac_cv_sys_file_offset_bits=64; break
14103 fi
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14105   ac_cv_sys_file_offset_bits=unknown
14106   break
14107 done
14108 fi
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14110 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14111 case $ac_cv_sys_file_offset_bits in #(
14112   no | unknown) ;;
14113   *)
14114 cat >>confdefs.h <<_ACEOF
14115 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14116 _ACEOF
14117 ;;
14118 esac
14119 rm -rf conftest*
14120   if test $ac_cv_sys_file_offset_bits = unknown; then
14121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14122 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14123 if ${ac_cv_sys_large_files+:} false; then :
14124   $as_echo_n "(cached) " >&6
14125 else
14126   while :; do
14127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h.  */
14129 #include <sys/types.h>
14130  /* Check that off_t can represent 2**63 - 1 correctly.
14131     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14132     since some C++ compilers masquerading as C compilers
14133     incorrectly reject 9223372036854775807.  */
14134 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14135   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14136                        && LARGE_OFF_T % 2147483647 == 1)
14137                       ? 1 : -1];
14138 int
14139 main ()
14140 {
14141
14142   ;
14143   return 0;
14144 }
14145 _ACEOF
14146 if ac_fn_c_try_compile "$LINENO"; then :
14147   ac_cv_sys_large_files=no; break
14148 fi
14149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h.  */
14152 #define _LARGE_FILES 1
14153 #include <sys/types.h>
14154  /* Check that off_t can represent 2**63 - 1 correctly.
14155     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14156     since some C++ compilers masquerading as C compilers
14157     incorrectly reject 9223372036854775807.  */
14158 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14159   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14160                        && LARGE_OFF_T % 2147483647 == 1)
14161                       ? 1 : -1];
14162 int
14163 main ()
14164 {
14165
14166   ;
14167   return 0;
14168 }
14169 _ACEOF
14170 if ac_fn_c_try_compile "$LINENO"; then :
14171   ac_cv_sys_large_files=1; break
14172 fi
14173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14174   ac_cv_sys_large_files=unknown
14175   break
14176 done
14177 fi
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14179 $as_echo "$ac_cv_sys_large_files" >&6; }
14180 case $ac_cv_sys_large_files in #(
14181   no | unknown) ;;
14182   *)
14183 cat >>confdefs.h <<_ACEOF
14184 #define _LARGE_FILES $ac_cv_sys_large_files
14185 _ACEOF
14186 ;;
14187 esac
14188 rm -rf conftest*
14189   fi
14190 fi
14191
14192
14193 # By default we simply use the C compiler to build assembly code.
14194
14195 test "${CCAS+set}" = set || CCAS=$CC
14196 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
14197
14198
14199
14200 depcc="$CCAS"   am_compiler_list=
14201
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14203 $as_echo_n "checking dependency style of $depcc... " >&6; }
14204 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
14205   $as_echo_n "(cached) " >&6
14206 else
14207   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14208   # We make a subdir and do the tests there.  Otherwise we can end up
14209   # making bogus files that we don't know about and never remove.  For
14210   # instance it was reported that on HP-UX the gcc test will end up
14211   # making a dummy file named `D' -- because `-MD' means `put the output
14212   # in D'.
14213   rm -rf conftest.dir
14214   mkdir conftest.dir
14215   # Copy depcomp to subdir because otherwise we won't find it if we're
14216   # using a relative directory.
14217   cp "$am_depcomp" conftest.dir
14218   cd conftest.dir
14219   # We will build objects and dependencies in a subdirectory because
14220   # it helps to detect inapplicable dependency modes.  For instance
14221   # both Tru64's cc and ICC support -MD to output dependencies as a
14222   # side effect of compilation, but ICC will put the dependencies in
14223   # the current directory while Tru64 will put them in the object
14224   # directory.
14225   mkdir sub
14226
14227   am_cv_CCAS_dependencies_compiler_type=none
14228   if test "$am_compiler_list" = ""; then
14229      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14230   fi
14231   am__universal=false
14232
14233
14234   for depmode in $am_compiler_list; do
14235     # Setup a source with many dependencies, because some compilers
14236     # like to wrap large dependency lists on column 80 (with \), and
14237     # we should not choose a depcomp mode which is confused by this.
14238     #
14239     # We need to recreate these files for each test, as the compiler may
14240     # overwrite some of them when testing with obscure command lines.
14241     # This happens at least with the AIX C compiler.
14242     : > sub/conftest.c
14243     for i in 1 2 3 4 5 6; do
14244       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14245       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14246       # Solaris 8's {/usr,}/bin/sh.
14247       touch sub/conftst$i.h
14248     done
14249     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14250
14251     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14252     # mode.  It turns out that the SunPro C++ compiler does not properly
14253     # handle `-M -o', and we need to detect this.  Also, some Intel
14254     # versions had trouble with output in subdirs
14255     am__obj=sub/conftest.${OBJEXT-o}
14256     am__minus_obj="-o $am__obj"
14257     case $depmode in
14258     gcc)
14259       # This depmode causes a compiler race in universal mode.
14260       test "$am__universal" = false || continue
14261       ;;
14262     nosideeffect)
14263       # after this tag, mechanisms are not by side-effect, so they'll
14264       # only be used when explicitly requested
14265       if test "x$enable_dependency_tracking" = xyes; then
14266         continue
14267       else
14268         break
14269       fi
14270       ;;
14271     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14272       # This compiler won't grok `-c -o', but also, the minuso test has
14273       # not run yet.  These depmodes are late enough in the game, and
14274       # so weak that their functioning should not be impacted.
14275       am__obj=conftest.${OBJEXT-o}
14276       am__minus_obj=
14277       ;;
14278     none) break ;;
14279     esac
14280     if depmode=$depmode \
14281        source=sub/conftest.c object=$am__obj \
14282        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14283        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14284          >/dev/null 2>conftest.err &&
14285        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14286        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14287        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14288        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14289       # icc doesn't choke on unknown options, it will just issue warnings
14290       # or remarks (even with -Werror).  So we grep stderr for any message
14291       # that says an option was ignored or not supported.
14292       # When given -MP, icc 7.0 and 7.1 complain thusly:
14293       #   icc: Command line warning: ignoring option '-M'; no argument required
14294       # The diagnosis changed in icc 8.0:
14295       #   icc: Command line remark: option '-MP' not supported
14296       if (grep 'ignoring option' conftest.err ||
14297           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14298         am_cv_CCAS_dependencies_compiler_type=$depmode
14299         break
14300       fi
14301     fi
14302   done
14303
14304   cd ..
14305   rm -rf conftest.dir
14306 else
14307   am_cv_CCAS_dependencies_compiler_type=none
14308 fi
14309
14310 fi
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
14312 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
14313 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
14314
14315  if
14316   test "x$enable_dependency_tracking" != xno \
14317   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
14318   am__fastdepCCAS_TRUE=
14319   am__fastdepCCAS_FALSE='#'
14320 else
14321   am__fastdepCCAS_TRUE='#'
14322   am__fastdepCCAS_FALSE=
14323 fi
14324
14325
14326 # Extract the first word of "nm", so it can be a program name with args.
14327 set dummy nm; ac_word=$2
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14329 $as_echo_n "checking for $ac_word... " >&6; }
14330 if ${ac_cv_path_NM+:} false; then :
14331   $as_echo_n "(cached) " >&6
14332 else
14333   case $NM in
14334   [\\/]* | ?:[\\/]*)
14335   ac_cv_path_NM="$NM" # Let the user override the test with a path.
14336   ;;
14337   *)
14338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14339 for as_dir in $PATH
14340 do
14341   IFS=$as_save_IFS
14342   test -z "$as_dir" && as_dir=.
14343     for ac_exec_ext in '' $ac_executable_extensions; do
14344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14345     ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
14346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14347     break 2
14348   fi
14349 done
14350   done
14351 IFS=$as_save_IFS
14352
14353   test -z "$ac_cv_path_NM" && ac_cv_path_NM="nm"
14354   ;;
14355 esac
14356 fi
14357 NM=$ac_cv_path_NM
14358 if test -n "$NM"; then
14359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14360 $as_echo "$NM" >&6; }
14361 else
14362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14363 $as_echo "no" >&6; }
14364 fi
14365
14366
14367
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
14369 $as_echo_n "checking for some Win32 platform... " >&6; }
14370 case "$host" in #(
14371   *-*-mingw*|*-*-cygwin*) :
14372     platform_win32=yes ;; #(
14373   *) :
14374     platform_win32=no
14375  ;;
14376 esac
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
14378 $as_echo "$platform_win32" >&6; }
14379  if test "$platform_win32" = "yes"; then
14380   PLATFORM_WIN32_TRUE=
14381   PLATFORM_WIN32_FALSE='#'
14382 else
14383   PLATFORM_WIN32_TRUE='#'
14384   PLATFORM_WIN32_FALSE=
14385 fi
14386
14387
14388  if test "$os_win32" = "yes"; then
14389   OS_WIN32_TRUE=
14390   OS_WIN32_FALSE='#'
14391 else
14392   OS_WIN32_TRUE='#'
14393   OS_WIN32_FALSE=
14394 fi
14395
14396  if test "$os_win32" != "yes"; then
14397   OS_UNIX_TRUE=
14398   OS_UNIX_FALSE='#'
14399 else
14400   OS_UNIX_TRUE='#'
14401   OS_UNIX_FALSE=
14402 fi
14403
14404  if test "$os_linux" = "yes"; then
14405   OS_LINUX_TRUE=
14406   OS_LINUX_FALSE='#'
14407 else
14408   OS_LINUX_TRUE='#'
14409   OS_LINUX_FALSE=
14410 fi
14411
14412
14413 if test "$os_win32" = "yes"; then
14414   if test -n "$ac_tool_prefix"; then
14415   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14416 set dummy ${ac_tool_prefix}windres; ac_word=$2
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14418 $as_echo_n "checking for $ac_word... " >&6; }
14419 if ${ac_cv_prog_WINDRES+:} false; then :
14420   $as_echo_n "(cached) " >&6
14421 else
14422   if test -n "$WINDRES"; then
14423   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14424 else
14425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14426 for as_dir in $PATH
14427 do
14428   IFS=$as_save_IFS
14429   test -z "$as_dir" && as_dir=.
14430     for ac_exec_ext in '' $ac_executable_extensions; do
14431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14432     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14434     break 2
14435   fi
14436 done
14437   done
14438 IFS=$as_save_IFS
14439
14440 fi
14441 fi
14442 WINDRES=$ac_cv_prog_WINDRES
14443 if test -n "$WINDRES"; then
14444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
14445 $as_echo "$WINDRES" >&6; }
14446 else
14447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14448 $as_echo "no" >&6; }
14449 fi
14450
14451
14452 fi
14453 if test -z "$ac_cv_prog_WINDRES"; then
14454   ac_ct_WINDRES=$WINDRES
14455   # Extract the first word of "windres", so it can be a program name with args.
14456 set dummy windres; ac_word=$2
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14458 $as_echo_n "checking for $ac_word... " >&6; }
14459 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
14460   $as_echo_n "(cached) " >&6
14461 else
14462   if test -n "$ac_ct_WINDRES"; then
14463   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14464 else
14465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14466 for as_dir in $PATH
14467 do
14468   IFS=$as_save_IFS
14469   test -z "$as_dir" && as_dir=.
14470     for ac_exec_ext in '' $ac_executable_extensions; do
14471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14472     ac_cv_prog_ac_ct_WINDRES="windres"
14473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14474     break 2
14475   fi
14476 done
14477   done
14478 IFS=$as_save_IFS
14479
14480 fi
14481 fi
14482 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14483 if test -n "$ac_ct_WINDRES"; then
14484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
14485 $as_echo "$ac_ct_WINDRES" >&6; }
14486 else
14487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 $as_echo "no" >&6; }
14489 fi
14490
14491   if test "x$ac_ct_WINDRES" = x; then
14492     WINDRES="no"
14493   else
14494     case $cross_compiling:$ac_tool_warned in
14495 yes:)
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14498 ac_tool_warned=yes ;;
14499 esac
14500     WINDRES=$ac_ct_WINDRES
14501   fi
14502 else
14503   WINDRES="$ac_cv_prog_WINDRES"
14504 fi
14505
14506   if test "$WINDRES" = no; then
14507     as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
14508   fi
14509   # Extract the first word of "lib.exe", so it can be a program name with args.
14510 set dummy lib.exe; ac_word=$2
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14512 $as_echo_n "checking for $ac_word... " >&6; }
14513 if ${ac_cv_prog_ms_librarian+:} false; then :
14514   $as_echo_n "(cached) " >&6
14515 else
14516   if test -n "$ms_librarian"; then
14517   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
14518 else
14519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14520 for as_dir in $PATH
14521 do
14522   IFS=$as_save_IFS
14523   test -z "$as_dir" && as_dir=.
14524     for ac_exec_ext in '' $ac_executable_extensions; do
14525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14526     ac_cv_prog_ms_librarian="yes"
14527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14528     break 2
14529   fi
14530 done
14531   done
14532 IFS=$as_save_IFS
14533
14534   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
14535 fi
14536 fi
14537 ms_librarian=$ac_cv_prog_ms_librarian
14538 if test -n "$ms_librarian"; then
14539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
14540 $as_echo "$ms_librarian" >&6; }
14541 else
14542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14543 $as_echo "no" >&6; }
14544 fi
14545
14546
14547 fi
14548  if test x$ms_librarian = xyes; then
14549   MS_LIB_AVAILABLE_TRUE=
14550   MS_LIB_AVAILABLE_FALSE='#'
14551 else
14552   MS_LIB_AVAILABLE_TRUE='#'
14553   MS_LIB_AVAILABLE_FALSE=
14554 fi
14555
14556
14557
14558
14559 # Check whether --enable-debug was given.
14560 if test "${enable_debug+set}" = set; then :
14561   enableval=$enable_debug;
14562 else
14563   enable_debug=minimum
14564 fi
14565
14566 # Check whether --enable-rebuilds was given.
14567 if test "${enable_rebuilds+set}" = set; then :
14568   enableval=$enable_rebuilds;
14569 else
14570   enable_rebuilds=yes
14571 fi
14572
14573
14574 case $enable_debug in #(
14575   yes) :
14576
14577           test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
14578           GDK_PIXBUF_DEBUG_FLAGS="-DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES"
14579          ;; #(
14580   no) :
14581     GDK_PIXBUF_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" ;; #(
14582   minimum) :
14583     GDK_PIXBUF_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
14584  ;; #(
14585   *) :
14586      ;;
14587 esac
14588
14589 # Build time sanity check...
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
14591 $as_echo_n "checking whether build environment is sane... " >&6; }
14592 # Just in case
14593 sleep 1
14594 echo timestamp > conftest.file
14595 # Reject unsafe characters in $srcdir or the absolute working directory
14596 # name.  Accept space and tab only in the latter.
14597 am_lf='
14598 '
14599 case `pwd` in
14600   *[\\\"\#\$\&\'\`$am_lf]*)
14601     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
14602 esac
14603 case $srcdir in
14604   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
14605     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
14606 esac
14607
14608 # Do `set' in a subshell so we don't clobber the current shell's
14609 # arguments.  Must try -L first in case configure is actually a
14610 # symlink; some systems play weird games with the mod time of symlinks
14611 # (eg FreeBSD returns the mod time of the symlink's containing
14612 # directory).
14613 if (
14614    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
14615    if test "$*" = "X"; then
14616       # -L didn't work.
14617       set X `ls -t "$srcdir/configure" conftest.file`
14618    fi
14619    rm -f conftest.file
14620    if test "$*" != "X $srcdir/configure conftest.file" \
14621       && test "$*" != "X conftest.file $srcdir/configure"; then
14622
14623       # If neither matched, then we have a broken ls.  This can happen
14624       # if, for instance, CONFIG_SHELL is bash and it inherits a
14625       # broken ls alias from the environment.  This has actually
14626       # happened.  Such a system could not be considered "sane".
14627       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
14628 alias in your environment" "$LINENO" 5
14629    fi
14630
14631    test "$2" = conftest.file
14632    )
14633 then
14634    # Ok.
14635    :
14636 else
14637    as_fn_error $? "newly created file is older than distributed files!
14638 Check your system clock" "$LINENO" 5
14639 fi
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14641 $as_echo "yes" >&6; }
14642
14643 if test "x$GCC" = "xyes"; then
14644   case " $CFLAGS " in
14645   *[\ \ ]-Wall[\ \      ]*) ;;
14646   *) CFLAGS="$CFLAGS -Wall" ;;
14647   esac
14648
14649   if test "x$enable_ansi" = "xyes"; then
14650     case " $CFLAGS " in
14651     *[\ \       ]-ansi[\ \      ]*) ;;
14652     *) CFLAGS="$CFLAGS -ansi" ;;
14653     esac
14654
14655     case " $CFLAGS " in
14656     *[\ \       ]-pedantic[\ \  ]*) ;;
14657     *) CFLAGS="$CFLAGS -pedantic" ;;
14658     esac
14659   fi
14660 fi
14661
14662 CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES"
14663
14664 # Ensure MSVC-compatible struct packing convention is used when
14665 # compiling for Win32 with gcc.
14666 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
14667 # gcc2 uses "-fnative-struct".
14668 if test x"$os_win32" = xyes; then
14669   if test x"$GCC" = xyes; then
14670     msnative_struct=''
14671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
14672 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
14673     if test -z "$ac_cv_prog_CC"; then
14674       our_gcc="$CC"
14675     else
14676       our_gcc="$ac_cv_prog_CC"
14677     fi
14678     case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
14679       2.)
14680         if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
14681           msnative_struct='-fnative-struct'
14682         fi
14683         ;;
14684       *)
14685         if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
14686           msnative_struct='-mms-bitfields'
14687         fi
14688         ;;
14689     esac
14690     if test x"$msnative_struct" = x ; then
14691       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
14692 $as_echo "no way" >&6; }
14693       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
14694 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
14695     else
14696       CFLAGS="$CFLAGS $msnative_struct"
14697       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
14698 $as_echo "${msnative_struct}" >&6; }
14699     fi
14700   fi
14701 fi
14702
14703 ## Initial sanity check, done here so that users get told they
14704 ## have the wrong dependencies as early in the process as possible.
14705 ## Later on we actually use the cflags/libs from separate pkg-config
14706 ## calls. Oh, also the later pkg-config calls don't include
14707 ## the version requirements since those make the module lists
14708 ## annoying to construct
14709
14710 pkg_failed=no
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE_DEPENDENCIES" >&5
14712 $as_echo_n "checking for BASE_DEPENDENCIES... " >&6; }
14713
14714 if test -n "$BASE_DEPENDENCIES_CFLAGS"; then
14715     pkg_cv_BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS"
14716  elif test -n "$PKG_CONFIG"; then
14717     if test -n "$PKG_CONFIG" && \
14718     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.0\""; } >&5
14719   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0") 2>&5
14720   ac_status=$?
14721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14722   test $ac_status = 0; }; then
14723   pkg_cv_BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31.0" 2>/dev/null`
14724 else
14725   pkg_failed=yes
14726 fi
14727  else
14728     pkg_failed=untried
14729 fi
14730 if test -n "$BASE_DEPENDENCIES_LIBS"; then
14731     pkg_cv_BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS"
14732  elif test -n "$PKG_CONFIG"; then
14733     if test -n "$PKG_CONFIG" && \
14734     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.0\""; } >&5
14735   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0") 2>&5
14736   ac_status=$?
14737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14738   test $ac_status = 0; }; then
14739   pkg_cv_BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31.0" 2>/dev/null`
14740 else
14741   pkg_failed=yes
14742 fi
14743  else
14744     pkg_failed=untried
14745 fi
14746
14747
14748
14749 if test $pkg_failed = yes; then
14750         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14751 $as_echo "no" >&6; }
14752
14753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14754         _pkg_short_errors_supported=yes
14755 else
14756         _pkg_short_errors_supported=no
14757 fi
14758         if test $_pkg_short_errors_supported = yes; then
14759                 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.31.0" 2>&1`
14760         else
14761                 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.31.0" 2>&1`
14762         fi
14763         # Put the nasty error message in config.log where it belongs
14764         echo "$BASE_DEPENDENCIES_PKG_ERRORS" >&5
14765
14766         as_fn_error $? "Package requirements (glib-2.0 >= 2.31.0) were not met:
14767
14768 $BASE_DEPENDENCIES_PKG_ERRORS
14769
14770 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14771 installed software in a non-standard prefix.
14772
14773 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
14774 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
14775 See the pkg-config man page for more details." "$LINENO" 5
14776
14777 elif test $pkg_failed = untried; then
14778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14779 $as_echo "no" >&6; }
14780         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14782 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14783 is in your PATH or set the PKG_CONFIG environment variable to the full
14784 path to pkg-config.
14785
14786 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
14787 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
14788 See the pkg-config man page for more details.
14789
14790 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14791 See \`config.log' for more details" "$LINENO" 5; }
14792
14793 else
14794         BASE_DEPENDENCIES_CFLAGS=$pkg_cv_BASE_DEPENDENCIES_CFLAGS
14795         BASE_DEPENDENCIES_LIBS=$pkg_cv_BASE_DEPENDENCIES_LIBS
14796         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797 $as_echo "yes" >&6; }
14798
14799 fi
14800
14801 if test "$os_win32" != yes; then
14802     # libtool option to control which symbols are exported
14803     # right now, symbols starting with _ are not exported
14804     LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
14805 else
14806     # We currently use .def files on Windows (for gdk-pixbuf, gdk and gtk)
14807     LIBTOOL_EXPORT_OPTIONS=
14808 fi
14809
14810
14811
14812 # Check whether --enable-explicit-deps was given.
14813 if test "${enable_explicit_deps+set}" = set; then :
14814   enableval=$enable_explicit_deps;
14815 else
14816   enable_explicit_deps=auto
14817 fi
14818
14819
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
14821 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
14822 case $enable_explicit_deps in
14823   auto)
14824     export SED
14825     deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
14826     if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
14827       enable_explicit_deps=yes
14828     else
14829       enable_explicit_deps=no
14830     fi
14831   ;;
14832   yes|no)
14833   ;;
14834   *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
14835   ;;
14836 esac
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
14838 $as_echo "$enable_explicit_deps" >&6; }
14839
14840  if test $enable_explicit_deps = no; then
14841   DISABLE_EXPLICIT_DEPS_TRUE=
14842   DISABLE_EXPLICIT_DEPS_FALSE='#'
14843 else
14844   DISABLE_EXPLICIT_DEPS_TRUE='#'
14845   DISABLE_EXPLICIT_DEPS_FALSE=
14846 fi
14847
14848
14849 # define a MAINT-like variable REBUILD which is set if Perl
14850 # and awk are found, so autogenerated sources can be rebuilt
14851
14852 for ac_prog in perl5 perl
14853 do
14854   # Extract the first word of "$ac_prog", so it can be a program name with args.
14855 set dummy $ac_prog; ac_word=$2
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14857 $as_echo_n "checking for $ac_word... " >&6; }
14858 if ${ac_cv_path_PERL+:} false; then :
14859   $as_echo_n "(cached) " >&6
14860 else
14861   case $PERL in
14862   [\\/]* | ?:[\\/]*)
14863   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
14864   ;;
14865   *)
14866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14867 for as_dir in $PATH
14868 do
14869   IFS=$as_save_IFS
14870   test -z "$as_dir" && as_dir=.
14871     for ac_exec_ext in '' $ac_executable_extensions; do
14872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14873     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
14874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14875     break 2
14876   fi
14877 done
14878   done
14879 IFS=$as_save_IFS
14880
14881   ;;
14882 esac
14883 fi
14884 PERL=$ac_cv_path_PERL
14885 if test -n "$PERL"; then
14886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
14887 $as_echo "$PERL" >&6; }
14888 else
14889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14890 $as_echo "no" >&6; }
14891 fi
14892
14893
14894   test -n "$PERL" && break
14895 done
14896
14897
14898 REBUILD=\#
14899 if test "x$enable_rebuilds" = "xyes" && \
14900      test -n "$PERL" && \
14901      $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
14902   REBUILD=
14903 fi
14904
14905
14906 # sigsetjmp is a macro on some platforms, so AC_CHECK_FUNCS is not reliable
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
14908 $as_echo_n "checking for sigsetjmp... " >&6; }
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h.  */
14911 #include <setjmp.h>
14912 int
14913 main ()
14914 {
14915
14916 sigjmp_buf env;
14917 sigsetjmp(env, 0);
14918
14919   ;
14920   return 0;
14921 }
14922 _ACEOF
14923 if ac_fn_c_try_link "$LINENO"; then :
14924   gtk_ok=yes
14925 else
14926   gtk_ok=no
14927 fi
14928 rm -f core conftest.err conftest.$ac_objext \
14929     conftest$ac_exeext conftest.$ac_ext
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
14931 $as_echo "$gtk_ok" >&6; }
14932 if test "$gtk_ok" = "yes"; then
14933
14934 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
14935
14936 fi
14937
14938 # i18n stuff
14939
14940
14941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14942 $as_echo_n "checking whether NLS is requested... " >&6; }
14943     # Check whether --enable-nls was given.
14944 if test "${enable_nls+set}" = set; then :
14945   enableval=$enable_nls; USE_NLS=$enableval
14946 else
14947   USE_NLS=yes
14948 fi
14949
14950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14951 $as_echo "$USE_NLS" >&6; }
14952
14953
14954
14955
14956       GETTEXT_MACRO_VERSION=0.17
14957
14958
14959
14960
14961 # Prepare PATH_SEPARATOR.
14962 # The user is always right.
14963 if test "${PATH_SEPARATOR+set}" != set; then
14964   echo "#! /bin/sh" >conf$$.sh
14965   echo  "exit 0"   >>conf$$.sh
14966   chmod +x conf$$.sh
14967   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14968     PATH_SEPARATOR=';'
14969   else
14970     PATH_SEPARATOR=:
14971   fi
14972   rm -f conf$$.sh
14973 fi
14974
14975 # Find out how to test for executable files. Don't use a zero-byte file,
14976 # as systems may use methods other than mode bits to determine executability.
14977 cat >conf$$.file <<_ASEOF
14978 #! /bin/sh
14979 exit 0
14980 _ASEOF
14981 chmod +x conf$$.file
14982 if test -x conf$$.file >/dev/null 2>&1; then
14983   ac_executable_p="test -x"
14984 else
14985   ac_executable_p="test -f"
14986 fi
14987 rm -f conf$$.file
14988
14989 # Extract the first word of "msgfmt", so it can be a program name with args.
14990 set dummy msgfmt; ac_word=$2
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14992 $as_echo_n "checking for $ac_word... " >&6; }
14993 if ${ac_cv_path_MSGFMT+:} false; then :
14994   $as_echo_n "(cached) " >&6
14995 else
14996   case "$MSGFMT" in
14997   [\\/]* | ?:[\\/]*)
14998     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14999     ;;
15000   *)
15001     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15002     for ac_dir in $PATH; do
15003       IFS="$ac_save_IFS"
15004       test -z "$ac_dir" && ac_dir=.
15005       for ac_exec_ext in '' $ac_executable_extensions; do
15006         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15007           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15008           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15009      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15010             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15011             break 2
15012           fi
15013         fi
15014       done
15015     done
15016     IFS="$ac_save_IFS"
15017   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15018     ;;
15019 esac
15020 fi
15021 MSGFMT="$ac_cv_path_MSGFMT"
15022 if test "$MSGFMT" != ":"; then
15023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15024 $as_echo "$MSGFMT" >&6; }
15025 else
15026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15027 $as_echo "no" >&6; }
15028 fi
15029
15030   # Extract the first word of "gmsgfmt", so it can be a program name with args.
15031 set dummy gmsgfmt; ac_word=$2
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15033 $as_echo_n "checking for $ac_word... " >&6; }
15034 if ${ac_cv_path_GMSGFMT+:} false; then :
15035   $as_echo_n "(cached) " >&6
15036 else
15037   case $GMSGFMT in
15038   [\\/]* | ?:[\\/]*)
15039   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15040   ;;
15041   *)
15042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15043 for as_dir in $PATH
15044 do
15045   IFS=$as_save_IFS
15046   test -z "$as_dir" && as_dir=.
15047     for ac_exec_ext in '' $ac_executable_extensions; do
15048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15049     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15051     break 2
15052   fi
15053 done
15054   done
15055 IFS=$as_save_IFS
15056
15057   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15058   ;;
15059 esac
15060 fi
15061 GMSGFMT=$ac_cv_path_GMSGFMT
15062 if test -n "$GMSGFMT"; then
15063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15064 $as_echo "$GMSGFMT" >&6; }
15065 else
15066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15067 $as_echo "no" >&6; }
15068 fi
15069
15070
15071
15072     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15073     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15074     *) MSGFMT_015=$MSGFMT ;;
15075   esac
15076
15077   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15078     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15079     *) GMSGFMT_015=$GMSGFMT ;;
15080   esac
15081
15082
15083
15084 # Prepare PATH_SEPARATOR.
15085 # The user is always right.
15086 if test "${PATH_SEPARATOR+set}" != set; then
15087   echo "#! /bin/sh" >conf$$.sh
15088   echo  "exit 0"   >>conf$$.sh
15089   chmod +x conf$$.sh
15090   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15091     PATH_SEPARATOR=';'
15092   else
15093     PATH_SEPARATOR=:
15094   fi
15095   rm -f conf$$.sh
15096 fi
15097
15098 # Find out how to test for executable files. Don't use a zero-byte file,
15099 # as systems may use methods other than mode bits to determine executability.
15100 cat >conf$$.file <<_ASEOF
15101 #! /bin/sh
15102 exit 0
15103 _ASEOF
15104 chmod +x conf$$.file
15105 if test -x conf$$.file >/dev/null 2>&1; then
15106   ac_executable_p="test -x"
15107 else
15108   ac_executable_p="test -f"
15109 fi
15110 rm -f conf$$.file
15111
15112 # Extract the first word of "xgettext", so it can be a program name with args.
15113 set dummy xgettext; ac_word=$2
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15115 $as_echo_n "checking for $ac_word... " >&6; }
15116 if ${ac_cv_path_XGETTEXT+:} false; then :
15117   $as_echo_n "(cached) " >&6
15118 else
15119   case "$XGETTEXT" in
15120   [\\/]* | ?:[\\/]*)
15121     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15122     ;;
15123   *)
15124     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15125     for ac_dir in $PATH; do
15126       IFS="$ac_save_IFS"
15127       test -z "$ac_dir" && ac_dir=.
15128       for ac_exec_ext in '' $ac_executable_extensions; do
15129         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15130           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15131           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15132      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15133             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15134             break 2
15135           fi
15136         fi
15137       done
15138     done
15139     IFS="$ac_save_IFS"
15140   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15141     ;;
15142 esac
15143 fi
15144 XGETTEXT="$ac_cv_path_XGETTEXT"
15145 if test "$XGETTEXT" != ":"; then
15146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15147 $as_echo "$XGETTEXT" >&6; }
15148 else
15149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15150 $as_echo "no" >&6; }
15151 fi
15152
15153     rm -f messages.po
15154
15155     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15156     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15157     *) XGETTEXT_015=$XGETTEXT ;;
15158   esac
15159
15160
15161
15162 # Prepare PATH_SEPARATOR.
15163 # The user is always right.
15164 if test "${PATH_SEPARATOR+set}" != set; then
15165   echo "#! /bin/sh" >conf$$.sh
15166   echo  "exit 0"   >>conf$$.sh
15167   chmod +x conf$$.sh
15168   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15169     PATH_SEPARATOR=';'
15170   else
15171     PATH_SEPARATOR=:
15172   fi
15173   rm -f conf$$.sh
15174 fi
15175
15176 # Find out how to test for executable files. Don't use a zero-byte file,
15177 # as systems may use methods other than mode bits to determine executability.
15178 cat >conf$$.file <<_ASEOF
15179 #! /bin/sh
15180 exit 0
15181 _ASEOF
15182 chmod +x conf$$.file
15183 if test -x conf$$.file >/dev/null 2>&1; then
15184   ac_executable_p="test -x"
15185 else
15186   ac_executable_p="test -f"
15187 fi
15188 rm -f conf$$.file
15189
15190 # Extract the first word of "msgmerge", so it can be a program name with args.
15191 set dummy msgmerge; ac_word=$2
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15193 $as_echo_n "checking for $ac_word... " >&6; }
15194 if ${ac_cv_path_MSGMERGE+:} false; then :
15195   $as_echo_n "(cached) " >&6
15196 else
15197   case "$MSGMERGE" in
15198   [\\/]* | ?:[\\/]*)
15199     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15200     ;;
15201   *)
15202     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15203     for ac_dir in $PATH; do
15204       IFS="$ac_save_IFS"
15205       test -z "$ac_dir" && ac_dir=.
15206       for ac_exec_ext in '' $ac_executable_extensions; do
15207         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15208           echo "$as_me: trying $ac_dir/$ac_word..." >&5
15209           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15210             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15211             break 2
15212           fi
15213         fi
15214       done
15215     done
15216     IFS="$ac_save_IFS"
15217   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15218     ;;
15219 esac
15220 fi
15221 MSGMERGE="$ac_cv_path_MSGMERGE"
15222 if test "$MSGMERGE" != ":"; then
15223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15224 $as_echo "$MSGMERGE" >&6; }
15225 else
15226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15227 $as_echo "no" >&6; }
15228 fi
15229
15230
15231         test -n "$localedir" || localedir='${datadir}/locale'
15232
15233
15234     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
15235
15236
15237   ac_config_commands="$ac_config_commands po-directories"
15238
15239
15240
15241       if test "X$prefix" = "XNONE"; then
15242     acl_final_prefix="$ac_default_prefix"
15243   else
15244     acl_final_prefix="$prefix"
15245   fi
15246   if test "X$exec_prefix" = "XNONE"; then
15247     acl_final_exec_prefix='${prefix}'
15248   else
15249     acl_final_exec_prefix="$exec_prefix"
15250   fi
15251   acl_save_prefix="$prefix"
15252   prefix="$acl_final_prefix"
15253   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15254   prefix="$acl_save_prefix"
15255
15256
15257 # Check whether --with-gnu-ld was given.
15258 if test "${with_gnu_ld+set}" = set; then :
15259   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15260 else
15261   with_gnu_ld=no
15262 fi
15263
15264 # Prepare PATH_SEPARATOR.
15265 # The user is always right.
15266 if test "${PATH_SEPARATOR+set}" != set; then
15267   echo "#! /bin/sh" >conf$$.sh
15268   echo  "exit 0"   >>conf$$.sh
15269   chmod +x conf$$.sh
15270   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15271     PATH_SEPARATOR=';'
15272   else
15273     PATH_SEPARATOR=:
15274   fi
15275   rm -f conf$$.sh
15276 fi
15277 ac_prog=ld
15278 if test "$GCC" = yes; then
15279   # Check if gcc -print-prog-name=ld gives a path.
15280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15281 $as_echo_n "checking for ld used by GCC... " >&6; }
15282   case $host in
15283   *-*-mingw*)
15284     # gcc leaves a trailing carriage return which upsets mingw
15285     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15286   *)
15287     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15288   esac
15289   case $ac_prog in
15290     # Accept absolute paths.
15291     [\\/]* | [A-Za-z]:[\\/]*)
15292       re_direlt='/[^/][^/]*/\.\./'
15293       # Canonicalize the path of ld
15294       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15295       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15296         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15297       done
15298       test -z "$LD" && LD="$ac_prog"
15299       ;;
15300   "")
15301     # If it fails, then pretend we aren't using GCC.
15302     ac_prog=ld
15303     ;;
15304   *)
15305     # If it is relative, then search for the first ld in PATH.
15306     with_gnu_ld=unknown
15307     ;;
15308   esac
15309 elif test "$with_gnu_ld" = yes; then
15310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15311 $as_echo_n "checking for GNU ld... " >&6; }
15312 else
15313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15314 $as_echo_n "checking for non-GNU ld... " >&6; }
15315 fi
15316 if ${acl_cv_path_LD+:} false; then :
15317   $as_echo_n "(cached) " >&6
15318 else
15319   if test -z "$LD"; then
15320   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15321   for ac_dir in $PATH; do
15322     test -z "$ac_dir" && ac_dir=.
15323     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15324       acl_cv_path_LD="$ac_dir/$ac_prog"
15325       # Check to see if the program is GNU ld.  I'd rather use --version,
15326       # but apparently some GNU ld's only accept -v.
15327       # Break only if it was the GNU/non-GNU ld that we prefer.
15328       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15329       *GNU* | *'with BFD'*)
15330         test "$with_gnu_ld" != no && break ;;
15331       *)
15332         test "$with_gnu_ld" != yes && break ;;
15333       esac
15334     fi
15335   done
15336   IFS="$ac_save_ifs"
15337 else
15338   acl_cv_path_LD="$LD" # Let the user override the test with a path.
15339 fi
15340 fi
15341
15342 LD="$acl_cv_path_LD"
15343 if test -n "$LD"; then
15344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15345 $as_echo "$LD" >&6; }
15346 else
15347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15348 $as_echo "no" >&6; }
15349 fi
15350 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15352 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15353 if ${acl_cv_prog_gnu_ld+:} false; then :
15354   $as_echo_n "(cached) " >&6
15355 else
15356   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15357 case `$LD -v 2>&1 </dev/null` in
15358 *GNU* | *'with BFD'*)
15359   acl_cv_prog_gnu_ld=yes ;;
15360 *)
15361   acl_cv_prog_gnu_ld=no ;;
15362 esac
15363 fi
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15365 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15366 with_gnu_ld=$acl_cv_prog_gnu_ld
15367
15368
15369
15370
15371                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15372 $as_echo_n "checking for shared library run path origin... " >&6; }
15373 if ${acl_cv_rpath+:} false; then :
15374   $as_echo_n "(cached) " >&6
15375 else
15376
15377     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
15378     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15379     . ./conftest.sh
15380     rm -f ./conftest.sh
15381     acl_cv_rpath=done
15382
15383 fi
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15385 $as_echo "$acl_cv_rpath" >&6; }
15386   wl="$acl_cv_wl"
15387   acl_libext="$acl_cv_libext"
15388   acl_shlibext="$acl_cv_shlibext"
15389   acl_libname_spec="$acl_cv_libname_spec"
15390   acl_library_names_spec="$acl_cv_library_names_spec"
15391   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
15392   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
15393   acl_hardcode_direct="$acl_cv_hardcode_direct"
15394   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
15395     # Check whether --enable-rpath was given.
15396 if test "${enable_rpath+set}" = set; then :
15397   enableval=$enable_rpath; :
15398 else
15399   enable_rpath=yes
15400 fi
15401
15402
15403
15404                   acl_libdirstem=lib
15405   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15406   if test -n "$searchpath"; then
15407     acl_save_IFS="${IFS=        }"; IFS=":"
15408     for searchdir in $searchpath; do
15409       if test -d "$searchdir"; then
15410         case "$searchdir" in
15411           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
15412           *) searchdir=`cd "$searchdir" && pwd`
15413              case "$searchdir" in
15414                */lib64 ) acl_libdirstem=lib64 ;;
15415              esac ;;
15416         esac
15417       fi
15418     done
15419     IFS="$acl_save_IFS"
15420   fi
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430     use_additional=yes
15431
15432   acl_save_prefix="$prefix"
15433   prefix="$acl_final_prefix"
15434   acl_save_exec_prefix="$exec_prefix"
15435   exec_prefix="$acl_final_exec_prefix"
15436
15437     eval additional_includedir=\"$includedir\"
15438     eval additional_libdir=\"$libdir\"
15439
15440   exec_prefix="$acl_save_exec_prefix"
15441   prefix="$acl_save_prefix"
15442
15443
15444 # Check whether --with-libiconv-prefix was given.
15445 if test "${with_libiconv_prefix+set}" = set; then :
15446   withval=$with_libiconv_prefix;
15447     if test "X$withval" = "Xno"; then
15448       use_additional=no
15449     else
15450       if test "X$withval" = "X"; then
15451
15452   acl_save_prefix="$prefix"
15453   prefix="$acl_final_prefix"
15454   acl_save_exec_prefix="$exec_prefix"
15455   exec_prefix="$acl_final_exec_prefix"
15456
15457           eval additional_includedir=\"$includedir\"
15458           eval additional_libdir=\"$libdir\"
15459
15460   exec_prefix="$acl_save_exec_prefix"
15461   prefix="$acl_save_prefix"
15462
15463       else
15464         additional_includedir="$withval/include"
15465         additional_libdir="$withval/$acl_libdirstem"
15466       fi
15467     fi
15468
15469 fi
15470
15471       LIBICONV=
15472   LTLIBICONV=
15473   INCICONV=
15474   LIBICONV_PREFIX=
15475   rpathdirs=
15476   ltrpathdirs=
15477   names_already_handled=
15478   names_next_round='iconv '
15479   while test -n "$names_next_round"; do
15480     names_this_round="$names_next_round"
15481     names_next_round=
15482     for name in $names_this_round; do
15483       already_handled=
15484       for n in $names_already_handled; do
15485         if test "$n" = "$name"; then
15486           already_handled=yes
15487           break
15488         fi
15489       done
15490       if test -z "$already_handled"; then
15491         names_already_handled="$names_already_handled $name"
15492                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15493         eval value=\"\$HAVE_LIB$uppername\"
15494         if test -n "$value"; then
15495           if test "$value" = yes; then
15496             eval value=\"\$LIB$uppername\"
15497             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15498             eval value=\"\$LTLIB$uppername\"
15499             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15500           else
15501                                     :
15502           fi
15503         else
15504                               found_dir=
15505           found_la=
15506           found_so=
15507           found_a=
15508           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15509           if test -n "$acl_shlibext"; then
15510             shrext=".$acl_shlibext"             # typically: shrext=.so
15511           else
15512             shrext=
15513           fi
15514           if test $use_additional = yes; then
15515             dir="$additional_libdir"
15516                                     if test -n "$acl_shlibext"; then
15517               if test -f "$dir/$libname$shrext"; then
15518                 found_dir="$dir"
15519                 found_so="$dir/$libname$shrext"
15520               else
15521                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15522                   ver=`(cd "$dir" && \
15523                         for f in "$libname$shrext".*; do echo "$f"; done \
15524                         | sed -e "s,^$libname$shrext\\\\.,," \
15525                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15526                         | sed 1q ) 2>/dev/null`
15527                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15528                     found_dir="$dir"
15529                     found_so="$dir/$libname$shrext.$ver"
15530                   fi
15531                 else
15532                   eval library_names=\"$acl_library_names_spec\"
15533                   for f in $library_names; do
15534                     if test -f "$dir/$f"; then
15535                       found_dir="$dir"
15536                       found_so="$dir/$f"
15537                       break
15538                     fi
15539                   done
15540                 fi
15541               fi
15542             fi
15543                         if test "X$found_dir" = "X"; then
15544               if test -f "$dir/$libname.$acl_libext"; then
15545                 found_dir="$dir"
15546                 found_a="$dir/$libname.$acl_libext"
15547               fi
15548             fi
15549             if test "X$found_dir" != "X"; then
15550               if test -f "$dir/$libname.la"; then
15551                 found_la="$dir/$libname.la"
15552               fi
15553             fi
15554           fi
15555           if test "X$found_dir" = "X"; then
15556             for x in $LDFLAGS $LTLIBICONV; do
15557
15558   acl_save_prefix="$prefix"
15559   prefix="$acl_final_prefix"
15560   acl_save_exec_prefix="$exec_prefix"
15561   exec_prefix="$acl_final_exec_prefix"
15562   eval x=\"$x\"
15563   exec_prefix="$acl_save_exec_prefix"
15564   prefix="$acl_save_prefix"
15565
15566               case "$x" in
15567                 -L*)
15568                   dir=`echo "X$x" | sed -e 's/^X-L//'`
15569                                     if test -n "$acl_shlibext"; then
15570                     if test -f "$dir/$libname$shrext"; then
15571                       found_dir="$dir"
15572                       found_so="$dir/$libname$shrext"
15573                     else
15574                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15575                         ver=`(cd "$dir" && \
15576                               for f in "$libname$shrext".*; do echo "$f"; done \
15577                               | sed -e "s,^$libname$shrext\\\\.,," \
15578                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15579                               | sed 1q ) 2>/dev/null`
15580                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15581                           found_dir="$dir"
15582                           found_so="$dir/$libname$shrext.$ver"
15583                         fi
15584                       else
15585                         eval library_names=\"$acl_library_names_spec\"
15586                         for f in $library_names; do
15587                           if test -f "$dir/$f"; then
15588                             found_dir="$dir"
15589                             found_so="$dir/$f"
15590                             break
15591                           fi
15592                         done
15593                       fi
15594                     fi
15595                   fi
15596                                     if test "X$found_dir" = "X"; then
15597                     if test -f "$dir/$libname.$acl_libext"; then
15598                       found_dir="$dir"
15599                       found_a="$dir/$libname.$acl_libext"
15600                     fi
15601                   fi
15602                   if test "X$found_dir" != "X"; then
15603                     if test -f "$dir/$libname.la"; then
15604                       found_la="$dir/$libname.la"
15605                     fi
15606                   fi
15607                   ;;
15608               esac
15609               if test "X$found_dir" != "X"; then
15610                 break
15611               fi
15612             done
15613           fi
15614           if test "X$found_dir" != "X"; then
15615                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15616             if test "X$found_so" != "X"; then
15617                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15618                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15619               else
15620                                                                                 haveit=
15621                 for x in $ltrpathdirs; do
15622                   if test "X$x" = "X$found_dir"; then
15623                     haveit=yes
15624                     break
15625                   fi
15626                 done
15627                 if test -z "$haveit"; then
15628                   ltrpathdirs="$ltrpathdirs $found_dir"
15629                 fi
15630                                 if test "$acl_hardcode_direct" = yes; then
15631                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15632                 else
15633                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15634                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15635                                                             haveit=
15636                     for x in $rpathdirs; do
15637                       if test "X$x" = "X$found_dir"; then
15638                         haveit=yes
15639                         break
15640                       fi
15641                     done
15642                     if test -z "$haveit"; then
15643                       rpathdirs="$rpathdirs $found_dir"
15644                     fi
15645                   else
15646                                                                                 haveit=
15647                     for x in $LDFLAGS $LIBICONV; do
15648
15649   acl_save_prefix="$prefix"
15650   prefix="$acl_final_prefix"
15651   acl_save_exec_prefix="$exec_prefix"
15652   exec_prefix="$acl_final_exec_prefix"
15653   eval x=\"$x\"
15654   exec_prefix="$acl_save_exec_prefix"
15655   prefix="$acl_save_prefix"
15656
15657                       if test "X$x" = "X-L$found_dir"; then
15658                         haveit=yes
15659                         break
15660                       fi
15661                     done
15662                     if test -z "$haveit"; then
15663                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15664                     fi
15665                     if test "$acl_hardcode_minus_L" != no; then
15666                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15667                     else
15668                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15669                     fi
15670                   fi
15671                 fi
15672               fi
15673             else
15674               if test "X$found_a" != "X"; then
15675                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15676               else
15677                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15678               fi
15679             fi
15680                         additional_includedir=
15681             case "$found_dir" in
15682               */$acl_libdirstem | */$acl_libdirstem/)
15683                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15684                 LIBICONV_PREFIX="$basedir"
15685                 additional_includedir="$basedir/include"
15686                 ;;
15687             esac
15688             if test "X$additional_includedir" != "X"; then
15689                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
15690                 haveit=
15691                 if test "X$additional_includedir" = "X/usr/local/include"; then
15692                   if test -n "$GCC"; then
15693                     case $host_os in
15694                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15695                     esac
15696                   fi
15697                 fi
15698                 if test -z "$haveit"; then
15699                   for x in $CPPFLAGS $INCICONV; do
15700
15701   acl_save_prefix="$prefix"
15702   prefix="$acl_final_prefix"
15703   acl_save_exec_prefix="$exec_prefix"
15704   exec_prefix="$acl_final_exec_prefix"
15705   eval x=\"$x\"
15706   exec_prefix="$acl_save_exec_prefix"
15707   prefix="$acl_save_prefix"
15708
15709                     if test "X$x" = "X-I$additional_includedir"; then
15710                       haveit=yes
15711                       break
15712                     fi
15713                   done
15714                   if test -z "$haveit"; then
15715                     if test -d "$additional_includedir"; then
15716                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15717                     fi
15718                   fi
15719                 fi
15720               fi
15721             fi
15722                         if test -n "$found_la"; then
15723                                                         save_libdir="$libdir"
15724               case "$found_la" in
15725                 */* | *\\*) . "$found_la" ;;
15726                 *) . "./$found_la" ;;
15727               esac
15728               libdir="$save_libdir"
15729                             for dep in $dependency_libs; do
15730                 case "$dep" in
15731                   -L*)
15732                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15733                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15734                       haveit=
15735                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15736                         if test -n "$GCC"; then
15737                           case $host_os in
15738                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15739                           esac
15740                         fi
15741                       fi
15742                       if test -z "$haveit"; then
15743                         haveit=
15744                         for x in $LDFLAGS $LIBICONV; do
15745
15746   acl_save_prefix="$prefix"
15747   prefix="$acl_final_prefix"
15748   acl_save_exec_prefix="$exec_prefix"
15749   exec_prefix="$acl_final_exec_prefix"
15750   eval x=\"$x\"
15751   exec_prefix="$acl_save_exec_prefix"
15752   prefix="$acl_save_prefix"
15753
15754                           if test "X$x" = "X-L$additional_libdir"; then
15755                             haveit=yes
15756                             break
15757                           fi
15758                         done
15759                         if test -z "$haveit"; then
15760                           if test -d "$additional_libdir"; then
15761                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15762                           fi
15763                         fi
15764                         haveit=
15765                         for x in $LDFLAGS $LTLIBICONV; do
15766
15767   acl_save_prefix="$prefix"
15768   prefix="$acl_final_prefix"
15769   acl_save_exec_prefix="$exec_prefix"
15770   exec_prefix="$acl_final_exec_prefix"
15771   eval x=\"$x\"
15772   exec_prefix="$acl_save_exec_prefix"
15773   prefix="$acl_save_prefix"
15774
15775                           if test "X$x" = "X-L$additional_libdir"; then
15776                             haveit=yes
15777                             break
15778                           fi
15779                         done
15780                         if test -z "$haveit"; then
15781                           if test -d "$additional_libdir"; then
15782                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15783                           fi
15784                         fi
15785                       fi
15786                     fi
15787                     ;;
15788                   -R*)
15789                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
15790                     if test "$enable_rpath" != no; then
15791                                                                   haveit=
15792                       for x in $rpathdirs; do
15793                         if test "X$x" = "X$dir"; then
15794                           haveit=yes
15795                           break
15796                         fi
15797                       done
15798                       if test -z "$haveit"; then
15799                         rpathdirs="$rpathdirs $dir"
15800                       fi
15801                                                                   haveit=
15802                       for x in $ltrpathdirs; do
15803                         if test "X$x" = "X$dir"; then
15804                           haveit=yes
15805                           break
15806                         fi
15807                       done
15808                       if test -z "$haveit"; then
15809                         ltrpathdirs="$ltrpathdirs $dir"
15810                       fi
15811                     fi
15812                     ;;
15813                   -l*)
15814                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15815                     ;;
15816                   *.la)
15817                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15818                     ;;
15819                   *)
15820                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15821                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15822                     ;;
15823                 esac
15824               done
15825             fi
15826           else
15827                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15828             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15829           fi
15830         fi
15831       fi
15832     done
15833   done
15834   if test "X$rpathdirs" != "X"; then
15835     if test -n "$acl_hardcode_libdir_separator"; then
15836                         alldirs=
15837       for found_dir in $rpathdirs; do
15838         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15839       done
15840             acl_save_libdir="$libdir"
15841       libdir="$alldirs"
15842       eval flag=\"$acl_hardcode_libdir_flag_spec\"
15843       libdir="$acl_save_libdir"
15844       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15845     else
15846             for found_dir in $rpathdirs; do
15847         acl_save_libdir="$libdir"
15848         libdir="$found_dir"
15849         eval flag=\"$acl_hardcode_libdir_flag_spec\"
15850         libdir="$acl_save_libdir"
15851         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15852       done
15853     fi
15854   fi
15855   if test "X$ltrpathdirs" != "X"; then
15856             for found_dir in $ltrpathdirs; do
15857       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15858     done
15859   fi
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15886 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15887 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15888   $as_echo_n "(cached) " >&6
15889 else
15890   gt_save_LIBS="$LIBS"
15891      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h.  */
15894 #include <CoreFoundation/CFPreferences.h>
15895 int
15896 main ()
15897 {
15898 CFPreferencesCopyAppValue(NULL, NULL)
15899   ;
15900   return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904   gt_cv_func_CFPreferencesCopyAppValue=yes
15905 else
15906   gt_cv_func_CFPreferencesCopyAppValue=no
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext \
15909     conftest$ac_exeext conftest.$ac_ext
15910      LIBS="$gt_save_LIBS"
15911 fi
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15913 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15914   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15915
15916 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15917
15918   fi
15919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15920 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15921 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15922   $as_echo_n "(cached) " >&6
15923 else
15924   gt_save_LIBS="$LIBS"
15925      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h.  */
15928 #include <CoreFoundation/CFLocale.h>
15929 int
15930 main ()
15931 {
15932 CFLocaleCopyCurrent();
15933   ;
15934   return 0;
15935 }
15936 _ACEOF
15937 if ac_fn_c_try_link "$LINENO"; then :
15938   gt_cv_func_CFLocaleCopyCurrent=yes
15939 else
15940   gt_cv_func_CFLocaleCopyCurrent=no
15941 fi
15942 rm -f core conftest.err conftest.$ac_objext \
15943     conftest$ac_exeext conftest.$ac_ext
15944      LIBS="$gt_save_LIBS"
15945 fi
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15947 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15948   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15949
15950 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15951
15952   fi
15953   INTL_MACOSX_LIBS=
15954   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15955     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15956   fi
15957
15958
15959
15960
15961
15962
15963   LIBINTL=
15964   LTLIBINTL=
15965   POSUB=
15966
15967     case " $gt_needs " in
15968     *" need-formatstring-macros "*) gt_api_version=3 ;;
15969     *" need-ngettext "*) gt_api_version=2 ;;
15970     *) gt_api_version=1 ;;
15971   esac
15972   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15973   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15974
15975     if test "$USE_NLS" = "yes"; then
15976     gt_use_preinstalled_gnugettext=no
15977
15978
15979         if test $gt_api_version -ge 3; then
15980           gt_revision_test_code='
15981 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15982 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15983 #endif
15984 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15985 '
15986         else
15987           gt_revision_test_code=
15988         fi
15989         if test $gt_api_version -ge 2; then
15990           gt_expression_test_code=' + * ngettext ("", "", 0)'
15991         else
15992           gt_expression_test_code=
15993         fi
15994
15995         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15996 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15997 if eval \${$gt_func_gnugettext_libc+:} false; then :
15998   $as_echo_n "(cached) " >&6
15999 else
16000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h.  */
16002 #include <libintl.h>
16003 $gt_revision_test_code
16004 extern int _nl_msg_cat_cntr;
16005 extern int *_nl_domain_bindings;
16006 int
16007 main ()
16008 {
16009 bindtextdomain ("", "");
16010 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16011   ;
16012   return 0;
16013 }
16014 _ACEOF
16015 if ac_fn_c_try_link "$LINENO"; then :
16016   eval "$gt_func_gnugettext_libc=yes"
16017 else
16018   eval "$gt_func_gnugettext_libc=no"
16019 fi
16020 rm -f core conftest.err conftest.$ac_objext \
16021     conftest$ac_exeext conftest.$ac_ext
16022 fi
16023 eval ac_res=\$$gt_func_gnugettext_libc
16024                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16025 $as_echo "$ac_res" >&6; }
16026
16027         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
16028
16029
16030
16031
16032
16033           am_save_CPPFLAGS="$CPPFLAGS"
16034
16035   for element in $INCICONV; do
16036     haveit=
16037     for x in $CPPFLAGS; do
16038
16039   acl_save_prefix="$prefix"
16040   prefix="$acl_final_prefix"
16041   acl_save_exec_prefix="$exec_prefix"
16042   exec_prefix="$acl_final_exec_prefix"
16043   eval x=\"$x\"
16044   exec_prefix="$acl_save_exec_prefix"
16045   prefix="$acl_save_prefix"
16046
16047       if test "X$x" = "X$element"; then
16048         haveit=yes
16049         break
16050       fi
16051     done
16052     if test -z "$haveit"; then
16053       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16054     fi
16055   done
16056
16057
16058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16059 $as_echo_n "checking for iconv... " >&6; }
16060 if ${am_cv_func_iconv+:} false; then :
16061   $as_echo_n "(cached) " >&6
16062 else
16063
16064     am_cv_func_iconv="no, consider installing GNU libiconv"
16065     am_cv_lib_iconv=no
16066     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h.  */
16068 #include <stdlib.h>
16069 #include <iconv.h>
16070 int
16071 main ()
16072 {
16073 iconv_t cd = iconv_open("","");
16074        iconv(cd,NULL,NULL,NULL,NULL);
16075        iconv_close(cd);
16076   ;
16077   return 0;
16078 }
16079 _ACEOF
16080 if ac_fn_c_try_link "$LINENO"; then :
16081   am_cv_func_iconv=yes
16082 fi
16083 rm -f core conftest.err conftest.$ac_objext \
16084     conftest$ac_exeext conftest.$ac_ext
16085     if test "$am_cv_func_iconv" != yes; then
16086       am_save_LIBS="$LIBS"
16087       LIBS="$LIBS $LIBICONV"
16088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16089 /* end confdefs.h.  */
16090 #include <stdlib.h>
16091 #include <iconv.h>
16092 int
16093 main ()
16094 {
16095 iconv_t cd = iconv_open("","");
16096          iconv(cd,NULL,NULL,NULL,NULL);
16097          iconv_close(cd);
16098   ;
16099   return 0;
16100 }
16101 _ACEOF
16102 if ac_fn_c_try_link "$LINENO"; then :
16103   am_cv_lib_iconv=yes
16104         am_cv_func_iconv=yes
16105 fi
16106 rm -f core conftest.err conftest.$ac_objext \
16107     conftest$ac_exeext conftest.$ac_ext
16108       LIBS="$am_save_LIBS"
16109     fi
16110
16111 fi
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16113 $as_echo "$am_cv_func_iconv" >&6; }
16114   if test "$am_cv_func_iconv" = yes; then
16115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16116 $as_echo_n "checking for working iconv... " >&6; }
16117 if ${am_cv_func_iconv_works+:} false; then :
16118   $as_echo_n "(cached) " >&6
16119 else
16120
16121             am_save_LIBS="$LIBS"
16122       if test $am_cv_lib_iconv = yes; then
16123         LIBS="$LIBS $LIBICONV"
16124       fi
16125       if test "$cross_compiling" = yes; then :
16126   case "$host_os" in
16127            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
16128            *)            am_cv_func_iconv_works="guessing yes" ;;
16129          esac
16130 else
16131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h.  */
16133
16134 #include <iconv.h>
16135 #include <string.h>
16136 int main ()
16137 {
16138   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
16139      returns.  */
16140   {
16141     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
16142     if (cd_utf8_to_88591 != (iconv_t)(-1))
16143       {
16144         static const char input[] = "\342\202\254"; /* EURO SIGN */
16145         char buf[10];
16146         const char *inptr = input;
16147         size_t inbytesleft = strlen (input);
16148         char *outptr = buf;
16149         size_t outbytesleft = sizeof (buf);
16150         size_t res = iconv (cd_utf8_to_88591,
16151                             (char **) &inptr, &inbytesleft,
16152                             &outptr, &outbytesleft);
16153         if (res == 0)
16154           return 1;
16155       }
16156   }
16157 #if 0 /* This bug could be worked around by the caller.  */
16158   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
16159   {
16160     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
16161     if (cd_88591_to_utf8 != (iconv_t)(-1))
16162       {
16163         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
16164         char buf[50];
16165         const char *inptr = input;
16166         size_t inbytesleft = strlen (input);
16167         char *outptr = buf;
16168         size_t outbytesleft = sizeof (buf);
16169         size_t res = iconv (cd_88591_to_utf8,
16170                             (char **) &inptr, &inbytesleft,
16171                             &outptr, &outbytesleft);
16172         if ((int)res > 0)
16173           return 1;
16174       }
16175   }
16176 #endif
16177   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
16178      provided.  */
16179   if (/* Try standardized names.  */
16180       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
16181       /* Try IRIX, OSF/1 names.  */
16182       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
16183       /* Try AIX names.  */
16184       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
16185       /* Try HP-UX names.  */
16186       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
16187     return 1;
16188   return 0;
16189 }
16190 _ACEOF
16191 if ac_fn_c_try_run "$LINENO"; then :
16192   am_cv_func_iconv_works=yes
16193 else
16194   am_cv_func_iconv_works=no
16195 fi
16196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16197   conftest.$ac_objext conftest.beam conftest.$ac_ext
16198 fi
16199
16200       LIBS="$am_save_LIBS"
16201
16202 fi
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
16204 $as_echo "$am_cv_func_iconv_works" >&6; }
16205     case "$am_cv_func_iconv_works" in
16206       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
16207       *)   am_func_iconv=yes ;;
16208     esac
16209   else
16210     am_func_iconv=no am_cv_lib_iconv=no
16211   fi
16212   if test "$am_func_iconv" = yes; then
16213
16214 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16215
16216   fi
16217   if test "$am_cv_lib_iconv" = yes; then
16218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16219 $as_echo_n "checking how to link with libiconv... " >&6; }
16220     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16221 $as_echo "$LIBICONV" >&6; }
16222   else
16223             CPPFLAGS="$am_save_CPPFLAGS"
16224     LIBICONV=
16225     LTLIBICONV=
16226   fi
16227
16228
16229
16230
16231
16232
16233
16234
16235     use_additional=yes
16236
16237   acl_save_prefix="$prefix"
16238   prefix="$acl_final_prefix"
16239   acl_save_exec_prefix="$exec_prefix"
16240   exec_prefix="$acl_final_exec_prefix"
16241
16242     eval additional_includedir=\"$includedir\"
16243     eval additional_libdir=\"$libdir\"
16244
16245   exec_prefix="$acl_save_exec_prefix"
16246   prefix="$acl_save_prefix"
16247
16248
16249 # Check whether --with-libintl-prefix was given.
16250 if test "${with_libintl_prefix+set}" = set; then :
16251   withval=$with_libintl_prefix;
16252     if test "X$withval" = "Xno"; then
16253       use_additional=no
16254     else
16255       if test "X$withval" = "X"; then
16256
16257   acl_save_prefix="$prefix"
16258   prefix="$acl_final_prefix"
16259   acl_save_exec_prefix="$exec_prefix"
16260   exec_prefix="$acl_final_exec_prefix"
16261
16262           eval additional_includedir=\"$includedir\"
16263           eval additional_libdir=\"$libdir\"
16264
16265   exec_prefix="$acl_save_exec_prefix"
16266   prefix="$acl_save_prefix"
16267
16268       else
16269         additional_includedir="$withval/include"
16270         additional_libdir="$withval/$acl_libdirstem"
16271       fi
16272     fi
16273
16274 fi
16275
16276       LIBINTL=
16277   LTLIBINTL=
16278   INCINTL=
16279   LIBINTL_PREFIX=
16280   rpathdirs=
16281   ltrpathdirs=
16282   names_already_handled=
16283   names_next_round='intl '
16284   while test -n "$names_next_round"; do
16285     names_this_round="$names_next_round"
16286     names_next_round=
16287     for name in $names_this_round; do
16288       already_handled=
16289       for n in $names_already_handled; do
16290         if test "$n" = "$name"; then
16291           already_handled=yes
16292           break
16293         fi
16294       done
16295       if test -z "$already_handled"; then
16296         names_already_handled="$names_already_handled $name"
16297                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16298         eval value=\"\$HAVE_LIB$uppername\"
16299         if test -n "$value"; then
16300           if test "$value" = yes; then
16301             eval value=\"\$LIB$uppername\"
16302             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16303             eval value=\"\$LTLIB$uppername\"
16304             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16305           else
16306                                     :
16307           fi
16308         else
16309                               found_dir=
16310           found_la=
16311           found_so=
16312           found_a=
16313           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16314           if test -n "$acl_shlibext"; then
16315             shrext=".$acl_shlibext"             # typically: shrext=.so
16316           else
16317             shrext=
16318           fi
16319           if test $use_additional = yes; then
16320             dir="$additional_libdir"
16321                                     if test -n "$acl_shlibext"; then
16322               if test -f "$dir/$libname$shrext"; then
16323                 found_dir="$dir"
16324                 found_so="$dir/$libname$shrext"
16325               else
16326                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16327                   ver=`(cd "$dir" && \
16328                         for f in "$libname$shrext".*; do echo "$f"; done \
16329                         | sed -e "s,^$libname$shrext\\\\.,," \
16330                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16331                         | sed 1q ) 2>/dev/null`
16332                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16333                     found_dir="$dir"
16334                     found_so="$dir/$libname$shrext.$ver"
16335                   fi
16336                 else
16337                   eval library_names=\"$acl_library_names_spec\"
16338                   for f in $library_names; do
16339                     if test -f "$dir/$f"; then
16340                       found_dir="$dir"
16341                       found_so="$dir/$f"
16342                       break
16343                     fi
16344                   done
16345                 fi
16346               fi
16347             fi
16348                         if test "X$found_dir" = "X"; then
16349               if test -f "$dir/$libname.$acl_libext"; then
16350                 found_dir="$dir"
16351                 found_a="$dir/$libname.$acl_libext"
16352               fi
16353             fi
16354             if test "X$found_dir" != "X"; then
16355               if test -f "$dir/$libname.la"; then
16356                 found_la="$dir/$libname.la"
16357               fi
16358             fi
16359           fi
16360           if test "X$found_dir" = "X"; then
16361             for x in $LDFLAGS $LTLIBINTL; do
16362
16363   acl_save_prefix="$prefix"
16364   prefix="$acl_final_prefix"
16365   acl_save_exec_prefix="$exec_prefix"
16366   exec_prefix="$acl_final_exec_prefix"
16367   eval x=\"$x\"
16368   exec_prefix="$acl_save_exec_prefix"
16369   prefix="$acl_save_prefix"
16370
16371               case "$x" in
16372                 -L*)
16373                   dir=`echo "X$x" | sed -e 's/^X-L//'`
16374                                     if test -n "$acl_shlibext"; then
16375                     if test -f "$dir/$libname$shrext"; then
16376                       found_dir="$dir"
16377                       found_so="$dir/$libname$shrext"
16378                     else
16379                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16380                         ver=`(cd "$dir" && \
16381                               for f in "$libname$shrext".*; do echo "$f"; done \
16382                               | sed -e "s,^$libname$shrext\\\\.,," \
16383                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16384                               | sed 1q ) 2>/dev/null`
16385                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16386                           found_dir="$dir"
16387                           found_so="$dir/$libname$shrext.$ver"
16388                         fi
16389                       else
16390                         eval library_names=\"$acl_library_names_spec\"
16391                         for f in $library_names; do
16392                           if test -f "$dir/$f"; then
16393                             found_dir="$dir"
16394                             found_so="$dir/$f"
16395                             break
16396                           fi
16397                         done
16398                       fi
16399                     fi
16400                   fi
16401                                     if test "X$found_dir" = "X"; then
16402                     if test -f "$dir/$libname.$acl_libext"; then
16403                       found_dir="$dir"
16404                       found_a="$dir/$libname.$acl_libext"
16405                     fi
16406                   fi
16407                   if test "X$found_dir" != "X"; then
16408                     if test -f "$dir/$libname.la"; then
16409                       found_la="$dir/$libname.la"
16410                     fi
16411                   fi
16412                   ;;
16413               esac
16414               if test "X$found_dir" != "X"; then
16415                 break
16416               fi
16417             done
16418           fi
16419           if test "X$found_dir" != "X"; then
16420                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
16421             if test "X$found_so" != "X"; then
16422                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16423                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16424               else
16425                                                                                 haveit=
16426                 for x in $ltrpathdirs; do
16427                   if test "X$x" = "X$found_dir"; then
16428                     haveit=yes
16429                     break
16430                   fi
16431                 done
16432                 if test -z "$haveit"; then
16433                   ltrpathdirs="$ltrpathdirs $found_dir"
16434                 fi
16435                                 if test "$acl_hardcode_direct" = yes; then
16436                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16437                 else
16438                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16439                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16440                                                             haveit=
16441                     for x in $rpathdirs; do
16442                       if test "X$x" = "X$found_dir"; then
16443                         haveit=yes
16444                         break
16445                       fi
16446                     done
16447                     if test -z "$haveit"; then
16448                       rpathdirs="$rpathdirs $found_dir"
16449                     fi
16450                   else
16451                                                                                 haveit=
16452                     for x in $LDFLAGS $LIBINTL; do
16453
16454   acl_save_prefix="$prefix"
16455   prefix="$acl_final_prefix"
16456   acl_save_exec_prefix="$exec_prefix"
16457   exec_prefix="$acl_final_exec_prefix"
16458   eval x=\"$x\"
16459   exec_prefix="$acl_save_exec_prefix"
16460   prefix="$acl_save_prefix"
16461
16462                       if test "X$x" = "X-L$found_dir"; then
16463                         haveit=yes
16464                         break
16465                       fi
16466                     done
16467                     if test -z "$haveit"; then
16468                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
16469                     fi
16470                     if test "$acl_hardcode_minus_L" != no; then
16471                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16472                     else
16473                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16474                     fi
16475                   fi
16476                 fi
16477               fi
16478             else
16479               if test "X$found_a" != "X"; then
16480                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16481               else
16482                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16483               fi
16484             fi
16485                         additional_includedir=
16486             case "$found_dir" in
16487               */$acl_libdirstem | */$acl_libdirstem/)
16488                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16489                 LIBINTL_PREFIX="$basedir"
16490                 additional_includedir="$basedir/include"
16491                 ;;
16492             esac
16493             if test "X$additional_includedir" != "X"; then
16494                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
16495                 haveit=
16496                 if test "X$additional_includedir" = "X/usr/local/include"; then
16497                   if test -n "$GCC"; then
16498                     case $host_os in
16499                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16500                     esac
16501                   fi
16502                 fi
16503                 if test -z "$haveit"; then
16504                   for x in $CPPFLAGS $INCINTL; do
16505
16506   acl_save_prefix="$prefix"
16507   prefix="$acl_final_prefix"
16508   acl_save_exec_prefix="$exec_prefix"
16509   exec_prefix="$acl_final_exec_prefix"
16510   eval x=\"$x\"
16511   exec_prefix="$acl_save_exec_prefix"
16512   prefix="$acl_save_prefix"
16513
16514                     if test "X$x" = "X-I$additional_includedir"; then
16515                       haveit=yes
16516                       break
16517                     fi
16518                   done
16519                   if test -z "$haveit"; then
16520                     if test -d "$additional_includedir"; then
16521                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16522                     fi
16523                   fi
16524                 fi
16525               fi
16526             fi
16527                         if test -n "$found_la"; then
16528                                                         save_libdir="$libdir"
16529               case "$found_la" in
16530                 */* | *\\*) . "$found_la" ;;
16531                 *) . "./$found_la" ;;
16532               esac
16533               libdir="$save_libdir"
16534                             for dep in $dependency_libs; do
16535                 case "$dep" in
16536                   -L*)
16537                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16538                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16539                       haveit=
16540                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16541                         if test -n "$GCC"; then
16542                           case $host_os in
16543                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16544                           esac
16545                         fi
16546                       fi
16547                       if test -z "$haveit"; then
16548                         haveit=
16549                         for x in $LDFLAGS $LIBINTL; do
16550
16551   acl_save_prefix="$prefix"
16552   prefix="$acl_final_prefix"
16553   acl_save_exec_prefix="$exec_prefix"
16554   exec_prefix="$acl_final_exec_prefix"
16555   eval x=\"$x\"
16556   exec_prefix="$acl_save_exec_prefix"
16557   prefix="$acl_save_prefix"
16558
16559                           if test "X$x" = "X-L$additional_libdir"; then
16560                             haveit=yes
16561                             break
16562                           fi
16563                         done
16564                         if test -z "$haveit"; then
16565                           if test -d "$additional_libdir"; then
16566                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
16567                           fi
16568                         fi
16569                         haveit=
16570                         for x in $LDFLAGS $LTLIBINTL; do
16571
16572   acl_save_prefix="$prefix"
16573   prefix="$acl_final_prefix"
16574   acl_save_exec_prefix="$exec_prefix"
16575   exec_prefix="$acl_final_exec_prefix"
16576   eval x=\"$x\"
16577   exec_prefix="$acl_save_exec_prefix"
16578   prefix="$acl_save_prefix"
16579
16580                           if test "X$x" = "X-L$additional_libdir"; then
16581                             haveit=yes
16582                             break
16583                           fi
16584                         done
16585                         if test -z "$haveit"; then
16586                           if test -d "$additional_libdir"; then
16587                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16588                           fi
16589                         fi
16590                       fi
16591                     fi
16592                     ;;
16593                   -R*)
16594                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
16595                     if test "$enable_rpath" != no; then
16596                                                                   haveit=
16597                       for x in $rpathdirs; do
16598                         if test "X$x" = "X$dir"; then
16599                           haveit=yes
16600                           break
16601                         fi
16602                       done
16603                       if test -z "$haveit"; then
16604                         rpathdirs="$rpathdirs $dir"
16605                       fi
16606                                                                   haveit=
16607                       for x in $ltrpathdirs; do
16608                         if test "X$x" = "X$dir"; then
16609                           haveit=yes
16610                           break
16611                         fi
16612                       done
16613                       if test -z "$haveit"; then
16614                         ltrpathdirs="$ltrpathdirs $dir"
16615                       fi
16616                     fi
16617                     ;;
16618                   -l*)
16619                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16620                     ;;
16621                   *.la)
16622                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16623                     ;;
16624                   *)
16625                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16626                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16627                     ;;
16628                 esac
16629               done
16630             fi
16631           else
16632                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16633             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16634           fi
16635         fi
16636       fi
16637     done
16638   done
16639   if test "X$rpathdirs" != "X"; then
16640     if test -n "$acl_hardcode_libdir_separator"; then
16641                         alldirs=
16642       for found_dir in $rpathdirs; do
16643         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16644       done
16645             acl_save_libdir="$libdir"
16646       libdir="$alldirs"
16647       eval flag=\"$acl_hardcode_libdir_flag_spec\"
16648       libdir="$acl_save_libdir"
16649       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16650     else
16651             for found_dir in $rpathdirs; do
16652         acl_save_libdir="$libdir"
16653         libdir="$found_dir"
16654         eval flag=\"$acl_hardcode_libdir_flag_spec\"
16655         libdir="$acl_save_libdir"
16656         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16657       done
16658     fi
16659   fi
16660   if test "X$ltrpathdirs" != "X"; then
16661             for found_dir in $ltrpathdirs; do
16662       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16663     done
16664   fi
16665
16666           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16667 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16668 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16669   $as_echo_n "(cached) " >&6
16670 else
16671   gt_save_CPPFLAGS="$CPPFLAGS"
16672             CPPFLAGS="$CPPFLAGS $INCINTL"
16673             gt_save_LIBS="$LIBS"
16674             LIBS="$LIBS $LIBINTL"
16675                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h.  */
16677 #include <libintl.h>
16678 $gt_revision_test_code
16679 extern int _nl_msg_cat_cntr;
16680 extern
16681 #ifdef __cplusplus
16682 "C"
16683 #endif
16684 const char *_nl_expand_alias (const char *);
16685 int
16686 main ()
16687 {
16688 bindtextdomain ("", "");
16689 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16690   ;
16691   return 0;
16692 }
16693 _ACEOF
16694 if ac_fn_c_try_link "$LINENO"; then :
16695   eval "$gt_func_gnugettext_libintl=yes"
16696 else
16697   eval "$gt_func_gnugettext_libintl=no"
16698 fi
16699 rm -f core conftest.err conftest.$ac_objext \
16700     conftest$ac_exeext conftest.$ac_ext
16701                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16702               LIBS="$LIBS $LIBICONV"
16703               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h.  */
16705 #include <libintl.h>
16706 $gt_revision_test_code
16707 extern int _nl_msg_cat_cntr;
16708 extern
16709 #ifdef __cplusplus
16710 "C"
16711 #endif
16712 const char *_nl_expand_alias (const char *);
16713 int
16714 main ()
16715 {
16716 bindtextdomain ("", "");
16717 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16718   ;
16719   return 0;
16720 }
16721 _ACEOF
16722 if ac_fn_c_try_link "$LINENO"; then :
16723   LIBINTL="$LIBINTL $LIBICONV"
16724                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16725                 eval "$gt_func_gnugettext_libintl=yes"
16726
16727 fi
16728 rm -f core conftest.err conftest.$ac_objext \
16729     conftest$ac_exeext conftest.$ac_ext
16730             fi
16731             CPPFLAGS="$gt_save_CPPFLAGS"
16732             LIBS="$gt_save_LIBS"
16733 fi
16734 eval ac_res=\$$gt_func_gnugettext_libintl
16735                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16736 $as_echo "$ac_res" >&6; }
16737         fi
16738
16739                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16740            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16741                 && test "$PACKAGE" != gettext-runtime \
16742                 && test "$PACKAGE" != gettext-tools; }; then
16743           gt_use_preinstalled_gnugettext=yes
16744         else
16745                     LIBINTL=
16746           LTLIBINTL=
16747           INCINTL=
16748         fi
16749
16750
16751
16752     if test -n "$INTL_MACOSX_LIBS"; then
16753       if test "$gt_use_preinstalled_gnugettext" = "yes" \
16754          || test "$nls_cv_use_gnu_gettext" = "yes"; then
16755                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16756         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16757       fi
16758     fi
16759
16760     if test "$gt_use_preinstalled_gnugettext" = "yes" \
16761        || test "$nls_cv_use_gnu_gettext" = "yes"; then
16762
16763 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16764
16765     else
16766       USE_NLS=no
16767     fi
16768   fi
16769
16770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16771 $as_echo_n "checking whether to use NLS... " >&6; }
16772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16773 $as_echo "$USE_NLS" >&6; }
16774   if test "$USE_NLS" = "yes"; then
16775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16776 $as_echo_n "checking where the gettext function comes from... " >&6; }
16777     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16778       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16779         gt_source="external libintl"
16780       else
16781         gt_source="libc"
16782       fi
16783     else
16784       gt_source="included intl directory"
16785     fi
16786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16787 $as_echo "$gt_source" >&6; }
16788   fi
16789
16790   if test "$USE_NLS" = "yes"; then
16791
16792     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16793       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16794         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16795 $as_echo_n "checking how to link with libintl... " >&6; }
16796         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16797 $as_echo "$LIBINTL" >&6; }
16798
16799   for element in $INCINTL; do
16800     haveit=
16801     for x in $CPPFLAGS; do
16802
16803   acl_save_prefix="$prefix"
16804   prefix="$acl_final_prefix"
16805   acl_save_exec_prefix="$exec_prefix"
16806   exec_prefix="$acl_final_exec_prefix"
16807   eval x=\"$x\"
16808   exec_prefix="$acl_save_exec_prefix"
16809   prefix="$acl_save_prefix"
16810
16811       if test "X$x" = "X$element"; then
16812         haveit=yes
16813         break
16814       fi
16815     done
16816     if test -z "$haveit"; then
16817       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16818     fi
16819   done
16820
16821       fi
16822
16823
16824 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16825
16826
16827 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16828
16829     fi
16830
16831         POSUB=po
16832   fi
16833
16834
16835
16836     INTLLIBS="$LIBINTL"
16837
16838
16839
16840
16841
16842
16843
16844 GETTEXT_PACKAGE="$PACKAGE"
16845
16846
16847 cat >>confdefs.h <<_ACEOF
16848 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
16849 _ACEOF
16850
16851
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5
16853 $as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; }
16854
16855 gtk_save_LIBS=$LIBS
16856 LIBS="$LIBS -lm"
16857 if test "$cross_compiling" = yes; then :
16858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16859 $as_echo "none needed" >&6; }
16860
16861 else
16862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h.  */
16864 #include <math.h>
16865              int main (void) { return (log(1) != log(1.)); }
16866 _ACEOF
16867 if ac_fn_c_try_run "$LINENO"; then :
16868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16869 $as_echo "none needed" >&6; }
16870 else
16871   gtk_save_CFLAGS="$CFLAGS"
16872      CFLAGS="$CFLAGS -std1"
16873      if test "$cross_compiling" = yes; then :
16874   true
16875
16876 else
16877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h.  */
16879 #include <math.h>
16880                  int main (void) { return (log(1) != log(1.)); }
16881 _ACEOF
16882 if ac_fn_c_try_run "$LINENO"; then :
16883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5
16884 $as_echo "-std1" >&6; }
16885 else
16886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
16887 $as_echo "" >&6; }
16888          CFLAGS="$gtk_save_CFLAGS"
16889          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5
16890 $as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;}
16891 fi
16892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16893   conftest.$ac_objext conftest.beam conftest.$ac_ext
16894 fi
16895
16896 fi
16897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16898   conftest.$ac_objext conftest.beam conftest.$ac_ext
16899 fi
16900
16901 LIBS=$gtk_save_LIBS
16902
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the BeOS" >&5
16904 $as_echo_n "checking for the BeOS... " >&6; }
16905 case $host in
16906   *-*-beos*)
16907     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16908 $as_echo "yes" >&6; }
16909     MATH_LIB=
16910   ;;
16911   *)
16912     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16913 $as_echo "no" >&6; }
16914   ;;
16915 esac
16916
16917
16918 #
16919 # see bug 162979
16920 #
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX" >&5
16922 $as_echo_n "checking for HP-UX... " >&6; }
16923 case $host_os in
16924   hpux9* | hpux10* | hpux11*)
16925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16926 $as_echo "yes" >&6; }
16927     CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
16928   ;;
16929   *)
16930     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16931 $as_echo "no" >&6; }
16932   ;;
16933 esac
16934
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags for POSIX compliance" >&5
16936 $as_echo_n "checking for extra flags for POSIX compliance... " >&6; }
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h.  */
16939 #include <dirent.h>
16940 int
16941 main ()
16942 {
16943 DIR *dir;
16944   ;
16945   return 0;
16946 }
16947 _ACEOF
16948 if ac_fn_c_try_compile "$LINENO"; then :
16949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16950 $as_echo "none needed" >&6; }
16951 else
16952   gtk_save_CFLAGS="$CFLAGS"
16953   CFLAGS="$CFLAGS -posix"
16954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h.  */
16956 #include <dirent.h>
16957 int
16958 main ()
16959 {
16960 DIR *dir;
16961   ;
16962   return 0;
16963 }
16964 _ACEOF
16965 if ac_fn_c_try_compile "$LINENO"; then :
16966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -posix" >&5
16967 $as_echo "-posix" >&6; }
16968 else
16969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
16970 $as_echo "" >&6; }
16971     CFLAGS="$gtk_save_CFLAGS"
16972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&5
16973 $as_echo "$as_me: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&2;}
16974 fi
16975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 fi
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16978
16979 #
16980 # Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
16981 #
16982
16983 GLIB_PACKAGES="gobject-2.0 gio-2.0 gmodule-no-export-2.0"
16984
16985 # Check whether --enable-glibtest was given.
16986 if test "${enable_glibtest+set}" = set; then :
16987   enableval=$enable_glibtest;
16988 else
16989   enable_glibtest=yes
16990 fi
16991
16992
16993   pkg_config_args=glib-2.0
16994   for module in . gobject gmodule-no-export gthread
16995   do
16996       case "$module" in
16997          gmodule)
16998              pkg_config_args="$pkg_config_args gmodule-2.0"
16999          ;;
17000          gmodule-no-export)
17001              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
17002          ;;
17003          gobject)
17004              pkg_config_args="$pkg_config_args gobject-2.0"
17005          ;;
17006          gthread)
17007              pkg_config_args="$pkg_config_args gthread-2.0"
17008          ;;
17009          gio*)
17010              pkg_config_args="$pkg_config_args $module-2.0"
17011          ;;
17012       esac
17013   done
17014
17015
17016
17017
17018
17019
17020
17021 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17022         if test -n "$ac_tool_prefix"; then
17023   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17024 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17026 $as_echo_n "checking for $ac_word... " >&6; }
17027 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17028   $as_echo_n "(cached) " >&6
17029 else
17030   case $PKG_CONFIG in
17031   [\\/]* | ?:[\\/]*)
17032   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17033   ;;
17034   *)
17035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17036 for as_dir in $PATH
17037 do
17038   IFS=$as_save_IFS
17039   test -z "$as_dir" && as_dir=.
17040     for ac_exec_ext in '' $ac_executable_extensions; do
17041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17042     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17044     break 2
17045   fi
17046 done
17047   done
17048 IFS=$as_save_IFS
17049
17050   ;;
17051 esac
17052 fi
17053 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17054 if test -n "$PKG_CONFIG"; then
17055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17056 $as_echo "$PKG_CONFIG" >&6; }
17057 else
17058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17059 $as_echo "no" >&6; }
17060 fi
17061
17062
17063 fi
17064 if test -z "$ac_cv_path_PKG_CONFIG"; then
17065   ac_pt_PKG_CONFIG=$PKG_CONFIG
17066   # Extract the first word of "pkg-config", so it can be a program name with args.
17067 set dummy pkg-config; ac_word=$2
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17069 $as_echo_n "checking for $ac_word... " >&6; }
17070 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17071   $as_echo_n "(cached) " >&6
17072 else
17073   case $ac_pt_PKG_CONFIG in
17074   [\\/]* | ?:[\\/]*)
17075   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17076   ;;
17077   *)
17078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17079 for as_dir in $PATH
17080 do
17081   IFS=$as_save_IFS
17082   test -z "$as_dir" && as_dir=.
17083     for ac_exec_ext in '' $ac_executable_extensions; do
17084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17085     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17087     break 2
17088   fi
17089 done
17090   done
17091 IFS=$as_save_IFS
17092
17093   ;;
17094 esac
17095 fi
17096 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17097 if test -n "$ac_pt_PKG_CONFIG"; then
17098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17099 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17100 else
17101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17102 $as_echo "no" >&6; }
17103 fi
17104
17105   if test "x$ac_pt_PKG_CONFIG" = x; then
17106     PKG_CONFIG=""
17107   else
17108     case $cross_compiling:$ac_tool_warned in
17109 yes:)
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17112 ac_tool_warned=yes ;;
17113 esac
17114     PKG_CONFIG=$ac_pt_PKG_CONFIG
17115   fi
17116 else
17117   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17118 fi
17119
17120 fi
17121 if test -n "$PKG_CONFIG"; then
17122         _pkg_min_version=0.16
17123         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17124 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17125         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17126                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17127 $as_echo "yes" >&6; }
17128         else
17129                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17130 $as_echo "no" >&6; }
17131                 PKG_CONFIG=""
17132         fi
17133 fi
17134
17135   no_glib=""
17136
17137   if test "x$PKG_CONFIG" = x ; then
17138     no_glib=yes
17139     PKG_CONFIG=no
17140   fi
17141
17142   min_glib_version=2.31.0
17143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
17144 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
17145
17146   if test x$PKG_CONFIG != xno ; then
17147     ## don't try to run the test against uninstalled libtool libs
17148     if $PKG_CONFIG --uninstalled $pkg_config_args; then
17149           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
17150           enable_glibtest=no
17151     fi
17152
17153     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
17154           :
17155     else
17156           no_glib=yes
17157     fi
17158   fi
17159
17160   if test x"$no_glib" = x ; then
17161     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
17162     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
17163     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
17164     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
17165
17166     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
17167     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
17168     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
17169            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
17170     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
17171            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
17172     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
17173            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
17174     if test "x$enable_glibtest" = "xyes" ; then
17175       ac_save_CFLAGS="$CFLAGS"
17176       ac_save_LIBS="$LIBS"
17177       CFLAGS="$CFLAGS $GLIB_CFLAGS"
17178       LIBS="$GLIB_LIBS $LIBS"
17179       rm -f conf.glibtest
17180       if test "$cross_compiling" = yes; then :
17181   echo $ac_n "cross compiling; assumed OK... $ac_c"
17182 else
17183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h.  */
17185
17186 #include <glib.h>
17187 #include <stdio.h>
17188 #include <stdlib.h>
17189
17190 int
17191 main ()
17192 {
17193   unsigned int major, minor, micro;
17194   char *tmp_version;
17195
17196   fclose (fopen ("conf.glibtest", "w"));
17197
17198   /* HP/UX 9 (%@#!) writes to sscanf strings */
17199   tmp_version = g_strdup("$min_glib_version");
17200   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
17201      printf("%s, bad version string\n", "$min_glib_version");
17202      exit(1);
17203    }
17204
17205   if ((glib_major_version != $glib_config_major_version) ||
17206       (glib_minor_version != $glib_config_minor_version) ||
17207       (glib_micro_version != $glib_config_micro_version))
17208     {
17209       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
17210              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
17211              glib_major_version, glib_minor_version, glib_micro_version);
17212       printf ("*** was found! If pkg-config was correct, then it is best\n");
17213       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
17214       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
17215       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
17216       printf("*** required on your system.\n");
17217       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
17218       printf("*** to point to the correct configuration files\n");
17219     }
17220   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
17221            (glib_minor_version != GLIB_MINOR_VERSION) ||
17222            (glib_micro_version != GLIB_MICRO_VERSION))
17223     {
17224       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
17225              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
17226       printf("*** library (version %d.%d.%d)\n",
17227              glib_major_version, glib_minor_version, glib_micro_version);
17228     }
17229   else
17230     {
17231       if ((glib_major_version > major) ||
17232         ((glib_major_version == major) && (glib_minor_version > minor)) ||
17233         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
17234       {
17235         return 0;
17236        }
17237      else
17238       {
17239         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
17240                glib_major_version, glib_minor_version, glib_micro_version);
17241         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
17242                major, minor, micro);
17243         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
17244         printf("***\n");
17245         printf("*** If you have already installed a sufficiently new version, this error\n");
17246         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
17247         printf("*** being found. The easiest way to fix this is to remove the old version\n");
17248         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
17249         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
17250         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
17251         printf("*** so that the correct libraries are found at run-time))\n");
17252       }
17253     }
17254   return 1;
17255 }
17256
17257 _ACEOF
17258 if ac_fn_c_try_run "$LINENO"; then :
17259
17260 else
17261   no_glib=yes
17262 fi
17263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17264   conftest.$ac_objext conftest.beam conftest.$ac_ext
17265 fi
17266
17267        CFLAGS="$ac_save_CFLAGS"
17268        LIBS="$ac_save_LIBS"
17269      fi
17270   fi
17271   if test "x$no_glib" = x ; then
17272      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
17273 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
17274      :
17275   else
17276      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17277 $as_echo "no" >&6; }
17278      if test "$PKG_CONFIG" = "no" ; then
17279        echo "*** A new enough version of pkg-config was not found."
17280        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
17281      else
17282        if test -f conf.glibtest ; then
17283         :
17284        else
17285           echo "*** Could not run GLIB test program, checking why..."
17286           ac_save_CFLAGS="$CFLAGS"
17287           ac_save_LIBS="$LIBS"
17288           CFLAGS="$CFLAGS $GLIB_CFLAGS"
17289           LIBS="$LIBS $GLIB_LIBS"
17290           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h.  */
17292
17293 #include <glib.h>
17294 #include <stdio.h>
17295
17296 int
17297 main ()
17298 {
17299  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
17300   ;
17301   return 0;
17302 }
17303 _ACEOF
17304 if ac_fn_c_try_link "$LINENO"; then :
17305    echo "*** The test program compiled, but did not run. This usually means"
17306           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
17307           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
17308           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
17309           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
17310           echo "*** is required on your system"
17311           echo "***"
17312           echo "*** If you have an old version installed, it is best to remove it, although"
17313           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
17314 else
17315    echo "*** The test program failed to compile or link. See the file config.log for the"
17316           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
17317 fi
17318 rm -f core conftest.err conftest.$ac_objext \
17319     conftest$ac_exeext conftest.$ac_ext
17320           CFLAGS="$ac_save_CFLAGS"
17321           LIBS="$ac_save_LIBS"
17322        fi
17323      fi
17324      GLIB_CFLAGS=""
17325      GLIB_LIBS=""
17326      GLIB_GENMARSHAL=""
17327      GOBJECT_QUERY=""
17328      GLIB_MKENUMS=""
17329      GLIB_COMPILE_RESOURCES=""
17330      as_fn_error $? "
17331 *** GLIB 2.31.0 or better is required. The latest version of
17332 *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/." "$LINENO" 5
17333   fi
17334
17335
17336
17337
17338
17339
17340   rm -f conf.glibtest
17341
17342
17343 gtk_save_LIBS=$LIBS
17344 LIBS="$LIBS $GLIB_LIBS"
17345 for ac_func in bind_textdomain_codeset
17346 do :
17347   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17348 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17349   cat >>confdefs.h <<_ACEOF
17350 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
17351 _ACEOF
17352
17353 fi
17354 done
17355
17356 LIBS=$gtk_save_LIBS
17357
17358 for ac_header in unistd.h
17359 do :
17360   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
17361 if test "x$ac_cv_header_unistd_h" = xyes; then :
17362   cat >>confdefs.h <<_ACEOF
17363 #define HAVE_UNISTD_H 1
17364 _ACEOF
17365
17366 $as_echo "#define HAVE_UNISTD_H 1" >>confdefs.h
17367
17368 fi
17369
17370 done
17371
17372
17373 saved_cflags="$CFLAGS"
17374 saved_ldflags="$LDFLAGS"
17375
17376
17377 # Checks for header files.
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17379 $as_echo_n "checking for ANSI C header files... " >&6; }
17380 if ${ac_cv_header_stdc+:} false; then :
17381   $as_echo_n "(cached) " >&6
17382 else
17383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h.  */
17385 #include <stdlib.h>
17386 #include <stdarg.h>
17387 #include <string.h>
17388 #include <float.h>
17389
17390 int
17391 main ()
17392 {
17393
17394   ;
17395   return 0;
17396 }
17397 _ACEOF
17398 if ac_fn_c_try_compile "$LINENO"; then :
17399   ac_cv_header_stdc=yes
17400 else
17401   ac_cv_header_stdc=no
17402 fi
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404
17405 if test $ac_cv_header_stdc = yes; then
17406   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h.  */
17409 #include <string.h>
17410
17411 _ACEOF
17412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17413   $EGREP "memchr" >/dev/null 2>&1; then :
17414
17415 else
17416   ac_cv_header_stdc=no
17417 fi
17418 rm -f conftest*
17419
17420 fi
17421
17422 if test $ac_cv_header_stdc = yes; then
17423   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h.  */
17426 #include <stdlib.h>
17427
17428 _ACEOF
17429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17430   $EGREP "free" >/dev/null 2>&1; then :
17431
17432 else
17433   ac_cv_header_stdc=no
17434 fi
17435 rm -f conftest*
17436
17437 fi
17438
17439 if test $ac_cv_header_stdc = yes; then
17440   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17441   if test "$cross_compiling" = yes; then :
17442   :
17443 else
17444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h.  */
17446 #include <ctype.h>
17447 #include <stdlib.h>
17448 #if ((' ' & 0x0FF) == 0x020)
17449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17451 #else
17452 # define ISLOWER(c) \
17453                    (('a' <= (c) && (c) <= 'i') \
17454                      || ('j' <= (c) && (c) <= 'r') \
17455                      || ('s' <= (c) && (c) <= 'z'))
17456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17457 #endif
17458
17459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17460 int
17461 main ()
17462 {
17463   int i;
17464   for (i = 0; i < 256; i++)
17465     if (XOR (islower (i), ISLOWER (i))
17466         || toupper (i) != TOUPPER (i))
17467       return 2;
17468   return 0;
17469 }
17470 _ACEOF
17471 if ac_fn_c_try_run "$LINENO"; then :
17472
17473 else
17474   ac_cv_header_stdc=no
17475 fi
17476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17477   conftest.$ac_objext conftest.beam conftest.$ac_ext
17478 fi
17479
17480 fi
17481 fi
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17483 $as_echo "$ac_cv_header_stdc" >&6; }
17484 if test $ac_cv_header_stdc = yes; then
17485
17486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17487
17488 fi
17489
17490
17491 # Checks for typedefs, structures, and compiler characteristics.
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17493 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17494 if ${ac_cv_c_const+:} false; then :
17495   $as_echo_n "(cached) " >&6
17496 else
17497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h.  */
17499
17500 int
17501 main ()
17502 {
17503 /* FIXME: Include the comments suggested by Paul. */
17504 #ifndef __cplusplus
17505   /* Ultrix mips cc rejects this.  */
17506   typedef int charset[2];
17507   const charset cs;
17508   /* SunOS 4.1.1 cc rejects this.  */
17509   char const *const *pcpcc;
17510   char **ppc;
17511   /* NEC SVR4.0.2 mips cc rejects this.  */
17512   struct point {int x, y;};
17513   static struct point const zero = {0,0};
17514   /* AIX XL C 1.02.0.0 rejects this.
17515      It does not let you subtract one const X* pointer from another in
17516      an arm of an if-expression whose if-part is not a constant
17517      expression */
17518   const char *g = "string";
17519   pcpcc = &g + (g ? g-g : 0);
17520   /* HPUX 7.0 cc rejects these. */
17521   ++pcpcc;
17522   ppc = (char**) pcpcc;
17523   pcpcc = (char const *const *) ppc;
17524   { /* SCO 3.2v4 cc rejects this.  */
17525     char *t;
17526     char const *s = 0 ? (char *) 0 : (char const *) 0;
17527
17528     *t++ = 0;
17529     if (s) return 0;
17530   }
17531   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17532     int x[] = {25, 17};
17533     const int *foo = &x[0];
17534     ++foo;
17535   }
17536   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17537     typedef const int *iptr;
17538     iptr p = 0;
17539     ++p;
17540   }
17541   { /* AIX XL C 1.02.0.0 rejects this saying
17542        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17543     struct s { int j; const int *ap[3]; };
17544     struct s *b; b->j = 5;
17545   }
17546   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17547     const int foo = 10;
17548     if (!foo) return 0;
17549   }
17550   return !cs[0] && !zero.x;
17551 #endif
17552
17553   ;
17554   return 0;
17555 }
17556 _ACEOF
17557 if ac_fn_c_try_compile "$LINENO"; then :
17558   ac_cv_c_const=yes
17559 else
17560   ac_cv_c_const=no
17561 fi
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17563 fi
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17565 $as_echo "$ac_cv_c_const" >&6; }
17566 if test $ac_cv_c_const = no; then
17567
17568 $as_echo "#define const /**/" >>confdefs.h
17569
17570 fi
17571
17572
17573 ##################################################
17574 # Checks for gdk-pixbuf
17575 ##################################################
17576
17577
17578 use_la_modules=false
17579 case $host in
17580   *-aix*) use_la_modules=true
17581 esac
17582
17583 if $use_la_modules ; then
17584
17585 $as_echo "#define USE_LA_MODULES 1" >>confdefs.h
17586
17587 fi
17588
17589
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gmodulized gdk-pixbuf" >&5
17591 $as_echo_n "checking whether to build gmodulized gdk-pixbuf... " >&6; }
17592
17593 # Check whether --enable-modules was given.
17594 if test "${enable_modules+set}" = set; then :
17595   enableval=$enable_modules;
17596 fi
17597
17598
17599 dynworks=false
17600 deps=
17601 if test x$enable_modules = xno; then
17602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17603 $as_echo "no" >&6; }
17604 else
17605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17606 $as_echo "yes" >&6; }
17607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dynamic modules work" >&5
17608 $as_echo_n "checking whether dynamic modules work... " >&6; }
17609     ## for loop is to strip newline
17610     tmp=`$PKG_CONFIG --variable=gmodule_supported gmodule-no-export-2.0`
17611     for I in $tmp; do
17612         dynworks=$I
17613     done
17614
17615             if $dynworks; then
17616         pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
17617         pixbuf_deplibs_check=`$pixbuf_libtool_config | \
17618             grep '^[a-z_]*check[a-z_]*_method=['\''"]' | \
17619             sed 's/.*['\''"]\(.*\)['\''"]$/\1/'`
17620         if test "x$pixbuf_deplibs_check" = "xnone" || \
17621            test "x$pixbuf_deplibs_check" = "xunknown" || \
17622            test "x$pixbuf_deplibs_check" = "x"; then
17623             dynworks=false
17624         fi
17625     fi
17626
17627     if $dynworks; then
17628
17629 $as_echo "#define USE_GMODULE 1" >>confdefs.h
17630
17631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17632 $as_echo "yes" >&6; }
17633     else
17634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17635 $as_echo "no" >&6; }
17636     fi
17637 fi
17638
17639
17640
17641 # Check whether --with-libpng was given.
17642 if test "${with_libpng+set}" = set; then :
17643   withval=$with_libpng;
17644 fi
17645
17646
17647 # Check whether --with-libjpeg was given.
17648 if test "${with_libjpeg+set}" = set; then :
17649   withval=$with_libjpeg;
17650 fi
17651
17652
17653 # Check whether --with-libtiff was given.
17654 if test "${with_libtiff+set}" = set; then :
17655   withval=$with_libtiff;
17656 fi
17657
17658
17659 # Check whether --with-libjasper was given.
17660 if test "${with_libjasper+set}" = set; then :
17661   withval=$with_libjasper;
17662 fi
17663
17664
17665 # Check whether --with-gdiplus was given.
17666 if test "${with_gdiplus+set}" = set; then :
17667   withval=$with_gdiplus;
17668 fi
17669
17670
17671  if  test x$os_win32 = xyes && test x$with_gdiplus != xno ; then
17672   BUILD_GDIPLUS_LOADERS_TRUE=
17673   BUILD_GDIPLUS_LOADERS_FALSE='#'
17674 else
17675   BUILD_GDIPLUS_LOADERS_TRUE='#'
17676   BUILD_GDIPLUS_LOADERS_FALSE=
17677 fi
17678
17679
17680 if test x$os_win32 = xno || test x$with_gdiplus = xno; then
17681   if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
17682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadRGBAImageOriented in -ltiff" >&5
17683 $as_echo_n "checking for TIFFReadRGBAImageOriented in -ltiff... " >&6; }
17684 if ${ac_cv_lib_tiff_TIFFReadRGBAImageOriented+:} false; then :
17685   $as_echo_n "(cached) " >&6
17686 else
17687   ac_check_lib_save_LIBS=$LIBS
17688 LIBS="-ltiff -lm $LIBS"
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h.  */
17691
17692 /* Override any GCC internal prototype to avoid an error.
17693    Use char because int might match the return type of a GCC
17694    builtin and then its argument prototype would still apply.  */
17695 #ifdef __cplusplus
17696 extern "C"
17697 #endif
17698 char TIFFReadRGBAImageOriented ();
17699 int
17700 main ()
17701 {
17702 return TIFFReadRGBAImageOriented ();
17703   ;
17704   return 0;
17705 }
17706 _ACEOF
17707 if ac_fn_c_try_link "$LINENO"; then :
17708   ac_cv_lib_tiff_TIFFReadRGBAImageOriented=yes
17709 else
17710   ac_cv_lib_tiff_TIFFReadRGBAImageOriented=no
17711 fi
17712 rm -f core conftest.err conftest.$ac_objext \
17713     conftest$ac_exeext conftest.$ac_ext
17714 LIBS=$ac_check_lib_save_LIBS
17715 fi
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadRGBAImageOriented" >&5
17717 $as_echo "$ac_cv_lib_tiff_TIFFReadRGBAImageOriented" >&6; }
17718 if test "x$ac_cv_lib_tiff_TIFFReadRGBAImageOriented" = xyes; then :
17719   ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
17720 if test "x$ac_cv_header_tiffio_h" = xyes; then :
17721   TIFF='tiff'; LIBTIFF='-ltiff'
17722 else
17723   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
17724 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
17725 fi
17726
17727
17728 else
17729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFWriteScanline in -ltiff" >&5
17730 $as_echo_n "checking for TIFFWriteScanline in -ltiff... " >&6; }
17731 if ${ac_cv_lib_tiff_TIFFWriteScanline+:} false; then :
17732   $as_echo_n "(cached) " >&6
17733 else
17734   ac_check_lib_save_LIBS=$LIBS
17735 LIBS="-ltiff -ljpeg -lz -lm $LIBS"
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h.  */
17738
17739 /* Override any GCC internal prototype to avoid an error.
17740    Use char because int might match the return type of a GCC
17741    builtin and then its argument prototype would still apply.  */
17742 #ifdef __cplusplus
17743 extern "C"
17744 #endif
17745 char TIFFWriteScanline ();
17746 int
17747 main ()
17748 {
17749 return TIFFWriteScanline ();
17750   ;
17751   return 0;
17752 }
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755   ac_cv_lib_tiff_TIFFWriteScanline=yes
17756 else
17757   ac_cv_lib_tiff_TIFFWriteScanline=no
17758 fi
17759 rm -f core conftest.err conftest.$ac_objext \
17760     conftest$ac_exeext conftest.$ac_ext
17761 LIBS=$ac_check_lib_save_LIBS
17762 fi
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFWriteScanline" >&5
17764 $as_echo "$ac_cv_lib_tiff_TIFFWriteScanline" >&6; }
17765 if test "x$ac_cv_lib_tiff_TIFFWriteScanline" = xyes; then :
17766   ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
17767 if test "x$ac_cv_header_tiffio_h" = xyes; then :
17768   TIFF='tiff'; LIBTIFF='-ltiff -ljpeg -lz'
17769 else
17770   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
17771 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
17772 fi
17773
17774
17775 else
17776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFFlushData in -ltiff34" >&5
17777 $as_echo_n "checking for TIFFFlushData in -ltiff34... " >&6; }
17778 if ${ac_cv_lib_tiff34_TIFFFlushData+:} false; then :
17779   $as_echo_n "(cached) " >&6
17780 else
17781   ac_check_lib_save_LIBS=$LIBS
17782 LIBS="-ltiff34 -ljpeg -lz -lm $LIBS"
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h.  */
17785
17786 /* Override any GCC internal prototype to avoid an error.
17787    Use char because int might match the return type of a GCC
17788    builtin and then its argument prototype would still apply.  */
17789 #ifdef __cplusplus
17790 extern "C"
17791 #endif
17792 char TIFFFlushData ();
17793 int
17794 main ()
17795 {
17796 return TIFFFlushData ();
17797   ;
17798   return 0;
17799 }
17800 _ACEOF
17801 if ac_fn_c_try_link "$LINENO"; then :
17802   ac_cv_lib_tiff34_TIFFFlushData=yes
17803 else
17804   ac_cv_lib_tiff34_TIFFFlushData=no
17805 fi
17806 rm -f core conftest.err conftest.$ac_objext \
17807     conftest$ac_exeext conftest.$ac_ext
17808 LIBS=$ac_check_lib_save_LIBS
17809 fi
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFFlushData" >&5
17811 $as_echo "$ac_cv_lib_tiff34_TIFFFlushData" >&6; }
17812 if test "x$ac_cv_lib_tiff34_TIFFFlushData" = xyes; then :
17813   ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
17814 if test "x$ac_cv_header_tiffio_h" = xyes; then :
17815   TIFF='tiff'; LIBTIFF='-ltiff34 -ljpeg -lz'
17816 else
17817   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
17818 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
17819 fi
17820
17821
17822 else
17823   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF library not found) ***" >&5
17824 $as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF library not found) ***" >&2;}
17825 fi
17826
17827 fi
17828
17829 fi
17830
17831   fi
17832
17833   if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
17834      as_fn_error $? "
17835 *** Checks for TIFF loader failed. You can build without it by passing
17836 *** --without-libtiff to configure but some programs using GTK+ may
17837 *** not work properly" "$LINENO" 5
17838   fi
17839 fi
17840
17841 if test x$os_win32 = xno || test x$with_gdiplus = xno; then
17842   if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
17843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
17844 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
17845 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
17846   $as_echo_n "(cached) " >&6
17847 else
17848   ac_check_lib_save_LIBS=$LIBS
17849 LIBS="-ljpeg  $LIBS"
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h.  */
17852
17853 /* Override any GCC internal prototype to avoid an error.
17854    Use char because int might match the return type of a GCC
17855    builtin and then its argument prototype would still apply.  */
17856 #ifdef __cplusplus
17857 extern "C"
17858 #endif
17859 char jpeg_destroy_decompress ();
17860 int
17861 main ()
17862 {
17863 return jpeg_destroy_decompress ();
17864   ;
17865   return 0;
17866 }
17867 _ACEOF
17868 if ac_fn_c_try_link "$LINENO"; then :
17869   ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
17870 else
17871   ac_cv_lib_jpeg_jpeg_destroy_decompress=no
17872 fi
17873 rm -f core conftest.err conftest.$ac_objext \
17874     conftest$ac_exeext conftest.$ac_ext
17875 LIBS=$ac_check_lib_save_LIBS
17876 fi
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
17878 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
17879 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
17880   jpeg_ok=yes
17881 else
17882   jpeg_ok=no
17883       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JPEG loader will not be built (JPEG library not found) ***" >&5
17884 $as_echo "$as_me: WARNING: *** JPEG loader will not be built (JPEG library not found) ***" >&2;}
17885 fi
17886
17887     if test "$jpeg_ok" = yes; then
17888       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
17889 $as_echo_n "checking for jpeglib.h... " >&6; }
17890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h.  */
17892 #include <stdio.h>
17893 #undef PACKAGE
17894 #undef VERSION
17895 #undef HAVE_STDLIB_H
17896 #include <jpeglib.h>
17897 _ACEOF
17898 if ac_fn_c_try_cpp "$LINENO"; then :
17899   jpeg_ok=yes
17900 else
17901   jpeg_ok=no
17902 fi
17903 rm -f conftest.err conftest.i conftest.$ac_ext
17904       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
17905 $as_echo "$jpeg_ok" >&6; }
17906       if test "$jpeg_ok" = yes; then
17907         LIBJPEG='-ljpeg'
17908         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_simple_progression in -ljpeg" >&5
17909 $as_echo_n "checking for jpeg_simple_progression in -ljpeg... " >&6; }
17910 if ${ac_cv_lib_jpeg_jpeg_simple_progression+:} false; then :
17911   $as_echo_n "(cached) " >&6
17912 else
17913   ac_check_lib_save_LIBS=$LIBS
17914 LIBS="-ljpeg  $LIBS"
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h.  */
17917
17918 /* Override any GCC internal prototype to avoid an error.
17919    Use char because int might match the return type of a GCC
17920    builtin and then its argument prototype would still apply.  */
17921 #ifdef __cplusplus
17922 extern "C"
17923 #endif
17924 char jpeg_simple_progression ();
17925 int
17926 main ()
17927 {
17928 return jpeg_simple_progression ();
17929   ;
17930   return 0;
17931 }
17932 _ACEOF
17933 if ac_fn_c_try_link "$LINENO"; then :
17934   ac_cv_lib_jpeg_jpeg_simple_progression=yes
17935 else
17936   ac_cv_lib_jpeg_jpeg_simple_progression=no
17937 fi
17938 rm -f core conftest.err conftest.$ac_objext \
17939     conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17941 fi
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_simple_progression" >&5
17943 $as_echo "$ac_cv_lib_jpeg_jpeg_simple_progression" >&6; }
17944 if test "x$ac_cv_lib_jpeg_jpeg_simple_progression" = xyes; then :
17945
17946 $as_echo "#define HAVE_PROGRESSIVE_JPEG 1" >>confdefs.h
17947
17948 else
17949   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JPEG library does not support progressive saving." >&5
17950 $as_echo "$as_me: WARNING: JPEG library does not support progressive saving." >&2;}
17951 fi
17952
17953       else
17954           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JPEG loader will not be built (JPEG header file not found) ***" >&5
17955 $as_echo "$as_me: WARNING: *** JPEG loader will not be built (JPEG header file not found) ***" >&2;}
17956       fi
17957     fi
17958   fi
17959
17960   if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
17961      as_fn_error $? "
17962 *** Checks for JPEG loader failed. You can build without it by passing
17963 *** --without-libjpeg to configure but some programs using GTK+ may
17964 *** not work properly" "$LINENO" 5
17965   fi
17966 fi
17967
17968   if test x$with_libpng != xno && test -z "$LIBPNG"; then
17969     for l in libpng15 libpng14 libpng12 libpng13 libpng10 libpng ; do
17970       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $l" >&5
17971 $as_echo_n "checking for $l... " >&6; }
17972       if $PKG_CONFIG --exists $l ; then
17973         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17974 $as_echo "yes" >&6; }
17975         PNG='png'
17976         PNG_DEP_CFLAGS_PACKAGES=$l
17977         LIBPNG=`$PKG_CONFIG --libs $l`
17978         break
17979       else
17980         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 $as_echo "no" >&6; }
17982       fi
17983     done
17984     if test x$PNG != xpng; then
17985       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17986 $as_echo "no" >&6; }
17987       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
17988 $as_echo_n "checking for png_read_info in -lpng... " >&6; }
17989 if ${ac_cv_lib_png_png_read_info+:} false; then :
17990   $as_echo_n "(cached) " >&6
17991 else
17992   ac_check_lib_save_LIBS=$LIBS
17993 LIBS="-lpng -lz -lm $LIBS"
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h.  */
17996
17997 /* Override any GCC internal prototype to avoid an error.
17998    Use char because int might match the return type of a GCC
17999    builtin and then its argument prototype would still apply.  */
18000 #ifdef __cplusplus
18001 extern "C"
18002 #endif
18003 char png_read_info ();
18004 int
18005 main ()
18006 {
18007 return png_read_info ();
18008   ;
18009   return 0;
18010 }
18011 _ACEOF
18012 if ac_fn_c_try_link "$LINENO"; then :
18013   ac_cv_lib_png_png_read_info=yes
18014 else
18015   ac_cv_lib_png_png_read_info=no
18016 fi
18017 rm -f core conftest.err conftest.$ac_objext \
18018     conftest$ac_exeext conftest.$ac_ext
18019 LIBS=$ac_check_lib_save_LIBS
18020 fi
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
18022 $as_echo "$ac_cv_lib_png_png_read_info" >&6; }
18023 if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
18024   ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
18025 if test "x$ac_cv_header_png_h" = xyes; then :
18026   png_ok=yes
18027 else
18028   png_ok=no
18029 fi
18030
18031
18032 else
18033   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** PNG loader will not be built (PNG library not found) ***" >&5
18034 $as_echo "$as_me: WARNING: *** PNG loader will not be built (PNG library not found) ***" >&2;}
18035 fi
18036
18037       if test "$png_ok" = yes; then
18038         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
18039 $as_echo_n "checking for png_structp in png.h... " >&6; }
18040         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h.  */
18042 #include <png.h>
18043 int
18044 main ()
18045 {
18046 png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
18047   ;
18048   return 0;
18049 }
18050 _ACEOF
18051 if ac_fn_c_try_compile "$LINENO"; then :
18052   png_ok=yes
18053 else
18054   png_ok=no
18055 fi
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
18058 $as_echo "$png_ok" >&6; }
18059         if test "$png_ok" = yes; then
18060           PNG='png'; LIBPNG='-lpng -lz'
18061         else
18062           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** PNG loader will not be built (PNG library is too old) ***" >&5
18063 $as_echo "$as_me: WARNING: *** PNG loader will not be built (PNG library is too old) ***" >&2;}
18064         fi
18065       else
18066        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** PNG loader will not be built (PNG header file not found) ***" >&5
18067 $as_echo "$as_me: WARNING: *** PNG loader will not be built (PNG header file not found) ***" >&2;}
18068       fi
18069     fi
18070   fi
18071
18072   if test x$with_libpng != xno && test -z "$LIBPNG"; then
18073      as_fn_error $? "
18074 *** Checks for PNG loader failed. You can build without it by passing
18075 *** --without-libpng to configure but many programs using GTK+ will
18076 *** not work properly. The PNG loader is also needed if you are compiling
18077 *** from Git." "$LINENO" 5
18078   fi
18079
18080   if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
18081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_init in -ljasper" >&5
18082 $as_echo_n "checking for jas_init in -ljasper... " >&6; }
18083 if ${ac_cv_lib_jasper_jas_init+:} false; then :
18084   $as_echo_n "(cached) " >&6
18085 else
18086   ac_check_lib_save_LIBS=$LIBS
18087 LIBS="-ljasper -ljpeg -lm $LIBS"
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h.  */
18090
18091 /* Override any GCC internal prototype to avoid an error.
18092    Use char because int might match the return type of a GCC
18093    builtin and then its argument prototype would still apply.  */
18094 #ifdef __cplusplus
18095 extern "C"
18096 #endif
18097 char jas_init ();
18098 int
18099 main ()
18100 {
18101 return jas_init ();
18102   ;
18103   return 0;
18104 }
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"; then :
18107   ac_cv_lib_jasper_jas_init=yes
18108 else
18109   ac_cv_lib_jasper_jas_init=no
18110 fi
18111 rm -f core conftest.err conftest.$ac_objext \
18112     conftest$ac_exeext conftest.$ac_ext
18113 LIBS=$ac_check_lib_save_LIBS
18114 fi
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_init" >&5
18116 $as_echo "$ac_cv_lib_jasper_jas_init" >&6; }
18117 if test "x$ac_cv_lib_jasper_jas_init" = xyes; then :
18118   LIBJASPER=-ljasper
18119 fi
18120
18121   fi
18122
18123   if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
18124      as_fn_error $? "
18125 *** Checks for JPEG2000 loader failed. You can build without it by passing
18126 *** --without-libjasper to configure" "$LINENO" 5
18127   fi
18128
18129
18130
18131
18132
18133
18134  if $dynworks; then
18135   BUILD_DYNAMIC_MODULES_TRUE=
18136   BUILD_DYNAMIC_MODULES_FALSE='#'
18137 else
18138   BUILD_DYNAMIC_MODULES_TRUE='#'
18139   BUILD_DYNAMIC_MODULES_FALSE=
18140 fi
18141
18142
18143 #
18144 # Allow building some or all gdk-pixbuf loaders included
18145 #
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pixbuf loaders to build" >&5
18147 $as_echo_n "checking pixbuf loaders to build... " >&6; }
18148
18149
18150 # Check whether --with-included_loaders was given.
18151 if test "${with_included_loaders+set}" = set; then :
18152   withval=$with_included_loaders;
18153 fi
18154
18155
18156 if $dynworks; then
18157    :
18158 else
18159    ## if the option was specified, leave it; otherwise disable included loaders
18160    if test x$with_included_loaders = xno; then
18161            with_included_loaders=yes
18162    fi
18163 fi
18164
18165 # Use the traditional png loader instead of the GDI+ one on Windows,
18166 # because some important apps like GIMP need to read and write
18167 # arbitrary tEXt chunks which doesn't seem to be possible through GDI+
18168
18169 all_loaders="ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,qtif"
18170 if test x$with_libjasper = xyes; then
18171   all_loaders="$all_loaders,jasper"
18172 fi
18173 if test x$os_win32 = xyes && test x$with_gdiplus != xno; then
18174   # Skip PNG, see comment above
18175   gdip_formats="bmp emf gif ico jpeg tiff wmf"
18176   for f in $gdip_formats; do
18177     all_loaders="$all_loaders,gdip-$f"
18178   done
18179 else
18180   all_loaders="$all_loaders,bmp,gif,ico,jpeg,tiff"
18181 fi
18182 included_loaders=""
18183 # If no loaders specified, include all
18184 if test "x$with_included_loaders" = xyes ; then
18185   included_loaders="$all_loaders"
18186 else
18187   included_loaders="$with_included_loaders"
18188 fi
18189
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_loaders" >&5
18191 $as_echo "$included_loaders" >&6; }
18192
18193 INCLUDED_LOADER_OBJ=
18194 INCLUDED_LOADER_DEFINE=
18195
18196 IFS="${IFS=     }"; gtk_save_ifs="$IFS"; IFS=","
18197 for loader in $included_loaders; do
18198  if echo "$all_loaders" | egrep "(^|,)$loader(\$|,)" > /dev/null; then
18199    :
18200  else
18201    as_fn_error $? "the specified loader $loader does not exist" "$LINENO" 5
18202  fi
18203
18204  loader_underscores=`echo $loader | sed -e 's/-/_/g'`
18205  INCLUDED_LOADER_OBJ="$INCLUDED_LOADER_OBJ libstatic-pixbufloader-$loader.la"
18206
18207  # Don't bother defining separate -DINCLUDE_gdip_foo for each gdip-foo loader
18208  case $loader in
18209    gdip-*) ;;
18210    *) INCLUDED_LOADER_DEFINE="$INCLUDED_LOADER_DEFINE -DINCLUDE_$loader_underscores";;
18211  esac
18212  eval INCLUDE_$loader_underscores=yes
18213 done
18214
18215 # Just define one -DINCLUDE_gdiplus for all the gdip-foo loaders
18216 # (except gdip-png, which isn't built at all)
18217 if test x"$INCLUDE_gdip_ico" = xyes; then
18218   INCLUDED_LOADER_DEFINE="$INCLUDED_LOADER_DEFINE -DINCLUDE_gdiplus"
18219 fi
18220
18221 IFS="$gtk_save_ifs"
18222
18223
18224
18225  if test x"$INCLUDE_png" = xyes; then
18226   INCLUDE_PNG_TRUE=
18227   INCLUDE_PNG_FALSE='#'
18228 else
18229   INCLUDE_PNG_TRUE='#'
18230   INCLUDE_PNG_FALSE=
18231 fi
18232
18233  if test x"$INCLUDE_bmp" = xyes; then
18234   INCLUDE_BMP_TRUE=
18235   INCLUDE_BMP_FALSE='#'
18236 else
18237   INCLUDE_BMP_TRUE='#'
18238   INCLUDE_BMP_FALSE=
18239 fi
18240
18241  if test x"$INCLUDE_wbmp" = xyes; then
18242   INCLUDE_WBMP_TRUE=
18243   INCLUDE_WBMP_FALSE='#'
18244 else
18245   INCLUDE_WBMP_TRUE='#'
18246   INCLUDE_WBMP_FALSE=
18247 fi
18248
18249  if test x"$INCLUDE_gif" = xyes; then
18250   INCLUDE_GIF_TRUE=
18251   INCLUDE_GIF_FALSE='#'
18252 else
18253   INCLUDE_GIF_TRUE='#'
18254   INCLUDE_GIF_FALSE=
18255 fi
18256
18257  if test x"$INCLUDE_ico" = xyes; then
18258   INCLUDE_ICO_TRUE=
18259   INCLUDE_ICO_FALSE='#'
18260 else
18261   INCLUDE_ICO_TRUE='#'
18262   INCLUDE_ICO_FALSE=
18263 fi
18264
18265  if test x"$INCLUDE_ani" = xyes; then
18266   INCLUDE_ANI_TRUE=
18267   INCLUDE_ANI_FALSE='#'
18268 else
18269   INCLUDE_ANI_TRUE='#'
18270   INCLUDE_ANI_FALSE=
18271 fi
18272
18273  if test x"$INCLUDE_jpeg" = xyes; then
18274   INCLUDE_JPEG_TRUE=
18275   INCLUDE_JPEG_FALSE='#'
18276 else
18277   INCLUDE_JPEG_TRUE='#'
18278   INCLUDE_JPEG_FALSE=
18279 fi
18280
18281  if test x"$INCLUDE_pnm" = xyes; then
18282   INCLUDE_PNM_TRUE=
18283   INCLUDE_PNM_FALSE='#'
18284 else
18285   INCLUDE_PNM_TRUE='#'
18286   INCLUDE_PNM_FALSE=
18287 fi
18288
18289  if test x"$INCLUDE_ras" = xyes; then
18290   INCLUDE_RAS_TRUE=
18291   INCLUDE_RAS_FALSE='#'
18292 else
18293   INCLUDE_RAS_TRUE='#'
18294   INCLUDE_RAS_FALSE=
18295 fi
18296
18297  if test x"$INCLUDE_tiff" = xyes; then
18298   INCLUDE_TIFF_TRUE=
18299   INCLUDE_TIFF_FALSE='#'
18300 else
18301   INCLUDE_TIFF_TRUE='#'
18302   INCLUDE_TIFF_FALSE=
18303 fi
18304
18305  if test x"$INCLUDE_xpm" = xyes; then
18306   INCLUDE_XPM_TRUE=
18307   INCLUDE_XPM_FALSE='#'
18308 else
18309   INCLUDE_XPM_TRUE='#'
18310   INCLUDE_XPM_FALSE=
18311 fi
18312
18313  if test x"$INCLUDE_xbm" = xyes; then
18314   INCLUDE_XBM_TRUE=
18315   INCLUDE_XBM_FALSE='#'
18316 else
18317   INCLUDE_XBM_TRUE='#'
18318   INCLUDE_XBM_FALSE=
18319 fi
18320
18321  if test x"$INCLUDE_tga" = xyes; then
18322   INCLUDE_TGA_TRUE=
18323   INCLUDE_TGA_FALSE='#'
18324 else
18325   INCLUDE_TGA_TRUE='#'
18326   INCLUDE_TGA_FALSE=
18327 fi
18328
18329  if test x"$INCLUDE_pcx" = xyes; then
18330   INCLUDE_PCX_TRUE=
18331   INCLUDE_PCX_FALSE='#'
18332 else
18333   INCLUDE_PCX_TRUE='#'
18334   INCLUDE_PCX_FALSE=
18335 fi
18336
18337  if test x"$INCLUDE_icns" = xyes; then
18338   INCLUDE_ICNS_TRUE=
18339   INCLUDE_ICNS_FALSE='#'
18340 else
18341   INCLUDE_ICNS_TRUE='#'
18342   INCLUDE_ICNS_FALSE=
18343 fi
18344
18345  if test x"$INCLUDE_jasper" = xyes; then
18346   INCLUDE_JASPER_TRUE=
18347   INCLUDE_JASPER_FALSE='#'
18348 else
18349   INCLUDE_JASPER_TRUE='#'
18350   INCLUDE_JASPER_FALSE=
18351 fi
18352
18353  if test x"$INCLUDE_qtif" = xyes; then
18354   INCLUDE_QTIF_TRUE=
18355   INCLUDE_QTIF_FALSE='#'
18356 else
18357   INCLUDE_QTIF_TRUE='#'
18358   INCLUDE_QTIF_FALSE=
18359 fi
18360
18361 # As all GDI+ loaders are either built-in or not, arbitrarily just
18362 # check one of the variables here
18363  if test x"$INCLUDE_gdip_ico" = xyes; then
18364   INCLUDE_GDIPLUS_TRUE=
18365   INCLUDE_GDIPLUS_FALSE='#'
18366 else
18367   INCLUDE_GDIPLUS_TRUE='#'
18368   INCLUDE_GDIPLUS_FALSE=
18369 fi
18370
18371
18372 if test x$gio_can_sniff = x; then
18373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gio can sniff png" >&5
18374 $as_echo_n "checking if gio can sniff png... " >&6; }
18375   gtk_save_LIBS="$LIBS"
18376   gtk_save_CFLAGS="$CFLAGS"
18377   LIBS="`$PKG_CONFIG --libs gio-2.0`"
18378   CFLAGS="`$PKG_CONFIG --cflags gio-2.0`"
18379   if test "$cross_compiling" = yes; then :
18380   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18382 as_fn_error $? "cannot run test program while cross compiling
18383 See \`config.log' for more details" "$LINENO" 5; }
18384 else
18385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h.  */
18387
18388   #include <gio/gio.h>
18389   static const gsize data_size = 159;
18390   static const guint8 data[] =
18391   {
18392     0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
18393     0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
18394     0x08, 0x02, 0x00, 0x00, 0x00, 0x90, 0x77, 0x53, 0xde, 0x00, 0x00, 0x00,
18395     0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
18396     0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00,
18397     0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74,
18398     0x49, 0x4d, 0x45, 0x07, 0xd8, 0x07, 0x0f, 0x10, 0x08, 0x15, 0x61, 0xd8,
18399     0x35, 0x37, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x43, 0x6f,
18400     0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
18401     0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x57,
18402     0x81, 0x0e, 0x17, 0x00, 0x00, 0x00, 0x0c, 0x49, 0x44, 0x41, 0x54, 0x08,
18403     0xd7, 0x63, 0xf8, 0xff, 0xff, 0x3f, 0x00, 0x05, 0xfe, 0x02, 0xfe, 0xdc,
18404     0xcc, 0x59, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
18405     0x42, 0x60, 0x82
18406   };
18407   int
18408   main (int argc, char **argv)
18409   {
18410     char *content_type;
18411     char *image_png;
18412     g_type_init ();
18413     content_type = g_content_type_guess (NULL, data, data_size, NULL);
18414     image_png = g_content_type_from_mime_type ("image/png");
18415     return !!g_strcmp0 (content_type, image_png);
18416   }
18417 _ACEOF
18418 if ac_fn_c_try_run "$LINENO"; then :
18419   gio_can_sniff=yes
18420
18421 $as_echo "#define GDK_PIXBUF_USE_GIO_MIME 1" >>confdefs.h
18422
18423 else
18424   gio_can_sniff=no
18425 fi
18426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18427   conftest.$ac_objext conftest.beam conftest.$ac_ext
18428 fi
18429
18430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gio_can_sniff" >&5
18431 $as_echo "$gio_can_sniff" >&6; }
18432   LIBS="$gtk_save_LIBS"
18433   CFLAGS="$gtk_save_CFLAGS"
18434 fi
18435
18436  if test "x$LIBTIFF" != x; then
18437   HAVE_TIFF_TRUE=
18438   HAVE_TIFF_FALSE='#'
18439 else
18440   HAVE_TIFF_TRUE='#'
18441   HAVE_TIFF_FALSE=
18442 fi
18443
18444  if test "x$LIBPNG" != x; then
18445   HAVE_PNG_TRUE=
18446   HAVE_PNG_FALSE='#'
18447 else
18448   HAVE_PNG_TRUE='#'
18449   HAVE_PNG_FALSE=
18450 fi
18451
18452  if test "x$LIBJPEG" != x; then
18453   HAVE_JPEG_TRUE=
18454   HAVE_JPEG_FALSE='#'
18455 else
18456   HAVE_JPEG_TRUE='#'
18457   HAVE_JPEG_FALSE=
18458 fi
18459
18460  if test "x$LIBJASPER" != x; then
18461   HAVE_JASPER_TRUE=
18462   HAVE_JASPER_FALSE='#'
18463 else
18464   HAVE_JASPER_TRUE='#'
18465   HAVE_JASPER_FALSE=
18466 fi
18467
18468
18469 if $dynworks ; then
18470   STATIC_LIB_DEPS=
18471   if echo "$included_loaders" | egrep '(^|,)tiff($|,)' > /dev/null; then
18472     STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBTIFF"
18473   fi
18474   if echo "$included_loaders" | egrep '(^|,)jpeg($|,)' > /dev/null; then
18475     STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJPEG"
18476   fi
18477   if echo "$included_loaders" | egrep '(^|,)png($|,)' > /dev/null; then
18478     if test -z $PNG_DEP_CFLAGS_PACKAGES; then
18479       STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBPNG"
18480     fi
18481   fi
18482   if echo "$included_loaders" | egrep '(^|,)jasper($|,)' > /dev/null; then
18483     STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJASPER"
18484   fi
18485 else
18486   STATIC_LIB_DEPS="$LIBTIFF $LIBJPEG $LIBPNG $LIBJASPER"
18487 fi
18488
18489 # Checks to see whether we should include mediaLib
18490 # support.
18491 #
18492 ac_fn_c_check_header_mongrel "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default"
18493 if test "x$ac_cv_header_sys_systeminfo_h" = xyes; then :
18494
18495 $as_echo "#define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h
18496
18497 fi
18498
18499
18500 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
18501 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
18502
18503 $as_echo "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
18504
18505 fi
18506
18507
18508
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mediaLib 2.3" >&5
18510 $as_echo_n "checking for mediaLib 2.3... " >&6; }
18511 use_mlib25=no
18512 # Check for a mediaLib 2.3 function since that is what the GTK+ mediaLib
18513 # patch requires.
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mlib_ImageSetStruct in -lmlib" >&5
18515 $as_echo_n "checking for mlib_ImageSetStruct in -lmlib... " >&6; }
18516 if ${ac_cv_lib_mlib_mlib_ImageSetStruct+:} false; then :
18517   $as_echo_n "(cached) " >&6
18518 else
18519   ac_check_lib_save_LIBS=$LIBS
18520 LIBS="-lmlib  $LIBS"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h.  */
18523
18524 /* Override any GCC internal prototype to avoid an error.
18525    Use char because int might match the return type of a GCC
18526    builtin and then its argument prototype would still apply.  */
18527 #ifdef __cplusplus
18528 extern "C"
18529 #endif
18530 char mlib_ImageSetStruct ();
18531 int
18532 main ()
18533 {
18534 return mlib_ImageSetStruct ();
18535   ;
18536   return 0;
18537 }
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"; then :
18540   ac_cv_lib_mlib_mlib_ImageSetStruct=yes
18541 else
18542   ac_cv_lib_mlib_mlib_ImageSetStruct=no
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext \
18545     conftest$ac_exeext conftest.$ac_ext
18546 LIBS=$ac_check_lib_save_LIBS
18547 fi
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mlib_mlib_ImageSetStruct" >&5
18549 $as_echo "$ac_cv_lib_mlib_mlib_ImageSetStruct" >&6; }
18550 if test "x$ac_cv_lib_mlib_mlib_ImageSetStruct" = xyes; then :
18551   use_mlib=yes
18552 else
18553   use_mlib=no
18554 fi
18555
18556 if test $use_mlib = yes; then
18557
18558 $as_echo "#define USE_MEDIALIB 1" >>confdefs.h
18559
18560     MEDIA_LIB=-lmlib
18561
18562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mediaLib 2.5" >&5
18563 $as_echo_n "checking for mediaLib 2.5... " >&6; }
18564     # Check for a mediaLib 2.5 function since that is what is needed for
18565     # gdk_rgb_convert integration.
18566     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib" >&5
18567 $as_echo_n "checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib... " >&6; }
18568 if ${ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint+:} false; then :
18569   $as_echo_n "(cached) " >&6
18570 else
18571   ac_check_lib_save_LIBS=$LIBS
18572 LIBS="-lmlib  $LIBS"
18573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18574 /* end confdefs.h.  */
18575
18576 /* Override any GCC internal prototype to avoid an error.
18577    Use char because int might match the return type of a GCC
18578    builtin and then its argument prototype would still apply.  */
18579 #ifdef __cplusplus
18580 extern "C"
18581 #endif
18582 char mlib_VideoColorRGBint_to_BGRAint ();
18583 int
18584 main ()
18585 {
18586 return mlib_VideoColorRGBint_to_BGRAint ();
18587   ;
18588   return 0;
18589 }
18590 _ACEOF
18591 if ac_fn_c_try_link "$LINENO"; then :
18592   ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint=yes
18593 else
18594   ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint=no
18595 fi
18596 rm -f core conftest.err conftest.$ac_objext \
18597     conftest$ac_exeext conftest.$ac_ext
18598 LIBS=$ac_check_lib_save_LIBS
18599 fi
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" >&5
18601 $as_echo "$ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" >&6; }
18602 if test "x$ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" = xyes; then :
18603   use_mlib25=yes
18604 else
18605   use_mlib25=no
18606 fi
18607
18608     if test $use_mlib25 = yes; then
18609
18610 $as_echo "#define USE_MEDIALIB25 1" >>confdefs.h
18611
18612     fi
18613 fi
18614  if test $use_mlib = yes; then
18615   USE_MEDIALIB_TRUE=
18616   USE_MEDIALIB_FALSE='#'
18617 else
18618   USE_MEDIALIB_TRUE='#'
18619   USE_MEDIALIB_FALSE=
18620 fi
18621
18622  if test $use_mlib25 = yes; then
18623   USE_MEDIALIB25_TRUE=
18624   USE_MEDIALIB25_FALSE='#'
18625 else
18626   USE_MEDIALIB25_TRUE='#'
18627   USE_MEDIALIB25_FALSE=
18628 fi
18629
18630
18631 # Checks to see if we should compile in MMX support (there will be
18632 # a runtime test when the code is actually run to see if it should
18633 # be used - this just checks if we can compile it.)
18634 #
18635 # This code is partially taken from Mesa
18636 #
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 platform" >&5
18638 $as_echo_n "checking for x86 platform... " >&6; }
18639 case $host_cpu in
18640   i386|i486|i586|i686|i786|k6|k7)
18641         use_x86_asm=yes
18642         ;;
18643    *)
18644         use_x86_asm=no
18645 esac
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_x86_asm" >&5
18647 $as_echo "$use_x86_asm" >&6; }
18648
18649 use_mmx_asm=no
18650 if test $use_x86_asm = yes; then
18651     save_ac_ext=$ac_ext
18652     ac_ext=S
18653
18654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for MMX" >&5
18655 $as_echo_n "checking compiler support for MMX... " >&6; }
18656     cp $srcdir/gdk-pixbuf/pixops/scale_line_22_33_mmx.S conftest.S
18657     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18658   (eval $ac_compile) 2>&5
18659   ac_status=$?
18660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18661   test $ac_status = 0; }; then
18662         use_mmx_asm=yes
18663     fi
18664
18665     rm -rf conftest*
18666
18667     ac_ext=$save_ac_ext
18668     if test $use_mmx_asm = yes; then
18669
18670 $as_echo "#define USE_MMX 1" >>confdefs.h
18671
18672       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18673 $as_echo "yes" >&6; }
18674     else
18675       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18676 $as_echo "no" >&6; }
18677     fi
18678 fi
18679
18680  if test x$use_mmx_asm = xyes; then
18681   USE_MMX_TRUE=
18682   USE_MMX_FALSE='#'
18683 else
18684   USE_MMX_TRUE='#'
18685   USE_MMX_FALSE=
18686 fi
18687
18688
18689 REBUILD_PNGS=
18690 if test -z "$LIBPNG" && test x"$os_win32" = xno -o x$with_gdiplus = xno; then
18691   REBUILD_PNGS=#
18692 fi
18693
18694
18695  if test $cross_compiling = yes; then
18696   CROSS_COMPILING_TRUE=
18697   CROSS_COMPILING_FALSE='#'
18698 else
18699   CROSS_COMPILING_TRUE='#'
18700   CROSS_COMPILING_FALSE=
18701 fi
18702
18703
18704 if test $cross_compiling = yes; then
18705   # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
18706 set dummy gdk-pixbuf-csource; ac_word=$2
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18708 $as_echo_n "checking for $ac_word... " >&6; }
18709 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
18710   $as_echo_n "(cached) " >&6
18711 else
18712   case $GDK_PIXBUF_CSOURCE in
18713   [\\/]* | ?:[\\/]*)
18714   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
18715   ;;
18716   *)
18717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18718 for as_dir in $PATH
18719 do
18720   IFS=$as_save_IFS
18721   test -z "$as_dir" && as_dir=.
18722     for ac_exec_ext in '' $ac_executable_extensions; do
18723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18724     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
18725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18726     break 2
18727   fi
18728 done
18729   done
18730 IFS=$as_save_IFS
18731
18732   test -z "$ac_cv_path_GDK_PIXBUF_CSOURCE" && ac_cv_path_GDK_PIXBUF_CSOURCE="no"
18733   ;;
18734 esac
18735 fi
18736 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
18737 if test -n "$GDK_PIXBUF_CSOURCE"; then
18738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
18739 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
18740 else
18741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18742 $as_echo "no" >&6; }
18743 fi
18744
18745
18746   # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
18747 set dummy gtk-update-icon-cache; ac_word=$2
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18749 $as_echo_n "checking for $ac_word... " >&6; }
18750 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
18751   $as_echo_n "(cached) " >&6
18752 else
18753   case $GTK_UPDATE_ICON_CACHE in
18754   [\\/]* | ?:[\\/]*)
18755   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
18756   ;;
18757   *)
18758   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18759 for as_dir in $PATH
18760 do
18761   IFS=$as_save_IFS
18762   test -z "$as_dir" && as_dir=.
18763     for ac_exec_ext in '' $ac_executable_extensions; do
18764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18765     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
18766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18767     break 2
18768   fi
18769 done
18770   done
18771 IFS=$as_save_IFS
18772
18773   test -z "$ac_cv_path_GTK_UPDATE_ICON_CACHE" && ac_cv_path_GTK_UPDATE_ICON_CACHE="no"
18774   ;;
18775 esac
18776 fi
18777 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
18778 if test -n "$GTK_UPDATE_ICON_CACHE"; then
18779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
18780 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
18781 else
18782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18783 $as_echo "no" >&6; }
18784 fi
18785
18786
18787   if test x$GTK_UPDATE_ICON_CACHE = xno; then
18788     REBUILD_PNGS=#
18789   fi
18790 fi
18791
18792 GDK_PIXBUF_PACKAGES="gmodule-no-export-2.0 gobject-2.0 gio-2.0"
18793 GDK_PIXBUF_EXTRA_LIBS="$STATIC_LIB_DEPS $MATH_LIB $MEDIA_LIB"
18794 GDK_PIXBUF_EXTRA_CFLAGS=
18795 GDK_PIXBUF_DEP_LIBS="`$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $PNG_DEP_CFLAGS_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
18796 GDK_PIXBUF_DEP_CFLAGS="`$PKG_CONFIG --cflags  gthread-2.0 $GDK_PIXBUF_PACKAGES $PNG_DEP_CFLAGS_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS"
18797
18798
18799
18800
18801
18802
18803
18804
18805 ###############
18806 # Check for X11
18807 ###############
18808
18809 GDK_PIXBUF_XLIB_PACKAGES=
18810 GDK_PIXBUF_XLIB_EXTRA_CFLAGS=
18811 GDK_PIXBUF_XLIB_EXTRA_LIBS=
18812
18813
18814 # Check whether --with-x11 was given.
18815 if test "${with_x11+set}" = set; then :
18816   withval=$with_x11;
18817 fi
18818
18819
18820 if test x$with_x11 = xyes; then
18821    if true; then
18822   USE_X11_TRUE=
18823   USE_X11_FALSE='#'
18824 else
18825   USE_X11_TRUE='#'
18826   USE_X11_FALSE=
18827 fi
18828
18829
18830 pkg_failed=no
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF_XLIB_DEP" >&5
18832 $as_echo_n "checking for GDK_PIXBUF_XLIB_DEP... " >&6; }
18833
18834 if test -n "$GDK_PIXBUF_XLIB_DEP_CFLAGS"; then
18835     pkg_cv_GDK_PIXBUF_XLIB_DEP_CFLAGS="$GDK_PIXBUF_XLIB_DEP_CFLAGS"
18836  elif test -n "$PKG_CONFIG"; then
18837     if test -n "$PKG_CONFIG" && \
18838     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 gobject-2.0\""; } >&5
18839   ($PKG_CONFIG --exists --print-errors "x11 gobject-2.0") 2>&5
18840   ac_status=$?
18841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18842   test $ac_status = 0; }; then
18843   pkg_cv_GDK_PIXBUF_XLIB_DEP_CFLAGS=`$PKG_CONFIG --cflags "x11 gobject-2.0" 2>/dev/null`
18844 else
18845   pkg_failed=yes
18846 fi
18847  else
18848     pkg_failed=untried
18849 fi
18850 if test -n "$GDK_PIXBUF_XLIB_DEP_LIBS"; then
18851     pkg_cv_GDK_PIXBUF_XLIB_DEP_LIBS="$GDK_PIXBUF_XLIB_DEP_LIBS"
18852  elif test -n "$PKG_CONFIG"; then
18853     if test -n "$PKG_CONFIG" && \
18854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 gobject-2.0\""; } >&5
18855   ($PKG_CONFIG --exists --print-errors "x11 gobject-2.0") 2>&5
18856   ac_status=$?
18857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18858   test $ac_status = 0; }; then
18859   pkg_cv_GDK_PIXBUF_XLIB_DEP_LIBS=`$PKG_CONFIG --libs "x11 gobject-2.0" 2>/dev/null`
18860 else
18861   pkg_failed=yes
18862 fi
18863  else
18864     pkg_failed=untried
18865 fi
18866
18867
18868
18869 if test $pkg_failed = yes; then
18870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18871 $as_echo "no" >&6; }
18872
18873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18874         _pkg_short_errors_supported=yes
18875 else
18876         _pkg_short_errors_supported=no
18877 fi
18878         if test $_pkg_short_errors_supported = yes; then
18879                 GDK_PIXBUF_XLIB_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 gobject-2.0" 2>&1`
18880         else
18881                 GDK_PIXBUF_XLIB_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 gobject-2.0" 2>&1`
18882         fi
18883         # Put the nasty error message in config.log where it belongs
18884         echo "$GDK_PIXBUF_XLIB_DEP_PKG_ERRORS" >&5
18885
18886         as_fn_error $? "Package requirements (x11 gobject-2.0) were not met:
18887
18888 $GDK_PIXBUF_XLIB_DEP_PKG_ERRORS
18889
18890 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18891 installed software in a non-standard prefix.
18892
18893 Alternatively, you may set the environment variables GDK_PIXBUF_XLIB_DEP_CFLAGS
18894 and GDK_PIXBUF_XLIB_DEP_LIBS to avoid the need to call pkg-config.
18895 See the pkg-config man page for more details." "$LINENO" 5
18896
18897 elif test $pkg_failed = untried; then
18898         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18899 $as_echo "no" >&6; }
18900         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18902 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18903 is in your PATH or set the PKG_CONFIG environment variable to the full
18904 path to pkg-config.
18905
18906 Alternatively, you may set the environment variables GDK_PIXBUF_XLIB_DEP_CFLAGS
18907 and GDK_PIXBUF_XLIB_DEP_LIBS to avoid the need to call pkg-config.
18908 See the pkg-config man page for more details.
18909
18910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18911 See \`config.log' for more details" "$LINENO" 5; }
18912
18913 else
18914         GDK_PIXBUF_XLIB_DEP_CFLAGS=$pkg_cv_GDK_PIXBUF_XLIB_DEP_CFLAGS
18915         GDK_PIXBUF_XLIB_DEP_LIBS=$pkg_cv_GDK_PIXBUF_XLIB_DEP_LIBS
18916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18917 $as_echo "yes" >&6; }
18918
18919 fi
18920 else
18921    if false; then
18922   USE_X11_TRUE=
18923   USE_X11_FALSE='#'
18924 else
18925   USE_X11_TRUE='#'
18926   USE_X11_FALSE=
18927 fi
18928
18929 fi
18930
18931 ################################################################
18932 # Strip -export-dynamic from the link lines of various libraries
18933 ################################################################
18934
18935 #
18936 # pkg-config --libs gmodule includes the "export_dynamic" flag,
18937 #  but this flag is only meaningful for executables. For libraries
18938 #  the effect is undefined; what it causes on Linux is that the
18939 #  export list from -export-symbols-regex is ignored and everything
18940 #  is exported
18941 #
18942 # We are using gmodule-no-export now, but I'm leaving the stripping
18943 # code in place for now, since pango and atk still require gmodule.
18944 export SED
18945 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
18946 if test -n "$export_dynamic"; then
18947   GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
18948 fi
18949
18950 ##################################################
18951 # GObject introspection
18952 ##################################################
18953
18954
18955
18956
18957                 # Check whether --enable-introspection was given.
18958 if test "${enable_introspection+set}" = set; then :
18959   enableval=$enable_introspection;
18960 else
18961   enable_introspection=auto
18962 fi
18963
18964
18965     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
18966 $as_echo_n "checking for gobject-introspection... " >&6; }
18967
18968         case $enable_introspection in #(
18969   no) :
18970             found_introspection="no (disabled, use --enable-introspection to enable)"
18971      ;; #(
18972       yes) :
18973             if test -n "$PKG_CONFIG" && \
18974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18975   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18976   ac_status=$?
18977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18978   test $ac_status = 0; }; then
18979   :
18980 else
18981   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18982 fi
18983         if test -n "$PKG_CONFIG" && \
18984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
18985   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
18986   ac_status=$?
18987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18988   test $ac_status = 0; }; then
18989   found_introspection=yes
18990 else
18991   as_fn_error $? "You need to have gobject-introspection >= 0.9.3 installed to build gdk-pixbuf" "$LINENO" 5
18992 fi
18993      ;; #(
18994       auto) :
18995             if test -n "$PKG_CONFIG" && \
18996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
18997   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
18998   ac_status=$?
18999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19000   test $ac_status = 0; }; then
19001   found_introspection=yes
19002 else
19003   found_introspection=no
19004 fi
19005      ;; #(
19006   *) :
19007                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
19008      ;;
19009 esac
19010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
19011 $as_echo "$found_introspection" >&6; }
19012
19013     INTROSPECTION_SCANNER=
19014     INTROSPECTION_COMPILER=
19015     INTROSPECTION_GENERATE=
19016     INTROSPECTION_GIRDIR=
19017     INTROSPECTION_TYPELIBDIR=
19018     if test "x$found_introspection" = "xyes"; then
19019        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
19020        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
19021        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
19022        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
19023        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
19024        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
19025        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
19026        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
19027     fi
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037      if test "x$found_introspection" = "xyes"; then
19038   HAVE_INTROSPECTION_TRUE=
19039   HAVE_INTROSPECTION_FALSE='#'
19040 else
19041   HAVE_INTROSPECTION_TRUE='#'
19042   HAVE_INTROSPECTION_FALSE=
19043 fi
19044
19045
19046
19047
19048 ##################################################
19049 # Checks for gtk-doc and docbook-tools
19050 ##################################################
19051
19052
19053
19054
19055     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
19056 set dummy gtkdoc-check; ac_word=$2
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19058 $as_echo_n "checking for $ac_word... " >&6; }
19059 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
19060   $as_echo_n "(cached) " >&6
19061 else
19062   case $GTKDOC_CHECK in
19063   [\\/]* | ?:[\\/]*)
19064   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
19065   ;;
19066   *)
19067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19068 for as_dir in $PATH
19069 do
19070   IFS=$as_save_IFS
19071   test -z "$as_dir" && as_dir=.
19072     for ac_exec_ext in '' $ac_executable_extensions; do
19073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19074     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
19075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19076     break 2
19077   fi
19078 done
19079   done
19080 IFS=$as_save_IFS
19081
19082   ;;
19083 esac
19084 fi
19085 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
19086 if test -n "$GTKDOC_CHECK"; then
19087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
19088 $as_echo "$GTKDOC_CHECK" >&6; }
19089 else
19090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19091 $as_echo "no" >&6; }
19092 fi
19093
19094
19095   for ac_prog in gtkdoc-rebase
19096 do
19097   # Extract the first word of "$ac_prog", so it can be a program name with args.
19098 set dummy $ac_prog; ac_word=$2
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19100 $as_echo_n "checking for $ac_word... " >&6; }
19101 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
19102   $as_echo_n "(cached) " >&6
19103 else
19104   case $GTKDOC_REBASE in
19105   [\\/]* | ?:[\\/]*)
19106   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
19107   ;;
19108   *)
19109   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19110 for as_dir in $PATH
19111 do
19112   IFS=$as_save_IFS
19113   test -z "$as_dir" && as_dir=.
19114     for ac_exec_ext in '' $ac_executable_extensions; do
19115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19116     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
19117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19118     break 2
19119   fi
19120 done
19121   done
19122 IFS=$as_save_IFS
19123
19124   ;;
19125 esac
19126 fi
19127 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
19128 if test -n "$GTKDOC_REBASE"; then
19129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
19130 $as_echo "$GTKDOC_REBASE" >&6; }
19131 else
19132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19133 $as_echo "no" >&6; }
19134 fi
19135
19136
19137   test -n "$GTKDOC_REBASE" && break
19138 done
19139 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
19140
19141   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
19142 set dummy gtkdoc-mkpdf; ac_word=$2
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19144 $as_echo_n "checking for $ac_word... " >&6; }
19145 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
19146   $as_echo_n "(cached) " >&6
19147 else
19148   case $GTKDOC_MKPDF in
19149   [\\/]* | ?:[\\/]*)
19150   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
19151   ;;
19152   *)
19153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19154 for as_dir in $PATH
19155 do
19156   IFS=$as_save_IFS
19157   test -z "$as_dir" && as_dir=.
19158     for ac_exec_ext in '' $ac_executable_extensions; do
19159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19160     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
19161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19162     break 2
19163   fi
19164 done
19165   done
19166 IFS=$as_save_IFS
19167
19168   ;;
19169 esac
19170 fi
19171 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
19172 if test -n "$GTKDOC_MKPDF"; then
19173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
19174 $as_echo "$GTKDOC_MKPDF" >&6; }
19175 else
19176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19177 $as_echo "no" >&6; }
19178 fi
19179
19180
19181
19182
19183 # Check whether --with-html-dir was given.
19184 if test "${with_html_dir+set}" = set; then :
19185   withval=$with_html_dir;
19186 else
19187   with_html_dir='${datadir}/gtk-doc/html'
19188 fi
19189
19190   HTML_DIR="$with_html_dir"
19191
19192
19193     # Check whether --enable-gtk-doc was given.
19194 if test "${enable_gtk_doc+set}" = set; then :
19195   enableval=$enable_gtk_doc;
19196 else
19197   enable_gtk_doc=no
19198 fi
19199
19200
19201   if test x$enable_gtk_doc = xyes; then
19202     if test -n "$PKG_CONFIG" && \
19203     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
19204   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
19205   ac_status=$?
19206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19207   test $ac_status = 0; }; then
19208   :
19209 else
19210   as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
19211 fi
19212         if test "x$PACKAGE_NAME" != "xglib"; then
19213
19214 pkg_failed=no
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
19216 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
19217
19218 if test -n "$GTKDOC_DEPS_CFLAGS"; then
19219     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
19220  elif test -n "$PKG_CONFIG"; then
19221     if test -n "$PKG_CONFIG" && \
19222     { { $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
19223   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
19224   ac_status=$?
19225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19226   test $ac_status = 0; }; then
19227   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
19228 else
19229   pkg_failed=yes
19230 fi
19231  else
19232     pkg_failed=untried
19233 fi
19234 if test -n "$GTKDOC_DEPS_LIBS"; then
19235     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
19236  elif test -n "$PKG_CONFIG"; then
19237     if test -n "$PKG_CONFIG" && \
19238     { { $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
19239   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
19240   ac_status=$?
19241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19242   test $ac_status = 0; }; then
19243   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
19244 else
19245   pkg_failed=yes
19246 fi
19247  else
19248     pkg_failed=untried
19249 fi
19250
19251
19252
19253 if test $pkg_failed = yes; then
19254         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19255 $as_echo "no" >&6; }
19256
19257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19258         _pkg_short_errors_supported=yes
19259 else
19260         _pkg_short_errors_supported=no
19261 fi
19262         if test $_pkg_short_errors_supported = yes; then
19263                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
19264         else
19265                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
19266         fi
19267         # Put the nasty error message in config.log where it belongs
19268         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
19269
19270         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
19271
19272 $GTKDOC_DEPS_PKG_ERRORS
19273
19274 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19275 installed software in a non-standard prefix.
19276
19277 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
19278 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
19279 See the pkg-config man page for more details." "$LINENO" 5
19280
19281 elif test $pkg_failed = untried; then
19282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19283 $as_echo "no" >&6; }
19284         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19286 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19287 is in your PATH or set the PKG_CONFIG environment variable to the full
19288 path to pkg-config.
19289
19290 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
19291 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
19292 See the pkg-config man page for more details.
19293
19294 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19295 See \`config.log' for more details" "$LINENO" 5; }
19296
19297 else
19298         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
19299         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
19300         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19301 $as_echo "yes" >&6; }
19302
19303 fi
19304     fi
19305   fi
19306
19307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
19308 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
19309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
19310 $as_echo "$enable_gtk_doc" >&6; }
19311
19312     # Check whether --enable-gtk-doc-html was given.
19313 if test "${enable_gtk_doc_html+set}" = set; then :
19314   enableval=$enable_gtk_doc_html;
19315 else
19316   enable_gtk_doc_html=yes
19317 fi
19318
19319     # Check whether --enable-gtk-doc-pdf was given.
19320 if test "${enable_gtk_doc_pdf+set}" = set; then :
19321   enableval=$enable_gtk_doc_pdf;
19322 else
19323   enable_gtk_doc_pdf=no
19324 fi
19325
19326
19327   if test -z "$GTKDOC_MKPDF"; then
19328     enable_gtk_doc_pdf=no
19329   fi
19330
19331
19332    if test x$enable_gtk_doc = xyes; then
19333   ENABLE_GTK_DOC_TRUE=
19334   ENABLE_GTK_DOC_FALSE='#'
19335 else
19336   ENABLE_GTK_DOC_TRUE='#'
19337   ENABLE_GTK_DOC_FALSE=
19338 fi
19339
19340    if test x$enable_gtk_doc_html = xyes; then
19341   GTK_DOC_BUILD_HTML_TRUE=
19342   GTK_DOC_BUILD_HTML_FALSE='#'
19343 else
19344   GTK_DOC_BUILD_HTML_TRUE='#'
19345   GTK_DOC_BUILD_HTML_FALSE=
19346 fi
19347
19348    if test x$enable_gtk_doc_pdf = xyes; then
19349   GTK_DOC_BUILD_PDF_TRUE=
19350   GTK_DOC_BUILD_PDF_FALSE='#'
19351 else
19352   GTK_DOC_BUILD_PDF_TRUE='#'
19353   GTK_DOC_BUILD_PDF_FALSE=
19354 fi
19355
19356    if test -n "$LIBTOOL"; then
19357   GTK_DOC_USE_LIBTOOL_TRUE=
19358   GTK_DOC_USE_LIBTOOL_FALSE='#'
19359 else
19360   GTK_DOC_USE_LIBTOOL_TRUE='#'
19361   GTK_DOC_USE_LIBTOOL_FALSE=
19362 fi
19363
19364    if test -n "$GTKDOC_REBASE"; then
19365   GTK_DOC_USE_REBASE_TRUE=
19366   GTK_DOC_USE_REBASE_FALSE='#'
19367 else
19368   GTK_DOC_USE_REBASE_TRUE='#'
19369   GTK_DOC_USE_REBASE_FALSE=
19370 fi
19371
19372
19373
19374 # Extract the first word of "db2html", so it can be a program name with args.
19375 set dummy db2html; ac_word=$2
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19377 $as_echo_n "checking for $ac_word... " >&6; }
19378 if ${ac_cv_prog_DB2HTML+:} false; then :
19379   $as_echo_n "(cached) " >&6
19380 else
19381   if test -n "$DB2HTML"; then
19382   ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
19383 else
19384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19385 for as_dir in $PATH
19386 do
19387   IFS=$as_save_IFS
19388   test -z "$as_dir" && as_dir=.
19389     for ac_exec_ext in '' $ac_executable_extensions; do
19390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19391     ac_cv_prog_DB2HTML="true"
19392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19393     break 2
19394   fi
19395 done
19396   done
19397 IFS=$as_save_IFS
19398
19399   test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false"
19400 fi
19401 fi
19402 DB2HTML=$ac_cv_prog_DB2HTML
19403 if test -n "$DB2HTML"; then
19404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2HTML" >&5
19405 $as_echo "$DB2HTML" >&6; }
19406 else
19407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19408 $as_echo "no" >&6; }
19409 fi
19410
19411
19412  if $DB2HTML; then
19413   HAVE_DOCBOOK_TRUE=
19414   HAVE_DOCBOOK_FALSE='#'
19415 else
19416   HAVE_DOCBOOK_TRUE='#'
19417   HAVE_DOCBOOK_FALSE=
19418 fi
19419
19420
19421 # Check whether --enable-man was given.
19422 if test "${enable_man+set}" = set; then :
19423   enableval=$enable_man; enable_man=yes
19424 else
19425   enable_man=no
19426 fi
19427
19428
19429 if test "${enable_man}" != no; then
19430         # Extract the first word of "xsltproc", so it can be a program name with args.
19431 set dummy xsltproc; ac_word=$2
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19433 $as_echo_n "checking for $ac_word... " >&6; }
19434 if ${ac_cv_path_XSLTPROC+:} false; then :
19435   $as_echo_n "(cached) " >&6
19436 else
19437   case $XSLTPROC in
19438   [\\/]* | ?:[\\/]*)
19439   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
19440   ;;
19441   *)
19442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19443 for as_dir in $PATH
19444 do
19445   IFS=$as_save_IFS
19446   test -z "$as_dir" && as_dir=.
19447     for ac_exec_ext in '' $ac_executable_extensions; do
19448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19449     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
19450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19451     break 2
19452   fi
19453 done
19454   done
19455 IFS=$as_save_IFS
19456
19457   ;;
19458 esac
19459 fi
19460 XSLTPROC=$ac_cv_path_XSLTPROC
19461 if test -n "$XSLTPROC"; then
19462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
19463 $as_echo "$XSLTPROC" >&6; }
19464 else
19465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19466 $as_echo "no" >&6; }
19467 fi
19468
19469
19470   if test -z "$XSLTPROC"; then
19471     enable_man=no
19472   fi
19473 fi
19474
19475  if test x$enable_man != xno; then
19476   ENABLE_MAN_TRUE=
19477   ENABLE_MAN_FALSE='#'
19478 else
19479   ENABLE_MAN_TRUE='#'
19480   ENABLE_MAN_FALSE=
19481 fi
19482
19483
19484
19485 ##################################################
19486 # Check for -Bsymbolic-functions linker flag used
19487 # to avoid intra-library PLT jumps, if available.
19488 ##################################################
19489
19490 # Check whether --enable-Bsymbolic was given.
19491 if test "${enable_Bsymbolic+set}" = set; then :
19492   enableval=$enable_Bsymbolic;
19493 else
19494   SAVED_LDFLAGS="${LDFLAGS}"
19495                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
19496 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
19497                LDFLAGS=-Wl,-Bsymbolic-functions
19498                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h.  */
19500
19501 int
19502 main ()
19503 {
19504 int main (void) { return 0; }
19505   ;
19506   return 0;
19507 }
19508 _ACEOF
19509 if ac_fn_c_try_link "$LINENO"; then :
19510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19511 $as_echo "yes" >&6; }
19512                            enable_Bsymbolic=yes
19513 else
19514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19516                            enable_Bsymbolic=no
19517 fi
19518 rm -f core conftest.err conftest.$ac_objext \
19519     conftest$ac_exeext conftest.$ac_ext
19520                LDFLAGS="${SAVED_LDFLAGS}"
19521 fi
19522
19523
19524 if test "x${enable_Bsymbolic}" = "xyes"; then
19525   GDK_PIXBUF_LINK_FLAGS=-Wl,-Bsymbolic-functions
19526 fi
19527
19528
19529
19530
19531 ##################################################
19532 # Output commands
19533 ##################################################
19534
19535 ac_config_files="$ac_config_files Makefile gdk-pixbuf-2.0.pc gdk-pixbuf-2.0-uninstalled.pc gdk-pixbuf/Makefile gdk-pixbuf/gdk_pixbuf.rc gdk-pixbuf/gdk-pixbuf-features.h gdk-pixbuf/pixops/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile docs/Makefile docs/reference/Makefile docs/reference/gdk-pixbuf/Makefile docs/reference/gdk-pixbuf/version.xml po/Makefile.in tests/Makefile contrib/Makefile contrib/gdk-pixbuf-xlib/Makefile contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc config.h.win32"
19536
19537
19538 cat >confcache <<\_ACEOF
19539 # This file is a shell script that caches the results of configure
19540 # tests run on this system so they can be shared between configure
19541 # scripts and configure runs, see configure's option --config-cache.
19542 # It is not useful on other systems.  If it contains results you don't
19543 # want to keep, you may remove or edit it.
19544 #
19545 # config.status only pays attention to the cache file if you give it
19546 # the --recheck option to rerun configure.
19547 #
19548 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19549 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19550 # following values.
19551
19552 _ACEOF
19553
19554 # The following way of writing the cache mishandles newlines in values,
19555 # but we know of no workaround that is simple, portable, and efficient.
19556 # So, we kill variables containing newlines.
19557 # Ultrix sh set writes to stderr and can't be redirected directly,
19558 # and sets the high bit in the cache file unless we assign to the vars.
19559 (
19560   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19561     eval ac_val=\$$ac_var
19562     case $ac_val in #(
19563     *${as_nl}*)
19564       case $ac_var in #(
19565       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19566 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19567       esac
19568       case $ac_var in #(
19569       _ | IFS | as_nl) ;; #(
19570       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19571       *) { eval $ac_var=; unset $ac_var;} ;;
19572       esac ;;
19573     esac
19574   done
19575
19576   (set) 2>&1 |
19577     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19578     *${as_nl}ac_space=\ *)
19579       # `set' does not quote correctly, so add quotes: double-quote
19580       # substitution turns \\\\ into \\, and sed turns \\ into \.
19581       sed -n \
19582         "s/'/'\\\\''/g;
19583           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19584       ;; #(
19585     *)
19586       # `set' quotes correctly as required by POSIX, so do not add quotes.
19587       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19588       ;;
19589     esac |
19590     sort
19591 ) |
19592   sed '
19593      /^ac_cv_env_/b end
19594      t clear
19595      :clear
19596      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19597      t end
19598      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19599      :end' >>confcache
19600 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19601   if test -w "$cache_file"; then
19602     if test "x$cache_file" != "x/dev/null"; then
19603       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19604 $as_echo "$as_me: updating cache $cache_file" >&6;}
19605       if test ! -f "$cache_file" || test -h "$cache_file"; then
19606         cat confcache >"$cache_file"
19607       else
19608         case $cache_file in #(
19609         */* | ?:*)
19610           mv -f confcache "$cache_file"$$ &&
19611           mv -f "$cache_file"$$ "$cache_file" ;; #(
19612         *)
19613           mv -f confcache "$cache_file" ;;
19614         esac
19615       fi
19616     fi
19617   else
19618     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19619 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19620   fi
19621 fi
19622 rm -f confcache
19623
19624 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19625 # Let make expand exec_prefix.
19626 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19627
19628 DEFS=-DHAVE_CONFIG_H
19629
19630 ac_libobjs=
19631 ac_ltlibobjs=
19632 U=
19633 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19634   # 1. Remove the extension, and $U if already installed.
19635   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19636   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19637   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19638   #    will be set to the directory where LIBOBJS objects are built.
19639   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19640   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19641 done
19642 LIBOBJS=$ac_libobjs
19643
19644 LTLIBOBJS=$ac_ltlibobjs
19645
19646
19647  if test -n "$EXEEXT"; then
19648   am__EXEEXT_TRUE=
19649   am__EXEEXT_FALSE='#'
19650 else
19651   am__EXEEXT_TRUE='#'
19652   am__EXEEXT_FALSE=
19653 fi
19654
19655 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19656   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19658 fi
19659 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19660   as_fn_error $? "conditional \"AMDEP\" was never defined.
19661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19662 fi
19663 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19664   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19666 fi
19667 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
19668   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
19669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19670 fi
19671 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
19672   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
19673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19674 fi
19675 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19676   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19678 fi
19679 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
19680   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
19681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19682 fi
19683 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
19684   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
19685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19686 fi
19687 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
19688   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
19689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19690 fi
19691 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
19692   as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
19693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19694 fi
19695 if test -z "${BUILD_GDIPLUS_LOADERS_TRUE}" && test -z "${BUILD_GDIPLUS_LOADERS_FALSE}"; then
19696   as_fn_error $? "conditional \"BUILD_GDIPLUS_LOADERS\" was never defined.
19697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19698 fi
19699 if test -z "${BUILD_DYNAMIC_MODULES_TRUE}" && test -z "${BUILD_DYNAMIC_MODULES_FALSE}"; then
19700   as_fn_error $? "conditional \"BUILD_DYNAMIC_MODULES\" was never defined.
19701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19702 fi
19703 if test -z "${INCLUDE_PNG_TRUE}" && test -z "${INCLUDE_PNG_FALSE}"; then
19704   as_fn_error $? "conditional \"INCLUDE_PNG\" was never defined.
19705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19706 fi
19707 if test -z "${INCLUDE_BMP_TRUE}" && test -z "${INCLUDE_BMP_FALSE}"; then
19708   as_fn_error $? "conditional \"INCLUDE_BMP\" was never defined.
19709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19710 fi
19711 if test -z "${INCLUDE_WBMP_TRUE}" && test -z "${INCLUDE_WBMP_FALSE}"; then
19712   as_fn_error $? "conditional \"INCLUDE_WBMP\" was never defined.
19713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19714 fi
19715 if test -z "${INCLUDE_GIF_TRUE}" && test -z "${INCLUDE_GIF_FALSE}"; then
19716   as_fn_error $? "conditional \"INCLUDE_GIF\" was never defined.
19717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19718 fi
19719 if test -z "${INCLUDE_ICO_TRUE}" && test -z "${INCLUDE_ICO_FALSE}"; then
19720   as_fn_error $? "conditional \"INCLUDE_ICO\" was never defined.
19721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19722 fi
19723 if test -z "${INCLUDE_ANI_TRUE}" && test -z "${INCLUDE_ANI_FALSE}"; then
19724   as_fn_error $? "conditional \"INCLUDE_ANI\" was never defined.
19725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19726 fi
19727 if test -z "${INCLUDE_JPEG_TRUE}" && test -z "${INCLUDE_JPEG_FALSE}"; then
19728   as_fn_error $? "conditional \"INCLUDE_JPEG\" was never defined.
19729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19730 fi
19731 if test -z "${INCLUDE_PNM_TRUE}" && test -z "${INCLUDE_PNM_FALSE}"; then
19732   as_fn_error $? "conditional \"INCLUDE_PNM\" was never defined.
19733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19734 fi
19735 if test -z "${INCLUDE_RAS_TRUE}" && test -z "${INCLUDE_RAS_FALSE}"; then
19736   as_fn_error $? "conditional \"INCLUDE_RAS\" was never defined.
19737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19738 fi
19739 if test -z "${INCLUDE_TIFF_TRUE}" && test -z "${INCLUDE_TIFF_FALSE}"; then
19740   as_fn_error $? "conditional \"INCLUDE_TIFF\" was never defined.
19741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19742 fi
19743 if test -z "${INCLUDE_XPM_TRUE}" && test -z "${INCLUDE_XPM_FALSE}"; then
19744   as_fn_error $? "conditional \"INCLUDE_XPM\" was never defined.
19745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19746 fi
19747 if test -z "${INCLUDE_XBM_TRUE}" && test -z "${INCLUDE_XBM_FALSE}"; then
19748   as_fn_error $? "conditional \"INCLUDE_XBM\" was never defined.
19749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19750 fi
19751 if test -z "${INCLUDE_TGA_TRUE}" && test -z "${INCLUDE_TGA_FALSE}"; then
19752   as_fn_error $? "conditional \"INCLUDE_TGA\" was never defined.
19753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19754 fi
19755 if test -z "${INCLUDE_PCX_TRUE}" && test -z "${INCLUDE_PCX_FALSE}"; then
19756   as_fn_error $? "conditional \"INCLUDE_PCX\" was never defined.
19757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19758 fi
19759 if test -z "${INCLUDE_ICNS_TRUE}" && test -z "${INCLUDE_ICNS_FALSE}"; then
19760   as_fn_error $? "conditional \"INCLUDE_ICNS\" was never defined.
19761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19762 fi
19763 if test -z "${INCLUDE_JASPER_TRUE}" && test -z "${INCLUDE_JASPER_FALSE}"; then
19764   as_fn_error $? "conditional \"INCLUDE_JASPER\" was never defined.
19765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19766 fi
19767 if test -z "${INCLUDE_QTIF_TRUE}" && test -z "${INCLUDE_QTIF_FALSE}"; then
19768   as_fn_error $? "conditional \"INCLUDE_QTIF\" was never defined.
19769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19770 fi
19771 if test -z "${INCLUDE_GDIPLUS_TRUE}" && test -z "${INCLUDE_GDIPLUS_FALSE}"; then
19772   as_fn_error $? "conditional \"INCLUDE_GDIPLUS\" was never defined.
19773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19774 fi
19775 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
19776   as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
19777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19778 fi
19779 if test -z "${HAVE_PNG_TRUE}" && test -z "${HAVE_PNG_FALSE}"; then
19780   as_fn_error $? "conditional \"HAVE_PNG\" was never defined.
19781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19782 fi
19783 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
19784   as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
19785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19786 fi
19787 if test -z "${HAVE_JASPER_TRUE}" && test -z "${HAVE_JASPER_FALSE}"; then
19788   as_fn_error $? "conditional \"HAVE_JASPER\" was never defined.
19789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19790 fi
19791 if test -z "${USE_MEDIALIB_TRUE}" && test -z "${USE_MEDIALIB_FALSE}"; then
19792   as_fn_error $? "conditional \"USE_MEDIALIB\" was never defined.
19793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19794 fi
19795 if test -z "${USE_MEDIALIB25_TRUE}" && test -z "${USE_MEDIALIB25_FALSE}"; then
19796   as_fn_error $? "conditional \"USE_MEDIALIB25\" was never defined.
19797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19798 fi
19799 if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
19800   as_fn_error $? "conditional \"USE_MMX\" was never defined.
19801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19802 fi
19803 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
19804   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
19805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19806 fi
19807 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
19808   as_fn_error $? "conditional \"USE_X11\" was never defined.
19809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19810 fi
19811 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
19812   as_fn_error $? "conditional \"USE_X11\" was never defined.
19813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19814 fi
19815 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19816   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19818 fi
19819 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19820   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19822 fi
19823 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19824   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19826 fi
19827 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19828   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19830 fi
19831 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19832   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19834 fi
19835 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19836   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19838 fi
19839 if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then
19840   as_fn_error $? "conditional \"HAVE_DOCBOOK\" was never defined.
19841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19842 fi
19843 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
19844   as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
19845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19846 fi
19847
19848 : "${CONFIG_STATUS=./config.status}"
19849 ac_write_fail=0
19850 ac_clean_files_save=$ac_clean_files
19851 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19853 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19854 as_write_fail=0
19855 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19856 #! $SHELL
19857 # Generated by $as_me.
19858 # Run this file to recreate the current configuration.
19859 # Compiler output produced by configure, useful for debugging
19860 # configure, is in config.log if it exists.
19861
19862 debug=false
19863 ac_cs_recheck=false
19864 ac_cs_silent=false
19865
19866 SHELL=\${CONFIG_SHELL-$SHELL}
19867 export SHELL
19868 _ASEOF
19869 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19870 ## -------------------- ##
19871 ## M4sh Initialization. ##
19872 ## -------------------- ##
19873
19874 # Be more Bourne compatible
19875 DUALCASE=1; export DUALCASE # for MKS sh
19876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19877   emulate sh
19878   NULLCMD=:
19879   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19880   # is contrary to our usage.  Disable this feature.
19881   alias -g '${1+"$@"}'='"$@"'
19882   setopt NO_GLOB_SUBST
19883 else
19884   case `(set -o) 2>/dev/null` in #(
19885   *posix*) :
19886     set -o posix ;; #(
19887   *) :
19888      ;;
19889 esac
19890 fi
19891
19892
19893 as_nl='
19894 '
19895 export as_nl
19896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19897 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19900 # Prefer a ksh shell builtin over an external printf program on Solaris,
19901 # but without wasting forks for bash or zsh.
19902 if test -z "$BASH_VERSION$ZSH_VERSION" \
19903     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19904   as_echo='print -r --'
19905   as_echo_n='print -rn --'
19906 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19907   as_echo='printf %s\n'
19908   as_echo_n='printf %s'
19909 else
19910   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19911     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19912     as_echo_n='/usr/ucb/echo -n'
19913   else
19914     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19915     as_echo_n_body='eval
19916       arg=$1;
19917       case $arg in #(
19918       *"$as_nl"*)
19919         expr "X$arg" : "X\\(.*\\)$as_nl";
19920         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19921       esac;
19922       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19923     '
19924     export as_echo_n_body
19925     as_echo_n='sh -c $as_echo_n_body as_echo'
19926   fi
19927   export as_echo_body
19928   as_echo='sh -c $as_echo_body as_echo'
19929 fi
19930
19931 # The user is always right.
19932 if test "${PATH_SEPARATOR+set}" != set; then
19933   PATH_SEPARATOR=:
19934   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19935     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19936       PATH_SEPARATOR=';'
19937   }
19938 fi
19939
19940
19941 # IFS
19942 # We need space, tab and new line, in precisely that order.  Quoting is
19943 # there to prevent editors from complaining about space-tab.
19944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19945 # splitting by setting IFS to empty value.)
19946 IFS=" ""        $as_nl"
19947
19948 # Find who we are.  Look in the path if we contain no directory separator.
19949 as_myself=
19950 case $0 in #((
19951   *[\\/]* ) as_myself=$0 ;;
19952   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19953 for as_dir in $PATH
19954 do
19955   IFS=$as_save_IFS
19956   test -z "$as_dir" && as_dir=.
19957     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19958   done
19959 IFS=$as_save_IFS
19960
19961      ;;
19962 esac
19963 # We did not find ourselves, most probably we were run as `sh COMMAND'
19964 # in which case we are not to be found in the path.
19965 if test "x$as_myself" = x; then
19966   as_myself=$0
19967 fi
19968 if test ! -f "$as_myself"; then
19969   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19970   exit 1
19971 fi
19972
19973 # Unset variables that we do not need and which cause bugs (e.g. in
19974 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19975 # suppresses any "Segmentation fault" message there.  '((' could
19976 # trigger a bug in pdksh 5.2.14.
19977 for as_var in BASH_ENV ENV MAIL MAILPATH
19978 do eval test x\${$as_var+set} = xset \
19979   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19980 done
19981 PS1='$ '
19982 PS2='> '
19983 PS4='+ '
19984
19985 # NLS nuisances.
19986 LC_ALL=C
19987 export LC_ALL
19988 LANGUAGE=C
19989 export LANGUAGE
19990
19991 # CDPATH.
19992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19993
19994
19995 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19996 # ----------------------------------------
19997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19999 # script with STATUS, using 1 if that was 0.
20000 as_fn_error ()
20001 {
20002   as_status=$1; test $as_status -eq 0 && as_status=1
20003   if test "$4"; then
20004     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20005     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20006   fi
20007   $as_echo "$as_me: error: $2" >&2
20008   as_fn_exit $as_status
20009 } # as_fn_error
20010
20011
20012 # as_fn_set_status STATUS
20013 # -----------------------
20014 # Set $? to STATUS, without forking.
20015 as_fn_set_status ()
20016 {
20017   return $1
20018 } # as_fn_set_status
20019
20020 # as_fn_exit STATUS
20021 # -----------------
20022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20023 as_fn_exit ()
20024 {
20025   set +e
20026   as_fn_set_status $1
20027   exit $1
20028 } # as_fn_exit
20029
20030 # as_fn_unset VAR
20031 # ---------------
20032 # Portably unset VAR.
20033 as_fn_unset ()
20034 {
20035   { eval $1=; unset $1;}
20036 }
20037 as_unset=as_fn_unset
20038 # as_fn_append VAR VALUE
20039 # ----------------------
20040 # Append the text in VALUE to the end of the definition contained in VAR. Take
20041 # advantage of any shell optimizations that allow amortized linear growth over
20042 # repeated appends, instead of the typical quadratic growth present in naive
20043 # implementations.
20044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20045   eval 'as_fn_append ()
20046   {
20047     eval $1+=\$2
20048   }'
20049 else
20050   as_fn_append ()
20051   {
20052     eval $1=\$$1\$2
20053   }
20054 fi # as_fn_append
20055
20056 # as_fn_arith ARG...
20057 # ------------------
20058 # Perform arithmetic evaluation on the ARGs, and store the result in the
20059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20060 # must be portable across $(()) and expr.
20061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20062   eval 'as_fn_arith ()
20063   {
20064     as_val=$(( $* ))
20065   }'
20066 else
20067   as_fn_arith ()
20068   {
20069     as_val=`expr "$@" || test $? -eq 1`
20070   }
20071 fi # as_fn_arith
20072
20073
20074 if expr a : '\(a\)' >/dev/null 2>&1 &&
20075    test "X`expr 00001 : '.*\(...\)'`" = X001; then
20076   as_expr=expr
20077 else
20078   as_expr=false
20079 fi
20080
20081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20082   as_basename=basename
20083 else
20084   as_basename=false
20085 fi
20086
20087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20088   as_dirname=dirname
20089 else
20090   as_dirname=false
20091 fi
20092
20093 as_me=`$as_basename -- "$0" ||
20094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20095          X"$0" : 'X\(//\)$' \| \
20096          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20097 $as_echo X/"$0" |
20098     sed '/^.*\/\([^/][^/]*\)\/*$/{
20099             s//\1/
20100             q
20101           }
20102           /^X\/\(\/\/\)$/{
20103             s//\1/
20104             q
20105           }
20106           /^X\/\(\/\).*/{
20107             s//\1/
20108             q
20109           }
20110           s/.*/./; q'`
20111
20112 # Avoid depending upon Character Ranges.
20113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20116 as_cr_digits='0123456789'
20117 as_cr_alnum=$as_cr_Letters$as_cr_digits
20118
20119 ECHO_C= ECHO_N= ECHO_T=
20120 case `echo -n x` in #(((((
20121 -n*)
20122   case `echo 'xy\c'` in
20123   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20124   xy)  ECHO_C='\c';;
20125   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20126        ECHO_T=' ';;
20127   esac;;
20128 *)
20129   ECHO_N='-n';;
20130 esac
20131
20132 rm -f conf$$ conf$$.exe conf$$.file
20133 if test -d conf$$.dir; then
20134   rm -f conf$$.dir/conf$$.file
20135 else
20136   rm -f conf$$.dir
20137   mkdir conf$$.dir 2>/dev/null
20138 fi
20139 if (echo >conf$$.file) 2>/dev/null; then
20140   if ln -s conf$$.file conf$$ 2>/dev/null; then
20141     as_ln_s='ln -s'
20142     # ... but there are two gotchas:
20143     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20144     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20145     # In both cases, we have to default to `cp -p'.
20146     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20147       as_ln_s='cp -p'
20148   elif ln conf$$.file conf$$ 2>/dev/null; then
20149     as_ln_s=ln
20150   else
20151     as_ln_s='cp -p'
20152   fi
20153 else
20154   as_ln_s='cp -p'
20155 fi
20156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20157 rmdir conf$$.dir 2>/dev/null
20158
20159
20160 # as_fn_mkdir_p
20161 # -------------
20162 # Create "$as_dir" as a directory, including parents if necessary.
20163 as_fn_mkdir_p ()
20164 {
20165
20166   case $as_dir in #(
20167   -*) as_dir=./$as_dir;;
20168   esac
20169   test -d "$as_dir" || eval $as_mkdir_p || {
20170     as_dirs=
20171     while :; do
20172       case $as_dir in #(
20173       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20174       *) as_qdir=$as_dir;;
20175       esac
20176       as_dirs="'$as_qdir' $as_dirs"
20177       as_dir=`$as_dirname -- "$as_dir" ||
20178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20179          X"$as_dir" : 'X\(//\)[^/]' \| \
20180          X"$as_dir" : 'X\(//\)$' \| \
20181          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20182 $as_echo X"$as_dir" |
20183     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20184             s//\1/
20185             q
20186           }
20187           /^X\(\/\/\)[^/].*/{
20188             s//\1/
20189             q
20190           }
20191           /^X\(\/\/\)$/{
20192             s//\1/
20193             q
20194           }
20195           /^X\(\/\).*/{
20196             s//\1/
20197             q
20198           }
20199           s/.*/./; q'`
20200       test -d "$as_dir" && break
20201     done
20202     test -z "$as_dirs" || eval "mkdir $as_dirs"
20203   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20204
20205
20206 } # as_fn_mkdir_p
20207 if mkdir -p . 2>/dev/null; then
20208   as_mkdir_p='mkdir -p "$as_dir"'
20209 else
20210   test -d ./-p && rmdir ./-p
20211   as_mkdir_p=false
20212 fi
20213
20214 if test -x / >/dev/null 2>&1; then
20215   as_test_x='test -x'
20216 else
20217   if ls -dL / >/dev/null 2>&1; then
20218     as_ls_L_option=L
20219   else
20220     as_ls_L_option=
20221   fi
20222   as_test_x='
20223     eval sh -c '\''
20224       if test -d "$1"; then
20225         test -d "$1/.";
20226       else
20227         case $1 in #(
20228         -*)set "./$1";;
20229         esac;
20230         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20231         ???[sx]*):;;*)false;;esac;fi
20232     '\'' sh
20233   '
20234 fi
20235 as_executable_p=$as_test_x
20236
20237 # Sed expression to map a string onto a valid CPP name.
20238 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20239
20240 # Sed expression to map a string onto a valid variable name.
20241 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20242
20243
20244 exec 6>&1
20245 ## ----------------------------------- ##
20246 ## Main body of $CONFIG_STATUS script. ##
20247 ## ----------------------------------- ##
20248 _ASEOF
20249 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20250
20251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20252 # Save the log message, to keep $0 and so on meaningful, and to
20253 # report actual input values of CONFIG_FILES etc. instead of their
20254 # values after options handling.
20255 ac_log="
20256 This file was extended by gdk-pixbuf $as_me 2.26.1, which was
20257 generated by GNU Autoconf 2.68.  Invocation command line was
20258
20259   CONFIG_FILES    = $CONFIG_FILES
20260   CONFIG_HEADERS  = $CONFIG_HEADERS
20261   CONFIG_LINKS    = $CONFIG_LINKS
20262   CONFIG_COMMANDS = $CONFIG_COMMANDS
20263   $ $0 $@
20264
20265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20266 "
20267
20268 _ACEOF
20269
20270 case $ac_config_files in *"
20271 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20272 esac
20273
20274 case $ac_config_headers in *"
20275 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20276 esac
20277
20278
20279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20280 # Files that config.status was made for.
20281 config_files="$ac_config_files"
20282 config_headers="$ac_config_headers"
20283 config_commands="$ac_config_commands"
20284
20285 _ACEOF
20286
20287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20288 ac_cs_usage="\
20289 \`$as_me' instantiates files and other configuration actions
20290 from templates according to the current configuration.  Unless the files
20291 and actions are specified as TAGs, all are instantiated by default.
20292
20293 Usage: $0 [OPTION]... [TAG]...
20294
20295   -h, --help       print this help, then exit
20296   -V, --version    print version number and configuration settings, then exit
20297       --config     print configuration, then exit
20298   -q, --quiet, --silent
20299                    do not print progress messages
20300   -d, --debug      don't remove temporary files
20301       --recheck    update $as_me by reconfiguring in the same conditions
20302       --file=FILE[:TEMPLATE]
20303                    instantiate the configuration file FILE
20304       --header=FILE[:TEMPLATE]
20305                    instantiate the configuration header FILE
20306
20307 Configuration files:
20308 $config_files
20309
20310 Configuration headers:
20311 $config_headers
20312
20313 Configuration commands:
20314 $config_commands
20315
20316 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf>."
20317
20318 _ACEOF
20319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20320 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20321 ac_cs_version="\\
20322 gdk-pixbuf config.status 2.26.1
20323 configured by $0, generated by GNU Autoconf 2.68,
20324   with options \\"\$ac_cs_config\\"
20325
20326 Copyright (C) 2010 Free Software Foundation, Inc.
20327 This config.status script is free software; the Free Software Foundation
20328 gives unlimited permission to copy, distribute and modify it."
20329
20330 ac_pwd='$ac_pwd'
20331 srcdir='$srcdir'
20332 INSTALL='$INSTALL'
20333 MKDIR_P='$MKDIR_P'
20334 AWK='$AWK'
20335 test -n "\$AWK" || AWK=awk
20336 _ACEOF
20337
20338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20339 # The default lists apply if the user does not specify any file.
20340 ac_need_defaults=:
20341 while test $# != 0
20342 do
20343   case $1 in
20344   --*=?*)
20345     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20346     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20347     ac_shift=:
20348     ;;
20349   --*=)
20350     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20351     ac_optarg=
20352     ac_shift=:
20353     ;;
20354   *)
20355     ac_option=$1
20356     ac_optarg=$2
20357     ac_shift=shift
20358     ;;
20359   esac
20360
20361   case $ac_option in
20362   # Handling of the options.
20363   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20364     ac_cs_recheck=: ;;
20365   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20366     $as_echo "$ac_cs_version"; exit ;;
20367   --config | --confi | --conf | --con | --co | --c )
20368     $as_echo "$ac_cs_config"; exit ;;
20369   --debug | --debu | --deb | --de | --d | -d )
20370     debug=: ;;
20371   --file | --fil | --fi | --f )
20372     $ac_shift
20373     case $ac_optarg in
20374     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20375     '') as_fn_error $? "missing file argument" ;;
20376     esac
20377     as_fn_append CONFIG_FILES " '$ac_optarg'"
20378     ac_need_defaults=false;;
20379   --header | --heade | --head | --hea )
20380     $ac_shift
20381     case $ac_optarg in
20382     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20383     esac
20384     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20385     ac_need_defaults=false;;
20386   --he | --h)
20387     # Conflict between --help and --header
20388     as_fn_error $? "ambiguous option: \`$1'
20389 Try \`$0 --help' for more information.";;
20390   --help | --hel | -h )
20391     $as_echo "$ac_cs_usage"; exit ;;
20392   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20393   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20394     ac_cs_silent=: ;;
20395
20396   # This is an error.
20397   -*) as_fn_error $? "unrecognized option: \`$1'
20398 Try \`$0 --help' for more information." ;;
20399
20400   *) as_fn_append ac_config_targets " $1"
20401      ac_need_defaults=false ;;
20402
20403   esac
20404   shift
20405 done
20406
20407 ac_configure_extra_args=
20408
20409 if $ac_cs_silent; then
20410   exec 6>/dev/null
20411   ac_configure_extra_args="$ac_configure_extra_args --silent"
20412 fi
20413
20414 _ACEOF
20415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20416 if \$ac_cs_recheck; then
20417   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20418   shift
20419   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20420   CONFIG_SHELL='$SHELL'
20421   export CONFIG_SHELL
20422   exec "\$@"
20423 fi
20424
20425 _ACEOF
20426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20427 exec 5>>config.log
20428 {
20429   echo
20430   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20431 ## Running $as_me. ##
20432 _ASBOX
20433   $as_echo "$ac_log"
20434 } >&5
20435
20436 _ACEOF
20437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20438 #
20439 # INIT-COMMANDS
20440 #
20441 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20442
20443
20444 # The HP-UX ksh and POSIX shell print the target directory to stdout
20445 # if CDPATH is set.
20446 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20447
20448 sed_quote_subst='$sed_quote_subst'
20449 double_quote_subst='$double_quote_subst'
20450 delay_variable_subst='$delay_variable_subst'
20451 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20452 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20453 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20454 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20455 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20456 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20457 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20458 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20459 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20460 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20461 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20462 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20463 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20464 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20465 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20466 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20467 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20468 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20469 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20470 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20471 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20472 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20473 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20474 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20475 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20476 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20477 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20478 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20479 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20480 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20481 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20482 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20483 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20484 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20485 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20486 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20487 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20488 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20489 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20490 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20491 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20492 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20493 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20494 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20495 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20496 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20497 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20498 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20499 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20500 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20501 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20502 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20503 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20504 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20505 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20506 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20507 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20508 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"`'
20509 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20510 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20511 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20512 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20513 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20514 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20515 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20516 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20517 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20518 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20519 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20520 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20521 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20522 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20523 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20524 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20525 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20526 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20527 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20528 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20529 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20530 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20531 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20532 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20533 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20534 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20535 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20536 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20537 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20538 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20539 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20540 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20541 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20542 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20543 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20544 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20545 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20546 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20547 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20548 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20549 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20550 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20551 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20552 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20553 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20554 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20555 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20556 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20557 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20558 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20559 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20560 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20561 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20562 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20563 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20564 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20565 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20566 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20567 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20568 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20569 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20570 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20571 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20572 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20573 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20574 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20575 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20576 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20577 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20578 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20579 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20580 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20581 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20582
20583 LTCC='$LTCC'
20584 LTCFLAGS='$LTCFLAGS'
20585 compiler='$compiler_DEFAULT'
20586
20587 # A function that is used when there is no print builtin or printf.
20588 func_fallback_echo ()
20589 {
20590   eval 'cat <<_LTECHO_EOF
20591 \$1
20592 _LTECHO_EOF'
20593 }
20594
20595 # Quote evaled strings.
20596 for var in AS \
20597 DLLTOOL \
20598 OBJDUMP \
20599 SHELL \
20600 ECHO \
20601 PATH_SEPARATOR \
20602 SED \
20603 GREP \
20604 EGREP \
20605 FGREP \
20606 LD \
20607 NM \
20608 LN_S \
20609 lt_SP2NL \
20610 lt_NL2SP \
20611 reload_flag \
20612 deplibs_check_method \
20613 file_magic_cmd \
20614 file_magic_glob \
20615 want_nocaseglob \
20616 sharedlib_from_linklib_cmd \
20617 AR \
20618 AR_FLAGS \
20619 archiver_list_spec \
20620 STRIP \
20621 RANLIB \
20622 CC \
20623 CFLAGS \
20624 compiler \
20625 lt_cv_sys_global_symbol_pipe \
20626 lt_cv_sys_global_symbol_to_cdecl \
20627 lt_cv_sys_global_symbol_to_c_name_address \
20628 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20629 nm_file_list_spec \
20630 lt_prog_compiler_no_builtin_flag \
20631 lt_prog_compiler_pic \
20632 lt_prog_compiler_wl \
20633 lt_prog_compiler_static \
20634 lt_cv_prog_compiler_c_o \
20635 need_locks \
20636 MANIFEST_TOOL \
20637 DSYMUTIL \
20638 NMEDIT \
20639 LIPO \
20640 OTOOL \
20641 OTOOL64 \
20642 shrext_cmds \
20643 export_dynamic_flag_spec \
20644 whole_archive_flag_spec \
20645 compiler_needs_object \
20646 with_gnu_ld \
20647 allow_undefined_flag \
20648 no_undefined_flag \
20649 hardcode_libdir_flag_spec \
20650 hardcode_libdir_separator \
20651 exclude_expsyms \
20652 include_expsyms \
20653 file_list_spec \
20654 variables_saved_for_relink \
20655 libname_spec \
20656 library_names_spec \
20657 soname_spec \
20658 install_override_mode \
20659 finish_eval \
20660 old_striplib \
20661 striplib; do
20662     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20663     *[\\\\\\\`\\"\\\$]*)
20664       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20665       ;;
20666     *)
20667       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20668       ;;
20669     esac
20670 done
20671
20672 # Double-quote double-evaled strings.
20673 for var in reload_cmds \
20674 old_postinstall_cmds \
20675 old_postuninstall_cmds \
20676 old_archive_cmds \
20677 extract_expsyms_cmds \
20678 old_archive_from_new_cmds \
20679 old_archive_from_expsyms_cmds \
20680 archive_cmds \
20681 archive_expsym_cmds \
20682 module_cmds \
20683 module_expsym_cmds \
20684 export_symbols_cmds \
20685 prelink_cmds \
20686 postlink_cmds \
20687 postinstall_cmds \
20688 postuninstall_cmds \
20689 finish_cmds \
20690 sys_lib_search_path_spec \
20691 sys_lib_dlsearch_path_spec; do
20692     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20693     *[\\\\\\\`\\"\\\$]*)
20694       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20695       ;;
20696     *)
20697       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20698       ;;
20699     esac
20700 done
20701
20702 ac_aux_dir='$ac_aux_dir'
20703 xsi_shell='$xsi_shell'
20704 lt_shell_append='$lt_shell_append'
20705
20706 # See if we are running on zsh, and set the options which allow our
20707 # commands through without removal of \ escapes INIT.
20708 if test -n "\${ZSH_VERSION+set}" ; then
20709    setopt NO_GLOB_SUBST
20710 fi
20711
20712
20713     PACKAGE='$PACKAGE'
20714     VERSION='$VERSION'
20715     TIMESTAMP='$TIMESTAMP'
20716     RM='$RM'
20717     ofile='$ofile'
20718
20719 ac_aux_dir='$ac_aux_dir'
20720
20721
20722 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20723     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20724     # from automake < 1.5.
20725     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20726     # Capture the value of LINGUAS because we need it to compute CATALOGS.
20727     LINGUAS="${LINGUAS-%UNSET%}"
20728
20729
20730 _ACEOF
20731
20732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20733
20734 # Handling of arguments.
20735 for ac_config_target in $ac_config_targets
20736 do
20737   case $ac_config_target in
20738     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20739     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20740     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20741     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20742     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20743     "gdk-pixbuf-2.0.pc") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf-2.0.pc" ;;
20744     "gdk-pixbuf-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf-2.0-uninstalled.pc" ;;
20745     "gdk-pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/Makefile" ;;
20746     "gdk-pixbuf/gdk_pixbuf.rc") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/gdk_pixbuf.rc" ;;
20747     "gdk-pixbuf/gdk-pixbuf-features.h") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/gdk-pixbuf-features.h" ;;
20748     "gdk-pixbuf/pixops/Makefile") CONFIG_FILES="$CONFIG_FILES gdk-pixbuf/pixops/Makefile" ;;
20749     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
20750     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
20751     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
20752     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
20753     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
20754     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
20755     "docs/reference/gdk-pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk-pixbuf/Makefile" ;;
20756     "docs/reference/gdk-pixbuf/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk-pixbuf/version.xml" ;;
20757     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20758     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20759     "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
20760     "contrib/gdk-pixbuf-xlib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/gdk-pixbuf-xlib/Makefile" ;;
20761     "contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc") CONFIG_FILES="$CONFIG_FILES contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc" ;;
20762     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
20763
20764   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20765   esac
20766 done
20767
20768
20769 # If the user did not use the arguments to specify the items to instantiate,
20770 # then the envvar interface is used.  Set only those that are not.
20771 # We use the long form for the default assignment because of an extremely
20772 # bizarre bug on SunOS 4.1.3.
20773 if $ac_need_defaults; then
20774   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20775   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20776   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20777 fi
20778
20779 # Have a temporary directory for convenience.  Make it in the build tree
20780 # simply because there is no reason against having it here, and in addition,
20781 # creating and moving files from /tmp can sometimes cause problems.
20782 # Hook for its removal unless debugging.
20783 # Note that there is a small window in which the directory will not be cleaned:
20784 # after its creation but before its name has been assigned to `$tmp'.
20785 $debug ||
20786 {
20787   tmp= ac_tmp=
20788   trap 'exit_status=$?
20789   : "${ac_tmp:=$tmp}"
20790   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20791 ' 0
20792   trap 'as_fn_exit 1' 1 2 13 15
20793 }
20794 # Create a (secure) tmp directory for tmp files.
20795
20796 {
20797   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20798   test -d "$tmp"
20799 }  ||
20800 {
20801   tmp=./conf$$-$RANDOM
20802   (umask 077 && mkdir "$tmp")
20803 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20804 ac_tmp=$tmp
20805
20806 # Set up the scripts for CONFIG_FILES section.
20807 # No need to generate them if there are no CONFIG_FILES.
20808 # This happens for instance with `./config.status config.h'.
20809 if test -n "$CONFIG_FILES"; then
20810
20811
20812 ac_cr=`echo X | tr X '\015'`
20813 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20814 # But we know of no other shell where ac_cr would be empty at this
20815 # point, so we can use a bashism as a fallback.
20816 if test "x$ac_cr" = x; then
20817   eval ac_cr=\$\'\\r\'
20818 fi
20819 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20820 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20821   ac_cs_awk_cr='\\r'
20822 else
20823   ac_cs_awk_cr=$ac_cr
20824 fi
20825
20826 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20827 _ACEOF
20828
20829
20830 {
20831   echo "cat >conf$$subs.awk <<_ACEOF" &&
20832   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20833   echo "_ACEOF"
20834 } >conf$$subs.sh ||
20835   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20836 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20837 ac_delim='%!_!# '
20838 for ac_last_try in false false false false false :; do
20839   . ./conf$$subs.sh ||
20840     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20841
20842   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20843   if test $ac_delim_n = $ac_delim_num; then
20844     break
20845   elif $ac_last_try; then
20846     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20847   else
20848     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20849   fi
20850 done
20851 rm -f conf$$subs.sh
20852
20853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20854 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20855 _ACEOF
20856 sed -n '
20857 h
20858 s/^/S["/; s/!.*/"]=/
20859 p
20860 g
20861 s/^[^!]*!//
20862 :repl
20863 t repl
20864 s/'"$ac_delim"'$//
20865 t delim
20866 :nl
20867 h
20868 s/\(.\{148\}\)..*/\1/
20869 t more1
20870 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20871 p
20872 n
20873 b repl
20874 :more1
20875 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20876 p
20877 g
20878 s/.\{148\}//
20879 t nl
20880 :delim
20881 h
20882 s/\(.\{148\}\)..*/\1/
20883 t more2
20884 s/["\\]/\\&/g; s/^/"/; s/$/"/
20885 p
20886 b
20887 :more2
20888 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20889 p
20890 g
20891 s/.\{148\}//
20892 t delim
20893 ' <conf$$subs.awk | sed '
20894 /^[^""]/{
20895   N
20896   s/\n//
20897 }
20898 ' >>$CONFIG_STATUS || ac_write_fail=1
20899 rm -f conf$$subs.awk
20900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20901 _ACAWK
20902 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20903   for (key in S) S_is_set[key] = 1
20904   FS = "\a"
20905
20906 }
20907 {
20908   line = $ 0
20909   nfields = split(line, field, "@")
20910   substed = 0
20911   len = length(field[1])
20912   for (i = 2; i < nfields; i++) {
20913     key = field[i]
20914     keylen = length(key)
20915     if (S_is_set[key]) {
20916       value = S[key]
20917       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20918       len += length(value) + length(field[++i])
20919       substed = 1
20920     } else
20921       len += 1 + keylen
20922   }
20923
20924   print line
20925 }
20926
20927 _ACAWK
20928 _ACEOF
20929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20930 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20931   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20932 else
20933   cat
20934 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20935   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20936 _ACEOF
20937
20938 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20939 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20940 # trailing colons and then remove the whole line if VPATH becomes empty
20941 # (actually we leave an empty line to preserve line numbers).
20942 if test "x$srcdir" = x.; then
20943   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20944 h
20945 s///
20946 s/^/:/
20947 s/[      ]*$/:/
20948 s/:\$(srcdir):/:/g
20949 s/:\${srcdir}:/:/g
20950 s/:@srcdir@:/:/g
20951 s/^:*//
20952 s/:*$//
20953 x
20954 s/\(=[   ]*\).*/\1/
20955 G
20956 s/\n//
20957 s/^[^=]*=[       ]*$//
20958 }'
20959 fi
20960
20961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20962 fi # test -n "$CONFIG_FILES"
20963
20964 # Set up the scripts for CONFIG_HEADERS section.
20965 # No need to generate them if there are no CONFIG_HEADERS.
20966 # This happens for instance with `./config.status Makefile'.
20967 if test -n "$CONFIG_HEADERS"; then
20968 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20969 BEGIN {
20970 _ACEOF
20971
20972 # Transform confdefs.h into an awk script `defines.awk', embedded as
20973 # here-document in config.status, that substitutes the proper values into
20974 # config.h.in to produce config.h.
20975
20976 # Create a delimiter string that does not exist in confdefs.h, to ease
20977 # handling of long lines.
20978 ac_delim='%!_!# '
20979 for ac_last_try in false false :; do
20980   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20981   if test -z "$ac_tt"; then
20982     break
20983   elif $ac_last_try; then
20984     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20985   else
20986     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20987   fi
20988 done
20989
20990 # For the awk script, D is an array of macro values keyed by name,
20991 # likewise P contains macro parameters if any.  Preserve backslash
20992 # newline sequences.
20993
20994 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20995 sed -n '
20996 s/.\{148\}/&'"$ac_delim"'/g
20997 t rset
20998 :rset
20999 s/^[     ]*#[    ]*define[       ][      ]*/ /
21000 t def
21001 d
21002 :def
21003 s/\\$//
21004 t bsnl
21005 s/["\\]/\\&/g
21006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
21007 D["\1"]=" \3"/p
21008 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
21009 d
21010 :bsnl
21011 s/["\\]/\\&/g
21012 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
21013 D["\1"]=" \3\\\\\\n"\\/p
21014 t cont
21015 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21016 t cont
21017 d
21018 :cont
21019 n
21020 s/.\{148\}/&'"$ac_delim"'/g
21021 t clear
21022 :clear
21023 s/\\$//
21024 t bsnlc
21025 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21026 d
21027 :bsnlc
21028 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21029 b cont
21030 ' <confdefs.h | sed '
21031 s/'"$ac_delim"'/"\\\
21032 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21033
21034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21035   for (key in D) D_is_set[key] = 1
21036   FS = "\a"
21037 }
21038 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21039   line = \$ 0
21040   split(line, arg, " ")
21041   if (arg[1] == "#") {
21042     defundef = arg[2]
21043     mac1 = arg[3]
21044   } else {
21045     defundef = substr(arg[1], 2)
21046     mac1 = arg[2]
21047   }
21048   split(mac1, mac2, "(") #)
21049   macro = mac2[1]
21050   prefix = substr(line, 1, index(line, defundef) - 1)
21051   if (D_is_set[macro]) {
21052     # Preserve the white space surrounding the "#".
21053     print prefix "define", macro P[macro] D[macro]
21054     next
21055   } else {
21056     # Replace #undef with comments.  This is necessary, for example,
21057     # in the case of _POSIX_SOURCE, which is predefined and required
21058     # on some systems where configure will not decide to define it.
21059     if (defundef == "undef") {
21060       print "/*", prefix defundef, macro, "*/"
21061       next
21062     }
21063   }
21064 }
21065 { print }
21066 _ACAWK
21067 _ACEOF
21068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21069   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21070 fi # test -n "$CONFIG_HEADERS"
21071
21072
21073 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21074 shift
21075 for ac_tag
21076 do
21077   case $ac_tag in
21078   :[FHLC]) ac_mode=$ac_tag; continue;;
21079   esac
21080   case $ac_mode$ac_tag in
21081   :[FHL]*:*);;
21082   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21083   :[FH]-) ac_tag=-:-;;
21084   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21085   esac
21086   ac_save_IFS=$IFS
21087   IFS=:
21088   set x $ac_tag
21089   IFS=$ac_save_IFS
21090   shift
21091   ac_file=$1
21092   shift
21093
21094   case $ac_mode in
21095   :L) ac_source=$1;;
21096   :[FH])
21097     ac_file_inputs=
21098     for ac_f
21099     do
21100       case $ac_f in
21101       -) ac_f="$ac_tmp/stdin";;
21102       *) # Look for the file first in the build tree, then in the source tree
21103          # (if the path is not absolute).  The absolute path cannot be DOS-style,
21104          # because $ac_f cannot contain `:'.
21105          test -f "$ac_f" ||
21106            case $ac_f in
21107            [\\/$]*) false;;
21108            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21109            esac ||
21110            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21111       esac
21112       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21113       as_fn_append ac_file_inputs " '$ac_f'"
21114     done
21115
21116     # Let's still pretend it is `configure' which instantiates (i.e., don't
21117     # use $as_me), people would be surprised to read:
21118     #    /* config.h.  Generated by config.status.  */
21119     configure_input='Generated from '`
21120           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21121         `' by configure.'
21122     if test x"$ac_file" != x-; then
21123       configure_input="$ac_file.  $configure_input"
21124       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21125 $as_echo "$as_me: creating $ac_file" >&6;}
21126     fi
21127     # Neutralize special characters interpreted by sed in replacement strings.
21128     case $configure_input in #(
21129     *\&* | *\|* | *\\* )
21130        ac_sed_conf_input=`$as_echo "$configure_input" |
21131        sed 's/[\\\\&|]/\\\\&/g'`;; #(
21132     *) ac_sed_conf_input=$configure_input;;
21133     esac
21134
21135     case $ac_tag in
21136     *:-:* | *:-) cat >"$ac_tmp/stdin" \
21137       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21138     esac
21139     ;;
21140   esac
21141
21142   ac_dir=`$as_dirname -- "$ac_file" ||
21143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21144          X"$ac_file" : 'X\(//\)[^/]' \| \
21145          X"$ac_file" : 'X\(//\)$' \| \
21146          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21147 $as_echo X"$ac_file" |
21148     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21149             s//\1/
21150             q
21151           }
21152           /^X\(\/\/\)[^/].*/{
21153             s//\1/
21154             q
21155           }
21156           /^X\(\/\/\)$/{
21157             s//\1/
21158             q
21159           }
21160           /^X\(\/\).*/{
21161             s//\1/
21162             q
21163           }
21164           s/.*/./; q'`
21165   as_dir="$ac_dir"; as_fn_mkdir_p
21166   ac_builddir=.
21167
21168 case "$ac_dir" in
21169 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21170 *)
21171   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21172   # A ".." for each directory in $ac_dir_suffix.
21173   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21174   case $ac_top_builddir_sub in
21175   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21176   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21177   esac ;;
21178 esac
21179 ac_abs_top_builddir=$ac_pwd
21180 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21181 # for backward compatibility:
21182 ac_top_builddir=$ac_top_build_prefix
21183
21184 case $srcdir in
21185   .)  # We are building in place.
21186     ac_srcdir=.
21187     ac_top_srcdir=$ac_top_builddir_sub
21188     ac_abs_top_srcdir=$ac_pwd ;;
21189   [\\/]* | ?:[\\/]* )  # Absolute name.
21190     ac_srcdir=$srcdir$ac_dir_suffix;
21191     ac_top_srcdir=$srcdir
21192     ac_abs_top_srcdir=$srcdir ;;
21193   *) # Relative name.
21194     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21195     ac_top_srcdir=$ac_top_build_prefix$srcdir
21196     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21197 esac
21198 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21199
21200
21201   case $ac_mode in
21202   :F)
21203   #
21204   # CONFIG_FILE
21205   #
21206
21207   case $INSTALL in
21208   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21209   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21210   esac
21211   ac_MKDIR_P=$MKDIR_P
21212   case $MKDIR_P in
21213   [\\/$]* | ?:[\\/]* ) ;;
21214   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21215   esac
21216 _ACEOF
21217
21218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21219 # If the template does not know about datarootdir, expand it.
21220 # FIXME: This hack should be removed a few years after 2.60.
21221 ac_datarootdir_hack=; ac_datarootdir_seen=
21222 ac_sed_dataroot='
21223 /datarootdir/ {
21224   p
21225   q
21226 }
21227 /@datadir@/p
21228 /@docdir@/p
21229 /@infodir@/p
21230 /@localedir@/p
21231 /@mandir@/p'
21232 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21233 *datarootdir*) ac_datarootdir_seen=yes;;
21234 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21235   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21236 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21237 _ACEOF
21238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21239   ac_datarootdir_hack='
21240   s&@datadir@&$datadir&g
21241   s&@docdir@&$docdir&g
21242   s&@infodir@&$infodir&g
21243   s&@localedir@&$localedir&g
21244   s&@mandir@&$mandir&g
21245   s&\\\${datarootdir}&$datarootdir&g' ;;
21246 esac
21247 _ACEOF
21248
21249 # Neutralize VPATH when `$srcdir' = `.'.
21250 # Shell code in configure.ac might set extrasub.
21251 # FIXME: do we really want to maintain this feature?
21252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21253 ac_sed_extra="$ac_vpsub
21254 $extrasub
21255 _ACEOF
21256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21257 :t
21258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21259 s|@configure_input@|$ac_sed_conf_input|;t t
21260 s&@top_builddir@&$ac_top_builddir_sub&;t t
21261 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21262 s&@srcdir@&$ac_srcdir&;t t
21263 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21264 s&@top_srcdir@&$ac_top_srcdir&;t t
21265 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21266 s&@builddir@&$ac_builddir&;t t
21267 s&@abs_builddir@&$ac_abs_builddir&;t t
21268 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21269 s&@INSTALL@&$ac_INSTALL&;t t
21270 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21271 $ac_datarootdir_hack
21272 "
21273 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21274   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21275
21276 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21277   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21278   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
21279       "$ac_tmp/out"`; test -z "$ac_out"; } &&
21280   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21281 which seems to be undefined.  Please make sure it is defined" >&5
21282 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21283 which seems to be undefined.  Please make sure it is defined" >&2;}
21284
21285   rm -f "$ac_tmp/stdin"
21286   case $ac_file in
21287   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21288   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21289   esac \
21290   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21291  ;;
21292   :H)
21293   #
21294   # CONFIG_HEADER
21295   #
21296   if test x"$ac_file" != x-; then
21297     {
21298       $as_echo "/* $configure_input  */" \
21299       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21300     } >"$ac_tmp/config.h" \
21301       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21302     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21303       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21304 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21305     else
21306       rm -f "$ac_file"
21307       mv "$ac_tmp/config.h" "$ac_file" \
21308         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21309     fi
21310   else
21311     $as_echo "/* $configure_input  */" \
21312       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21313       || as_fn_error $? "could not create -" "$LINENO" 5
21314   fi
21315 # Compute "$ac_file"'s index in $config_headers.
21316 _am_arg="$ac_file"
21317 _am_stamp_count=1
21318 for _am_header in $config_headers :; do
21319   case $_am_header in
21320     $_am_arg | $_am_arg:* )
21321       break ;;
21322     * )
21323       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21324   esac
21325 done
21326 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21327 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21328          X"$_am_arg" : 'X\(//\)[^/]' \| \
21329          X"$_am_arg" : 'X\(//\)$' \| \
21330          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21331 $as_echo X"$_am_arg" |
21332     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21333             s//\1/
21334             q
21335           }
21336           /^X\(\/\/\)[^/].*/{
21337             s//\1/
21338             q
21339           }
21340           /^X\(\/\/\)$/{
21341             s//\1/
21342             q
21343           }
21344           /^X\(\/\).*/{
21345             s//\1/
21346             q
21347           }
21348           s/.*/./; q'`/stamp-h$_am_stamp_count
21349  ;;
21350
21351   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21352 $as_echo "$as_me: executing $ac_file commands" >&6;}
21353  ;;
21354   esac
21355
21356
21357   case $ac_file$ac_mode in
21358     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21359   # Autoconf 2.62 quotes --file arguments for eval, but not when files
21360   # are listed without --file.  Let's play safe and only enable the eval
21361   # if we detect the quoting.
21362   case $CONFIG_FILES in
21363   *\'*) eval set x "$CONFIG_FILES" ;;
21364   *)   set x $CONFIG_FILES ;;
21365   esac
21366   shift
21367   for mf
21368   do
21369     # Strip MF so we end up with the name of the file.
21370     mf=`echo "$mf" | sed -e 's/:.*$//'`
21371     # Check whether this is an Automake generated Makefile or not.
21372     # We used to match only the files named `Makefile.in', but
21373     # some people rename them; so instead we look at the file content.
21374     # Grep'ing the first line is not enough: some people post-process
21375     # each Makefile.in and add a new line on top of each file to say so.
21376     # Grep'ing the whole file is not good either: AIX grep has a line
21377     # limit of 2048, but all sed's we know have understand at least 4000.
21378     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21379       dirpart=`$as_dirname -- "$mf" ||
21380 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21381          X"$mf" : 'X\(//\)[^/]' \| \
21382          X"$mf" : 'X\(//\)$' \| \
21383          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21384 $as_echo X"$mf" |
21385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21386             s//\1/
21387             q
21388           }
21389           /^X\(\/\/\)[^/].*/{
21390             s//\1/
21391             q
21392           }
21393           /^X\(\/\/\)$/{
21394             s//\1/
21395             q
21396           }
21397           /^X\(\/\).*/{
21398             s//\1/
21399             q
21400           }
21401           s/.*/./; q'`
21402     else
21403       continue
21404     fi
21405     # Extract the definition of DEPDIR, am__include, and am__quote
21406     # from the Makefile without running `make'.
21407     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21408     test -z "$DEPDIR" && continue
21409     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21410     test -z "am__include" && continue
21411     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21412     # When using ansi2knr, U may be empty or an underscore; expand it
21413     U=`sed -n 's/^U = //p' < "$mf"`
21414     # Find all dependency output files, they are included files with
21415     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21416     # simplest approach to changing $(DEPDIR) to its actual value in the
21417     # expansion.
21418     for file in `sed -n "
21419       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21420          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21421       # Make sure the directory exists.
21422       test -f "$dirpart/$file" && continue
21423       fdir=`$as_dirname -- "$file" ||
21424 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21425          X"$file" : 'X\(//\)[^/]' \| \
21426          X"$file" : 'X\(//\)$' \| \
21427          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21428 $as_echo X"$file" |
21429     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21430             s//\1/
21431             q
21432           }
21433           /^X\(\/\/\)[^/].*/{
21434             s//\1/
21435             q
21436           }
21437           /^X\(\/\/\)$/{
21438             s//\1/
21439             q
21440           }
21441           /^X\(\/\).*/{
21442             s//\1/
21443             q
21444           }
21445           s/.*/./; q'`
21446       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21447       # echo "creating $dirpart/$file"
21448       echo '# dummy' > "$dirpart/$file"
21449     done
21450   done
21451 }
21452  ;;
21453     "libtool":C)
21454
21455     # See if we are running on zsh, and set the options which allow our
21456     # commands through without removal of \ escapes.
21457     if test -n "${ZSH_VERSION+set}" ; then
21458       setopt NO_GLOB_SUBST
21459     fi
21460
21461     cfgfile="${ofile}T"
21462     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21463     $RM "$cfgfile"
21464
21465     cat <<_LT_EOF >> "$cfgfile"
21466 #! $SHELL
21467
21468 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21469 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21470 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21471 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21472 #
21473 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21474 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21475 #                 Foundation, Inc.
21476 #   Written by Gordon Matzigkeit, 1996
21477 #
21478 #   This file is part of GNU Libtool.
21479 #
21480 # GNU Libtool is free software; you can redistribute it and/or
21481 # modify it under the terms of the GNU General Public License as
21482 # published by the Free Software Foundation; either version 2 of
21483 # the License, or (at your option) any later version.
21484 #
21485 # As a special exception to the GNU General Public License,
21486 # if you distribute this file as part of a program or library that
21487 # is built using GNU Libtool, you may include this file under the
21488 # same distribution terms that you use for the rest of that program.
21489 #
21490 # GNU Libtool is distributed in the hope that it will be useful,
21491 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21492 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21493 # GNU General Public License for more details.
21494 #
21495 # You should have received a copy of the GNU General Public License
21496 # along with GNU Libtool; see the file COPYING.  If not, a copy
21497 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21498 # obtained by writing to the Free Software Foundation, Inc.,
21499 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21500
21501
21502 # The names of the tagged configurations supported by this script.
21503 available_tags=""
21504
21505 # ### BEGIN LIBTOOL CONFIG
21506
21507 # Which release of libtool.m4 was used?
21508 macro_version=$macro_version
21509 macro_revision=$macro_revision
21510
21511 # Whether or not to build static libraries.
21512 build_old_libs=$enable_static
21513
21514 # Assembler program.
21515 AS=$lt_AS
21516
21517 # DLL creation program.
21518 DLLTOOL=$lt_DLLTOOL
21519
21520 # Object dumper program.
21521 OBJDUMP=$lt_OBJDUMP
21522
21523 # Whether or not to build shared libraries.
21524 build_libtool_libs=$enable_shared
21525
21526 # What type of objects to build.
21527 pic_mode=$pic_mode
21528
21529 # Whether or not to optimize for fast installation.
21530 fast_install=$enable_fast_install
21531
21532 # Shell to use when invoking shell scripts.
21533 SHELL=$lt_SHELL
21534
21535 # An echo program that protects backslashes.
21536 ECHO=$lt_ECHO
21537
21538 # The PATH separator for the build system.
21539 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21540
21541 # The host system.
21542 host_alias=$host_alias
21543 host=$host
21544 host_os=$host_os
21545
21546 # The build system.
21547 build_alias=$build_alias
21548 build=$build
21549 build_os=$build_os
21550
21551 # A sed program that does not truncate output.
21552 SED=$lt_SED
21553
21554 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21555 Xsed="\$SED -e 1s/^X//"
21556
21557 # A grep program that handles long lines.
21558 GREP=$lt_GREP
21559
21560 # An ERE matcher.
21561 EGREP=$lt_EGREP
21562
21563 # A literal string matcher.
21564 FGREP=$lt_FGREP
21565
21566 # A BSD- or MS-compatible name lister.
21567 NM=$lt_NM
21568
21569 # Whether we need soft or hard links.
21570 LN_S=$lt_LN_S
21571
21572 # What is the maximum length of a command?
21573 max_cmd_len=$max_cmd_len
21574
21575 # Object file suffix (normally "o").
21576 objext=$ac_objext
21577
21578 # Executable file suffix (normally "").
21579 exeext=$exeext
21580
21581 # whether the shell understands "unset".
21582 lt_unset=$lt_unset
21583
21584 # turn spaces into newlines.
21585 SP2NL=$lt_lt_SP2NL
21586
21587 # turn newlines into spaces.
21588 NL2SP=$lt_lt_NL2SP
21589
21590 # convert \$build file names to \$host format.
21591 to_host_file_cmd=$lt_cv_to_host_file_cmd
21592
21593 # convert \$build files to toolchain format.
21594 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21595
21596 # Method to check whether dependent libraries are shared objects.
21597 deplibs_check_method=$lt_deplibs_check_method
21598
21599 # Command to use when deplibs_check_method = "file_magic".
21600 file_magic_cmd=$lt_file_magic_cmd
21601
21602 # How to find potential files when deplibs_check_method = "file_magic".
21603 file_magic_glob=$lt_file_magic_glob
21604
21605 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21606 want_nocaseglob=$lt_want_nocaseglob
21607
21608 # Command to associate shared and link libraries.
21609 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21610
21611 # The archiver.
21612 AR=$lt_AR
21613
21614 # Flags to create an archive.
21615 AR_FLAGS=$lt_AR_FLAGS
21616
21617 # How to feed a file listing to the archiver.
21618 archiver_list_spec=$lt_archiver_list_spec
21619
21620 # A symbol stripping program.
21621 STRIP=$lt_STRIP
21622
21623 # Commands used to install an old-style archive.
21624 RANLIB=$lt_RANLIB
21625 old_postinstall_cmds=$lt_old_postinstall_cmds
21626 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21627
21628 # Whether to use a lock for old archive extraction.
21629 lock_old_archive_extraction=$lock_old_archive_extraction
21630
21631 # A C compiler.
21632 LTCC=$lt_CC
21633
21634 # LTCC compiler flags.
21635 LTCFLAGS=$lt_CFLAGS
21636
21637 # Take the output of nm and produce a listing of raw symbols and C names.
21638 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21639
21640 # Transform the output of nm in a proper C declaration.
21641 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21642
21643 # Transform the output of nm in a C name address pair.
21644 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21645
21646 # Transform the output of nm in a C name address pair when lib prefix is needed.
21647 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21648
21649 # Specify filename containing input files for \$NM.
21650 nm_file_list_spec=$lt_nm_file_list_spec
21651
21652 # The root where to search for dependent libraries,and in which our libraries should be installed.
21653 lt_sysroot=$lt_sysroot
21654
21655 # The name of the directory that contains temporary libtool files.
21656 objdir=$objdir
21657
21658 # Used to examine libraries when file_magic_cmd begins with "file".
21659 MAGIC_CMD=$MAGIC_CMD
21660
21661 # Must we lock files when doing compilation?
21662 need_locks=$lt_need_locks
21663
21664 # Manifest tool.
21665 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21666
21667 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21668 DSYMUTIL=$lt_DSYMUTIL
21669
21670 # Tool to change global to local symbols on Mac OS X.
21671 NMEDIT=$lt_NMEDIT
21672
21673 # Tool to manipulate fat objects and archives on Mac OS X.
21674 LIPO=$lt_LIPO
21675
21676 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21677 OTOOL=$lt_OTOOL
21678
21679 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21680 OTOOL64=$lt_OTOOL64
21681
21682 # Old archive suffix (normally "a").
21683 libext=$libext
21684
21685 # Shared library suffix (normally ".so").
21686 shrext_cmds=$lt_shrext_cmds
21687
21688 # The commands to extract the exported symbol list from a shared archive.
21689 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21690
21691 # Variables whose values should be saved in libtool wrapper scripts and
21692 # restored at link time.
21693 variables_saved_for_relink=$lt_variables_saved_for_relink
21694
21695 # Do we need the "lib" prefix for modules?
21696 need_lib_prefix=$need_lib_prefix
21697
21698 # Do we need a version for libraries?
21699 need_version=$need_version
21700
21701 # Library versioning type.
21702 version_type=$version_type
21703
21704 # Shared library runtime path variable.
21705 runpath_var=$runpath_var
21706
21707 # Shared library path variable.
21708 shlibpath_var=$shlibpath_var
21709
21710 # Is shlibpath searched before the hard-coded library search path?
21711 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21712
21713 # Format of library name prefix.
21714 libname_spec=$lt_libname_spec
21715
21716 # List of archive names.  First name is the real one, the rest are links.
21717 # The last name is the one that the linker finds with -lNAME
21718 library_names_spec=$lt_library_names_spec
21719
21720 # The coded name of the library, if different from the real name.
21721 soname_spec=$lt_soname_spec
21722
21723 # Permission mode override for installation of shared libraries.
21724 install_override_mode=$lt_install_override_mode
21725
21726 # Command to use after installation of a shared archive.
21727 postinstall_cmds=$lt_postinstall_cmds
21728
21729 # Command to use after uninstallation of a shared archive.
21730 postuninstall_cmds=$lt_postuninstall_cmds
21731
21732 # Commands used to finish a libtool library installation in a directory.
21733 finish_cmds=$lt_finish_cmds
21734
21735 # As "finish_cmds", except a single script fragment to be evaled but
21736 # not shown.
21737 finish_eval=$lt_finish_eval
21738
21739 # Whether we should hardcode library paths into libraries.
21740 hardcode_into_libs=$hardcode_into_libs
21741
21742 # Compile-time system search path for libraries.
21743 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21744
21745 # Run-time system search path for libraries.
21746 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21747
21748 # Whether dlopen is supported.
21749 dlopen_support=$enable_dlopen
21750
21751 # Whether dlopen of programs is supported.
21752 dlopen_self=$enable_dlopen_self
21753
21754 # Whether dlopen of statically linked programs is supported.
21755 dlopen_self_static=$enable_dlopen_self_static
21756
21757 # Commands to strip libraries.
21758 old_striplib=$lt_old_striplib
21759 striplib=$lt_striplib
21760
21761
21762 # The linker used to build libraries.
21763 LD=$lt_LD
21764
21765 # How to create reloadable object files.
21766 reload_flag=$lt_reload_flag
21767 reload_cmds=$lt_reload_cmds
21768
21769 # Commands used to build an old-style archive.
21770 old_archive_cmds=$lt_old_archive_cmds
21771
21772 # A language specific compiler.
21773 CC=$lt_compiler
21774
21775 # Is the compiler the GNU compiler?
21776 with_gcc=$GCC
21777
21778 # Compiler flag to turn off builtin functions.
21779 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21780
21781 # Additional compiler flags for building library objects.
21782 pic_flag=$lt_lt_prog_compiler_pic
21783
21784 # How to pass a linker flag through the compiler.
21785 wl=$lt_lt_prog_compiler_wl
21786
21787 # Compiler flag to prevent dynamic linking.
21788 link_static_flag=$lt_lt_prog_compiler_static
21789
21790 # Does compiler simultaneously support -c and -o options?
21791 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21792
21793 # Whether or not to add -lc for building shared libraries.
21794 build_libtool_need_lc=$archive_cmds_need_lc
21795
21796 # Whether or not to disallow shared libs when runtime libs are static.
21797 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21798
21799 # Compiler flag to allow reflexive dlopens.
21800 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21801
21802 # Compiler flag to generate shared objects directly from archives.
21803 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21804
21805 # Whether the compiler copes with passing no objects directly.
21806 compiler_needs_object=$lt_compiler_needs_object
21807
21808 # Create an old-style archive from a shared archive.
21809 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21810
21811 # Create a temporary old-style archive to link instead of a shared archive.
21812 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21813
21814 # Commands used to build a shared archive.
21815 archive_cmds=$lt_archive_cmds
21816 archive_expsym_cmds=$lt_archive_expsym_cmds
21817
21818 # Commands used to build a loadable module if different from building
21819 # a shared archive.
21820 module_cmds=$lt_module_cmds
21821 module_expsym_cmds=$lt_module_expsym_cmds
21822
21823 # Whether we are building with GNU ld or not.
21824 with_gnu_ld=$lt_with_gnu_ld
21825
21826 # Flag that allows shared libraries with undefined symbols to be built.
21827 allow_undefined_flag=$lt_allow_undefined_flag
21828
21829 # Flag that enforces no undefined symbols.
21830 no_undefined_flag=$lt_no_undefined_flag
21831
21832 # Flag to hardcode \$libdir into a binary during linking.
21833 # This must work even if \$libdir does not exist
21834 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21835
21836 # Whether we need a single "-rpath" flag with a separated argument.
21837 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21838
21839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21840 # DIR into the resulting binary.
21841 hardcode_direct=$hardcode_direct
21842
21843 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21844 # DIR into the resulting binary and the resulting library dependency is
21845 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21846 # library is relocated.
21847 hardcode_direct_absolute=$hardcode_direct_absolute
21848
21849 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21850 # into the resulting binary.
21851 hardcode_minus_L=$hardcode_minus_L
21852
21853 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21854 # into the resulting binary.
21855 hardcode_shlibpath_var=$hardcode_shlibpath_var
21856
21857 # Set to "yes" if building a shared library automatically hardcodes DIR
21858 # into the library and all subsequent libraries and executables linked
21859 # against it.
21860 hardcode_automatic=$hardcode_automatic
21861
21862 # Set to yes if linker adds runtime paths of dependent libraries
21863 # to runtime path list.
21864 inherit_rpath=$inherit_rpath
21865
21866 # Whether libtool must link a program against all its dependency libraries.
21867 link_all_deplibs=$link_all_deplibs
21868
21869 # Set to "yes" if exported symbols are required.
21870 always_export_symbols=$always_export_symbols
21871
21872 # The commands to list exported symbols.
21873 export_symbols_cmds=$lt_export_symbols_cmds
21874
21875 # Symbols that should not be listed in the preloaded symbols.
21876 exclude_expsyms=$lt_exclude_expsyms
21877
21878 # Symbols that must always be exported.
21879 include_expsyms=$lt_include_expsyms
21880
21881 # Commands necessary for linking programs (against libraries) with templates.
21882 prelink_cmds=$lt_prelink_cmds
21883
21884 # Commands necessary for finishing linking programs.
21885 postlink_cmds=$lt_postlink_cmds
21886
21887 # Specify filename containing input files.
21888 file_list_spec=$lt_file_list_spec
21889
21890 # How to hardcode a shared library path into an executable.
21891 hardcode_action=$hardcode_action
21892
21893 # ### END LIBTOOL CONFIG
21894
21895 _LT_EOF
21896
21897   case $host_os in
21898   aix3*)
21899     cat <<\_LT_EOF >> "$cfgfile"
21900 # AIX sometimes has problems with the GCC collect2 program.  For some
21901 # reason, if we set the COLLECT_NAMES environment variable, the problems
21902 # vanish in a puff of smoke.
21903 if test "X${COLLECT_NAMES+set}" != Xset; then
21904   COLLECT_NAMES=
21905   export COLLECT_NAMES
21906 fi
21907 _LT_EOF
21908     ;;
21909   esac
21910
21911
21912 ltmain="$ac_aux_dir/ltmain.sh"
21913
21914
21915   # We use sed instead of cat because bash on DJGPP gets confused if
21916   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21917   # text mode, it properly converts lines to CR/LF.  This bash problem
21918   # is reportedly fixed, but why not run on old versions too?
21919   sed '$q' "$ltmain" >> "$cfgfile" \
21920      || (rm -f "$cfgfile"; exit 1)
21921
21922   if test x"$xsi_shell" = xyes; then
21923   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21924 func_dirname ()\
21925 {\
21926 \    case ${1} in\
21927 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21928 \      *  ) func_dirname_result="${3}" ;;\
21929 \    esac\
21930 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21931   && mv -f "$cfgfile.tmp" "$cfgfile" \
21932     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21933 test 0 -eq $? || _lt_function_replace_fail=:
21934
21935
21936   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21937 func_basename ()\
21938 {\
21939 \    func_basename_result="${1##*/}"\
21940 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21941   && mv -f "$cfgfile.tmp" "$cfgfile" \
21942     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21943 test 0 -eq $? || _lt_function_replace_fail=:
21944
21945
21946   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21947 func_dirname_and_basename ()\
21948 {\
21949 \    case ${1} in\
21950 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21951 \      *  ) func_dirname_result="${3}" ;;\
21952 \    esac\
21953 \    func_basename_result="${1##*/}"\
21954 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21955   && mv -f "$cfgfile.tmp" "$cfgfile" \
21956     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21957 test 0 -eq $? || _lt_function_replace_fail=:
21958
21959
21960   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21961 func_stripname ()\
21962 {\
21963 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21964 \    # positional parameters, so assign one to ordinary parameter first.\
21965 \    func_stripname_result=${3}\
21966 \    func_stripname_result=${func_stripname_result#"${1}"}\
21967 \    func_stripname_result=${func_stripname_result%"${2}"}\
21968 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21969   && mv -f "$cfgfile.tmp" "$cfgfile" \
21970     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21971 test 0 -eq $? || _lt_function_replace_fail=:
21972
21973
21974   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21975 func_split_long_opt ()\
21976 {\
21977 \    func_split_long_opt_name=${1%%=*}\
21978 \    func_split_long_opt_arg=${1#*=}\
21979 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21980   && mv -f "$cfgfile.tmp" "$cfgfile" \
21981     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21982 test 0 -eq $? || _lt_function_replace_fail=:
21983
21984
21985   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21986 func_split_short_opt ()\
21987 {\
21988 \    func_split_short_opt_arg=${1#??}\
21989 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21990 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21991   && mv -f "$cfgfile.tmp" "$cfgfile" \
21992     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21993 test 0 -eq $? || _lt_function_replace_fail=:
21994
21995
21996   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21997 func_lo2o ()\
21998 {\
21999 \    case ${1} in\
22000 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22001 \      *)    func_lo2o_result=${1} ;;\
22002 \    esac\
22003 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22004   && mv -f "$cfgfile.tmp" "$cfgfile" \
22005     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22006 test 0 -eq $? || _lt_function_replace_fail=:
22007
22008
22009   sed -e '/^func_xform ()$/,/^} # func_xform /c\
22010 func_xform ()\
22011 {\
22012     func_xform_result=${1%.*}.lo\
22013 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22014   && mv -f "$cfgfile.tmp" "$cfgfile" \
22015     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22016 test 0 -eq $? || _lt_function_replace_fail=:
22017
22018
22019   sed -e '/^func_arith ()$/,/^} # func_arith /c\
22020 func_arith ()\
22021 {\
22022     func_arith_result=$(( $* ))\
22023 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22024   && mv -f "$cfgfile.tmp" "$cfgfile" \
22025     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22026 test 0 -eq $? || _lt_function_replace_fail=:
22027
22028
22029   sed -e '/^func_len ()$/,/^} # func_len /c\
22030 func_len ()\
22031 {\
22032     func_len_result=${#1}\
22033 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22034   && mv -f "$cfgfile.tmp" "$cfgfile" \
22035     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22036 test 0 -eq $? || _lt_function_replace_fail=:
22037
22038 fi
22039
22040 if test x"$lt_shell_append" = xyes; then
22041   sed -e '/^func_append ()$/,/^} # func_append /c\
22042 func_append ()\
22043 {\
22044     eval "${1}+=\\${2}"\
22045 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22046   && mv -f "$cfgfile.tmp" "$cfgfile" \
22047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22048 test 0 -eq $? || _lt_function_replace_fail=:
22049
22050
22051   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22052 func_append_quoted ()\
22053 {\
22054 \    func_quote_for_eval "${2}"\
22055 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22056 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22057   && mv -f "$cfgfile.tmp" "$cfgfile" \
22058     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22059 test 0 -eq $? || _lt_function_replace_fail=:
22060
22061
22062   # Save a `func_append' function call where possible by direct use of '+='
22063   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22064     && mv -f "$cfgfile.tmp" "$cfgfile" \
22065       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22066   test 0 -eq $? || _lt_function_replace_fail=:
22067 else
22068   # Save a `func_append' function call even when '+=' is not available
22069   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22070     && mv -f "$cfgfile.tmp" "$cfgfile" \
22071       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22072   test 0 -eq $? || _lt_function_replace_fail=:
22073 fi
22074
22075 if test x"$_lt_function_replace_fail" = x":"; then
22076   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22077 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22078 fi
22079
22080
22081    mv -f "$cfgfile" "$ofile" ||
22082     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22083   chmod +x "$ofile"
22084
22085  ;;
22086     "po-directories":C)
22087     for ac_file in $CONFIG_FILES; do
22088       # Support "outfile[:infile[:infile...]]"
22089       case "$ac_file" in
22090         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22091       esac
22092       # PO directories have a Makefile.in generated from Makefile.in.in.
22093       case "$ac_file" in */Makefile.in)
22094         # Adjust a relative srcdir.
22095         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22096         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
22097         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22098         # In autoconf-2.13 it is called $ac_given_srcdir.
22099         # In autoconf-2.50 it is called $srcdir.
22100         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
22101         case "$ac_given_srcdir" in
22102           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
22103           /*) top_srcdir="$ac_given_srcdir" ;;
22104           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
22105         esac
22106         # Treat a directory as a PO directory if and only if it has a
22107         # POTFILES.in file. This allows packages to have multiple PO
22108         # directories under different names or in different locations.
22109         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22110           rm -f "$ac_dir/POTFILES"
22111           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22112           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22113           POMAKEFILEDEPS="POTFILES.in"
22114           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22115           # on $ac_dir but don't depend on user-specified configuration
22116           # parameters.
22117           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22118             # The LINGUAS file contains the set of available languages.
22119             if test -n "$OBSOLETE_ALL_LINGUAS"; then
22120               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22121             fi
22122             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22123             # Hide the ALL_LINGUAS assigment from automake < 1.5.
22124             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22125             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22126           else
22127             # The set of available languages was given in configure.in.
22128             # Hide the ALL_LINGUAS assigment from automake < 1.5.
22129             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22130           fi
22131           # Compute POFILES
22132           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22133           # Compute UPDATEPOFILES
22134           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22135           # Compute DUMMYPOFILES
22136           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22137           # Compute GMOFILES
22138           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22139           case "$ac_given_srcdir" in
22140             .) srcdirpre= ;;
22141             *) srcdirpre='$(srcdir)/' ;;
22142           esac
22143           POFILES=
22144           UPDATEPOFILES=
22145           DUMMYPOFILES=
22146           GMOFILES=
22147           for lang in $ALL_LINGUAS; do
22148             POFILES="$POFILES $srcdirpre$lang.po"
22149             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22150             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
22151             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22152           done
22153           # CATALOGS depends on both $ac_dir and the user's LINGUAS
22154           # environment variable.
22155           INST_LINGUAS=
22156           if test -n "$ALL_LINGUAS"; then
22157             for presentlang in $ALL_LINGUAS; do
22158               useit=no
22159               if test "%UNSET%" != "$LINGUAS"; then
22160                 desiredlanguages="$LINGUAS"
22161               else
22162                 desiredlanguages="$ALL_LINGUAS"
22163               fi
22164               for desiredlang in $desiredlanguages; do
22165                 # Use the presentlang catalog if desiredlang is
22166                 #   a. equal to presentlang, or
22167                 #   b. a variant of presentlang (because in this case,
22168                 #      presentlang can be used as a fallback for messages
22169                 #      which are not translated in the desiredlang catalog).
22170                 case "$desiredlang" in
22171                   "$presentlang"*) useit=yes;;
22172                 esac
22173               done
22174               if test $useit = yes; then
22175                 INST_LINGUAS="$INST_LINGUAS $presentlang"
22176               fi
22177             done
22178           fi
22179           CATALOGS=
22180           if test -n "$INST_LINGUAS"; then
22181             for lang in $INST_LINGUAS; do
22182               CATALOGS="$CATALOGS $lang.gmo"
22183             done
22184           fi
22185           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22186           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
22187           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22188             if test -f "$f"; then
22189               case "$f" in
22190                 *.orig | *.bak | *~) ;;
22191                 *) cat "$f" >> "$ac_dir/Makefile" ;;
22192               esac
22193             fi
22194           done
22195         fi
22196         ;;
22197       esac
22198     done ;;
22199
22200   esac
22201 done # for ac_tag
22202
22203
22204 as_fn_exit 0
22205 _ACEOF
22206 ac_clean_files=$ac_clean_files_save
22207
22208 test $ac_write_fail = 0 ||
22209   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22210
22211
22212 # configure is writing to config.log, and then calls config.status.
22213 # config.status does its own redirection, appending to config.log.
22214 # Unfortunately, on DOS this fails, as config.log is still kept open
22215 # by configure, so config.status won't be able to write to it; its
22216 # output is simply discarded.  So we exec the FD to /dev/null,
22217 # effectively closing config.log, so it can be properly (re)opened and
22218 # appended to by config.status.  When coming back to configure, we
22219 # need to make the FD available again.
22220 if test "$no_create" != yes; then
22221   ac_cs_success=:
22222   ac_config_status_args=
22223   test "$silent" = yes &&
22224     ac_config_status_args="$ac_config_status_args --quiet"
22225   exec 5>/dev/null
22226   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22227   exec 5>>config.log
22228   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22229   # would make configure fail if this is the last instruction.
22230   $ac_cs_success || as_fn_exit 1
22231 fi
22232 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22233   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22234 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22235 fi
22236