Imported Upstream version 0.9.7
[platform/upstream/libunistring.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     PATH=/empty FPATH=/empty; export PATH FPATH
206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME=
589 PACKAGE_TARNAME=
590 PACKAGE_VERSION=
591 PACKAGE_STRING=
592 PACKAGE_BUGREPORT=
593 PACKAGE_URL=
594
595 ac_unique_file="lib/unistring/version.in.h"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 gl_use_threads_default=
633 ac_func_list=
634 ac_header_list=
635 ac_subst_vars='gltests_LTLIBOBJS
636 gltests_LIBOBJS
637 gl_LTLIBOBJS
638 gl_LIBOBJS
639 am__EXEEXT_FALSE
640 am__EXEEXT_TRUE
641 LTLIBOBJS
642 LIBOBJS
643 PERL
644 DVIPS
645 TEXI2DVI
646 HEXVERSION
647 HAVE_GLOBAL_SYMBOL_PIPE
648 GLOBAL_SYMBOL_PIPE
649 NAMESPACING
650 DLL_VARIABLE
651 WOE32DLL_FALSE
652 WOE32DLL_TRUE
653 LIBTESTS_LIBDEPS
654 YIELD_LIB
655 LOCALE_AR
656 HAVE_WINSOCK2_H
657 NEXT_AS_FIRST_DIRECTIVE_STDIO_H
658 NEXT_STDIO_H
659 GL_GENERATE_STDALIGN_H_FALSE
660 GL_GENERATE_STDALIGN_H_TRUE
661 STDALIGN_H
662 NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
663 NEXT_LOCALE_H
664 HAVE_XLOCALE_H
665 REPLACE_STRUCT_LCONV
666 REPLACE_DUPLOCALE
667 REPLACE_SETLOCALE
668 REPLACE_LOCALECONV
669 HAVE_DUPLOCALE
670 GNULIB_DUPLOCALE
671 GNULIB_SETLOCALE
672 GNULIB_LOCALECONV
673 NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H
674 NEXT_INTTYPES_H
675 UINT64_MAX_EQ_ULONG_MAX
676 UINT32_MAX_LT_UINTMAX_MAX
677 PRIPTR_PREFIX
678 PRI_MACROS_BROKEN
679 INT64_MAX_EQ_LONG_MAX
680 INT32_MAX_LT_INTMAX_MAX
681 REPLACE_STRTOUMAX
682 REPLACE_STRTOIMAX
683 HAVE_DECL_STRTOUMAX
684 HAVE_DECL_STRTOIMAX
685 HAVE_DECL_IMAXDIV
686 HAVE_DECL_IMAXABS
687 GNULIB_STRTOUMAX
688 GNULIB_STRTOIMAX
689 GNULIB_IMAXDIV
690 GNULIB_IMAXABS
691 LTLIBINTL
692 LIBINTL
693 HAVE_MSVC_INVALID_PARAMETER_HANDLER
694 REPLACE_VSPRINTF
695 REPLACE_VSNPRINTF
696 REPLACE_VPRINTF
697 REPLACE_VFPRINTF
698 REPLACE_VDPRINTF
699 REPLACE_VASPRINTF
700 REPLACE_TMPFILE
701 REPLACE_STDIO_WRITE_FUNCS
702 REPLACE_STDIO_READ_FUNCS
703 REPLACE_SPRINTF
704 REPLACE_SNPRINTF
705 REPLACE_RENAMEAT
706 REPLACE_RENAME
707 REPLACE_REMOVE
708 REPLACE_PRINTF
709 REPLACE_POPEN
710 REPLACE_PERROR
711 REPLACE_OBSTACK_PRINTF
712 REPLACE_GETLINE
713 REPLACE_GETDELIM
714 REPLACE_FTELLO
715 REPLACE_FTELL
716 REPLACE_FSEEKO
717 REPLACE_FSEEK
718 REPLACE_FREOPEN
719 REPLACE_FPURGE
720 REPLACE_FPRINTF
721 REPLACE_FOPEN
722 REPLACE_FFLUSH
723 REPLACE_FDOPEN
724 REPLACE_FCLOSE
725 REPLACE_DPRINTF
726 HAVE_VDPRINTF
727 HAVE_VASPRINTF
728 HAVE_RENAMEAT
729 HAVE_POPEN
730 HAVE_PCLOSE
731 HAVE_FTELLO
732 HAVE_FSEEKO
733 HAVE_DPRINTF
734 HAVE_DECL_VSNPRINTF
735 HAVE_DECL_SNPRINTF
736 HAVE_DECL_OBSTACK_PRINTF
737 HAVE_DECL_GETLINE
738 HAVE_DECL_GETDELIM
739 HAVE_DECL_FTELLO
740 HAVE_DECL_FSEEKO
741 HAVE_DECL_FPURGE
742 GNULIB_VSPRINTF_POSIX
743 GNULIB_VSNPRINTF
744 GNULIB_VPRINTF_POSIX
745 GNULIB_VPRINTF
746 GNULIB_VFPRINTF_POSIX
747 GNULIB_VFPRINTF
748 GNULIB_VDPRINTF
749 GNULIB_VSCANF
750 GNULIB_VFSCANF
751 GNULIB_VASPRINTF
752 GNULIB_TMPFILE
753 GNULIB_STDIO_H_SIGPIPE
754 GNULIB_STDIO_H_NONBLOCKING
755 GNULIB_SPRINTF_POSIX
756 GNULIB_SNPRINTF
757 GNULIB_SCANF
758 GNULIB_RENAMEAT
759 GNULIB_RENAME
760 GNULIB_REMOVE
761 GNULIB_PUTS
762 GNULIB_PUTCHAR
763 GNULIB_PUTC
764 GNULIB_PRINTF_POSIX
765 GNULIB_PRINTF
766 GNULIB_POPEN
767 GNULIB_PERROR
768 GNULIB_PCLOSE
769 GNULIB_OBSTACK_PRINTF_POSIX
770 GNULIB_OBSTACK_PRINTF
771 GNULIB_GETLINE
772 GNULIB_GETDELIM
773 GNULIB_GETCHAR
774 GNULIB_GETC
775 GNULIB_FWRITE
776 GNULIB_FTELLO
777 GNULIB_FTELL
778 GNULIB_FSEEKO
779 GNULIB_FSEEK
780 GNULIB_FSCANF
781 GNULIB_FREOPEN
782 GNULIB_FREAD
783 GNULIB_FPUTS
784 GNULIB_FPUTC
785 GNULIB_FPURGE
786 GNULIB_FPRINTF_POSIX
787 GNULIB_FPRINTF
788 GNULIB_FOPEN
789 GNULIB_FGETS
790 GNULIB_FGETC
791 GNULIB_FFLUSH
792 GNULIB_FDOPEN
793 GNULIB_FCLOSE
794 GNULIB_DPRINTF
795 NEXT_AS_FIRST_DIRECTIVE_CTYPE_H
796 NEXT_CTYPE_H
797 HAVE_ISBLANK
798 GNULIB_ISBLANK
799 LOCALE_TR_UTF8
800 LOCALE_FR
801 gltests_WITNESS
802 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
803 NEXT_WCHAR_H
804 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
805 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
806 LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE
807 LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE
808 LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE
809 LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE
810 LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE
811 LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE
812 LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE
813 LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE
814 LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE
815 LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE
816 LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE
817 LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE
818 LIBUNISTRING_UNIWIDTH_H
819 LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE
820 LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE
821 LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE
822 LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE
823 LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE
824 LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE
825 LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE
826 LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE
827 LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE
828 LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE
829 LIBUNISTRING_UNIWBRK_H
830 LIBUNISTRING_UNITYPES_H
831 LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE
832 LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE
833 LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_FALSE
834 LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_TRUE
835 LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_FALSE
836 LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_TRUE
837 LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_FALSE
838 LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_TRUE
839 LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_FALSE
840 LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_TRUE
841 LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_FALSE
842 LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_TRUE
843 LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_FALSE
844 LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_TRUE
845 LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_FALSE
846 LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_TRUE
847 LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_FALSE
848 LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_TRUE
849 LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_FALSE
850 LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_TRUE
851 LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_FALSE
852 LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_TRUE
853 LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_FALSE
854 LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_TRUE
855 LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_FALSE
856 LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_TRUE
857 LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_FALSE
858 LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_TRUE
859 LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_FALSE
860 LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_TRUE
861 LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_FALSE
862 LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_TRUE
863 LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_FALSE
864 LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_TRUE
865 LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_FALSE
866 LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_TRUE
867 LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_FALSE
868 LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_TRUE
869 LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_FALSE
870 LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_TRUE
871 LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_FALSE
872 LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_TRUE
873 LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_FALSE
874 LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_TRUE
875 LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_FALSE
876 LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_TRUE
877 LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_FALSE
878 LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_TRUE
879 LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_FALSE
880 LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_TRUE
881 LIBUNISTRING_COMPILE_UNISTR_U8_SET_FALSE
882 LIBUNISTRING_COMPILE_UNISTR_U8_SET_TRUE
883 LIBUNISTRING_COMPILE_UNISTR_U8_PREV_FALSE
884 LIBUNISTRING_COMPILE_UNISTR_U8_PREV_TRUE
885 LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_FALSE
886 LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_TRUE
887 LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_FALSE
888 LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_TRUE
889 LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE
890 LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE
891 LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_FALSE
892 LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_TRUE
893 LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_FALSE
894 LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_TRUE
895 LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_FALSE
896 LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_TRUE
897 LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_FALSE
898 LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_TRUE
899 LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_FALSE
900 LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_TRUE
901 LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_FALSE
902 LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_TRUE
903 LIBUNISTRING_COMPILE_UNISTR_U8_CPY_FALSE
904 LIBUNISTRING_COMPILE_UNISTR_U8_CPY_TRUE
905 LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_FALSE
906 LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_TRUE
907 LIBUNISTRING_COMPILE_UNISTR_U8_CMP_FALSE
908 LIBUNISTRING_COMPILE_UNISTR_U8_CMP_TRUE
909 LIBUNISTRING_COMPILE_UNISTR_U8_CHR_FALSE
910 LIBUNISTRING_COMPILE_UNISTR_U8_CHR_TRUE
911 LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_FALSE
912 LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_TRUE
913 LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_FALSE
914 LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_TRUE
915 LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_FALSE
916 LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_TRUE
917 LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_FALSE
918 LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_TRUE
919 LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_FALSE
920 LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_TRUE
921 LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_FALSE
922 LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_TRUE
923 LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_FALSE
924 LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_TRUE
925 LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_FALSE
926 LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_TRUE
927 LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_FALSE
928 LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_TRUE
929 LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_FALSE
930 LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_TRUE
931 LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_FALSE
932 LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_TRUE
933 LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_FALSE
934 LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_TRUE
935 LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_FALSE
936 LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_TRUE
937 LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_FALSE
938 LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_TRUE
939 LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_FALSE
940 LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_TRUE
941 LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_FALSE
942 LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_TRUE
943 LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_FALSE
944 LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_TRUE
945 LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_FALSE
946 LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_TRUE
947 LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_FALSE
948 LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_TRUE
949 LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_FALSE
950 LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_TRUE
951 LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_FALSE
952 LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_TRUE
953 LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_FALSE
954 LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_TRUE
955 LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_FALSE
956 LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_TRUE
957 LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_FALSE
958 LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_TRUE
959 LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_FALSE
960 LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_TRUE
961 LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_FALSE
962 LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_TRUE
963 LIBUNISTRING_COMPILE_UNISTR_U32_SET_FALSE
964 LIBUNISTRING_COMPILE_UNISTR_U32_SET_TRUE
965 LIBUNISTRING_COMPILE_UNISTR_U32_PREV_FALSE
966 LIBUNISTRING_COMPILE_UNISTR_U32_PREV_TRUE
967 LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_FALSE
968 LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_TRUE
969 LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_FALSE
970 LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_TRUE
971 LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_FALSE
972 LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_TRUE
973 LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_FALSE
974 LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_TRUE
975 LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_FALSE
976 LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_TRUE
977 LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_FALSE
978 LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_TRUE
979 LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_FALSE
980 LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_TRUE
981 LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_FALSE
982 LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_TRUE
983 LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_FALSE
984 LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_TRUE
985 LIBUNISTRING_COMPILE_UNISTR_U32_CPY_FALSE
986 LIBUNISTRING_COMPILE_UNISTR_U32_CPY_TRUE
987 LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_FALSE
988 LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_TRUE
989 LIBUNISTRING_COMPILE_UNISTR_U32_CMP_FALSE
990 LIBUNISTRING_COMPILE_UNISTR_U32_CMP_TRUE
991 LIBUNISTRING_COMPILE_UNISTR_U32_CHR_FALSE
992 LIBUNISTRING_COMPILE_UNISTR_U32_CHR_TRUE
993 LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_FALSE
994 LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_TRUE
995 LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_FALSE
996 LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_TRUE
997 LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_FALSE
998 LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_TRUE
999 LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_FALSE
1000 LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_TRUE
1001 LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_FALSE
1002 LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_TRUE
1003 LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_FALSE
1004 LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_TRUE
1005 LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_FALSE
1006 LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_TRUE
1007 LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_FALSE
1008 LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_TRUE
1009 LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_FALSE
1010 LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_TRUE
1011 LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_FALSE
1012 LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_TRUE
1013 LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_FALSE
1014 LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_TRUE
1015 LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_FALSE
1016 LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_TRUE
1017 LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_FALSE
1018 LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_TRUE
1019 LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_FALSE
1020 LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_TRUE
1021 LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_FALSE
1022 LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_TRUE
1023 LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_FALSE
1024 LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_TRUE
1025 LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_FALSE
1026 LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_TRUE
1027 LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_FALSE
1028 LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_TRUE
1029 LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_FALSE
1030 LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_TRUE
1031 LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_FALSE
1032 LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_TRUE
1033 LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_FALSE
1034 LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_TRUE
1035 LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_FALSE
1036 LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_TRUE
1037 LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_FALSE
1038 LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_TRUE
1039 LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_FALSE
1040 LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_TRUE
1041 LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_FALSE
1042 LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_TRUE
1043 LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_FALSE
1044 LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_TRUE
1045 LIBUNISTRING_COMPILE_UNISTR_U16_SET_FALSE
1046 LIBUNISTRING_COMPILE_UNISTR_U16_SET_TRUE
1047 LIBUNISTRING_COMPILE_UNISTR_U16_PREV_FALSE
1048 LIBUNISTRING_COMPILE_UNISTR_U16_PREV_TRUE
1049 LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_FALSE
1050 LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_TRUE
1051 LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_FALSE
1052 LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_TRUE
1053 LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_FALSE
1054 LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_TRUE
1055 LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_FALSE
1056 LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_TRUE
1057 LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_FALSE
1058 LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_TRUE
1059 LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_FALSE
1060 LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_TRUE
1061 LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_FALSE
1062 LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_TRUE
1063 LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_FALSE
1064 LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_TRUE
1065 LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_FALSE
1066 LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_TRUE
1067 LIBUNISTRING_COMPILE_UNISTR_U16_CPY_FALSE
1068 LIBUNISTRING_COMPILE_UNISTR_U16_CPY_TRUE
1069 LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_FALSE
1070 LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_TRUE
1071 LIBUNISTRING_COMPILE_UNISTR_U16_CMP_FALSE
1072 LIBUNISTRING_COMPILE_UNISTR_U16_CMP_TRUE
1073 LIBUNISTRING_COMPILE_UNISTR_U16_CHR_FALSE
1074 LIBUNISTRING_COMPILE_UNISTR_U16_CHR_TRUE
1075 LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_FALSE
1076 LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_TRUE
1077 LIBUNISTRING_UNISTR_H
1078 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_FALSE
1079 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_TRUE
1080 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_FALSE
1081 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_TRUE
1082 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_FALSE
1083 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_TRUE
1084 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_FALSE
1085 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_TRUE
1086 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_FALSE
1087 LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_TRUE
1088 LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_FALSE
1089 LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_TRUE
1090 LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_FALSE
1091 LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_TRUE
1092 LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_FALSE
1093 LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_TRUE
1094 LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_FALSE
1095 LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_TRUE
1096 LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_FALSE
1097 LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_TRUE
1098 LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_FALSE
1099 LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_TRUE
1100 LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_FALSE
1101 LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_TRUE
1102 LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_FALSE
1103 LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_TRUE
1104 LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_FALSE
1105 LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_TRUE
1106 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_FALSE
1107 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_TRUE
1108 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_FALSE
1109 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_TRUE
1110 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_FALSE
1111 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_TRUE
1112 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_FALSE
1113 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_TRUE
1114 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_FALSE
1115 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_TRUE
1116 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_FALSE
1117 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_TRUE
1118 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_FALSE
1119 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_TRUE
1120 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_FALSE
1121 LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_TRUE
1122 LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_FALSE
1123 LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_TRUE
1124 LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_FALSE
1125 LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_TRUE
1126 LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_FALSE
1127 LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_TRUE
1128 LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_FALSE
1129 LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_TRUE
1130 LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_FALSE
1131 LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_TRUE
1132 LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_FALSE
1133 LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_TRUE
1134 LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_FALSE
1135 LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_TRUE
1136 LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_FALSE
1137 LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_TRUE
1138 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_FALSE
1139 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_TRUE
1140 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_FALSE
1141 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_TRUE
1142 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_FALSE
1143 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_TRUE
1144 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_FALSE
1145 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_TRUE
1146 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_FALSE
1147 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_TRUE
1148 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_FALSE
1149 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_TRUE
1150 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_FALSE
1151 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_TRUE
1152 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_FALSE
1153 LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_TRUE
1154 LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_FALSE
1155 LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_TRUE
1156 LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_FALSE
1157 LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_TRUE
1158 LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_FALSE
1159 LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_TRUE
1160 LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_FALSE
1161 LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_TRUE
1162 LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_FALSE
1163 LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_TRUE
1164 LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_FALSE
1165 LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_TRUE
1166 LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_FALSE
1167 LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_TRUE
1168 LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_FALSE
1169 LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_TRUE
1170 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_FALSE
1171 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_TRUE
1172 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_FALSE
1173 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_TRUE
1174 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_FALSE
1175 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_TRUE
1176 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_FALSE
1177 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_TRUE
1178 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_FALSE
1179 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_TRUE
1180 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_FALSE
1181 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_TRUE
1182 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_FALSE
1183 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_TRUE
1184 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_FALSE
1185 LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_TRUE
1186 LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_FALSE
1187 LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_TRUE
1188 LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_FALSE
1189 LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_TRUE
1190 HAVE_FEATURES_H
1191 LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_FALSE
1192 LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_TRUE
1193 LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_FALSE
1194 LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_TRUE
1195 LIBUNISTRING_UNISTDIO_H
1196 HAVE_UNISTD_H
1197 NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
1198 NEXT_UNISTD_H
1199 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
1200 UNISTD_H_HAVE_WINSOCK2_H
1201 REPLACE_WRITE
1202 REPLACE_USLEEP
1203 REPLACE_UNLINKAT
1204 REPLACE_UNLINK
1205 REPLACE_TTYNAME_R
1206 REPLACE_SYMLINKAT
1207 REPLACE_SYMLINK
1208 REPLACE_SLEEP
1209 REPLACE_RMDIR
1210 REPLACE_READLINKAT
1211 REPLACE_READLINK
1212 REPLACE_READ
1213 REPLACE_PWRITE
1214 REPLACE_PREAD
1215 REPLACE_LSEEK
1216 REPLACE_LINKAT
1217 REPLACE_LINK
1218 REPLACE_LCHOWN
1219 REPLACE_ISATTY
1220 REPLACE_GETPAGESIZE
1221 REPLACE_GETGROUPS
1222 REPLACE_GETLOGIN_R
1223 REPLACE_GETDTABLESIZE
1224 REPLACE_GETDOMAINNAME
1225 REPLACE_GETCWD
1226 REPLACE_FTRUNCATE
1227 REPLACE_FCHOWNAT
1228 REPLACE_DUP2
1229 REPLACE_DUP
1230 REPLACE_CLOSE
1231 REPLACE_CHOWN
1232 HAVE_SYS_PARAM_H
1233 HAVE_OS_H
1234 HAVE_DECL_TTYNAME_R
1235 HAVE_DECL_SETHOSTNAME
1236 HAVE_DECL_GETUSERSHELL
1237 HAVE_DECL_GETPAGESIZE
1238 HAVE_DECL_GETLOGIN_R
1239 HAVE_DECL_GETDOMAINNAME
1240 HAVE_DECL_FDATASYNC
1241 HAVE_DECL_FCHDIR
1242 HAVE_DECL_ENVIRON
1243 HAVE_USLEEP
1244 HAVE_UNLINKAT
1245 HAVE_SYMLINKAT
1246 HAVE_SYMLINK
1247 HAVE_SLEEP
1248 HAVE_SETHOSTNAME
1249 HAVE_READLINKAT
1250 HAVE_READLINK
1251 HAVE_PWRITE
1252 HAVE_PREAD
1253 HAVE_PIPE2
1254 HAVE_PIPE
1255 HAVE_LINKAT
1256 HAVE_LINK
1257 HAVE_LCHOWN
1258 HAVE_GROUP_MEMBER
1259 HAVE_GETPAGESIZE
1260 HAVE_GETLOGIN
1261 HAVE_GETHOSTNAME
1262 HAVE_GETGROUPS
1263 HAVE_GETDTABLESIZE
1264 HAVE_FTRUNCATE
1265 HAVE_FSYNC
1266 HAVE_FDATASYNC
1267 HAVE_FCHOWNAT
1268 HAVE_FCHDIR
1269 HAVE_FACCESSAT
1270 HAVE_EUIDACCESS
1271 HAVE_DUP3
1272 HAVE_DUP2
1273 HAVE_CHOWN
1274 GNULIB_WRITE
1275 GNULIB_USLEEP
1276 GNULIB_UNLINKAT
1277 GNULIB_UNLINK
1278 GNULIB_UNISTD_H_SIGPIPE
1279 GNULIB_UNISTD_H_NONBLOCKING
1280 GNULIB_TTYNAME_R
1281 GNULIB_SYMLINKAT
1282 GNULIB_SYMLINK
1283 GNULIB_SLEEP
1284 GNULIB_SETHOSTNAME
1285 GNULIB_RMDIR
1286 GNULIB_READLINKAT
1287 GNULIB_READLINK
1288 GNULIB_READ
1289 GNULIB_PWRITE
1290 GNULIB_PREAD
1291 GNULIB_PIPE2
1292 GNULIB_PIPE
1293 GNULIB_LSEEK
1294 GNULIB_LINKAT
1295 GNULIB_LINK
1296 GNULIB_LCHOWN
1297 GNULIB_ISATTY
1298 GNULIB_GROUP_MEMBER
1299 GNULIB_GETUSERSHELL
1300 GNULIB_GETPAGESIZE
1301 GNULIB_GETLOGIN_R
1302 GNULIB_GETLOGIN
1303 GNULIB_GETHOSTNAME
1304 GNULIB_GETGROUPS
1305 GNULIB_GETDTABLESIZE
1306 GNULIB_GETDOMAINNAME
1307 GNULIB_GETCWD
1308 GNULIB_FTRUNCATE
1309 GNULIB_FSYNC
1310 GNULIB_FDATASYNC
1311 GNULIB_FCHOWNAT
1312 GNULIB_FCHDIR
1313 GNULIB_FACCESSAT
1314 GNULIB_EUIDACCESS
1315 GNULIB_ENVIRON
1316 GNULIB_DUP3
1317 GNULIB_DUP2
1318 GNULIB_DUP
1319 GNULIB_CLOSE
1320 GNULIB_CHOWN
1321 GNULIB_CHDIR
1322 LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_FALSE
1323 LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_TRUE
1324 LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_FALSE
1325 LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_TRUE
1326 LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_FALSE
1327 LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_TRUE
1328 LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_FALSE
1329 LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_TRUE
1330 LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_FALSE
1331 LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_TRUE
1332 LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_FALSE
1333 LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_TRUE
1334 LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_FALSE
1335 LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_TRUE
1336 LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_FALSE
1337 LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_TRUE
1338 LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_FALSE
1339 LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_TRUE
1340 LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_FALSE
1341 LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_TRUE
1342 LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_FALSE
1343 LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_TRUE
1344 LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_FALSE
1345 LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_TRUE
1346 LIBUNISTRING_COMPILE_UNINORM_NFKD_FALSE
1347 LIBUNISTRING_COMPILE_UNINORM_NFKD_TRUE
1348 LIBUNISTRING_COMPILE_UNINORM_NFKC_FALSE
1349 LIBUNISTRING_COMPILE_UNINORM_NFKC_TRUE
1350 LIBUNISTRING_COMPILE_UNINORM_NFD_FALSE
1351 LIBUNISTRING_COMPILE_UNINORM_NFD_TRUE
1352 LIBUNISTRING_COMPILE_UNINORM_NFC_FALSE
1353 LIBUNISTRING_COMPILE_UNINORM_NFC_TRUE
1354 LIBUNISTRING_COMPILE_UNINORM_FILTER_FALSE
1355 LIBUNISTRING_COMPILE_UNINORM_FILTER_TRUE
1356 LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_FALSE
1357 LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_TRUE
1358 LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_FALSE
1359 LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_TRUE
1360 LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_FALSE
1361 LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_TRUE
1362 LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_FALSE
1363 LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_TRUE
1364 LIBUNISTRING_UNINORM_H
1365 LIBUNISTRING_COMPILE_UNINAME_UNINAME_FALSE
1366 LIBUNISTRING_COMPILE_UNINAME_UNINAME_TRUE
1367 LIBUNISTRING_UNINAME_H
1368 LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_FALSE
1369 LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_TRUE
1370 LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_FALSE
1371 LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_TRUE
1372 LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_FALSE
1373 LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_TRUE
1374 LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_FALSE
1375 LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_TRUE
1376 LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_FALSE
1377 LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_TRUE
1378 LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_FALSE
1379 LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_TRUE
1380 LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_FALSE
1381 LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_TRUE
1382 LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_FALSE
1383 LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_TRUE
1384 LIBUNISTRING_UNILBRK_H
1385 LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_FALSE
1386 LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_TRUE
1387 LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_FALSE
1388 LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_TRUE
1389 LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_FALSE
1390 LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_TRUE
1391 LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_FALSE
1392 LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_TRUE
1393 LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_FALSE
1394 LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_TRUE
1395 LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_FALSE
1396 LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_TRUE
1397 LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_FALSE
1398 LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_TRUE
1399 LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_FALSE
1400 LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_TRUE
1401 LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_FALSE
1402 LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_TRUE
1403 LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_FALSE
1404 LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_TRUE
1405 LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_FALSE
1406 LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_TRUE
1407 LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_FALSE
1408 LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_TRUE
1409 LIBUNISTRING_UNIGBRK_H
1410 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_FALSE
1411 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_TRUE
1412 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_FALSE
1413 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_TRUE
1414 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_FALSE
1415 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_TRUE
1416 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_FALSE
1417 LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_TRUE
1418 LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_FALSE
1419 LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_TRUE
1420 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_FALSE
1421 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_TRUE
1422 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_FALSE
1423 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_TRUE
1424 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_FALSE
1425 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_TRUE
1426 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_FALSE
1427 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_TRUE
1428 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_FALSE
1429 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_TRUE
1430 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_FALSE
1431 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_TRUE
1432 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_FALSE
1433 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_TRUE
1434 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_FALSE
1435 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_TRUE
1436 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_FALSE
1437 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_TRUE
1438 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_FALSE
1439 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_TRUE
1440 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_FALSE
1441 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_TRUE
1442 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_FALSE
1443 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_TRUE
1444 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_FALSE
1445 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_TRUE
1446 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_FALSE
1447 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_TRUE
1448 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_FALSE
1449 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_TRUE
1450 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_FALSE
1451 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_TRUE
1452 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_FALSE
1453 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_TRUE
1454 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_FALSE
1455 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_TRUE
1456 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_FALSE
1457 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_TRUE
1458 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_FALSE
1459 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_TRUE
1460 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_FALSE
1461 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_TRUE
1462 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_FALSE
1463 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_TRUE
1464 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_FALSE
1465 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_TRUE
1466 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_FALSE
1467 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_TRUE
1468 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_FALSE
1469 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_TRUE
1470 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_FALSE
1471 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_TRUE
1472 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_FALSE
1473 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_TRUE
1474 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_FALSE
1475 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_TRUE
1476 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_FALSE
1477 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_TRUE
1478 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_FALSE
1479 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_TRUE
1480 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_FALSE
1481 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_TRUE
1482 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_FALSE
1483 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_TRUE
1484 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_FALSE
1485 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_TRUE
1486 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_FALSE
1487 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_TRUE
1488 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_FALSE
1489 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_TRUE
1490 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_FALSE
1491 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_TRUE
1492 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_FALSE
1493 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_TRUE
1494 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_FALSE
1495 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_TRUE
1496 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_FALSE
1497 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_TRUE
1498 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_FALSE
1499 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_TRUE
1500 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_FALSE
1501 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_TRUE
1502 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_FALSE
1503 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_TRUE
1504 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_FALSE
1505 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_TRUE
1506 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_FALSE
1507 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_TRUE
1508 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_FALSE
1509 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_TRUE
1510 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_FALSE
1511 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_TRUE
1512 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_FALSE
1513 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_TRUE
1514 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_FALSE
1515 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_TRUE
1516 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_FALSE
1517 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_TRUE
1518 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_FALSE
1519 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_TRUE
1520 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_FALSE
1521 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_TRUE
1522 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_FALSE
1523 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_TRUE
1524 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_FALSE
1525 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_TRUE
1526 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_FALSE
1527 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_TRUE
1528 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_FALSE
1529 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_TRUE
1530 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_FALSE
1531 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_TRUE
1532 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_FALSE
1533 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_TRUE
1534 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_FALSE
1535 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_TRUE
1536 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_FALSE
1537 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_TRUE
1538 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_FALSE
1539 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_TRUE
1540 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_FALSE
1541 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_TRUE
1542 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_FALSE
1543 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_TRUE
1544 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_FALSE
1545 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_TRUE
1546 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_FALSE
1547 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_TRUE
1548 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_FALSE
1549 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_TRUE
1550 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_FALSE
1551 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_TRUE
1552 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_FALSE
1553 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_TRUE
1554 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_FALSE
1555 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_TRUE
1556 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_FALSE
1557 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_TRUE
1558 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_FALSE
1559 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_TRUE
1560 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_FALSE
1561 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_TRUE
1562 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_FALSE
1563 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_TRUE
1564 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_FALSE
1565 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_TRUE
1566 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_FALSE
1567 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_TRUE
1568 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_FALSE
1569 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_TRUE
1570 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_FALSE
1571 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_TRUE
1572 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_FALSE
1573 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_TRUE
1574 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_FALSE
1575 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_TRUE
1576 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_FALSE
1577 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_TRUE
1578 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_FALSE
1579 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_TRUE
1580 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_FALSE
1581 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_TRUE
1582 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_FALSE
1583 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_TRUE
1584 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_FALSE
1585 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_TRUE
1586 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_FALSE
1587 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_TRUE
1588 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_FALSE
1589 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_TRUE
1590 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_FALSE
1591 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_TRUE
1592 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_FALSE
1593 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_TRUE
1594 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_FALSE
1595 LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_TRUE
1596 LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_FALSE
1597 LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_TRUE
1598 LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_FALSE
1599 LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_TRUE
1600 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_FALSE
1601 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_TRUE
1602 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_FALSE
1603 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_TRUE
1604 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_FALSE
1605 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_TRUE
1606 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_FALSE
1607 LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_TRUE
1608 LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_FALSE
1609 LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_TRUE
1610 LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_FALSE
1611 LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_TRUE
1612 LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_FALSE
1613 LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_TRUE
1614 LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_FALSE
1615 LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_TRUE
1616 LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_FALSE
1617 LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_TRUE
1618 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE
1619 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE
1620 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE
1621 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE
1622 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE
1623 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE
1624 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE
1625 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE
1626 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE
1627 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE
1628 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE
1629 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE
1630 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE
1631 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE
1632 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE
1633 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE
1634 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE
1635 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE
1636 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE
1637 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE
1638 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE
1639 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE
1640 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE
1641 LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE
1642 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_FALSE
1643 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_TRUE
1644 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_FALSE
1645 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_TRUE
1646 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_FALSE
1647 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_TRUE
1648 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_FALSE
1649 LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_TRUE
1650 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_FALSE
1651 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_TRUE
1652 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_FALSE
1653 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_TRUE
1654 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_FALSE
1655 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_TRUE
1656 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_FALSE
1657 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_TRUE
1658 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_FALSE
1659 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_TRUE
1660 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_FALSE
1661 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_TRUE
1662 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_FALSE
1663 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_TRUE
1664 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_FALSE
1665 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_TRUE
1666 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_FALSE
1667 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_TRUE
1668 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_FALSE
1669 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_TRUE
1670 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_FALSE
1671 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_TRUE
1672 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_FALSE
1673 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_TRUE
1674 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_FALSE
1675 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_TRUE
1676 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_FALSE
1677 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_TRUE
1678 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_FALSE
1679 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_TRUE
1680 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_FALSE
1681 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_TRUE
1682 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_FALSE
1683 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_TRUE
1684 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_FALSE
1685 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_TRUE
1686 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_FALSE
1687 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_TRUE
1688 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_FALSE
1689 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_TRUE
1690 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_FALSE
1691 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_TRUE
1692 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_FALSE
1693 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_TRUE
1694 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_FALSE
1695 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_TRUE
1696 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_FALSE
1697 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_TRUE
1698 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_FALSE
1699 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_TRUE
1700 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_FALSE
1701 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_TRUE
1702 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_FALSE
1703 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_TRUE
1704 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_FALSE
1705 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_TRUE
1706 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_FALSE
1707 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_TRUE
1708 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_FALSE
1709 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_TRUE
1710 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_FALSE
1711 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_TRUE
1712 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_FALSE
1713 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_TRUE
1714 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_FALSE
1715 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_TRUE
1716 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_FALSE
1717 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_TRUE
1718 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_FALSE
1719 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_TRUE
1720 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_FALSE
1721 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_TRUE
1722 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_FALSE
1723 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_TRUE
1724 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_FALSE
1725 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_TRUE
1726 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_FALSE
1727 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_TRUE
1728 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_FALSE
1729 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_TRUE
1730 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_FALSE
1731 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_TRUE
1732 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_FALSE
1733 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_TRUE
1734 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_FALSE
1735 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_TRUE
1736 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_FALSE
1737 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_TRUE
1738 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_FALSE
1739 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_TRUE
1740 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_FALSE
1741 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_TRUE
1742 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_FALSE
1743 LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_TRUE
1744 LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_FALSE
1745 LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_TRUE
1746 LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_FALSE
1747 LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_TRUE
1748 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_FALSE
1749 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_TRUE
1750 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_FALSE
1751 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_TRUE
1752 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_FALSE
1753 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_TRUE
1754 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_FALSE
1755 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_TRUE
1756 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_FALSE
1757 LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_TRUE
1758 LIBUNISTRING_UNICTYPE_H
1759 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_FALSE
1760 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_TRUE
1761 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_FALSE
1762 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_TRUE
1763 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_FALSE
1764 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_TRUE
1765 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_FALSE
1766 LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_TRUE
1767 LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_FALSE
1768 LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_TRUE
1769 LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_FALSE
1770 LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_TRUE
1771 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_FALSE
1772 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_TRUE
1773 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_FALSE
1774 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_TRUE
1775 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_FALSE
1776 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_TRUE
1777 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_FALSE
1778 LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_TRUE
1779 LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_FALSE
1780 LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_TRUE
1781 LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_FALSE
1782 LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_TRUE
1783 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_FALSE
1784 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_TRUE
1785 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_FALSE
1786 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_TRUE
1787 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_FALSE
1788 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_TRUE
1789 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_FALSE
1790 LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_TRUE
1791 LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_FALSE
1792 LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_TRUE
1793 LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_FALSE
1794 LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_TRUE
1795 LIBUNISTRING_UNICONV_H
1796 LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_FALSE
1797 LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_TRUE
1798 LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_FALSE
1799 LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_TRUE
1800 LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_FALSE
1801 LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_TRUE
1802 LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_FALSE
1803 LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_TRUE
1804 LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_FALSE
1805 LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_TRUE
1806 LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_FALSE
1807 LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_TRUE
1808 LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_FALSE
1809 LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_TRUE
1810 LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_FALSE
1811 LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_TRUE
1812 LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_FALSE
1813 LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_TRUE
1814 LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_FALSE
1815 LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_TRUE
1816 LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_FALSE
1817 LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_TRUE
1818 LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_FALSE
1819 LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_TRUE
1820 LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_FALSE
1821 LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_TRUE
1822 LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_FALSE
1823 LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_TRUE
1824 LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_FALSE
1825 LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_TRUE
1826 LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_FALSE
1827 LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_TRUE
1828 LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_FALSE
1829 LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_TRUE
1830 LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_FALSE
1831 LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_TRUE
1832 LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_FALSE
1833 LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_TRUE
1834 LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_FALSE
1835 LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_TRUE
1836 LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_FALSE
1837 LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_TRUE
1838 LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_FALSE
1839 LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_TRUE
1840 LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_FALSE
1841 LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_TRUE
1842 LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_FALSE
1843 LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_TRUE
1844 LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_FALSE
1845 LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_TRUE
1846 LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_FALSE
1847 LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_TRUE
1848 LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_FALSE
1849 LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_TRUE
1850 LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_FALSE
1851 LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_TRUE
1852 LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_FALSE
1853 LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_TRUE
1854 LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_FALSE
1855 LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_TRUE
1856 LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_FALSE
1857 LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_TRUE
1858 LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_FALSE
1859 LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_TRUE
1860 LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_FALSE
1861 LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_TRUE
1862 LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_FALSE
1863 LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_TRUE
1864 LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_FALSE
1865 LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_TRUE
1866 LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_FALSE
1867 LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_TRUE
1868 LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_FALSE
1869 LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_TRUE
1870 LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_FALSE
1871 LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_TRUE
1872 LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_FALSE
1873 LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_TRUE
1874 LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_FALSE
1875 LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_TRUE
1876 LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_FALSE
1877 LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_TRUE
1878 LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_FALSE
1879 LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_TRUE
1880 LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_FALSE
1881 LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_TRUE
1882 LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_FALSE
1883 LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_TRUE
1884 LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_FALSE
1885 LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_TRUE
1886 LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_FALSE
1887 LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_TRUE
1888 LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_FALSE
1889 LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_TRUE
1890 LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_FALSE
1891 LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_TRUE
1892 LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_FALSE
1893 LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_TRUE
1894 LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_FALSE
1895 LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_TRUE
1896 LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_FALSE
1897 LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_TRUE
1898 LIBUNISTRING_COMPILE_UNICASE_TOUPPER_FALSE
1899 LIBUNISTRING_COMPILE_UNICASE_TOUPPER_TRUE
1900 LIBUNISTRING_COMPILE_UNICASE_TOTITLE_FALSE
1901 LIBUNISTRING_COMPILE_UNICASE_TOTITLE_TRUE
1902 LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE
1903 LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE
1904 LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_FALSE
1905 LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_TRUE
1906 LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_FALSE
1907 LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_TRUE
1908 LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_FALSE
1909 LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_TRUE
1910 LIBUNISTRING_UNICASE_H
1911 WINDOWS_64_BIT_OFF_T
1912 NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
1913 NEXT_SYS_TYPES_H
1914 NEXT_AS_FIRST_DIRECTIVE_STRING_H
1915 NEXT_STRING_H
1916 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
1917 NEXT_STDLIB_H
1918 GL_GENERATE_STDINT_H_FALSE
1919 GL_GENERATE_STDINT_H_TRUE
1920 STDINT_H
1921 HAVE_SYS_INTTYPES_H
1922 HAVE_SYS_BITYPES_H
1923 HAVE_C99_STDINT_H
1924 WINT_T_SUFFIX
1925 WCHAR_T_SUFFIX
1926 SIG_ATOMIC_T_SUFFIX
1927 SIZE_T_SUFFIX
1928 PTRDIFF_T_SUFFIX
1929 HAVE_SIGNED_WINT_T
1930 HAVE_SIGNED_WCHAR_T
1931 HAVE_SIGNED_SIG_ATOMIC_T
1932 BITSIZEOF_WINT_T
1933 BITSIZEOF_WCHAR_T
1934 BITSIZEOF_SIG_ATOMIC_T
1935 BITSIZEOF_SIZE_T
1936 BITSIZEOF_PTRDIFF_T
1937 HAVE_STDINT_H
1938 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
1939 NEXT_STDINT_H
1940 HAVE_SYS_TYPES_H
1941 HAVE_INTTYPES_H
1942 HAVE_WCHAR_H
1943 HAVE_UNSIGNED_LONG_LONG_INT
1944 HAVE_LONG_LONG_INT
1945 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
1946 NEXT_STDDEF_H
1947 GL_GENERATE_STDDEF_H_FALSE
1948 GL_GENERATE_STDDEF_H_TRUE
1949 STDDEF_H
1950 HAVE_WCHAR_T
1951 HAVE_MAX_ALIGN_T
1952 REPLACE_NULL
1953 HAVE__BOOL
1954 GL_GENERATE_STDBOOL_H_FALSE
1955 GL_GENERATE_STDBOOL_H_TRUE
1956 STDBOOL_H
1957 RELOCATABLE
1958 APPLE_UNIVERSAL_BUILD
1959 UNDEFINE_STRTOK_R
1960 REPLACE_STRTOK_R
1961 REPLACE_STRSIGNAL
1962 REPLACE_STRNLEN
1963 REPLACE_STRNDUP
1964 REPLACE_STRNCAT
1965 REPLACE_STRERROR_R
1966 REPLACE_STRERROR
1967 REPLACE_STRCHRNUL
1968 REPLACE_STRCASESTR
1969 REPLACE_STRSTR
1970 REPLACE_STRDUP
1971 REPLACE_STPNCPY
1972 REPLACE_MEMMEM
1973 REPLACE_MEMCHR
1974 HAVE_STRVERSCMP
1975 HAVE_DECL_STRSIGNAL
1976 HAVE_DECL_STRERROR_R
1977 HAVE_DECL_STRTOK_R
1978 HAVE_STRCASESTR
1979 HAVE_STRSEP
1980 HAVE_STRPBRK
1981 HAVE_DECL_STRNLEN
1982 HAVE_DECL_STRNDUP
1983 HAVE_DECL_STRDUP
1984 HAVE_STRCHRNUL
1985 HAVE_STPNCPY
1986 HAVE_STPCPY
1987 HAVE_RAWMEMCHR
1988 HAVE_DECL_MEMRCHR
1989 HAVE_MEMPCPY
1990 HAVE_DECL_MEMMEM
1991 HAVE_MEMCHR
1992 HAVE_FFSLL
1993 HAVE_FFSL
1994 HAVE_MBSLEN
1995 GNULIB_STRVERSCMP
1996 GNULIB_STRSIGNAL
1997 GNULIB_STRERROR_R
1998 GNULIB_STRERROR
1999 GNULIB_MBSTOK_R
2000 GNULIB_MBSSEP
2001 GNULIB_MBSSPN
2002 GNULIB_MBSPBRK
2003 GNULIB_MBSCSPN
2004 GNULIB_MBSCASESTR
2005 GNULIB_MBSPCASECMP
2006 GNULIB_MBSNCASECMP
2007 GNULIB_MBSCASECMP
2008 GNULIB_MBSSTR
2009 GNULIB_MBSRCHR
2010 GNULIB_MBSCHR
2011 GNULIB_MBSNLEN
2012 GNULIB_MBSLEN
2013 GNULIB_STRTOK_R
2014 GNULIB_STRCASESTR
2015 GNULIB_STRSTR
2016 GNULIB_STRSEP
2017 GNULIB_STRPBRK
2018 GNULIB_STRNLEN
2019 GNULIB_STRNDUP
2020 GNULIB_STRNCAT
2021 GNULIB_STRDUP
2022 GNULIB_STRCHRNUL
2023 GNULIB_STPNCPY
2024 GNULIB_STPCPY
2025 GNULIB_RAWMEMCHR
2026 GNULIB_MEMRCHR
2027 GNULIB_MEMPCPY
2028 GNULIB_MEMMEM
2029 GNULIB_MEMCHR
2030 GNULIB_FFSLL
2031 GNULIB_FFSL
2032 LOCALE_FR_UTF8
2033 LOCALE_ZH_CN
2034 LOCALE_JA
2035 REPLACE_WCSWIDTH
2036 REPLACE_WCWIDTH
2037 REPLACE_WCSNRTOMBS
2038 REPLACE_WCSRTOMBS
2039 REPLACE_WCRTOMB
2040 REPLACE_MBSNRTOWCS
2041 REPLACE_MBSRTOWCS
2042 REPLACE_MBRLEN
2043 REPLACE_MBRTOWC
2044 REPLACE_MBSINIT
2045 REPLACE_WCTOB
2046 REPLACE_BTOWC
2047 REPLACE_MBSTATE_T
2048 HAVE_DECL_WCWIDTH
2049 HAVE_DECL_WCTOB
2050 HAVE_WCSWIDTH
2051 HAVE_WCSTOK
2052 HAVE_WCSSTR
2053 HAVE_WCSPBRK
2054 HAVE_WCSSPN
2055 HAVE_WCSCSPN
2056 HAVE_WCSRCHR
2057 HAVE_WCSCHR
2058 HAVE_WCSDUP
2059 HAVE_WCSXFRM
2060 HAVE_WCSCOLL
2061 HAVE_WCSNCASECMP
2062 HAVE_WCSCASECMP
2063 HAVE_WCSNCMP
2064 HAVE_WCSCMP
2065 HAVE_WCSNCAT
2066 HAVE_WCSCAT
2067 HAVE_WCPNCPY
2068 HAVE_WCSNCPY
2069 HAVE_WCPCPY
2070 HAVE_WCSCPY
2071 HAVE_WCSNLEN
2072 HAVE_WCSLEN
2073 HAVE_WMEMSET
2074 HAVE_WMEMMOVE
2075 HAVE_WMEMCPY
2076 HAVE_WMEMCMP
2077 HAVE_WMEMCHR
2078 HAVE_WCSNRTOMBS
2079 HAVE_WCSRTOMBS
2080 HAVE_WCRTOMB
2081 HAVE_MBSNRTOWCS
2082 HAVE_MBSRTOWCS
2083 HAVE_MBRLEN
2084 HAVE_MBRTOWC
2085 HAVE_MBSINIT
2086 HAVE_BTOWC
2087 GNULIB_WCSWIDTH
2088 GNULIB_WCSTOK
2089 GNULIB_WCSSTR
2090 GNULIB_WCSPBRK
2091 GNULIB_WCSSPN
2092 GNULIB_WCSCSPN
2093 GNULIB_WCSRCHR
2094 GNULIB_WCSCHR
2095 GNULIB_WCSDUP
2096 GNULIB_WCSXFRM
2097 GNULIB_WCSCOLL
2098 GNULIB_WCSNCASECMP
2099 GNULIB_WCSCASECMP
2100 GNULIB_WCSNCMP
2101 GNULIB_WCSCMP
2102 GNULIB_WCSNCAT
2103 GNULIB_WCSCAT
2104 GNULIB_WCPNCPY
2105 GNULIB_WCSNCPY
2106 GNULIB_WCPCPY
2107 GNULIB_WCSCPY
2108 GNULIB_WCSNLEN
2109 GNULIB_WCSLEN
2110 GNULIB_WMEMSET
2111 GNULIB_WMEMMOVE
2112 GNULIB_WMEMCPY
2113 GNULIB_WMEMCMP
2114 GNULIB_WMEMCHR
2115 GNULIB_WCWIDTH
2116 GNULIB_WCSNRTOMBS
2117 GNULIB_WCSRTOMBS
2118 GNULIB_WCRTOMB
2119 GNULIB_MBSNRTOWCS
2120 GNULIB_MBSRTOWCS
2121 GNULIB_MBRLEN
2122 GNULIB_MBRTOWC
2123 GNULIB_MBSINIT
2124 GNULIB_WCTOB
2125 GNULIB_BTOWC
2126 NEXT_AS_FIRST_DIRECTIVE_MATH_H
2127 NEXT_MATH_H
2128 REPLACE_WCTOMB
2129 REPLACE_UNSETENV
2130 REPLACE_STRTOD
2131 REPLACE_SETENV
2132 REPLACE_REALPATH
2133 REPLACE_REALLOC
2134 REPLACE_RANDOM_R
2135 REPLACE_QSORT_R
2136 REPLACE_PUTENV
2137 REPLACE_PTSNAME_R
2138 REPLACE_PTSNAME
2139 REPLACE_MKSTEMP
2140 REPLACE_MBTOWC
2141 REPLACE_MALLOC
2142 REPLACE_CANONICALIZE_FILE_NAME
2143 REPLACE_CALLOC
2144 HAVE_DECL_UNSETENV
2145 HAVE_UNLOCKPT
2146 HAVE_SYS_LOADAVG_H
2147 HAVE_STRUCT_RANDOM_DATA
2148 HAVE_STRTOULL
2149 HAVE_STRTOLL
2150 HAVE_STRTOD
2151 HAVE_DECL_SETENV
2152 HAVE_SETENV
2153 HAVE_SECURE_GETENV
2154 HAVE_RPMATCH
2155 HAVE_REALPATH
2156 HAVE_RANDOM_R
2157 HAVE_RANDOM_H
2158 HAVE_RANDOM
2159 HAVE_QSORT_R
2160 HAVE_PTSNAME_R
2161 HAVE_PTSNAME
2162 HAVE_POSIX_OPENPT
2163 HAVE_MKSTEMPS
2164 HAVE_MKSTEMP
2165 HAVE_MKOSTEMPS
2166 HAVE_MKOSTEMP
2167 HAVE_MKDTEMP
2168 HAVE_GRANTPT
2169 HAVE_GETSUBOPT
2170 HAVE_DECL_GETLOADAVG
2171 HAVE_CANONICALIZE_FILE_NAME
2172 HAVE_ATOLL
2173 HAVE__EXIT
2174 GNULIB_WCTOMB
2175 GNULIB_UNSETENV
2176 GNULIB_UNLOCKPT
2177 GNULIB_SYSTEM_POSIX
2178 GNULIB_STRTOULL
2179 GNULIB_STRTOLL
2180 GNULIB_STRTOD
2181 GNULIB_SETENV
2182 GNULIB_SECURE_GETENV
2183 GNULIB_RPMATCH
2184 GNULIB_REALPATH
2185 GNULIB_REALLOC_POSIX
2186 GNULIB_RANDOM_R
2187 GNULIB_RANDOM
2188 GNULIB_QSORT_R
2189 GNULIB_PUTENV
2190 GNULIB_PTSNAME_R
2191 GNULIB_PTSNAME
2192 GNULIB_POSIX_OPENPT
2193 GNULIB_MKSTEMPS
2194 GNULIB_MKSTEMP
2195 GNULIB_MKOSTEMPS
2196 GNULIB_MKOSTEMP
2197 GNULIB_MKDTEMP
2198 GNULIB_MBTOWC
2199 GNULIB_MALLOC_POSIX
2200 GNULIB_GRANTPT
2201 GNULIB_GETSUBOPT
2202 GNULIB_GETLOADAVG
2203 GNULIB_CANONICALIZE_FILE_NAME
2204 GNULIB_CALLOC_POSIX
2205 GNULIB_ATOLL
2206 GNULIB__EXIT
2207 LTLIBMULTITHREAD
2208 LIBMULTITHREAD
2209 LTLIBTHREAD
2210 LIBTHREAD
2211 LIBPTH_PREFIX
2212 LTLIBPTH
2213 LIBPTH
2214 INTL_MACOSX_LIBS
2215 LOCALCHARSET_TESTS_ENVIRONMENT
2216 GLIBC21
2217 GL_GENERATE_LIMITS_H_FALSE
2218 GL_GENERATE_LIMITS_H_TRUE
2219 LIMITS_H
2220 NEXT_AS_FIRST_DIRECTIVE_LIMITS_H
2221 NEXT_LIMITS_H
2222 HAVE_LANGINFO_YESEXPR
2223 HAVE_LANGINFO_ERA
2224 HAVE_LANGINFO_T_FMT_AMPM
2225 HAVE_LANGINFO_CODESET
2226 HAVE_LANGINFO_H
2227 NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H
2228 NEXT_LANGINFO_H
2229 REPLACE_NL_LANGINFO
2230 HAVE_NL_LANGINFO
2231 GNULIB_NL_LANGINFO
2232 REPLACE_TOWLOWER
2233 REPLACE_ISWCNTRL
2234 HAVE_WCTYPE_H
2235 NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H
2236 NEXT_WCTYPE_H
2237 HAVE_WINT_T
2238 HAVE_ISWCNTRL
2239 REPLACE_ISWBLANK
2240 HAVE_WCTRANS_T
2241 HAVE_WCTYPE_T
2242 HAVE_ISWBLANK
2243 GNULIB_TOWCTRANS
2244 GNULIB_WCTRANS
2245 GNULIB_ISWCTYPE
2246 GNULIB_WCTYPE
2247 GNULIB_ISWBLANK
2248 NEXT_AS_FIRST_DIRECTIVE_ICONV_H
2249 NEXT_ICONV_H
2250 GL_GENERATE_ICONV_H_FALSE
2251 GL_GENERATE_ICONV_H_TRUE
2252 ICONV_H
2253 REPLACE_ICONV_UTF
2254 REPLACE_ICONV_OPEN
2255 REPLACE_ICONV
2256 ICONV_CONST
2257 GNULIB_ICONV
2258 LTLIBICONV
2259 LIBICONV
2260 HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
2261 REPLACE_TRUNCL
2262 REPLACE_TRUNCF
2263 REPLACE_TRUNC
2264 REPLACE_SQRTL
2265 REPLACE_SIGNBIT_USING_GCC
2266 REPLACE_SIGNBIT
2267 REPLACE_ROUNDL
2268 REPLACE_ROUNDF
2269 REPLACE_ROUND
2270 REPLACE_REMAINDERL
2271 REPLACE_REMAINDERF
2272 REPLACE_REMAINDER
2273 REPLACE_NAN
2274 REPLACE_MODFL
2275 REPLACE_MODFF
2276 REPLACE_MODF
2277 REPLACE_LOGBL
2278 REPLACE_LOGBF
2279 REPLACE_LOGB
2280 REPLACE_LOG2L
2281 REPLACE_LOG2F
2282 REPLACE_LOG2
2283 REPLACE_LOG1PL
2284 REPLACE_LOG1PF
2285 REPLACE_LOG1P
2286 REPLACE_LOG10L
2287 REPLACE_LOG10F
2288 REPLACE_LOG10
2289 REPLACE_LOGL
2290 REPLACE_LOGF
2291 REPLACE_LOG
2292 REPLACE_LDEXPL
2293 REPLACE_ISNAN
2294 REPLACE_ISINF
2295 REPLACE_ISFINITE
2296 REPLACE_ILOGBF
2297 REPLACE_ILOGB
2298 REPLACE_HYPOTL
2299 REPLACE_HYPOTF
2300 REPLACE_HYPOT
2301 REPLACE_HUGE_VAL
2302 REPLACE_FREXPL
2303 REPLACE_FREXP
2304 REPLACE_FREXPF
2305 REPLACE_FMODL
2306 REPLACE_FMODF
2307 REPLACE_FMOD
2308 REPLACE_FMAL
2309 REPLACE_FMAF
2310 REPLACE_FMA
2311 REPLACE_FLOORL
2312 REPLACE_FLOORF
2313 REPLACE_FLOOR
2314 REPLACE_FABSL
2315 REPLACE_EXP2L
2316 REPLACE_EXP2
2317 REPLACE_EXPM1F
2318 REPLACE_EXPM1
2319 REPLACE_CEILL
2320 REPLACE_CEILF
2321 REPLACE_CEIL
2322 REPLACE_CBRTL
2323 REPLACE_CBRTF
2324 HAVE_DECL_TRUNCL
2325 HAVE_DECL_TRUNCF
2326 HAVE_DECL_TRUNC
2327 HAVE_DECL_TANL
2328 HAVE_DECL_SQRTL
2329 HAVE_DECL_SINL
2330 HAVE_DECL_ROUNDL
2331 HAVE_DECL_ROUNDF
2332 HAVE_DECL_ROUND
2333 HAVE_DECL_RINTF
2334 HAVE_DECL_REMAINDERL
2335 HAVE_DECL_REMAINDER
2336 HAVE_DECL_LOGB
2337 HAVE_DECL_LOG2L
2338 HAVE_DECL_LOG2F
2339 HAVE_DECL_LOG2
2340 HAVE_DECL_LOG10L
2341 HAVE_DECL_LOGL
2342 HAVE_DECL_LDEXPL
2343 HAVE_DECL_FREXPL
2344 HAVE_DECL_FLOORL
2345 HAVE_DECL_FLOORF
2346 HAVE_DECL_EXPM1L
2347 HAVE_DECL_EXP2L
2348 HAVE_DECL_EXP2F
2349 HAVE_DECL_EXP2
2350 HAVE_DECL_EXPL
2351 HAVE_DECL_COSL
2352 HAVE_DECL_COPYSIGNF
2353 HAVE_DECL_CEILL
2354 HAVE_DECL_CEILF
2355 HAVE_DECL_CBRTL
2356 HAVE_DECL_CBRTF
2357 HAVE_DECL_ATANL
2358 HAVE_DECL_ASINL
2359 HAVE_DECL_ACOSL
2360 HAVE_TANHF
2361 HAVE_TANL
2362 HAVE_TANF
2363 HAVE_SQRTL
2364 HAVE_SQRTF
2365 HAVE_SINHF
2366 HAVE_SINL
2367 HAVE_SINF
2368 HAVE_RINTL
2369 HAVE_RINT
2370 HAVE_REMAINDERF
2371 HAVE_REMAINDER
2372 HAVE_POWF
2373 HAVE_MODFL
2374 HAVE_MODFF
2375 HAVE_LOGBL
2376 HAVE_LOGBF
2377 HAVE_LOG1PL
2378 HAVE_LOG1PF
2379 HAVE_LOG1P
2380 HAVE_LOG10L
2381 HAVE_LOG10F
2382 HAVE_LOGL
2383 HAVE_LOGF
2384 HAVE_LDEXPF
2385 HAVE_ISNANL
2386 HAVE_ISNAND
2387 HAVE_ISNANF
2388 HAVE_ILOGBL
2389 HAVE_ILOGBF
2390 HAVE_ILOGB
2391 HAVE_HYPOTL
2392 HAVE_HYPOTF
2393 HAVE_FREXPF
2394 HAVE_FMODL
2395 HAVE_FMODF
2396 HAVE_FMAL
2397 HAVE_FMAF
2398 HAVE_FMA
2399 HAVE_FABSL
2400 HAVE_FABSF
2401 HAVE_EXPM1F
2402 HAVE_EXPM1
2403 HAVE_EXPL
2404 HAVE_EXPF
2405 HAVE_COSHF
2406 HAVE_COSL
2407 HAVE_COSF
2408 HAVE_COPYSIGNL
2409 HAVE_COPYSIGN
2410 HAVE_CBRTL
2411 HAVE_CBRTF
2412 HAVE_CBRT
2413 HAVE_ATAN2F
2414 HAVE_ATANL
2415 HAVE_ATANF
2416 HAVE_ASINL
2417 HAVE_ASINF
2418 HAVE_ACOSL
2419 HAVE_ACOSF
2420 GNULIB_TRUNCL
2421 GNULIB_TRUNCF
2422 GNULIB_TRUNC
2423 GNULIB_TANHF
2424 GNULIB_TANL
2425 GNULIB_TANF
2426 GNULIB_SQRTL
2427 GNULIB_SQRTF
2428 GNULIB_SINHF
2429 GNULIB_SINL
2430 GNULIB_SINF
2431 GNULIB_SIGNBIT
2432 GNULIB_ROUNDL
2433 GNULIB_ROUNDF
2434 GNULIB_ROUND
2435 GNULIB_RINTL
2436 GNULIB_RINTF
2437 GNULIB_RINT
2438 GNULIB_REMAINDERL
2439 GNULIB_REMAINDERF
2440 GNULIB_REMAINDER
2441 GNULIB_POWF
2442 GNULIB_MODFL
2443 GNULIB_MODFF
2444 GNULIB_MODF
2445 GNULIB_LOGBL
2446 GNULIB_LOGBF
2447 GNULIB_LOGB
2448 GNULIB_LOG2L
2449 GNULIB_LOG2F
2450 GNULIB_LOG2
2451 GNULIB_LOG1PL
2452 GNULIB_LOG1PF
2453 GNULIB_LOG1P
2454 GNULIB_LOG10L
2455 GNULIB_LOG10F
2456 GNULIB_LOG10
2457 GNULIB_LOGL
2458 GNULIB_LOGF
2459 GNULIB_LOG
2460 GNULIB_LDEXPL
2461 GNULIB_LDEXPF
2462 GNULIB_ISNANL
2463 GNULIB_ISNAND
2464 GNULIB_ISNANF
2465 GNULIB_ISNAN
2466 GNULIB_ISINF
2467 GNULIB_ISFINITE
2468 GNULIB_ILOGBL
2469 GNULIB_ILOGBF
2470 GNULIB_ILOGB
2471 GNULIB_HYPOTL
2472 GNULIB_HYPOTF
2473 GNULIB_HYPOT
2474 GNULIB_FREXPL
2475 GNULIB_FREXP
2476 GNULIB_FREXPF
2477 GNULIB_FMODL
2478 GNULIB_FMODF
2479 GNULIB_FMOD
2480 GNULIB_FMAL
2481 GNULIB_FMAF
2482 GNULIB_FMA
2483 GNULIB_FLOORL
2484 GNULIB_FLOORF
2485 GNULIB_FLOOR
2486 GNULIB_FABSL
2487 GNULIB_FABSF
2488 GNULIB_EXPM1L
2489 GNULIB_EXPM1F
2490 GNULIB_EXPM1
2491 GNULIB_EXP2L
2492 GNULIB_EXP2F
2493 GNULIB_EXP2
2494 GNULIB_EXPL
2495 GNULIB_EXPF
2496 GNULIB_COSHF
2497 GNULIB_COSL
2498 GNULIB_COSF
2499 GNULIB_COPYSIGNL
2500 GNULIB_COPYSIGNF
2501 GNULIB_COPYSIGN
2502 GNULIB_CEILL
2503 GNULIB_CEILF
2504 GNULIB_CEIL
2505 GNULIB_CBRTL
2506 GNULIB_CBRTF
2507 GNULIB_CBRT
2508 GNULIB_ATAN2F
2509 GNULIB_ATANL
2510 GNULIB_ATANF
2511 GNULIB_ASINL
2512 GNULIB_ASINF
2513 GNULIB_ACOSL
2514 GNULIB_ACOSF
2515 REPLACE_ITOLD
2516 GL_GENERATE_FLOAT_H_FALSE
2517 GL_GENERATE_FLOAT_H_TRUE
2518 FLOAT_H
2519 NEXT_AS_FIRST_DIRECTIVE_FLOAT_H
2520 NEXT_FLOAT_H
2521 EOVERFLOW_VALUE
2522 EOVERFLOW_HIDDEN
2523 ENOLINK_VALUE
2524 ENOLINK_HIDDEN
2525 EMULTIHOP_VALUE
2526 EMULTIHOP_HIDDEN
2527 GL_GENERATE_ERRNO_H_FALSE
2528 GL_GENERATE_ERRNO_H_TRUE
2529 ERRNO_H
2530 NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
2531 NEXT_ERRNO_H
2532 PRAGMA_COLUMNS
2533 PRAGMA_SYSTEM_HEADER
2534 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
2535 INCLUDE_NEXT
2536 pkglibexecdir
2537 runstatedir
2538 lispdir
2539 GL_GENERATE_ALLOCA_H_FALSE
2540 GL_GENERATE_ALLOCA_H_TRUE
2541 ALLOCA_H
2542 ALLOCA
2543 GL_COND_LIBTOOL_FALSE
2544 GL_COND_LIBTOOL_TRUE
2545 WOE32_FALSE
2546 WOE32_TRUE
2547 RC
2548 OTOOL64
2549 OTOOL
2550 LIPO
2551 NMEDIT
2552 DSYMUTIL
2553 MANIFEST_TOOL
2554 LN_S
2555 NM
2556 ac_ct_DUMPBIN
2557 DUMPBIN
2558 LD
2559 FGREP
2560 SED
2561 LIBTOOL
2562 OBJDUMP
2563 DLLTOOL
2564 AS
2565 RANLIB
2566 ARFLAGS
2567 ac_ct_AR
2568 AR
2569 EGREP
2570 GREP
2571 host_os
2572 host_vendor
2573 host_cpu
2574 host
2575 build_os
2576 build_vendor
2577 build_cpu
2578 build
2579 CPP
2580 am__fastdepCC_FALSE
2581 am__fastdepCC_TRUE
2582 CCDEPMODE
2583 am__nodep
2584 AMDEPBACKSLASH
2585 AMDEP_FALSE
2586 AMDEP_TRUE
2587 am__quote
2588 am__include
2589 DEPDIR
2590 OBJEXT
2591 EXEEXT
2592 ac_ct_CC
2593 CPPFLAGS
2594 LDFLAGS
2595 CFLAGS
2596 CC
2597 AM_BACKSLASH
2598 AM_DEFAULT_VERBOSITY
2599 AM_DEFAULT_V
2600 AM_V
2601 am__untar
2602 am__tar
2603 AMTAR
2604 am__leading_dot
2605 SET_MAKE
2606 AWK
2607 mkdir_p
2608 MKDIR_P
2609 INSTALL_STRIP_PROGRAM
2610 STRIP
2611 install_sh
2612 MAKEINFO
2613 AUTOHEADER
2614 AUTOMAKE
2615 AUTOCONF
2616 ACLOCAL
2617 VERSION
2618 PACKAGE
2619 CYGPATH_W
2620 am__isrc
2621 INSTALL_DATA
2622 INSTALL_SCRIPT
2623 INSTALL_PROGRAM
2624 target_alias
2625 host_alias
2626 build_alias
2627 LIBS
2628 ECHO_T
2629 ECHO_N
2630 ECHO_C
2631 DEFS
2632 mandir
2633 localedir
2634 libdir
2635 psdir
2636 pdfdir
2637 dvidir
2638 htmldir
2639 infodir
2640 docdir
2641 oldincludedir
2642 includedir
2643 localstatedir
2644 sharedstatedir
2645 sysconfdir
2646 datadir
2647 datarootdir
2648 libexecdir
2649 sbindir
2650 bindir
2651 program_transform_name
2652 prefix
2653 exec_prefix
2654 PACKAGE_URL
2655 PACKAGE_BUGREPORT
2656 PACKAGE_STRING
2657 PACKAGE_VERSION
2658 PACKAGE_TARNAME
2659 PACKAGE_NAME
2660 PATH_SEPARATOR
2661 SHELL'
2662 ac_subst_files=''
2663 ac_user_opts='
2664 enable_option_checking
2665 enable_silent_rules
2666 enable_dependency_tracking
2667 enable_threads
2668 enable_shared
2669 enable_static
2670 with_pic
2671 enable_fast_install
2672 with_gnu_ld
2673 with_sysroot
2674 enable_libtool_lock
2675 enable_rpath
2676 with_libiconv_prefix
2677 with_libpth_prefix
2678 enable_relocatable
2679 enable_namespacing
2680 '
2681       ac_precious_vars='build_alias
2682 host_alias
2683 target_alias
2684 CC
2685 CFLAGS
2686 LDFLAGS
2687 LIBS
2688 CPPFLAGS
2689 CPP'
2690
2691
2692 # Initialize some variables set by options.
2693 ac_init_help=
2694 ac_init_version=false
2695 ac_unrecognized_opts=
2696 ac_unrecognized_sep=
2697 # The variables have the same names as the options, with
2698 # dashes changed to underlines.
2699 cache_file=/dev/null
2700 exec_prefix=NONE
2701 no_create=
2702 no_recursion=
2703 prefix=NONE
2704 program_prefix=NONE
2705 program_suffix=NONE
2706 program_transform_name=s,x,x,
2707 silent=
2708 site=
2709 srcdir=
2710 verbose=
2711 x_includes=NONE
2712 x_libraries=NONE
2713
2714 # Installation directory options.
2715 # These are left unexpanded so users can "make install exec_prefix=/foo"
2716 # and all the variables that are supposed to be based on exec_prefix
2717 # by default will actually change.
2718 # Use braces instead of parens because sh, perl, etc. also accept them.
2719 # (The list follows the same order as the GNU Coding Standards.)
2720 bindir='${exec_prefix}/bin'
2721 sbindir='${exec_prefix}/sbin'
2722 libexecdir='${exec_prefix}/libexec'
2723 datarootdir='${prefix}/share'
2724 datadir='${datarootdir}'
2725 sysconfdir='${prefix}/etc'
2726 sharedstatedir='${prefix}/com'
2727 localstatedir='${prefix}/var'
2728 includedir='${prefix}/include'
2729 oldincludedir='/usr/include'
2730 docdir='${datarootdir}/doc/${PACKAGE}'
2731 infodir='${datarootdir}/info'
2732 htmldir='${docdir}'
2733 dvidir='${docdir}'
2734 pdfdir='${docdir}'
2735 psdir='${docdir}'
2736 libdir='${exec_prefix}/lib'
2737 localedir='${datarootdir}/locale'
2738 mandir='${datarootdir}/man'
2739
2740 ac_prev=
2741 ac_dashdash=
2742 for ac_option
2743 do
2744   # If the previous option needs an argument, assign it.
2745   if test -n "$ac_prev"; then
2746     eval $ac_prev=\$ac_option
2747     ac_prev=
2748     continue
2749   fi
2750
2751   case $ac_option in
2752   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2753   *=)   ac_optarg= ;;
2754   *)    ac_optarg=yes ;;
2755   esac
2756
2757   # Accept the important Cygnus configure options, so we can diagnose typos.
2758
2759   case $ac_dashdash$ac_option in
2760   --)
2761     ac_dashdash=yes ;;
2762
2763   -bindir | --bindir | --bindi | --bind | --bin | --bi)
2764     ac_prev=bindir ;;
2765   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2766     bindir=$ac_optarg ;;
2767
2768   -build | --build | --buil | --bui | --bu)
2769     ac_prev=build_alias ;;
2770   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2771     build_alias=$ac_optarg ;;
2772
2773   -cache-file | --cache-file | --cache-fil | --cache-fi \
2774   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2775     ac_prev=cache_file ;;
2776   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2777   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2778     cache_file=$ac_optarg ;;
2779
2780   --config-cache | -C)
2781     cache_file=config.cache ;;
2782
2783   -datadir | --datadir | --datadi | --datad)
2784     ac_prev=datadir ;;
2785   -datadir=* | --datadir=* | --datadi=* | --datad=*)
2786     datadir=$ac_optarg ;;
2787
2788   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2789   | --dataroo | --dataro | --datar)
2790     ac_prev=datarootdir ;;
2791   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2792   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2793     datarootdir=$ac_optarg ;;
2794
2795   -disable-* | --disable-*)
2796     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2797     # Reject names that are not valid shell variable names.
2798     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2799       as_fn_error $? "invalid feature name: $ac_useropt"
2800     ac_useropt_orig=$ac_useropt
2801     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2802     case $ac_user_opts in
2803       *"
2804 "enable_$ac_useropt"
2805 "*) ;;
2806       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2807          ac_unrecognized_sep=', ';;
2808     esac
2809     eval enable_$ac_useropt=no ;;
2810
2811   -docdir | --docdir | --docdi | --doc | --do)
2812     ac_prev=docdir ;;
2813   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2814     docdir=$ac_optarg ;;
2815
2816   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2817     ac_prev=dvidir ;;
2818   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2819     dvidir=$ac_optarg ;;
2820
2821   -enable-* | --enable-*)
2822     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2823     # Reject names that are not valid shell variable names.
2824     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2825       as_fn_error $? "invalid feature name: $ac_useropt"
2826     ac_useropt_orig=$ac_useropt
2827     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2828     case $ac_user_opts in
2829       *"
2830 "enable_$ac_useropt"
2831 "*) ;;
2832       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2833          ac_unrecognized_sep=', ';;
2834     esac
2835     eval enable_$ac_useropt=\$ac_optarg ;;
2836
2837   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2838   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2839   | --exec | --exe | --ex)
2840     ac_prev=exec_prefix ;;
2841   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2842   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2843   | --exec=* | --exe=* | --ex=*)
2844     exec_prefix=$ac_optarg ;;
2845
2846   -gas | --gas | --ga | --g)
2847     # Obsolete; use --with-gas.
2848     with_gas=yes ;;
2849
2850   -help | --help | --hel | --he | -h)
2851     ac_init_help=long ;;
2852   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2853     ac_init_help=recursive ;;
2854   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2855     ac_init_help=short ;;
2856
2857   -host | --host | --hos | --ho)
2858     ac_prev=host_alias ;;
2859   -host=* | --host=* | --hos=* | --ho=*)
2860     host_alias=$ac_optarg ;;
2861
2862   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2863     ac_prev=htmldir ;;
2864   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2865   | --ht=*)
2866     htmldir=$ac_optarg ;;
2867
2868   -includedir | --includedir | --includedi | --included | --include \
2869   | --includ | --inclu | --incl | --inc)
2870     ac_prev=includedir ;;
2871   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2872   | --includ=* | --inclu=* | --incl=* | --inc=*)
2873     includedir=$ac_optarg ;;
2874
2875   -infodir | --infodir | --infodi | --infod | --info | --inf)
2876     ac_prev=infodir ;;
2877   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2878     infodir=$ac_optarg ;;
2879
2880   -libdir | --libdir | --libdi | --libd)
2881     ac_prev=libdir ;;
2882   -libdir=* | --libdir=* | --libdi=* | --libd=*)
2883     libdir=$ac_optarg ;;
2884
2885   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2886   | --libexe | --libex | --libe)
2887     ac_prev=libexecdir ;;
2888   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2889   | --libexe=* | --libex=* | --libe=*)
2890     libexecdir=$ac_optarg ;;
2891
2892   -localedir | --localedir | --localedi | --localed | --locale)
2893     ac_prev=localedir ;;
2894   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2895     localedir=$ac_optarg ;;
2896
2897   -localstatedir | --localstatedir | --localstatedi | --localstated \
2898   | --localstate | --localstat | --localsta | --localst | --locals)
2899     ac_prev=localstatedir ;;
2900   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2901   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2902     localstatedir=$ac_optarg ;;
2903
2904   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2905     ac_prev=mandir ;;
2906   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2907     mandir=$ac_optarg ;;
2908
2909   -nfp | --nfp | --nf)
2910     # Obsolete; use --without-fp.
2911     with_fp=no ;;
2912
2913   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2914   | --no-cr | --no-c | -n)
2915     no_create=yes ;;
2916
2917   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2918   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2919     no_recursion=yes ;;
2920
2921   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2922   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2923   | --oldin | --oldi | --old | --ol | --o)
2924     ac_prev=oldincludedir ;;
2925   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2926   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2927   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2928     oldincludedir=$ac_optarg ;;
2929
2930   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2931     ac_prev=prefix ;;
2932   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2933     prefix=$ac_optarg ;;
2934
2935   -program-prefix | --program-prefix | --program-prefi | --program-pref \
2936   | --program-pre | --program-pr | --program-p)
2937     ac_prev=program_prefix ;;
2938   -program-prefix=* | --program-prefix=* | --program-prefi=* \
2939   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2940     program_prefix=$ac_optarg ;;
2941
2942   -program-suffix | --program-suffix | --program-suffi | --program-suff \
2943   | --program-suf | --program-su | --program-s)
2944     ac_prev=program_suffix ;;
2945   -program-suffix=* | --program-suffix=* | --program-suffi=* \
2946   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2947     program_suffix=$ac_optarg ;;
2948
2949   -program-transform-name | --program-transform-name \
2950   | --program-transform-nam | --program-transform-na \
2951   | --program-transform-n | --program-transform- \
2952   | --program-transform | --program-transfor \
2953   | --program-transfo | --program-transf \
2954   | --program-trans | --program-tran \
2955   | --progr-tra | --program-tr | --program-t)
2956     ac_prev=program_transform_name ;;
2957   -program-transform-name=* | --program-transform-name=* \
2958   | --program-transform-nam=* | --program-transform-na=* \
2959   | --program-transform-n=* | --program-transform-=* \
2960   | --program-transform=* | --program-transfor=* \
2961   | --program-transfo=* | --program-transf=* \
2962   | --program-trans=* | --program-tran=* \
2963   | --progr-tra=* | --program-tr=* | --program-t=*)
2964     program_transform_name=$ac_optarg ;;
2965
2966   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2967     ac_prev=pdfdir ;;
2968   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2969     pdfdir=$ac_optarg ;;
2970
2971   -psdir | --psdir | --psdi | --psd | --ps)
2972     ac_prev=psdir ;;
2973   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2974     psdir=$ac_optarg ;;
2975
2976   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2977   | -silent | --silent | --silen | --sile | --sil)
2978     silent=yes ;;
2979
2980   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2981     ac_prev=sbindir ;;
2982   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2983   | --sbi=* | --sb=*)
2984     sbindir=$ac_optarg ;;
2985
2986   -sharedstatedir | --sharedstatedir | --sharedstatedi \
2987   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2988   | --sharedst | --shareds | --shared | --share | --shar \
2989   | --sha | --sh)
2990     ac_prev=sharedstatedir ;;
2991   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2992   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2993   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2994   | --sha=* | --sh=*)
2995     sharedstatedir=$ac_optarg ;;
2996
2997   -site | --site | --sit)
2998     ac_prev=site ;;
2999   -site=* | --site=* | --sit=*)
3000     site=$ac_optarg ;;
3001
3002   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3003     ac_prev=srcdir ;;
3004   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3005     srcdir=$ac_optarg ;;
3006
3007   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
3008   | --syscon | --sysco | --sysc | --sys | --sy)
3009     ac_prev=sysconfdir ;;
3010   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
3011   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
3012     sysconfdir=$ac_optarg ;;
3013
3014   -target | --target | --targe | --targ | --tar | --ta | --t)
3015     ac_prev=target_alias ;;
3016   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
3017     target_alias=$ac_optarg ;;
3018
3019   -v | -verbose | --verbose | --verbos | --verbo | --verb)
3020     verbose=yes ;;
3021
3022   -version | --version | --versio | --versi | --vers | -V)
3023     ac_init_version=: ;;
3024
3025   -with-* | --with-*)
3026     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3027     # Reject names that are not valid shell variable names.
3028     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
3029       as_fn_error $? "invalid package name: $ac_useropt"
3030     ac_useropt_orig=$ac_useropt
3031     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
3032     case $ac_user_opts in
3033       *"
3034 "with_$ac_useropt"
3035 "*) ;;
3036       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
3037          ac_unrecognized_sep=', ';;
3038     esac
3039     eval with_$ac_useropt=\$ac_optarg ;;
3040
3041   -without-* | --without-*)
3042     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3043     # Reject names that are not valid shell variable names.
3044     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
3045       as_fn_error $? "invalid package name: $ac_useropt"
3046     ac_useropt_orig=$ac_useropt
3047     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
3048     case $ac_user_opts in
3049       *"
3050 "with_$ac_useropt"
3051 "*) ;;
3052       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
3053          ac_unrecognized_sep=', ';;
3054     esac
3055     eval with_$ac_useropt=no ;;
3056
3057   --x)
3058     # Obsolete; use --with-x.
3059     with_x=yes ;;
3060
3061   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
3062   | --x-incl | --x-inc | --x-in | --x-i)
3063     ac_prev=x_includes ;;
3064   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
3065   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
3066     x_includes=$ac_optarg ;;
3067
3068   -x-libraries | --x-libraries | --x-librarie | --x-librari \
3069   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
3070     ac_prev=x_libraries ;;
3071   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
3072   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
3073     x_libraries=$ac_optarg ;;
3074
3075   -*) as_fn_error $? "unrecognized option: \`$ac_option'
3076 Try \`$0 --help' for more information"
3077     ;;
3078
3079   *=*)
3080     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
3081     # Reject names that are not valid shell variable names.
3082     case $ac_envvar in #(
3083       '' | [0-9]* | *[!_$as_cr_alnum]* )
3084       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
3085     esac
3086     eval $ac_envvar=\$ac_optarg
3087     export $ac_envvar ;;
3088
3089   *)
3090     # FIXME: should be removed in autoconf 3.0.
3091     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
3092     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3093       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
3094     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
3095     ;;
3096
3097   esac
3098 done
3099
3100 if test -n "$ac_prev"; then
3101   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
3102   as_fn_error $? "missing argument to $ac_option"
3103 fi
3104
3105 if test -n "$ac_unrecognized_opts"; then
3106   case $enable_option_checking in
3107     no) ;;
3108     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
3109     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
3110   esac
3111 fi
3112
3113 # Check all directory arguments for consistency.
3114 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
3115                 datadir sysconfdir sharedstatedir localstatedir includedir \
3116                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
3117                 libdir localedir mandir
3118 do
3119   eval ac_val=\$$ac_var
3120   # Remove trailing slashes.
3121   case $ac_val in
3122     */ )
3123       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
3124       eval $ac_var=\$ac_val;;
3125   esac
3126   # Be sure to have absolute directory names.
3127   case $ac_val in
3128     [\\/$]* | ?:[\\/]* )  continue;;
3129     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
3130   esac
3131   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
3132 done
3133
3134 # There might be people who depend on the old broken behavior: `$host'
3135 # used to hold the argument of --host etc.
3136 # FIXME: To remove some day.
3137 build=$build_alias
3138 host=$host_alias
3139 target=$target_alias
3140
3141 # FIXME: To remove some day.
3142 if test "x$host_alias" != x; then
3143   if test "x$build_alias" = x; then
3144     cross_compiling=maybe
3145   elif test "x$build_alias" != "x$host_alias"; then
3146     cross_compiling=yes
3147   fi
3148 fi
3149
3150 ac_tool_prefix=
3151 test -n "$host_alias" && ac_tool_prefix=$host_alias-
3152
3153 test "$silent" = yes && exec 6>/dev/null
3154
3155
3156 ac_pwd=`pwd` && test -n "$ac_pwd" &&
3157 ac_ls_di=`ls -di .` &&
3158 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
3159   as_fn_error $? "working directory cannot be determined"
3160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
3161   as_fn_error $? "pwd does not report name of working directory"
3162
3163
3164 # Find the source files, if location was not specified.
3165 if test -z "$srcdir"; then
3166   ac_srcdir_defaulted=yes
3167   # Try the directory containing this script, then the parent directory.
3168   ac_confdir=`$as_dirname -- "$as_myself" ||
3169 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3170          X"$as_myself" : 'X\(//\)[^/]' \| \
3171          X"$as_myself" : 'X\(//\)$' \| \
3172          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
3173 $as_echo X"$as_myself" |
3174     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3175             s//\1/
3176             q
3177           }
3178           /^X\(\/\/\)[^/].*/{
3179             s//\1/
3180             q
3181           }
3182           /^X\(\/\/\)$/{
3183             s//\1/
3184             q
3185           }
3186           /^X\(\/\).*/{
3187             s//\1/
3188             q
3189           }
3190           s/.*/./; q'`
3191   srcdir=$ac_confdir
3192   if test ! -r "$srcdir/$ac_unique_file"; then
3193     srcdir=..
3194   fi
3195 else
3196   ac_srcdir_defaulted=no
3197 fi
3198 if test ! -r "$srcdir/$ac_unique_file"; then
3199   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
3200   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
3201 fi
3202 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
3203 ac_abs_confdir=`(
3204         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
3205         pwd)`
3206 # When building in place, set srcdir=.
3207 if test "$ac_abs_confdir" = "$ac_pwd"; then
3208   srcdir=.
3209 fi
3210 # Remove unnecessary trailing slashes from srcdir.
3211 # Double slashes in file names in object file debugging info
3212 # mess up M-x gdb in Emacs.
3213 case $srcdir in
3214 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
3215 esac
3216 for ac_var in $ac_precious_vars; do
3217   eval ac_env_${ac_var}_set=\${${ac_var}+set}
3218   eval ac_env_${ac_var}_value=\$${ac_var}
3219   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
3220   eval ac_cv_env_${ac_var}_value=\$${ac_var}
3221 done
3222
3223 #
3224 # Report the --help message.
3225 #
3226 if test "$ac_init_help" = "long"; then
3227   # Omit some internal or obsolete options to make the list less imposing.
3228   # This message is too long to be a string in the A/UX 3.1 sh.
3229   cat <<_ACEOF
3230 \`configure' configures this package to adapt to many kinds of systems.
3231
3232 Usage: $0 [OPTION]... [VAR=VALUE]...
3233
3234 To assign environment variables (e.g., CC, CFLAGS...), specify them as
3235 VAR=VALUE.  See below for descriptions of some of the useful variables.
3236
3237 Defaults for the options are specified in brackets.
3238
3239 Configuration:
3240   -h, --help              display this help and exit
3241       --help=short        display options specific to this package
3242       --help=recursive    display the short help of all the included packages
3243   -V, --version           display version information and exit
3244   -q, --quiet, --silent   do not print \`checking ...' messages
3245       --cache-file=FILE   cache test results in FILE [disabled]
3246   -C, --config-cache      alias for \`--cache-file=config.cache'
3247   -n, --no-create         do not create output files
3248       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
3249
3250 Installation directories:
3251   --prefix=PREFIX         install architecture-independent files in PREFIX
3252                           [$ac_default_prefix]
3253   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
3254                           [PREFIX]
3255
3256 By default, \`make install' will install all the files in
3257 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
3258 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
3259 for instance \`--prefix=\$HOME'.
3260
3261 For better control, use the options below.
3262
3263 Fine tuning of the installation directories:
3264   --bindir=DIR            user executables [EPREFIX/bin]
3265   --sbindir=DIR           system admin executables [EPREFIX/sbin]
3266   --libexecdir=DIR        program executables [EPREFIX/libexec]
3267   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
3268   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
3269   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
3270   --libdir=DIR            object code libraries [EPREFIX/lib]
3271   --includedir=DIR        C header files [PREFIX/include]
3272   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
3273   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
3274   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
3275   --infodir=DIR           info documentation [DATAROOTDIR/info]
3276   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
3277   --mandir=DIR            man documentation [DATAROOTDIR/man]
3278   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
3279   --htmldir=DIR           html documentation [DOCDIR]
3280   --dvidir=DIR            dvi documentation [DOCDIR]
3281   --pdfdir=DIR            pdf documentation [DOCDIR]
3282   --psdir=DIR             ps documentation [DOCDIR]
3283 _ACEOF
3284
3285   cat <<\_ACEOF
3286
3287 Program names:
3288   --program-prefix=PREFIX            prepend PREFIX to installed program names
3289   --program-suffix=SUFFIX            append SUFFIX to installed program names
3290   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
3291
3292 System types:
3293   --build=BUILD     configure for building on BUILD [guessed]
3294   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
3295 _ACEOF
3296 fi
3297
3298 if test -n "$ac_init_help"; then
3299
3300   cat <<\_ACEOF
3301
3302 Optional Features:
3303   --disable-option-checking  ignore unrecognized --enable/--with options
3304   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
3305   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
3306   --enable-silent-rules   less verbose build output (undo: "make V=1")
3307   --disable-silent-rules  verbose build output (undo: "make V=0")
3308   --enable-dependency-tracking
3309                           do not reject slow dependency extractors
3310   --disable-dependency-tracking
3311                           speeds up one-time build
3312   --enable-threads={posix|solaris|pth|windows}
3313                           specify multithreading API
3314   --disable-threads       build without multithread safety
3315   --enable-shared[=PKGS]  build shared libraries [default=yes]
3316   --enable-static[=PKGS]  build static libraries [default=yes]
3317   --enable-fast-install[=PKGS]
3318                           optimize for fast installation [default=yes]
3319   --disable-libtool-lock  avoid locking (might break parallel builds)
3320   --disable-rpath         do not hardcode runtime library paths
3321   --enable-relocatable    install a package that can be moved in the file
3322                           system
3323   --disable-namespacing   build a library that exports undesired symbols
3324
3325 Optional Packages:
3326   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
3327   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
3328   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
3329                           both]
3330   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
3331   --with-sysroot=DIR Search for dependent libraries within DIR
3332                         (or the compiler's sysroot if not specified).
3333   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
3334   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
3335   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
3336   --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
3337   --without-libpth-prefix     don't search for libpth in includedir and libdir
3338
3339 Some influential environment variables:
3340   CC          C compiler command
3341   CFLAGS      C compiler flags
3342   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
3343               nonstandard directory <lib dir>
3344   LIBS        libraries to pass to the linker, e.g. -l<library>
3345   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
3346               you have headers in a nonstandard directory <include dir>
3347   CPP         C preprocessor
3348
3349 Use these variables to override the choices made by `configure' or to help
3350 it to find libraries and programs with nonstandard names/locations.
3351
3352 Report bugs to the package provider.
3353 _ACEOF
3354 ac_status=$?
3355 fi
3356
3357 if test "$ac_init_help" = "recursive"; then
3358   # If there are subdirs, report their specific --help.
3359   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
3360     test -d "$ac_dir" ||
3361       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
3362       continue
3363     ac_builddir=.
3364
3365 case "$ac_dir" in
3366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3367 *)
3368   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3369   # A ".." for each directory in $ac_dir_suffix.
3370   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3371   case $ac_top_builddir_sub in
3372   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3373   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3374   esac ;;
3375 esac
3376 ac_abs_top_builddir=$ac_pwd
3377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3378 # for backward compatibility:
3379 ac_top_builddir=$ac_top_build_prefix
3380
3381 case $srcdir in
3382   .)  # We are building in place.
3383     ac_srcdir=.
3384     ac_top_srcdir=$ac_top_builddir_sub
3385     ac_abs_top_srcdir=$ac_pwd ;;
3386   [\\/]* | ?:[\\/]* )  # Absolute name.
3387     ac_srcdir=$srcdir$ac_dir_suffix;
3388     ac_top_srcdir=$srcdir
3389     ac_abs_top_srcdir=$srcdir ;;
3390   *) # Relative name.
3391     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3392     ac_top_srcdir=$ac_top_build_prefix$srcdir
3393     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3394 esac
3395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3396
3397     cd "$ac_dir" || { ac_status=$?; continue; }
3398     # Check for guested configure.
3399     if test -f "$ac_srcdir/configure.gnu"; then
3400       echo &&
3401       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
3402     elif test -f "$ac_srcdir/configure"; then
3403       echo &&
3404       $SHELL "$ac_srcdir/configure" --help=recursive
3405     else
3406       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3407     fi || ac_status=$?
3408     cd "$ac_pwd" || { ac_status=$?; break; }
3409   done
3410 fi
3411
3412 test -n "$ac_init_help" && exit $ac_status
3413 if $ac_init_version; then
3414   cat <<\_ACEOF
3415 configure
3416 generated by GNU Autoconf 2.69
3417
3418 Copyright (C) 2012 Free Software Foundation, Inc.
3419 This configure script is free software; the Free Software Foundation
3420 gives unlimited permission to copy, distribute and modify it.
3421 _ACEOF
3422   exit
3423 fi
3424
3425 ## ------------------------ ##
3426 ## Autoconf initialization. ##
3427 ## ------------------------ ##
3428
3429 # ac_fn_c_try_compile LINENO
3430 # --------------------------
3431 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3432 ac_fn_c_try_compile ()
3433 {
3434   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3435   rm -f conftest.$ac_objext
3436   if { { ac_try="$ac_compile"
3437 case "(($ac_try" in
3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439   *) ac_try_echo=$ac_try;;
3440 esac
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443   (eval "$ac_compile") 2>conftest.err
3444   ac_status=$?
3445   if test -s conftest.err; then
3446     grep -v '^ *+' conftest.err >conftest.er1
3447     cat conftest.er1 >&5
3448     mv -f conftest.er1 conftest.err
3449   fi
3450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451   test $ac_status = 0; } && {
3452          test -z "$ac_c_werror_flag" ||
3453          test ! -s conftest.err
3454        } && test -s conftest.$ac_objext; then :
3455   ac_retval=0
3456 else
3457   $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3459
3460         ac_retval=1
3461 fi
3462   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3463   as_fn_set_status $ac_retval
3464
3465 } # ac_fn_c_try_compile
3466
3467 # ac_fn_c_try_cpp LINENO
3468 # ----------------------
3469 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3470 ac_fn_c_try_cpp ()
3471 {
3472   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3473   if { { ac_try="$ac_cpp conftest.$ac_ext"
3474 case "(($ac_try" in
3475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476   *) ac_try_echo=$ac_try;;
3477 esac
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3481   ac_status=$?
3482   if test -s conftest.err; then
3483     grep -v '^ *+' conftest.err >conftest.er1
3484     cat conftest.er1 >&5
3485     mv -f conftest.er1 conftest.err
3486   fi
3487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488   test $ac_status = 0; } > conftest.i && {
3489          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3490          test ! -s conftest.err
3491        }; then :
3492   ac_retval=0
3493 else
3494   $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3496
3497     ac_retval=1
3498 fi
3499   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3500   as_fn_set_status $ac_retval
3501
3502 } # ac_fn_c_try_cpp
3503
3504 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3505 # -------------------------------------------------------
3506 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3507 # the include files in INCLUDES and setting the cache variable VAR
3508 # accordingly.
3509 ac_fn_c_check_header_mongrel ()
3510 {
3511   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3512   if eval \${$3+:} false; then :
3513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3514 $as_echo_n "checking for $2... " >&6; }
3515 if eval \${$3+:} false; then :
3516   $as_echo_n "(cached) " >&6
3517 fi
3518 eval ac_res=\$$3
3519                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3520 $as_echo "$ac_res" >&6; }
3521 else
3522   # Is the header compilable?
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3524 $as_echo_n "checking $2 usability... " >&6; }
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h.  */
3527 $4
3528 #include <$2>
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531   ac_header_compiler=yes
3532 else
3533   ac_header_compiler=no
3534 fi
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3537 $as_echo "$ac_header_compiler" >&6; }
3538
3539 # Is the header present?
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3541 $as_echo_n "checking $2 presence... " >&6; }
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h.  */
3544 #include <$2>
3545 _ACEOF
3546 if ac_fn_c_try_cpp "$LINENO"; then :
3547   ac_header_preproc=yes
3548 else
3549   ac_header_preproc=no
3550 fi
3551 rm -f conftest.err conftest.i conftest.$ac_ext
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3553 $as_echo "$ac_header_preproc" >&6; }
3554
3555 # So?  What about this header?
3556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3557   yes:no: )
3558     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3559 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3560     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3561 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3562     ;;
3563   no:yes:* )
3564     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3565 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3566     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3567 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3568     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3569 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3570     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3571 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3572     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3573 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3574     ;;
3575 esac
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3577 $as_echo_n "checking for $2... " >&6; }
3578 if eval \${$3+:} false; then :
3579   $as_echo_n "(cached) " >&6
3580 else
3581   eval "$3=\$ac_header_compiler"
3582 fi
3583 eval ac_res=\$$3
3584                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3585 $as_echo "$ac_res" >&6; }
3586 fi
3587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3588
3589 } # ac_fn_c_check_header_mongrel
3590
3591 # ac_fn_c_try_run LINENO
3592 # ----------------------
3593 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3594 # that executables *can* be run.
3595 ac_fn_c_try_run ()
3596 {
3597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3598   if { { ac_try="$ac_link"
3599 case "(($ac_try" in
3600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601   *) ac_try_echo=$ac_try;;
3602 esac
3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605   (eval "$ac_link") 2>&5
3606   ac_status=$?
3607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3609   { { case "(($ac_try" in
3610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611   *) ac_try_echo=$ac_try;;
3612 esac
3613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614 $as_echo "$ac_try_echo"; } >&5
3615   (eval "$ac_try") 2>&5
3616   ac_status=$?
3617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618   test $ac_status = 0; }; }; then :
3619   ac_retval=0
3620 else
3621   $as_echo "$as_me: program exited with status $ac_status" >&5
3622        $as_echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3624
3625        ac_retval=$ac_status
3626 fi
3627   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3629   as_fn_set_status $ac_retval
3630
3631 } # ac_fn_c_try_run
3632
3633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3634 # -------------------------------------------------------
3635 # Tests whether HEADER exists and can be compiled using the include files in
3636 # INCLUDES, setting the cache variable VAR accordingly.
3637 ac_fn_c_check_header_compile ()
3638 {
3639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3641 $as_echo_n "checking for $2... " >&6; }
3642 if eval \${$3+:} false; then :
3643   $as_echo_n "(cached) " >&6
3644 else
3645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h.  */
3647 $4
3648 #include <$2>
3649 _ACEOF
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651   eval "$3=yes"
3652 else
3653   eval "$3=no"
3654 fi
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 fi
3657 eval ac_res=\$$3
3658                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3659 $as_echo "$ac_res" >&6; }
3660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3661
3662 } # ac_fn_c_check_header_compile
3663
3664 # ac_fn_c_try_link LINENO
3665 # -----------------------
3666 # Try to link conftest.$ac_ext, and return whether this succeeded.
3667 ac_fn_c_try_link ()
3668 {
3669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3670   rm -f conftest.$ac_objext conftest$ac_exeext
3671   if { { ac_try="$ac_link"
3672 case "(($ac_try" in
3673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674   *) ac_try_echo=$ac_try;;
3675 esac
3676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677 $as_echo "$ac_try_echo"; } >&5
3678   (eval "$ac_link") 2>conftest.err
3679   ac_status=$?
3680   if test -s conftest.err; then
3681     grep -v '^ *+' conftest.err >conftest.er1
3682     cat conftest.er1 >&5
3683     mv -f conftest.er1 conftest.err
3684   fi
3685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686   test $ac_status = 0; } && {
3687          test -z "$ac_c_werror_flag" ||
3688          test ! -s conftest.err
3689        } && test -s conftest$ac_exeext && {
3690          test "$cross_compiling" = yes ||
3691          test -x conftest$ac_exeext
3692        }; then :
3693   ac_retval=0
3694 else
3695   $as_echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3697
3698         ac_retval=1
3699 fi
3700   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3701   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3702   # interfere with the next link command; also delete a directory that is
3703   # left behind by Apple's compiler.  We do this before executing the actions.
3704   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3706   as_fn_set_status $ac_retval
3707
3708 } # ac_fn_c_try_link
3709
3710 # ac_fn_c_check_func LINENO FUNC VAR
3711 # ----------------------------------
3712 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3713 ac_fn_c_check_func ()
3714 {
3715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3717 $as_echo_n "checking for $2... " >&6; }
3718 if eval \${$3+:} false; then :
3719   $as_echo_n "(cached) " >&6
3720 else
3721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h.  */
3723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3725 #define $2 innocuous_$2
3726
3727 /* System header to define __stub macros and hopefully few prototypes,
3728     which can conflict with char $2 (); below.
3729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730     <limits.h> exists even on freestanding compilers.  */
3731
3732 #ifdef __STDC__
3733 # include <limits.h>
3734 #else
3735 # include <assert.h>
3736 #endif
3737
3738 #undef $2
3739
3740 /* Override any GCC internal prototype to avoid an error.
3741    Use char because int might match the return type of a GCC
3742    builtin and then its argument prototype would still apply.  */
3743 #ifdef __cplusplus
3744 extern "C"
3745 #endif
3746 char $2 ();
3747 /* The GNU C library defines this for functions which it implements
3748     to always fail with ENOSYS.  Some functions are actually named
3749     something starting with __ and the normal name is an alias.  */
3750 #if defined __stub_$2 || defined __stub___$2
3751 choke me
3752 #endif
3753
3754 int
3755 main ()
3756 {
3757 return $2 ();
3758   ;
3759   return 0;
3760 }
3761 _ACEOF
3762 if ac_fn_c_try_link "$LINENO"; then :
3763   eval "$3=yes"
3764 else
3765   eval "$3=no"
3766 fi
3767 rm -f core conftest.err conftest.$ac_objext \
3768     conftest$ac_exeext conftest.$ac_ext
3769 fi
3770 eval ac_res=\$$3
3771                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3772 $as_echo "$ac_res" >&6; }
3773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3774
3775 } # ac_fn_c_check_func
3776
3777 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3778 # -------------------------------------------
3779 # Tests whether TYPE exists after having included INCLUDES, setting cache
3780 # variable VAR accordingly.
3781 ac_fn_c_check_type ()
3782 {
3783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3785 $as_echo_n "checking for $2... " >&6; }
3786 if eval \${$3+:} false; then :
3787   $as_echo_n "(cached) " >&6
3788 else
3789   eval "$3=no"
3790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h.  */
3792 $4
3793 int
3794 main ()
3795 {
3796 if (sizeof ($2))
3797          return 0;
3798   ;
3799   return 0;
3800 }
3801 _ACEOF
3802 if ac_fn_c_try_compile "$LINENO"; then :
3803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h.  */
3805 $4
3806 int
3807 main ()
3808 {
3809 if (sizeof (($2)))
3810             return 0;
3811   ;
3812   return 0;
3813 }
3814 _ACEOF
3815 if ac_fn_c_try_compile "$LINENO"; then :
3816
3817 else
3818   eval "$3=yes"
3819 fi
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 fi
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 fi
3824 eval ac_res=\$$3
3825                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3826 $as_echo "$ac_res" >&6; }
3827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3828
3829 } # ac_fn_c_check_type
3830
3831 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
3832 # --------------------------------------------
3833 # Tries to find the compile-time value of EXPR in a program that includes
3834 # INCLUDES, setting VAR accordingly. Returns whether the value could be
3835 # computed
3836 ac_fn_c_compute_int ()
3837 {
3838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3839   if test "$cross_compiling" = yes; then
3840     # Depending upon the size, compute the lo and hi bounds.
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h.  */
3843 $4
3844 int
3845 main ()
3846 {
3847 static int test_array [1 - 2 * !(($2) >= 0)];
3848 test_array [0] = 0;
3849 return test_array [0];
3850
3851   ;
3852   return 0;
3853 }
3854 _ACEOF
3855 if ac_fn_c_try_compile "$LINENO"; then :
3856   ac_lo=0 ac_mid=0
3857   while :; do
3858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h.  */
3860 $4
3861 int
3862 main ()
3863 {
3864 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3865 test_array [0] = 0;
3866 return test_array [0];
3867
3868   ;
3869   return 0;
3870 }
3871 _ACEOF
3872 if ac_fn_c_try_compile "$LINENO"; then :
3873   ac_hi=$ac_mid; break
3874 else
3875   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3876                         if test $ac_lo -le $ac_mid; then
3877                           ac_lo= ac_hi=
3878                           break
3879                         fi
3880                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3881 fi
3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883   done
3884 else
3885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h.  */
3887 $4
3888 int
3889 main ()
3890 {
3891 static int test_array [1 - 2 * !(($2) < 0)];
3892 test_array [0] = 0;
3893 return test_array [0];
3894
3895   ;
3896   return 0;
3897 }
3898 _ACEOF
3899 if ac_fn_c_try_compile "$LINENO"; then :
3900   ac_hi=-1 ac_mid=-1
3901   while :; do
3902     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h.  */
3904 $4
3905 int
3906 main ()
3907 {
3908 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3909 test_array [0] = 0;
3910 return test_array [0];
3911
3912   ;
3913   return 0;
3914 }
3915 _ACEOF
3916 if ac_fn_c_try_compile "$LINENO"; then :
3917   ac_lo=$ac_mid; break
3918 else
3919   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3920                         if test $ac_mid -le $ac_hi; then
3921                           ac_lo= ac_hi=
3922                           break
3923                         fi
3924                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3925 fi
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927   done
3928 else
3929   ac_lo= ac_hi=
3930 fi
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932 fi
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 # Binary search between lo and hi bounds.
3935 while test "x$ac_lo" != "x$ac_hi"; do
3936   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h.  */
3939 $4
3940 int
3941 main ()
3942 {
3943 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3944 test_array [0] = 0;
3945 return test_array [0];
3946
3947   ;
3948   return 0;
3949 }
3950 _ACEOF
3951 if ac_fn_c_try_compile "$LINENO"; then :
3952   ac_hi=$ac_mid
3953 else
3954   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3955 fi
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 done
3958 case $ac_lo in #((
3959 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3960 '') ac_retval=1 ;;
3961 esac
3962   else
3963     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h.  */
3965 $4
3966 static long int longval () { return $2; }
3967 static unsigned long int ulongval () { return $2; }
3968 #include <stdio.h>
3969 #include <stdlib.h>
3970 int
3971 main ()
3972 {
3973
3974   FILE *f = fopen ("conftest.val", "w");
3975   if (! f)
3976     return 1;
3977   if (($2) < 0)
3978     {
3979       long int i = longval ();
3980       if (i != ($2))
3981         return 1;
3982       fprintf (f, "%ld", i);
3983     }
3984   else
3985     {
3986       unsigned long int i = ulongval ();
3987       if (i != ($2))
3988         return 1;
3989       fprintf (f, "%lu", i);
3990     }
3991   /* Do not output a trailing newline, as this causes \r\n confusion
3992      on some platforms.  */
3993   return ferror (f) || fclose (f) != 0;
3994
3995   ;
3996   return 0;
3997 }
3998 _ACEOF
3999 if ac_fn_c_try_run "$LINENO"; then :
4000   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
4001 else
4002   ac_retval=1
4003 fi
4004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4005   conftest.$ac_objext conftest.beam conftest.$ac_ext
4006 rm -f conftest.val
4007
4008   fi
4009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
4010   as_fn_set_status $ac_retval
4011
4012 } # ac_fn_c_compute_int
4013
4014 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
4015 # ---------------------------------------------
4016 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
4017 # accordingly.
4018 ac_fn_c_check_decl ()
4019 {
4020   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4021   as_decl_name=`echo $2|sed 's/ *(.*//'`
4022   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
4023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
4024 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
4025 if eval \${$3+:} false; then :
4026   $as_echo_n "(cached) " >&6
4027 else
4028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h.  */
4030 $4
4031 int
4032 main ()
4033 {
4034 #ifndef $as_decl_name
4035 #ifdef __cplusplus
4036   (void) $as_decl_use;
4037 #else
4038   (void) $as_decl_name;
4039 #endif
4040 #endif
4041
4042   ;
4043   return 0;
4044 }
4045 _ACEOF
4046 if ac_fn_c_try_compile "$LINENO"; then :
4047   eval "$3=yes"
4048 else
4049   eval "$3=no"
4050 fi
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 fi
4053 eval ac_res=\$$3
4054                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4055 $as_echo "$ac_res" >&6; }
4056   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
4057
4058 } # ac_fn_c_check_decl
4059 cat >config.log <<_ACEOF
4060 This file contains any messages produced by compilers while
4061 running configure, to aid debugging if configure makes a mistake.
4062
4063 It was created by $as_me, which was
4064 generated by GNU Autoconf 2.69.  Invocation command line was
4065
4066   $ $0 $@
4067
4068 _ACEOF
4069 exec 5>>config.log
4070 {
4071 cat <<_ASUNAME
4072 ## --------- ##
4073 ## Platform. ##
4074 ## --------- ##
4075
4076 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
4077 uname -m = `(uname -m) 2>/dev/null || echo unknown`
4078 uname -r = `(uname -r) 2>/dev/null || echo unknown`
4079 uname -s = `(uname -s) 2>/dev/null || echo unknown`
4080 uname -v = `(uname -v) 2>/dev/null || echo unknown`
4081
4082 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
4083 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
4084
4085 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
4086 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
4087 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
4088 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
4089 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
4090 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
4091 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
4092
4093 _ASUNAME
4094
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 for as_dir in $PATH
4097 do
4098   IFS=$as_save_IFS
4099   test -z "$as_dir" && as_dir=.
4100     $as_echo "PATH: $as_dir"
4101   done
4102 IFS=$as_save_IFS
4103
4104 } >&5
4105
4106 cat >&5 <<_ACEOF
4107
4108
4109 ## ----------- ##
4110 ## Core tests. ##
4111 ## ----------- ##
4112
4113 _ACEOF
4114
4115
4116 # Keep a trace of the command line.
4117 # Strip out --no-create and --no-recursion so they do not pile up.
4118 # Strip out --silent because we don't want to record it for future runs.
4119 # Also quote any args containing shell meta-characters.
4120 # Make two passes to allow for proper duplicate-argument suppression.
4121 ac_configure_args=
4122 ac_configure_args0=
4123 ac_configure_args1=
4124 ac_must_keep_next=false
4125 for ac_pass in 1 2
4126 do
4127   for ac_arg
4128   do
4129     case $ac_arg in
4130     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
4131     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4132     | -silent | --silent | --silen | --sile | --sil)
4133       continue ;;
4134     *\'*)
4135       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4136     esac
4137     case $ac_pass in
4138     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
4139     2)
4140       as_fn_append ac_configure_args1 " '$ac_arg'"
4141       if test $ac_must_keep_next = true; then
4142         ac_must_keep_next=false # Got value, back to normal.
4143       else
4144         case $ac_arg in
4145           *=* | --config-cache | -C | -disable-* | --disable-* \
4146           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4147           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4148           | -with-* | --with-* | -without-* | --without-* | --x)
4149             case "$ac_configure_args0 " in
4150               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4151             esac
4152             ;;
4153           -* ) ac_must_keep_next=true ;;
4154         esac
4155       fi
4156       as_fn_append ac_configure_args " '$ac_arg'"
4157       ;;
4158     esac
4159   done
4160 done
4161 { ac_configure_args0=; unset ac_configure_args0;}
4162 { ac_configure_args1=; unset ac_configure_args1;}
4163
4164 # When interrupted or exit'd, cleanup temporary files, and complete
4165 # config.log.  We remove comments because anyway the quotes in there
4166 # would cause problems or look ugly.
4167 # WARNING: Use '\'' to represent an apostrophe within the trap.
4168 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
4169 trap 'exit_status=$?
4170   # Save into config.log some information that might help in debugging.
4171   {
4172     echo
4173
4174     $as_echo "## ---------------- ##
4175 ## Cache variables. ##
4176 ## ---------------- ##"
4177     echo
4178     # The following way of writing the cache mishandles newlines in values,
4179 (
4180   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
4181     eval ac_val=\$$ac_var
4182     case $ac_val in #(
4183     *${as_nl}*)
4184       case $ac_var in #(
4185       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4187       esac
4188       case $ac_var in #(
4189       _ | IFS | as_nl) ;; #(
4190       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4191       *) { eval $ac_var=; unset $ac_var;} ;;
4192       esac ;;
4193     esac
4194   done
4195   (set) 2>&1 |
4196     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
4197     *${as_nl}ac_space=\ *)
4198       sed -n \
4199         "s/'\''/'\''\\\\'\'''\''/g;
4200           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
4201       ;; #(
4202     *)
4203       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4204       ;;
4205     esac |
4206     sort
4207 )
4208     echo
4209
4210     $as_echo "## ----------------- ##
4211 ## Output variables. ##
4212 ## ----------------- ##"
4213     echo
4214     for ac_var in $ac_subst_vars
4215     do
4216       eval ac_val=\$$ac_var
4217       case $ac_val in
4218       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4219       esac
4220       $as_echo "$ac_var='\''$ac_val'\''"
4221     done | sort
4222     echo
4223
4224     if test -n "$ac_subst_files"; then
4225       $as_echo "## ------------------- ##
4226 ## File substitutions. ##
4227 ## ------------------- ##"
4228       echo
4229       for ac_var in $ac_subst_files
4230       do
4231         eval ac_val=\$$ac_var
4232         case $ac_val in
4233         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4234         esac
4235         $as_echo "$ac_var='\''$ac_val'\''"
4236       done | sort
4237       echo
4238     fi
4239
4240     if test -s confdefs.h; then
4241       $as_echo "## ----------- ##
4242 ## confdefs.h. ##
4243 ## ----------- ##"
4244       echo
4245       cat confdefs.h
4246       echo
4247     fi
4248     test "$ac_signal" != 0 &&
4249       $as_echo "$as_me: caught signal $ac_signal"
4250     $as_echo "$as_me: exit $exit_status"
4251   } >&5
4252   rm -f core *.core core.conftest.* &&
4253     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
4254     exit $exit_status
4255 ' 0
4256 for ac_signal in 1 2 13 15; do
4257   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
4258 done
4259 ac_signal=0
4260
4261 # confdefs.h avoids OS command line length limits that DEFS can exceed.
4262 rm -f -r conftest* confdefs.h
4263
4264 $as_echo "/* confdefs.h */" > confdefs.h
4265
4266 # Predefined preprocessor variables.
4267
4268 cat >>confdefs.h <<_ACEOF
4269 #define PACKAGE_NAME "$PACKAGE_NAME"
4270 _ACEOF
4271
4272 cat >>confdefs.h <<_ACEOF
4273 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
4274 _ACEOF
4275
4276 cat >>confdefs.h <<_ACEOF
4277 #define PACKAGE_VERSION "$PACKAGE_VERSION"
4278 _ACEOF
4279
4280 cat >>confdefs.h <<_ACEOF
4281 #define PACKAGE_STRING "$PACKAGE_STRING"
4282 _ACEOF
4283
4284 cat >>confdefs.h <<_ACEOF
4285 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
4286 _ACEOF
4287
4288 cat >>confdefs.h <<_ACEOF
4289 #define PACKAGE_URL "$PACKAGE_URL"
4290 _ACEOF
4291
4292
4293 # Let the site file select an alternate cache file if it wants to.
4294 # Prefer an explicitly selected file to automatically selected ones.
4295 ac_site_file1=NONE
4296 ac_site_file2=NONE
4297 if test -n "$CONFIG_SITE"; then
4298   # We do not want a PATH search for config.site.
4299   case $CONFIG_SITE in #((
4300     -*)  ac_site_file1=./$CONFIG_SITE;;
4301     */*) ac_site_file1=$CONFIG_SITE;;
4302     *)   ac_site_file1=./$CONFIG_SITE;;
4303   esac
4304 elif test "x$prefix" != xNONE; then
4305   ac_site_file1=$prefix/share/config.site
4306   ac_site_file2=$prefix/etc/config.site
4307 else
4308   ac_site_file1=$ac_default_prefix/share/config.site
4309   ac_site_file2=$ac_default_prefix/etc/config.site
4310 fi
4311 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
4312 do
4313   test "x$ac_site_file" = xNONE && continue
4314   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
4315     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
4316 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
4317     sed 's/^/| /' "$ac_site_file" >&5
4318     . "$ac_site_file" \
4319       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $? "failed to load site script $ac_site_file
4322 See \`config.log' for more details" "$LINENO" 5; }
4323   fi
4324 done
4325
4326 if test -r "$cache_file"; then
4327   # Some versions of bash will fail to source /dev/null (special files
4328   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
4329   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
4330     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
4331 $as_echo "$as_me: loading cache $cache_file" >&6;}
4332     case $cache_file in
4333       [\\/]* | ?:[\\/]* ) . "$cache_file";;
4334       *)                      . "./$cache_file";;
4335     esac
4336   fi
4337 else
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
4339 $as_echo "$as_me: creating cache $cache_file" >&6;}
4340   >$cache_file
4341 fi
4342
4343 as_fn_append ac_func_list " __fseterr"
4344 as_fn_append ac_header_list " iconv.h"
4345 as_fn_append ac_func_list " iswcntrl"
4346 as_fn_append ac_header_list " wctype.h"
4347 as_fn_append ac_func_list " iswblank"
4348 as_fn_append ac_header_list " langinfo.h"
4349 as_fn_append ac_header_list " limits.h"
4350 as_fn_append ac_header_list " unistd.h"
4351 as_fn_append ac_func_list " symlink"
4352 as_fn_append ac_header_list " math.h"
4353 as_fn_append ac_func_list " mbsinit"
4354 as_fn_append ac_func_list " mbrtowc"
4355 as_fn_append ac_header_list " sys/mman.h"
4356 as_fn_append ac_func_list " mprotect"
4357 gl_printf_safe=yes
4358 as_fn_append ac_header_list " wchar.h"
4359 as_fn_append ac_header_list " stdint.h"
4360 as_fn_append ac_header_list " features.h"
4361 as_fn_append ac_func_list " snprintf"
4362 as_fn_append ac_func_list " stpcpy"
4363 as_fn_append ac_func_list " strdup"
4364 as_fn_append ac_func_list " wcwidth"
4365 as_fn_append ac_func_list " btowc"
4366 as_fn_append ac_func_list " _set_invalid_parameter_handler"
4367 as_fn_append ac_func_list " getprogname"
4368 as_fn_append ac_func_list " getexecname"
4369 as_fn_append ac_header_list " inttypes.h"
4370 as_fn_append ac_header_list " xlocale.h"
4371 as_fn_append ac_func_list " newlocale"
4372 as_fn_append ac_func_list " setenv"
4373 as_fn_append ac_header_list " sys/socket.h"
4374 as_fn_append ac_func_list " wcrtomb"
4375 as_fn_append ac_func_list " wctob"
4376 # Check that the precious variables saved in the cache have kept the same
4377 # value.
4378 ac_cache_corrupted=false
4379 for ac_var in $ac_precious_vars; do
4380   eval ac_old_set=\$ac_cv_env_${ac_var}_set
4381   eval ac_new_set=\$ac_env_${ac_var}_set
4382   eval ac_old_val=\$ac_cv_env_${ac_var}_value
4383   eval ac_new_val=\$ac_env_${ac_var}_value
4384   case $ac_old_set,$ac_new_set in
4385     set,)
4386       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4387 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4388       ac_cache_corrupted=: ;;
4389     ,set)
4390       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4391 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4392       ac_cache_corrupted=: ;;
4393     ,);;
4394     *)
4395       if test "x$ac_old_val" != "x$ac_new_val"; then
4396         # differences in whitespace do not lead to failure.
4397         ac_old_val_w=`echo x $ac_old_val`
4398         ac_new_val_w=`echo x $ac_new_val`
4399         if test "$ac_old_val_w" != "$ac_new_val_w"; then
4400           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4401 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4402           ac_cache_corrupted=:
4403         else
4404           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4405 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4406           eval $ac_var=\$ac_old_val
4407         fi
4408         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
4409 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
4410         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
4411 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
4412       fi;;
4413   esac
4414   # Pass precious variables to config.status.
4415   if test "$ac_new_set" = set; then
4416     case $ac_new_val in
4417     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4418     *) ac_arg=$ac_var=$ac_new_val ;;
4419     esac
4420     case " $ac_configure_args " in
4421       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
4422       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4423     esac
4424   fi
4425 done
4426 if $ac_cache_corrupted; then
4427   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4429   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4430 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
4431   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
4432 fi
4433 ## -------------------- ##
4434 ## Main body of script. ##
4435 ## -------------------- ##
4436
4437 ac_ext=c
4438 ac_cpp='$CPP $CPPFLAGS'
4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4442
4443
4444
4445 ac_aux_dir=
4446 for ac_dir in build-aux "$srcdir"/build-aux; do
4447   if test -f "$ac_dir/install-sh"; then
4448     ac_aux_dir=$ac_dir
4449     ac_install_sh="$ac_aux_dir/install-sh -c"
4450     break
4451   elif test -f "$ac_dir/install.sh"; then
4452     ac_aux_dir=$ac_dir
4453     ac_install_sh="$ac_aux_dir/install.sh -c"
4454     break
4455   elif test -f "$ac_dir/shtool"; then
4456     ac_aux_dir=$ac_dir
4457     ac_install_sh="$ac_aux_dir/shtool install -c"
4458     break
4459   fi
4460 done
4461 if test -z "$ac_aux_dir"; then
4462   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
4463 fi
4464
4465 # These three variables are undocumented and unsupported,
4466 # and are intended to be withdrawn in a future Autoconf release.
4467 # They can cause serious problems if a builder's source tree is in a directory
4468 # whose full name contains unusual characters.
4469 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4470 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4471 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4472
4473
4474 . $srcdir/version.sh
4475
4476
4477
4478
4479
4480 am__api_version='1.15'
4481
4482 # Find a good install program.  We prefer a C program (faster),
4483 # so one script is as good as another.  But avoid the broken or
4484 # incompatible versions:
4485 # SysV /etc/install, /usr/sbin/install
4486 # SunOS /usr/etc/install
4487 # IRIX /sbin/install
4488 # AIX /bin/install
4489 # AmigaOS /C/install, which installs bootblocks on floppy discs
4490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4493 # OS/2's system install, which has a completely different semantic
4494 # ./install, which can be erroneously created by make from ./install.sh.
4495 # Reject install programs that cannot install multiple files.
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4497 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4498 if test -z "$INSTALL"; then
4499 if ${ac_cv_path_install+:} false; then :
4500   $as_echo_n "(cached) " >&6
4501 else
4502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH
4504 do
4505   IFS=$as_save_IFS
4506   test -z "$as_dir" && as_dir=.
4507     # Account for people who put trailing slashes in PATH elements.
4508 case $as_dir/ in #((
4509   ./ | .// | /[cC]/* | \
4510   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4511   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4512   /usr/ucb/* ) ;;
4513   *)
4514     # OSF1 and SCO ODT 3.0 have their own names for install.
4515     # Don't use installbsd from OSF since it installs stuff as root
4516     # by default.
4517     for ac_prog in ginstall scoinst install; do
4518       for ac_exec_ext in '' $ac_executable_extensions; do
4519         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4520           if test $ac_prog = install &&
4521             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4522             # AIX install.  It has an incompatible calling convention.
4523             :
4524           elif test $ac_prog = install &&
4525             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4526             # program-specific install script used by HP pwplus--don't use.
4527             :
4528           else
4529             rm -rf conftest.one conftest.two conftest.dir
4530             echo one > conftest.one
4531             echo two > conftest.two
4532             mkdir conftest.dir
4533             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4534               test -s conftest.one && test -s conftest.two &&
4535               test -s conftest.dir/conftest.one &&
4536               test -s conftest.dir/conftest.two
4537             then
4538               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4539               break 3
4540             fi
4541           fi
4542         fi
4543       done
4544     done
4545     ;;
4546 esac
4547
4548   done
4549 IFS=$as_save_IFS
4550
4551 rm -rf conftest.one conftest.two conftest.dir
4552
4553 fi
4554   if test "${ac_cv_path_install+set}" = set; then
4555     INSTALL=$ac_cv_path_install
4556   else
4557     # As a last resort, use the slow shell script.  Don't cache a
4558     # value for INSTALL within a source directory, because that will
4559     # break other packages using the cache if that directory is
4560     # removed, or if the value is a relative name.
4561     INSTALL=$ac_install_sh
4562   fi
4563 fi
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4565 $as_echo "$INSTALL" >&6; }
4566
4567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4568 # It thinks the first close brace ends the variable substitution.
4569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4570
4571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4572
4573 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4574
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4576 $as_echo_n "checking whether build environment is sane... " >&6; }
4577 # Reject unsafe characters in $srcdir or the absolute working directory
4578 # name.  Accept space and tab only in the latter.
4579 am_lf='
4580 '
4581 case `pwd` in
4582   *[\\\"\#\$\&\'\`$am_lf]*)
4583     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4584 esac
4585 case $srcdir in
4586   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
4587     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4588 esac
4589
4590 # Do 'set' in a subshell so we don't clobber the current shell's
4591 # arguments.  Must try -L first in case configure is actually a
4592 # symlink; some systems play weird games with the mod time of symlinks
4593 # (eg FreeBSD returns the mod time of the symlink's containing
4594 # directory).
4595 if (
4596    am_has_slept=no
4597    for am_try in 1 2; do
4598      echo "timestamp, slept: $am_has_slept" > conftest.file
4599      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4600      if test "$*" = "X"; then
4601         # -L didn't work.
4602         set X `ls -t "$srcdir/configure" conftest.file`
4603      fi
4604      if test "$*" != "X $srcdir/configure conftest.file" \
4605         && test "$*" != "X conftest.file $srcdir/configure"; then
4606
4607         # If neither matched, then we have a broken ls.  This can happen
4608         # if, for instance, CONFIG_SHELL is bash and it inherits a
4609         # broken ls alias from the environment.  This has actually
4610         # happened.  Such a system could not be considered "sane".
4611         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4612   alias in your environment" "$LINENO" 5
4613      fi
4614      if test "$2" = conftest.file || test $am_try -eq 2; then
4615        break
4616      fi
4617      # Just in case.
4618      sleep 1
4619      am_has_slept=yes
4620    done
4621    test "$2" = conftest.file
4622    )
4623 then
4624    # Ok.
4625    :
4626 else
4627    as_fn_error $? "newly created file is older than distributed files!
4628 Check your system clock" "$LINENO" 5
4629 fi
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4631 $as_echo "yes" >&6; }
4632 # If we didn't sleep, we still need to ensure time stamps of config.status and
4633 # generated files are strictly newer.
4634 am_sleep_pid=
4635 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4636   ( sleep 1 ) &
4637   am_sleep_pid=$!
4638 fi
4639
4640 rm -f conftest.file
4641
4642 test "$program_prefix" != NONE &&
4643   program_transform_name="s&^&$program_prefix&;$program_transform_name"
4644 # Use a double $ so make ignores it.
4645 test "$program_suffix" != NONE &&
4646   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4647 # Double any \ or $.
4648 # By default was `s,x,x', remove it if useless.
4649 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4650 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4651
4652 # Expand $ac_aux_dir to an absolute path.
4653 am_aux_dir=`cd "$ac_aux_dir" && pwd`
4654
4655 if test x"${MISSING+set}" != xset; then
4656   case $am_aux_dir in
4657   *\ * | *\     *)
4658     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4659   *)
4660     MISSING="\${SHELL} $am_aux_dir/missing" ;;
4661   esac
4662 fi
4663 # Use eval to expand $SHELL
4664 if eval "$MISSING --is-lightweight"; then
4665   am_missing_run="$MISSING "
4666 else
4667   am_missing_run=
4668   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4669 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4670 fi
4671
4672 if test x"${install_sh+set}" != xset; then
4673   case $am_aux_dir in
4674   *\ * | *\     *)
4675     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4676   *)
4677     install_sh="\${SHELL} $am_aux_dir/install-sh"
4678   esac
4679 fi
4680
4681 # Installed binaries are usually stripped using 'strip' when the user
4682 # run "make install-strip".  However 'strip' might not be the right
4683 # tool to use in cross-compilation environments, therefore Automake
4684 # will honor the 'STRIP' environment variable to overrule this program.
4685 if test "$cross_compiling" != no; then
4686   if test -n "$ac_tool_prefix"; then
4687   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4688 set dummy ${ac_tool_prefix}strip; ac_word=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if ${ac_cv_prog_STRIP+:} false; then :
4692   $as_echo_n "(cached) " >&6
4693 else
4694   if test -n "$STRIP"; then
4695   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4696 else
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 for as_dir in $PATH
4699 do
4700   IFS=$as_save_IFS
4701   test -z "$as_dir" && as_dir=.
4702     for ac_exec_ext in '' $ac_executable_extensions; do
4703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706     break 2
4707   fi
4708 done
4709   done
4710 IFS=$as_save_IFS
4711
4712 fi
4713 fi
4714 STRIP=$ac_cv_prog_STRIP
4715 if test -n "$STRIP"; then
4716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4717 $as_echo "$STRIP" >&6; }
4718 else
4719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4721 fi
4722
4723
4724 fi
4725 if test -z "$ac_cv_prog_STRIP"; then
4726   ac_ct_STRIP=$STRIP
4727   # Extract the first word of "strip", so it can be a program name with args.
4728 set dummy strip; ac_word=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4732   $as_echo_n "(cached) " >&6
4733 else
4734   if test -n "$ac_ct_STRIP"; then
4735   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4736 else
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH
4739 do
4740   IFS=$as_save_IFS
4741   test -z "$as_dir" && as_dir=.
4742     for ac_exec_ext in '' $ac_executable_extensions; do
4743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744     ac_cv_prog_ac_ct_STRIP="strip"
4745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746     break 2
4747   fi
4748 done
4749   done
4750 IFS=$as_save_IFS
4751
4752 fi
4753 fi
4754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4755 if test -n "$ac_ct_STRIP"; then
4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4757 $as_echo "$ac_ct_STRIP" >&6; }
4758 else
4759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 fi
4762
4763   if test "x$ac_ct_STRIP" = x; then
4764     STRIP=":"
4765   else
4766     case $cross_compiling:$ac_tool_warned in
4767 yes:)
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4770 ac_tool_warned=yes ;;
4771 esac
4772     STRIP=$ac_ct_STRIP
4773   fi
4774 else
4775   STRIP="$ac_cv_prog_STRIP"
4776 fi
4777
4778 fi
4779 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4780
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4782 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4783 if test -z "$MKDIR_P"; then
4784   if ${ac_cv_path_mkdir+:} false; then :
4785   $as_echo_n "(cached) " >&6
4786 else
4787   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4789 do
4790   IFS=$as_save_IFS
4791   test -z "$as_dir" && as_dir=.
4792     for ac_prog in mkdir gmkdir; do
4793          for ac_exec_ext in '' $ac_executable_extensions; do
4794            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4795            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4796              'mkdir (GNU coreutils) '* | \
4797              'mkdir (coreutils) '* | \
4798              'mkdir (fileutils) '4.1*)
4799                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4800                break 3;;
4801            esac
4802          done
4803        done
4804   done
4805 IFS=$as_save_IFS
4806
4807 fi
4808
4809   test -d ./--version && rmdir ./--version
4810   if test "${ac_cv_path_mkdir+set}" = set; then
4811     MKDIR_P="$ac_cv_path_mkdir -p"
4812   else
4813     # As a last resort, use the slow shell script.  Don't cache a
4814     # value for MKDIR_P within a source directory, because that will
4815     # break other packages using the cache if that directory is
4816     # removed, or if the value is a relative name.
4817     MKDIR_P="$ac_install_sh -d"
4818   fi
4819 fi
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4821 $as_echo "$MKDIR_P" >&6; }
4822
4823 for ac_prog in gawk mawk nawk awk
4824 do
4825   # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy $ac_prog; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_AWK+:} false; then :
4830   $as_echo_n "(cached) " >&6
4831 else
4832   if test -n "$AWK"; then
4833   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4837 do
4838   IFS=$as_save_IFS
4839   test -z "$as_dir" && as_dir=.
4840     for ac_exec_ext in '' $ac_executable_extensions; do
4841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842     ac_cv_prog_AWK="$ac_prog"
4843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844     break 2
4845   fi
4846 done
4847   done
4848 IFS=$as_save_IFS
4849
4850 fi
4851 fi
4852 AWK=$ac_cv_prog_AWK
4853 if test -n "$AWK"; then
4854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4855 $as_echo "$AWK" >&6; }
4856 else
4857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4859 fi
4860
4861
4862   test -n "$AWK" && break
4863 done
4864
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4866 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4867 set x ${MAKE-make}
4868 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4869 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   cat >conftest.make <<\_ACEOF
4873 SHELL = /bin/sh
4874 all:
4875         @echo '@@@%%%=$(MAKE)=@@@%%%'
4876 _ACEOF
4877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4878 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4879   *@@@%%%=?*=@@@%%%*)
4880     eval ac_cv_prog_make_${ac_make}_set=yes;;
4881   *)
4882     eval ac_cv_prog_make_${ac_make}_set=no;;
4883 esac
4884 rm -f conftest.make
4885 fi
4886 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4888 $as_echo "yes" >&6; }
4889   SET_MAKE=
4890 else
4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4893   SET_MAKE="MAKE=${MAKE-make}"
4894 fi
4895
4896 rm -rf .tst 2>/dev/null
4897 mkdir .tst 2>/dev/null
4898 if test -d .tst; then
4899   am__leading_dot=.
4900 else
4901   am__leading_dot=_
4902 fi
4903 rmdir .tst 2>/dev/null
4904
4905 # Check whether --enable-silent-rules was given.
4906 if test "${enable_silent_rules+set}" = set; then :
4907   enableval=$enable_silent_rules;
4908 fi
4909
4910 case $enable_silent_rules in # (((
4911   yes) AM_DEFAULT_VERBOSITY=0;;
4912    no) AM_DEFAULT_VERBOSITY=1;;
4913     *) AM_DEFAULT_VERBOSITY=1;;
4914 esac
4915 am_make=${MAKE-make}
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4917 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4918 if ${am_cv_make_support_nested_variables+:} false; then :
4919   $as_echo_n "(cached) " >&6
4920 else
4921   if $as_echo 'TRUE=$(BAR$(V))
4922 BAR0=false
4923 BAR1=true
4924 V=1
4925 am__doit:
4926         @$(TRUE)
4927 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4928   am_cv_make_support_nested_variables=yes
4929 else
4930   am_cv_make_support_nested_variables=no
4931 fi
4932 fi
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4934 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4935 if test $am_cv_make_support_nested_variables = yes; then
4936     AM_V='$(V)'
4937   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4938 else
4939   AM_V=$AM_DEFAULT_VERBOSITY
4940   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4941 fi
4942 AM_BACKSLASH='\'
4943
4944
4945
4946   if test "`cd $srcdir && pwd`" != "`pwd`"; then
4947   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4948   # is not polluted with repeated "-I."
4949   am__isrc=' -I$(srcdir)'
4950   # test to see if srcdir already configured
4951   if test -f $srcdir/config.status; then
4952     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4953   fi
4954 fi
4955
4956 # test whether we have cygpath
4957 if test -z "$CYGPATH_W"; then
4958   if (cygpath --version) >/dev/null 2>/dev/null; then
4959     CYGPATH_W='cygpath -w'
4960   else
4961     CYGPATH_W=echo
4962   fi
4963 fi
4964
4965
4966 # Define the identity of the package.
4967  PACKAGE=''
4968  VERSION=''
4969
4970
4971 # Some tools Automake needs.
4972
4973 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4974
4975
4976 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4977
4978
4979 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4980
4981
4982 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4983
4984
4985 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4986
4987 # For better backward compatibility.  To be removed once Automake 1.9.x
4988 # dies out for good.  For more background, see:
4989 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4990 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4991 mkdir_p='$(MKDIR_P)'
4992
4993 # We need awk for the "check" target (and possibly the TAP driver).  The
4994 # system "awk" is bad on some platforms.
4995 # Always define AMTAR for backward compatibility.  Yes, it's still used
4996 # in the wild :-(  We should find a proper way to deprecate it ...
4997 AMTAR='$${TAR-tar}'
4998
4999
5000 # We'll loop over all known methods to create a tar archive until one works.
5001 _am_tools='gnutar  pax cpio none'
5002
5003 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
5004
5005
5006
5007
5008
5009
5010 # POSIX will say in a future version that running "rm -f" with no argument
5011 # is OK; and we want to be able to make that assumption in our Makefile
5012 # recipes.  So use an aggressive probe to check that the usage we want is
5013 # actually supported "in the wild" to an acceptable degree.
5014 # See automake bug#10828.
5015 # To make any issue more visible, cause the running configure to be aborted
5016 # by default if the 'rm' program in use doesn't match our expectations; the
5017 # user can still override this though.
5018 if rm -f && rm -fr && rm -rf; then : OK; else
5019   cat >&2 <<'END'
5020 Oops!
5021
5022 Your 'rm' program seems unable to run without file operands specified
5023 on the command line, even when the '-f' option is present.  This is contrary
5024 to the behaviour of most rm programs out there, and not conforming with
5025 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5026
5027 Please tell bug-automake@gnu.org about your system, including the value
5028 of your $PATH and any error possibly output before this message.  This
5029 can help us improve future automake versions.
5030
5031 END
5032   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
5033     echo 'Configuration will proceed anyway, since you have set the' >&2
5034     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5035     echo >&2
5036   else
5037     cat >&2 <<'END'
5038 Aborting the configuration process, to ensure you take notice of the issue.
5039
5040 You can download and install GNU coreutils to get an 'rm' implementation
5041 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5042
5043 If you want to complete the configuration process using your problematic
5044 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5045 to "yes", and re-run configure.
5046
5047 END
5048     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
5049   fi
5050 fi
5051
5052     PACKAGE=libunistring
5053
5054      VERSION=$VERSION_NUMBER
5055
5056
5057
5058 cat >>confdefs.h <<_ACEOF
5059 #define PACKAGE "$PACKAGE"
5060 _ACEOF
5061
5062
5063 cat >>confdefs.h <<_ACEOF
5064 #define VERSION "$VERSION"
5065 _ACEOF
5066
5067
5068
5069 ac_config_headers="$ac_config_headers config.h"
5070
5071
5072 am__tar='${AMTAR} chof - --owner=root --group=root "$$tardir"'
5073
5074
5075 ac_ext=c
5076 ac_cpp='$CPP $CPPFLAGS'
5077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5080 if test -n "$ac_tool_prefix"; then
5081   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5082 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_CC+:} false; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if test -n "$CC"; then
5089   ac_cv_prog_CC="$CC" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     for ac_exec_ext in '' $ac_executable_extensions; do
5097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100     break 2
5101   fi
5102 done
5103   done
5104 IFS=$as_save_IFS
5105
5106 fi
5107 fi
5108 CC=$ac_cv_prog_CC
5109 if test -n "$CC"; then
5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5111 $as_echo "$CC" >&6; }
5112 else
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5115 fi
5116
5117
5118 fi
5119 if test -z "$ac_cv_prog_CC"; then
5120   ac_ct_CC=$CC
5121   # Extract the first word of "gcc", so it can be a program name with args.
5122 set dummy gcc; ac_word=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5126   $as_echo_n "(cached) " >&6
5127 else
5128   if test -n "$ac_ct_CC"; then
5129   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5133 do
5134   IFS=$as_save_IFS
5135   test -z "$as_dir" && as_dir=.
5136     for ac_exec_ext in '' $ac_executable_extensions; do
5137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138     ac_cv_prog_ac_ct_CC="gcc"
5139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140     break 2
5141   fi
5142 done
5143   done
5144 IFS=$as_save_IFS
5145
5146 fi
5147 fi
5148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5149 if test -n "$ac_ct_CC"; then
5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5151 $as_echo "$ac_ct_CC" >&6; }
5152 else
5153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5155 fi
5156
5157   if test "x$ac_ct_CC" = x; then
5158     CC=""
5159   else
5160     case $cross_compiling:$ac_tool_warned in
5161 yes:)
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5164 ac_tool_warned=yes ;;
5165 esac
5166     CC=$ac_ct_CC
5167   fi
5168 else
5169   CC="$ac_cv_prog_CC"
5170 fi
5171
5172 if test -z "$CC"; then
5173           if test -n "$ac_tool_prefix"; then
5174     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5175 set dummy ${ac_tool_prefix}cc; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_CC+:} false; then :
5179   $as_echo_n "(cached) " >&6
5180 else
5181   if test -n "$CC"; then
5182   ac_cv_prog_CC="$CC" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5186 do
5187   IFS=$as_save_IFS
5188   test -z "$as_dir" && as_dir=.
5189     for ac_exec_ext in '' $ac_executable_extensions; do
5190   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191     ac_cv_prog_CC="${ac_tool_prefix}cc"
5192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193     break 2
5194   fi
5195 done
5196   done
5197 IFS=$as_save_IFS
5198
5199 fi
5200 fi
5201 CC=$ac_cv_prog_CC
5202 if test -n "$CC"; then
5203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5204 $as_echo "$CC" >&6; }
5205 else
5206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 fi
5209
5210
5211   fi
5212 fi
5213 if test -z "$CC"; then
5214   # Extract the first word of "cc", so it can be a program name with args.
5215 set dummy cc; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_CC+:} false; then :
5219   $as_echo_n "(cached) " >&6
5220 else
5221   if test -n "$CC"; then
5222   ac_cv_prog_CC="$CC" # Let the user override the test.
5223 else
5224   ac_prog_rejected=no
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH
5227 do
5228   IFS=$as_save_IFS
5229   test -z "$as_dir" && as_dir=.
5230     for ac_exec_ext in '' $ac_executable_extensions; do
5231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5233        ac_prog_rejected=yes
5234        continue
5235      fi
5236     ac_cv_prog_CC="cc"
5237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238     break 2
5239   fi
5240 done
5241   done
5242 IFS=$as_save_IFS
5243
5244 if test $ac_prog_rejected = yes; then
5245   # We found a bogon in the path, so make sure we never use it.
5246   set dummy $ac_cv_prog_CC
5247   shift
5248   if test $# != 0; then
5249     # We chose a different compiler from the bogus one.
5250     # However, it has the same basename, so the bogon will be chosen
5251     # first if we set CC to just the basename; use the full file name.
5252     shift
5253     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5254   fi
5255 fi
5256 fi
5257 fi
5258 CC=$ac_cv_prog_CC
5259 if test -n "$CC"; then
5260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5261 $as_echo "$CC" >&6; }
5262 else
5263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5265 fi
5266
5267
5268 fi
5269 if test -z "$CC"; then
5270   if test -n "$ac_tool_prefix"; then
5271   for ac_prog in cl.exe
5272   do
5273     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_CC+:} false; then :
5278   $as_echo_n "(cached) " >&6
5279 else
5280   if test -n "$CC"; then
5281   ac_cv_prog_CC="$CC" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5285 do
5286   IFS=$as_save_IFS
5287   test -z "$as_dir" && as_dir=.
5288     for ac_exec_ext in '' $ac_executable_extensions; do
5289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5290     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292     break 2
5293   fi
5294 done
5295   done
5296 IFS=$as_save_IFS
5297
5298 fi
5299 fi
5300 CC=$ac_cv_prog_CC
5301 if test -n "$CC"; then
5302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5303 $as_echo "$CC" >&6; }
5304 else
5305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5307 fi
5308
5309
5310     test -n "$CC" && break
5311   done
5312 fi
5313 if test -z "$CC"; then
5314   ac_ct_CC=$CC
5315   for ac_prog in cl.exe
5316 do
5317   # Extract the first word of "$ac_prog", so it can be a program name with args.
5318 set dummy $ac_prog; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324   if test -n "$ac_ct_CC"; then
5325   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5329 do
5330   IFS=$as_save_IFS
5331   test -z "$as_dir" && as_dir=.
5332     for ac_exec_ext in '' $ac_executable_extensions; do
5333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334     ac_cv_prog_ac_ct_CC="$ac_prog"
5335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336     break 2
5337   fi
5338 done
5339   done
5340 IFS=$as_save_IFS
5341
5342 fi
5343 fi
5344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5345 if test -n "$ac_ct_CC"; then
5346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5347 $as_echo "$ac_ct_CC" >&6; }
5348 else
5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5351 fi
5352
5353
5354   test -n "$ac_ct_CC" && break
5355 done
5356
5357   if test "x$ac_ct_CC" = x; then
5358     CC=""
5359   else
5360     case $cross_compiling:$ac_tool_warned in
5361 yes:)
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5364 ac_tool_warned=yes ;;
5365 esac
5366     CC=$ac_ct_CC
5367   fi
5368 fi
5369
5370 fi
5371
5372
5373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5375 as_fn_error $? "no acceptable C compiler found in \$PATH
5376 See \`config.log' for more details" "$LINENO" 5; }
5377
5378 # Provide some information about the compiler.
5379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5380 set X $ac_compile
5381 ac_compiler=$2
5382 for ac_option in --version -v -V -qversion; do
5383   { { ac_try="$ac_compiler $ac_option >&5"
5384 case "(($ac_try" in
5385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5386   *) ac_try_echo=$ac_try;;
5387 esac
5388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5389 $as_echo "$ac_try_echo"; } >&5
5390   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5391   ac_status=$?
5392   if test -s conftest.err; then
5393     sed '10a\
5394 ... rest of stderr output deleted ...
5395          10q' conftest.err >conftest.er1
5396     cat conftest.er1 >&5
5397   fi
5398   rm -f conftest.er1 conftest.err
5399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5400   test $ac_status = 0; }
5401 done
5402
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h.  */
5405
5406 int
5407 main ()
5408 {
5409
5410   ;
5411   return 0;
5412 }
5413 _ACEOF
5414 ac_clean_files_save=$ac_clean_files
5415 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5416 # Try to create an executable without -o first, disregard a.out.
5417 # It will help us diagnose broken compilers, and finding out an intuition
5418 # of exeext.
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5420 $as_echo_n "checking whether the C compiler works... " >&6; }
5421 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5422
5423 # The possible output files:
5424 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5425
5426 ac_rmfiles=
5427 for ac_file in $ac_files
5428 do
5429   case $ac_file in
5430     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5431     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5432   esac
5433 done
5434 rm -f $ac_rmfiles
5435
5436 if { { ac_try="$ac_link_default"
5437 case "(($ac_try" in
5438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439   *) ac_try_echo=$ac_try;;
5440 esac
5441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5442 $as_echo "$ac_try_echo"; } >&5
5443   (eval "$ac_link_default") 2>&5
5444   ac_status=$?
5445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5446   test $ac_status = 0; }; then :
5447   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5448 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5449 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
5450 # so that the user can short-circuit this test for compilers unknown to
5451 # Autoconf.
5452 for ac_file in $ac_files ''
5453 do
5454   test -f "$ac_file" || continue
5455   case $ac_file in
5456     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5457         ;;
5458     [ab].out )
5459         # We found the default executable, but exeext='' is most
5460         # certainly right.
5461         break;;
5462     *.* )
5463         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5464         then :; else
5465            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5466         fi
5467         # We set ac_cv_exeext here because the later test for it is not
5468         # safe: cross compilers may not add the suffix if given an `-o'
5469         # argument, so we may need to know it at that point already.
5470         # Even if this section looks crufty: it has the advantage of
5471         # actually working.
5472         break;;
5473     * )
5474         break;;
5475   esac
5476 done
5477 test "$ac_cv_exeext" = no && ac_cv_exeext=
5478
5479 else
5480   ac_file=''
5481 fi
5482 if test -z "$ac_file"; then :
5483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5485 $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5487
5488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5490 as_fn_error 77 "C compiler cannot create executables
5491 See \`config.log' for more details" "$LINENO" 5; }
5492 else
5493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5494 $as_echo "yes" >&6; }
5495 fi
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5497 $as_echo_n "checking for C compiler default output file name... " >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5499 $as_echo "$ac_file" >&6; }
5500 ac_exeext=$ac_cv_exeext
5501
5502 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5503 ac_clean_files=$ac_clean_files_save
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5505 $as_echo_n "checking for suffix of executables... " >&6; }
5506 if { { ac_try="$ac_link"
5507 case "(($ac_try" in
5508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5509   *) ac_try_echo=$ac_try;;
5510 esac
5511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5512 $as_echo "$ac_try_echo"; } >&5
5513   (eval "$ac_link") 2>&5
5514   ac_status=$?
5515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5516   test $ac_status = 0; }; then :
5517   # If both `conftest.exe' and `conftest' are `present' (well, observable)
5518 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5519 # work properly (i.e., refer to `conftest.exe'), while it won't with
5520 # `rm'.
5521 for ac_file in conftest.exe conftest conftest.*; do
5522   test -f "$ac_file" || continue
5523   case $ac_file in
5524     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5525     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5526           break;;
5527     * ) break;;
5528   esac
5529 done
5530 else
5531   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5533 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5534 See \`config.log' for more details" "$LINENO" 5; }
5535 fi
5536 rm -f conftest conftest$ac_cv_exeext
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5538 $as_echo "$ac_cv_exeext" >&6; }
5539
5540 rm -f conftest.$ac_ext
5541 EXEEXT=$ac_cv_exeext
5542 ac_exeext=$EXEEXT
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h.  */
5545 #include <stdio.h>
5546 int
5547 main ()
5548 {
5549 FILE *f = fopen ("conftest.out", "w");
5550  return ferror (f) || fclose (f) != 0;
5551
5552   ;
5553   return 0;
5554 }
5555 _ACEOF
5556 ac_clean_files="$ac_clean_files conftest.out"
5557 # Check that the compiler produces executables we can run.  If not, either
5558 # the compiler is broken, or we cross compile.
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5560 $as_echo_n "checking whether we are cross compiling... " >&6; }
5561 if test "$cross_compiling" != yes; then
5562   { { ac_try="$ac_link"
5563 case "(($ac_try" in
5564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5565   *) ac_try_echo=$ac_try;;
5566 esac
5567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5568 $as_echo "$ac_try_echo"; } >&5
5569   (eval "$ac_link") 2>&5
5570   ac_status=$?
5571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5572   test $ac_status = 0; }
5573   if { ac_try='./conftest$ac_cv_exeext'
5574   { { case "(($ac_try" in
5575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5576   *) ac_try_echo=$ac_try;;
5577 esac
5578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5579 $as_echo "$ac_try_echo"; } >&5
5580   (eval "$ac_try") 2>&5
5581   ac_status=$?
5582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5583   test $ac_status = 0; }; }; then
5584     cross_compiling=no
5585   else
5586     if test "$cross_compiling" = maybe; then
5587         cross_compiling=yes
5588     else
5589         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5591 as_fn_error $? "cannot run C compiled programs.
5592 If you meant to cross compile, use \`--host'.
5593 See \`config.log' for more details" "$LINENO" 5; }
5594     fi
5595   fi
5596 fi
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5598 $as_echo "$cross_compiling" >&6; }
5599
5600 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5601 ac_clean_files=$ac_clean_files_save
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5603 $as_echo_n "checking for suffix of object files... " >&6; }
5604 if ${ac_cv_objext+:} false; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h.  */
5609
5610 int
5611 main ()
5612 {
5613
5614   ;
5615   return 0;
5616 }
5617 _ACEOF
5618 rm -f conftest.o conftest.obj
5619 if { { ac_try="$ac_compile"
5620 case "(($ac_try" in
5621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5622   *) ac_try_echo=$ac_try;;
5623 esac
5624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5625 $as_echo "$ac_try_echo"; } >&5
5626   (eval "$ac_compile") 2>&5
5627   ac_status=$?
5628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5629   test $ac_status = 0; }; then :
5630   for ac_file in conftest.o conftest.obj conftest.*; do
5631   test -f "$ac_file" || continue;
5632   case $ac_file in
5633     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5634     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5635        break;;
5636   esac
5637 done
5638 else
5639   $as_echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.$ac_ext >&5
5641
5642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5644 as_fn_error $? "cannot compute suffix of object files: cannot compile
5645 See \`config.log' for more details" "$LINENO" 5; }
5646 fi
5647 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5648 fi
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5650 $as_echo "$ac_cv_objext" >&6; }
5651 OBJEXT=$ac_cv_objext
5652 ac_objext=$OBJEXT
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5654 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5655 if ${ac_cv_c_compiler_gnu+:} false; then :
5656   $as_echo_n "(cached) " >&6
5657 else
5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h.  */
5660
5661 int
5662 main ()
5663 {
5664 #ifndef __GNUC__
5665        choke me
5666 #endif
5667
5668   ;
5669   return 0;
5670 }
5671 _ACEOF
5672 if ac_fn_c_try_compile "$LINENO"; then :
5673   ac_compiler_gnu=yes
5674 else
5675   ac_compiler_gnu=no
5676 fi
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5679
5680 fi
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5682 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5683 if test $ac_compiler_gnu = yes; then
5684   GCC=yes
5685 else
5686   GCC=
5687 fi
5688 ac_test_CFLAGS=${CFLAGS+set}
5689 ac_save_CFLAGS=$CFLAGS
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5691 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5692 if ${ac_cv_prog_cc_g+:} false; then :
5693   $as_echo_n "(cached) " >&6
5694 else
5695   ac_save_c_werror_flag=$ac_c_werror_flag
5696    ac_c_werror_flag=yes
5697    ac_cv_prog_cc_g=no
5698    CFLAGS="-g"
5699    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h.  */
5701
5702 int
5703 main ()
5704 {
5705
5706   ;
5707   return 0;
5708 }
5709 _ACEOF
5710 if ac_fn_c_try_compile "$LINENO"; then :
5711   ac_cv_prog_cc_g=yes
5712 else
5713   CFLAGS=""
5714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h.  */
5716
5717 int
5718 main ()
5719 {
5720
5721   ;
5722   return 0;
5723 }
5724 _ACEOF
5725 if ac_fn_c_try_compile "$LINENO"; then :
5726
5727 else
5728   ac_c_werror_flag=$ac_save_c_werror_flag
5729          CFLAGS="-g"
5730          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h.  */
5732
5733 int
5734 main ()
5735 {
5736
5737   ;
5738   return 0;
5739 }
5740 _ACEOF
5741 if ac_fn_c_try_compile "$LINENO"; then :
5742   ac_cv_prog_cc_g=yes
5743 fi
5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 fi
5746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5747 fi
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749    ac_c_werror_flag=$ac_save_c_werror_flag
5750 fi
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5752 $as_echo "$ac_cv_prog_cc_g" >&6; }
5753 if test "$ac_test_CFLAGS" = set; then
5754   CFLAGS=$ac_save_CFLAGS
5755 elif test $ac_cv_prog_cc_g = yes; then
5756   if test "$GCC" = yes; then
5757     CFLAGS="-g -O2"
5758   else
5759     CFLAGS="-g"
5760   fi
5761 else
5762   if test "$GCC" = yes; then
5763     CFLAGS="-O2"
5764   else
5765     CFLAGS=
5766   fi
5767 fi
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5769 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5770 if ${ac_cv_prog_cc_c89+:} false; then :
5771   $as_echo_n "(cached) " >&6
5772 else
5773   ac_cv_prog_cc_c89=no
5774 ac_save_CC=$CC
5775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5776 /* end confdefs.h.  */
5777 #include <stdarg.h>
5778 #include <stdio.h>
5779 struct stat;
5780 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5781 struct buf { int x; };
5782 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5783 static char *e (p, i)
5784      char **p;
5785      int i;
5786 {
5787   return p[i];
5788 }
5789 static char *f (char * (*g) (char **, int), char **p, ...)
5790 {
5791   char *s;
5792   va_list v;
5793   va_start (v,p);
5794   s = g (p, va_arg (v,int));
5795   va_end (v);
5796   return s;
5797 }
5798
5799 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5800    function prototypes and stuff, but not '\xHH' hex character constants.
5801    These don't provoke an error unfortunately, instead are silently treated
5802    as 'x'.  The following induces an error, until -std is added to get
5803    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5804    array size at least.  It's necessary to write '\x00'==0 to get something
5805    that's true only with -std.  */
5806 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5807
5808 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5809    inside strings and character constants.  */
5810 #define FOO(x) 'x'
5811 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5812
5813 int test (int i, double x);
5814 struct s1 {int (*f) (int a);};
5815 struct s2 {int (*f) (double a);};
5816 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5817 int argc;
5818 char **argv;
5819 int
5820 main ()
5821 {
5822 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5823   ;
5824   return 0;
5825 }
5826 _ACEOF
5827 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5828         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5829 do
5830   CC="$ac_save_CC $ac_arg"
5831   if ac_fn_c_try_compile "$LINENO"; then :
5832   ac_cv_prog_cc_c89=$ac_arg
5833 fi
5834 rm -f core conftest.err conftest.$ac_objext
5835   test "x$ac_cv_prog_cc_c89" != "xno" && break
5836 done
5837 rm -f conftest.$ac_ext
5838 CC=$ac_save_CC
5839
5840 fi
5841 # AC_CACHE_VAL
5842 case "x$ac_cv_prog_cc_c89" in
5843   x)
5844     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5845 $as_echo "none needed" >&6; } ;;
5846   xno)
5847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5848 $as_echo "unsupported" >&6; } ;;
5849   *)
5850     CC="$CC $ac_cv_prog_cc_c89"
5851     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5852 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5853 esac
5854 if test "x$ac_cv_prog_cc_c89" != xno; then :
5855
5856 fi
5857
5858 ac_ext=c
5859 ac_cpp='$CPP $CPPFLAGS'
5860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5863
5864 ac_ext=c
5865 ac_cpp='$CPP $CPPFLAGS'
5866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5870 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5871 if ${am_cv_prog_cc_c_o+:} false; then :
5872   $as_echo_n "(cached) " >&6
5873 else
5874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h.  */
5876
5877 int
5878 main ()
5879 {
5880
5881   ;
5882   return 0;
5883 }
5884 _ACEOF
5885   # Make sure it works both with $CC and with simple cc.
5886   # Following AC_PROG_CC_C_O, we do the test twice because some
5887   # compilers refuse to overwrite an existing .o file with -o,
5888   # though they will create one.
5889   am_cv_prog_cc_c_o=yes
5890   for am_i in 1 2; do
5891     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5892    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5893    ac_status=$?
5894    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895    (exit $ac_status); } \
5896          && test -f conftest2.$ac_objext; then
5897       : OK
5898     else
5899       am_cv_prog_cc_c_o=no
5900       break
5901     fi
5902   done
5903   rm -f core conftest*
5904   unset am_i
5905 fi
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5907 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5908 if test "$am_cv_prog_cc_c_o" != yes; then
5909    # Losing compiler, so override with the script.
5910    # FIXME: It is wrong to rewrite CC.
5911    # But if we don't then we get into trouble of one sort or another.
5912    # A longer-term fix would be to have automake use am__CC in this case,
5913    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5914    CC="$am_aux_dir/compile $CC"
5915 fi
5916 ac_ext=c
5917 ac_cpp='$CPP $CPPFLAGS'
5918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5921
5922 DEPDIR="${am__leading_dot}deps"
5923
5924 ac_config_commands="$ac_config_commands depfiles"
5925
5926
5927 am_make=${MAKE-make}
5928 cat > confinc << 'END'
5929 am__doit:
5930         @echo this is the am__doit target
5931 .PHONY: am__doit
5932 END
5933 # If we don't find an include directive, just comment out the code.
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5936 am__include="#"
5937 am__quote=
5938 _am_result=none
5939 # First try GNU make style include.
5940 echo "include confinc" > confmf
5941 # Ignore all kinds of additional output from 'make'.
5942 case `$am_make -s -f confmf 2> /dev/null` in #(
5943 *the\ am__doit\ target*)
5944   am__include=include
5945   am__quote=
5946   _am_result=GNU
5947   ;;
5948 esac
5949 # Now try BSD make style include.
5950 if test "$am__include" = "#"; then
5951    echo '.include "confinc"' > confmf
5952    case `$am_make -s -f confmf 2> /dev/null` in #(
5953    *the\ am__doit\ target*)
5954      am__include=.include
5955      am__quote="\""
5956      _am_result=BSD
5957      ;;
5958    esac
5959 fi
5960
5961
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5963 $as_echo "$_am_result" >&6; }
5964 rm -f confinc confmf
5965
5966 # Check whether --enable-dependency-tracking was given.
5967 if test "${enable_dependency_tracking+set}" = set; then :
5968   enableval=$enable_dependency_tracking;
5969 fi
5970
5971 if test "x$enable_dependency_tracking" != xno; then
5972   am_depcomp="$ac_aux_dir/depcomp"
5973   AMDEPBACKSLASH='\'
5974   am__nodep='_no'
5975 fi
5976  if test "x$enable_dependency_tracking" != xno; then
5977   AMDEP_TRUE=
5978   AMDEP_FALSE='#'
5979 else
5980   AMDEP_TRUE='#'
5981   AMDEP_FALSE=
5982 fi
5983
5984
5985
5986 depcc="$CC"   am_compiler_list=
5987
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5989 $as_echo_n "checking dependency style of $depcc... " >&6; }
5990 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5991   $as_echo_n "(cached) " >&6
5992 else
5993   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5994   # We make a subdir and do the tests there.  Otherwise we can end up
5995   # making bogus files that we don't know about and never remove.  For
5996   # instance it was reported that on HP-UX the gcc test will end up
5997   # making a dummy file named 'D' -- because '-MD' means "put the output
5998   # in D".
5999   rm -rf conftest.dir
6000   mkdir conftest.dir
6001   # Copy depcomp to subdir because otherwise we won't find it if we're
6002   # using a relative directory.
6003   cp "$am_depcomp" conftest.dir
6004   cd conftest.dir
6005   # We will build objects and dependencies in a subdirectory because
6006   # it helps to detect inapplicable dependency modes.  For instance
6007   # both Tru64's cc and ICC support -MD to output dependencies as a
6008   # side effect of compilation, but ICC will put the dependencies in
6009   # the current directory while Tru64 will put them in the object
6010   # directory.
6011   mkdir sub
6012
6013   am_cv_CC_dependencies_compiler_type=none
6014   if test "$am_compiler_list" = ""; then
6015      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6016   fi
6017   am__universal=false
6018   case " $depcc " in #(
6019      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6020      esac
6021
6022   for depmode in $am_compiler_list; do
6023     # Setup a source with many dependencies, because some compilers
6024     # like to wrap large dependency lists on column 80 (with \), and
6025     # we should not choose a depcomp mode which is confused by this.
6026     #
6027     # We need to recreate these files for each test, as the compiler may
6028     # overwrite some of them when testing with obscure command lines.
6029     # This happens at least with the AIX C compiler.
6030     : > sub/conftest.c
6031     for i in 1 2 3 4 5 6; do
6032       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6033       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6034       # Solaris 10 /bin/sh.
6035       echo '/* dummy */' > sub/conftst$i.h
6036     done
6037     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6038
6039     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6040     # mode.  It turns out that the SunPro C++ compiler does not properly
6041     # handle '-M -o', and we need to detect this.  Also, some Intel
6042     # versions had trouble with output in subdirs.
6043     am__obj=sub/conftest.${OBJEXT-o}
6044     am__minus_obj="-o $am__obj"
6045     case $depmode in
6046     gcc)
6047       # This depmode causes a compiler race in universal mode.
6048       test "$am__universal" = false || continue
6049       ;;
6050     nosideeffect)
6051       # After this tag, mechanisms are not by side-effect, so they'll
6052       # only be used when explicitly requested.
6053       if test "x$enable_dependency_tracking" = xyes; then
6054         continue
6055       else
6056         break
6057       fi
6058       ;;
6059     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6060       # This compiler won't grok '-c -o', but also, the minuso test has
6061       # not run yet.  These depmodes are late enough in the game, and
6062       # so weak that their functioning should not be impacted.
6063       am__obj=conftest.${OBJEXT-o}
6064       am__minus_obj=
6065       ;;
6066     none) break ;;
6067     esac
6068     if depmode=$depmode \
6069        source=sub/conftest.c object=$am__obj \
6070        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6071        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6072          >/dev/null 2>conftest.err &&
6073        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6074        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6075        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6076        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6077       # icc doesn't choke on unknown options, it will just issue warnings
6078       # or remarks (even with -Werror).  So we grep stderr for any message
6079       # that says an option was ignored or not supported.
6080       # When given -MP, icc 7.0 and 7.1 complain thusly:
6081       #   icc: Command line warning: ignoring option '-M'; no argument required
6082       # The diagnosis changed in icc 8.0:
6083       #   icc: Command line remark: option '-MP' not supported
6084       if (grep 'ignoring option' conftest.err ||
6085           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6086         am_cv_CC_dependencies_compiler_type=$depmode
6087         break
6088       fi
6089     fi
6090   done
6091
6092   cd ..
6093   rm -rf conftest.dir
6094 else
6095   am_cv_CC_dependencies_compiler_type=none
6096 fi
6097
6098 fi
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6100 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6101 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6102
6103  if
6104   test "x$enable_dependency_tracking" != xno \
6105   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6106   am__fastdepCC_TRUE=
6107   am__fastdepCC_FALSE='#'
6108 else
6109   am__fastdepCC_TRUE='#'
6110   am__fastdepCC_FALSE=
6111 fi
6112
6113
6114 ac_ext=c
6115 ac_cpp='$CPP $CPPFLAGS'
6116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6120 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6121 # On Suns, sometimes $CPP names a directory.
6122 if test -n "$CPP" && test -d "$CPP"; then
6123   CPP=
6124 fi
6125 if test -z "$CPP"; then
6126   if ${ac_cv_prog_CPP+:} false; then :
6127   $as_echo_n "(cached) " >&6
6128 else
6129       # Double quotes because CPP needs to be expanded
6130     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6131     do
6132       ac_preproc_ok=false
6133 for ac_c_preproc_warn_flag in '' yes
6134 do
6135   # Use a header file that comes with gcc, so configuring glibc
6136   # with a fresh cross-compiler works.
6137   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6138   # <limits.h> exists even on freestanding compilers.
6139   # On the NeXT, cc -E runs the code through the compiler's parser,
6140   # not just through cpp. "Syntax error" is here to catch this case.
6141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h.  */
6143 #ifdef __STDC__
6144 # include <limits.h>
6145 #else
6146 # include <assert.h>
6147 #endif
6148                      Syntax error
6149 _ACEOF
6150 if ac_fn_c_try_cpp "$LINENO"; then :
6151
6152 else
6153   # Broken: fails on valid input.
6154 continue
6155 fi
6156 rm -f conftest.err conftest.i conftest.$ac_ext
6157
6158   # OK, works on sane cases.  Now check whether nonexistent headers
6159   # can be detected and how.
6160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h.  */
6162 #include <ac_nonexistent.h>
6163 _ACEOF
6164 if ac_fn_c_try_cpp "$LINENO"; then :
6165   # Broken: success on invalid input.
6166 continue
6167 else
6168   # Passes both tests.
6169 ac_preproc_ok=:
6170 break
6171 fi
6172 rm -f conftest.err conftest.i conftest.$ac_ext
6173
6174 done
6175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6176 rm -f conftest.i conftest.err conftest.$ac_ext
6177 if $ac_preproc_ok; then :
6178   break
6179 fi
6180
6181     done
6182     ac_cv_prog_CPP=$CPP
6183
6184 fi
6185   CPP=$ac_cv_prog_CPP
6186 else
6187   ac_cv_prog_CPP=$CPP
6188 fi
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6190 $as_echo "$CPP" >&6; }
6191 ac_preproc_ok=false
6192 for ac_c_preproc_warn_flag in '' yes
6193 do
6194   # Use a header file that comes with gcc, so configuring glibc
6195   # with a fresh cross-compiler works.
6196   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6197   # <limits.h> exists even on freestanding compilers.
6198   # On the NeXT, cc -E runs the code through the compiler's parser,
6199   # not just through cpp. "Syntax error" is here to catch this case.
6200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h.  */
6202 #ifdef __STDC__
6203 # include <limits.h>
6204 #else
6205 # include <assert.h>
6206 #endif
6207                      Syntax error
6208 _ACEOF
6209 if ac_fn_c_try_cpp "$LINENO"; then :
6210
6211 else
6212   # Broken: fails on valid input.
6213 continue
6214 fi
6215 rm -f conftest.err conftest.i conftest.$ac_ext
6216
6217   # OK, works on sane cases.  Now check whether nonexistent headers
6218   # can be detected and how.
6219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h.  */
6221 #include <ac_nonexistent.h>
6222 _ACEOF
6223 if ac_fn_c_try_cpp "$LINENO"; then :
6224   # Broken: success on invalid input.
6225 continue
6226 else
6227   # Passes both tests.
6228 ac_preproc_ok=:
6229 break
6230 fi
6231 rm -f conftest.err conftest.i conftest.$ac_ext
6232
6233 done
6234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6235 rm -f conftest.i conftest.err conftest.$ac_ext
6236 if $ac_preproc_ok; then :
6237
6238 else
6239   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6241 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6242 See \`config.log' for more details" "$LINENO" 5; }
6243 fi
6244
6245 ac_ext=c
6246 ac_cpp='$CPP $CPPFLAGS'
6247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6250
6251
6252
6253
6254
6255 # Make sure we can run config.sub.
6256 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6257   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6258
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6260 $as_echo_n "checking build system type... " >&6; }
6261 if ${ac_cv_build+:} false; then :
6262   $as_echo_n "(cached) " >&6
6263 else
6264   ac_build_alias=$build_alias
6265 test "x$ac_build_alias" = x &&
6266   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6267 test "x$ac_build_alias" = x &&
6268   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6269 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6270   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6271
6272 fi
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6274 $as_echo "$ac_cv_build" >&6; }
6275 case $ac_cv_build in
6276 *-*-*) ;;
6277 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6278 esac
6279 build=$ac_cv_build
6280 ac_save_IFS=$IFS; IFS='-'
6281 set x $ac_cv_build
6282 shift
6283 build_cpu=$1
6284 build_vendor=$2
6285 shift; shift
6286 # Remember, the first character of IFS is used to create $*,
6287 # except with old shells:
6288 build_os=$*
6289 IFS=$ac_save_IFS
6290 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6291
6292
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6294 $as_echo_n "checking host system type... " >&6; }
6295 if ${ac_cv_host+:} false; then :
6296   $as_echo_n "(cached) " >&6
6297 else
6298   if test "x$host_alias" = x; then
6299   ac_cv_host=$ac_cv_build
6300 else
6301   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6302     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6303 fi
6304
6305 fi
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6307 $as_echo "$ac_cv_host" >&6; }
6308 case $ac_cv_host in
6309 *-*-*) ;;
6310 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6311 esac
6312 host=$ac_cv_host
6313 ac_save_IFS=$IFS; IFS='-'
6314 set x $ac_cv_host
6315 shift
6316 host_cpu=$1
6317 host_vendor=$2
6318 shift; shift
6319 # Remember, the first character of IFS is used to create $*,
6320 # except with old shells:
6321 host_os=$*
6322 IFS=$ac_save_IFS
6323 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6324
6325
6326
6327
6328
6329
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6331 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6332 if ${ac_cv_path_GREP+:} false; then :
6333   $as_echo_n "(cached) " >&6
6334 else
6335   if test -z "$GREP"; then
6336   ac_path_GREP_found=false
6337   # Loop through the user's path and test for each of PROGNAME-LIST
6338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6340 do
6341   IFS=$as_save_IFS
6342   test -z "$as_dir" && as_dir=.
6343     for ac_prog in grep ggrep; do
6344     for ac_exec_ext in '' $ac_executable_extensions; do
6345       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6346       as_fn_executable_p "$ac_path_GREP" || continue
6347 # Check for GNU ac_path_GREP and select it if it is found.
6348   # Check for GNU $ac_path_GREP
6349 case `"$ac_path_GREP" --version 2>&1` in
6350 *GNU*)
6351   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6352 *)
6353   ac_count=0
6354   $as_echo_n 0123456789 >"conftest.in"
6355   while :
6356   do
6357     cat "conftest.in" "conftest.in" >"conftest.tmp"
6358     mv "conftest.tmp" "conftest.in"
6359     cp "conftest.in" "conftest.nl"
6360     $as_echo 'GREP' >> "conftest.nl"
6361     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6362     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6363     as_fn_arith $ac_count + 1 && ac_count=$as_val
6364     if test $ac_count -gt ${ac_path_GREP_max-0}; then
6365       # Best one so far, save it but keep looking for a better one
6366       ac_cv_path_GREP="$ac_path_GREP"
6367       ac_path_GREP_max=$ac_count
6368     fi
6369     # 10*(2^10) chars as input seems more than enough
6370     test $ac_count -gt 10 && break
6371   done
6372   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6373 esac
6374
6375       $ac_path_GREP_found && break 3
6376     done
6377   done
6378   done
6379 IFS=$as_save_IFS
6380   if test -z "$ac_cv_path_GREP"; then
6381     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6382   fi
6383 else
6384   ac_cv_path_GREP=$GREP
6385 fi
6386
6387 fi
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6389 $as_echo "$ac_cv_path_GREP" >&6; }
6390  GREP="$ac_cv_path_GREP"
6391
6392
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6394 $as_echo_n "checking for egrep... " >&6; }
6395 if ${ac_cv_path_EGREP+:} false; then :
6396   $as_echo_n "(cached) " >&6
6397 else
6398   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6399    then ac_cv_path_EGREP="$GREP -E"
6400    else
6401      if test -z "$EGREP"; then
6402   ac_path_EGREP_found=false
6403   # Loop through the user's path and test for each of PROGNAME-LIST
6404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6406 do
6407   IFS=$as_save_IFS
6408   test -z "$as_dir" && as_dir=.
6409     for ac_prog in egrep; do
6410     for ac_exec_ext in '' $ac_executable_extensions; do
6411       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6412       as_fn_executable_p "$ac_path_EGREP" || continue
6413 # Check for GNU ac_path_EGREP and select it if it is found.
6414   # Check for GNU $ac_path_EGREP
6415 case `"$ac_path_EGREP" --version 2>&1` in
6416 *GNU*)
6417   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6418 *)
6419   ac_count=0
6420   $as_echo_n 0123456789 >"conftest.in"
6421   while :
6422   do
6423     cat "conftest.in" "conftest.in" >"conftest.tmp"
6424     mv "conftest.tmp" "conftest.in"
6425     cp "conftest.in" "conftest.nl"
6426     $as_echo 'EGREP' >> "conftest.nl"
6427     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6428     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6429     as_fn_arith $ac_count + 1 && ac_count=$as_val
6430     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6431       # Best one so far, save it but keep looking for a better one
6432       ac_cv_path_EGREP="$ac_path_EGREP"
6433       ac_path_EGREP_max=$ac_count
6434     fi
6435     # 10*(2^10) chars as input seems more than enough
6436     test $ac_count -gt 10 && break
6437   done
6438   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6439 esac
6440
6441       $ac_path_EGREP_found && break 3
6442     done
6443   done
6444   done
6445 IFS=$as_save_IFS
6446   if test -z "$ac_cv_path_EGREP"; then
6447     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6448   fi
6449 else
6450   ac_cv_path_EGREP=$EGREP
6451 fi
6452
6453    fi
6454 fi
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6456 $as_echo "$ac_cv_path_EGREP" >&6; }
6457  EGREP="$ac_cv_path_EGREP"
6458
6459
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6461 $as_echo_n "checking for ANSI C header files... " >&6; }
6462 if ${ac_cv_header_stdc+:} false; then :
6463   $as_echo_n "(cached) " >&6
6464 else
6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h.  */
6467 #include <stdlib.h>
6468 #include <stdarg.h>
6469 #include <string.h>
6470 #include <float.h>
6471
6472 int
6473 main ()
6474 {
6475
6476   ;
6477   return 0;
6478 }
6479 _ACEOF
6480 if ac_fn_c_try_compile "$LINENO"; then :
6481   ac_cv_header_stdc=yes
6482 else
6483   ac_cv_header_stdc=no
6484 fi
6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6486
6487 if test $ac_cv_header_stdc = yes; then
6488   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h.  */
6491 #include <string.h>
6492
6493 _ACEOF
6494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6495   $EGREP "memchr" >/dev/null 2>&1; then :
6496
6497 else
6498   ac_cv_header_stdc=no
6499 fi
6500 rm -f conftest*
6501
6502 fi
6503
6504 if test $ac_cv_header_stdc = yes; then
6505   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h.  */
6508 #include <stdlib.h>
6509
6510 _ACEOF
6511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6512   $EGREP "free" >/dev/null 2>&1; then :
6513
6514 else
6515   ac_cv_header_stdc=no
6516 fi
6517 rm -f conftest*
6518
6519 fi
6520
6521 if test $ac_cv_header_stdc = yes; then
6522   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6523   if test "$cross_compiling" = yes; then :
6524   :
6525 else
6526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h.  */
6528 #include <ctype.h>
6529 #include <stdlib.h>
6530 #if ((' ' & 0x0FF) == 0x020)
6531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6533 #else
6534 # define ISLOWER(c) \
6535                    (('a' <= (c) && (c) <= 'i') \
6536                      || ('j' <= (c) && (c) <= 'r') \
6537                      || ('s' <= (c) && (c) <= 'z'))
6538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6539 #endif
6540
6541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6542 int
6543 main ()
6544 {
6545   int i;
6546   for (i = 0; i < 256; i++)
6547     if (XOR (islower (i), ISLOWER (i))
6548         || toupper (i) != TOUPPER (i))
6549       return 2;
6550   return 0;
6551 }
6552 _ACEOF
6553 if ac_fn_c_try_run "$LINENO"; then :
6554
6555 else
6556   ac_cv_header_stdc=no
6557 fi
6558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6559   conftest.$ac_objext conftest.beam conftest.$ac_ext
6560 fi
6561
6562 fi
6563 fi
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6565 $as_echo "$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6567
6568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6569
6570 fi
6571
6572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6574                   inttypes.h stdint.h unistd.h
6575 do :
6576   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6578 "
6579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6580   cat >>confdefs.h <<_ACEOF
6581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 _ACEOF
6583
6584 fi
6585
6586 done
6587
6588
6589
6590   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
6591 if test "x$ac_cv_header_minix_config_h" = xyes; then :
6592   MINIX=yes
6593 else
6594   MINIX=
6595 fi
6596
6597
6598   if test "$MINIX" = yes; then
6599
6600 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
6601
6602
6603 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
6604
6605
6606 $as_echo "#define _MINIX 1" >>confdefs.h
6607
6608
6609 $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
6610
6611   fi
6612
6613
6614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6615 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
6616 if ${ac_cv_safe_to_define___extensions__+:} false; then :
6617   $as_echo_n "(cached) " >&6
6618 else
6619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h.  */
6621
6622 #         define __EXTENSIONS__ 1
6623           $ac_includes_default
6624 int
6625 main ()
6626 {
6627
6628   ;
6629   return 0;
6630 }
6631 _ACEOF
6632 if ac_fn_c_try_compile "$LINENO"; then :
6633   ac_cv_safe_to_define___extensions__=yes
6634 else
6635   ac_cv_safe_to_define___extensions__=no
6636 fi
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 fi
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
6640 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
6641   test $ac_cv_safe_to_define___extensions__ = yes &&
6642     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
6643
6644   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
6645
6646   $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
6647
6648   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
6649
6650   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
6651
6652   $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
6653
6654   $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
6655
6656   $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
6657
6658   $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
6659
6660   $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
6661
6662   $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
6663
6664   $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
6665
6666   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
6667
6668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
6669 $as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; }
6670 if ${ac_cv_should_define__xopen_source+:} false; then :
6671   $as_echo_n "(cached) " >&6
6672 else
6673   ac_cv_should_define__xopen_source=no
6674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h.  */
6676
6677           #include <wchar.h>
6678           mbstate_t x;
6679 int
6680 main ()
6681 {
6682
6683   ;
6684   return 0;
6685 }
6686 _ACEOF
6687 if ac_fn_c_try_compile "$LINENO"; then :
6688
6689 else
6690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h.  */
6692
6693              #define _XOPEN_SOURCE 500
6694              #include <wchar.h>
6695              mbstate_t x;
6696 int
6697 main ()
6698 {
6699
6700   ;
6701   return 0;
6702 }
6703 _ACEOF
6704 if ac_fn_c_try_compile "$LINENO"; then :
6705   ac_cv_should_define__xopen_source=yes
6706 fi
6707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6708 fi
6709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6710 fi
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
6712 $as_echo "$ac_cv_should_define__xopen_source" >&6; }
6713   test $ac_cv_should_define__xopen_source = yes &&
6714     $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
6727 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
6728 if ${gl_cv_c_amsterdam_compiler+:} false; then :
6729   $as_echo_n "(cached) " >&6
6730 else
6731
6732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h.  */
6734
6735 #ifdef __ACK__
6736 Amsterdam
6737 #endif
6738
6739 _ACEOF
6740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6741   $EGREP "Amsterdam" >/dev/null 2>&1; then :
6742   gl_cv_c_amsterdam_compiler=yes
6743 else
6744   gl_cv_c_amsterdam_compiler=no
6745 fi
6746 rm -f conftest*
6747
6748
6749 fi
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
6751 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
6752
6753       if test $gl_cv_c_amsterdam_compiler = yes; then
6754     if test -z "$AR"; then
6755       AR='cc -c.a'
6756     fi
6757     if test -z "$ARFLAGS"; then
6758       ARFLAGS='-o'
6759     fi
6760   else
6761                                         if test -n "$ac_tool_prefix"; then
6762   for ac_prog in ar lib "link -lib"
6763   do
6764     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6765 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_AR+:} false; then :
6769   $as_echo_n "(cached) " >&6
6770 else
6771   if test -n "$AR"; then
6772   ac_cv_prog_AR="$AR" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6776 do
6777   IFS=$as_save_IFS
6778   test -z "$as_dir" && as_dir=.
6779     for ac_exec_ext in '' $ac_executable_extensions; do
6780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783     break 2
6784   fi
6785 done
6786   done
6787 IFS=$as_save_IFS
6788
6789 fi
6790 fi
6791 AR=$ac_cv_prog_AR
6792 if test -n "$AR"; then
6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6794 $as_echo "$AR" >&6; }
6795 else
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6798 fi
6799
6800
6801     test -n "$AR" && break
6802   done
6803 fi
6804 if test -z "$AR"; then
6805   ac_ct_AR=$AR
6806   for ac_prog in ar lib "link -lib"
6807 do
6808   # Extract the first word of "$ac_prog", so it can be a program name with args.
6809 set dummy $ac_prog; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6813   $as_echo_n "(cached) " >&6
6814 else
6815   if test -n "$ac_ct_AR"; then
6816   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6817 else
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6819 for as_dir in $PATH
6820 do
6821   IFS=$as_save_IFS
6822   test -z "$as_dir" && as_dir=.
6823     for ac_exec_ext in '' $ac_executable_extensions; do
6824   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6825     ac_cv_prog_ac_ct_AR="$ac_prog"
6826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827     break 2
6828   fi
6829 done
6830   done
6831 IFS=$as_save_IFS
6832
6833 fi
6834 fi
6835 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6836 if test -n "$ac_ct_AR"; then
6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6838 $as_echo "$ac_ct_AR" >&6; }
6839 else
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 fi
6843
6844
6845   test -n "$ac_ct_AR" && break
6846 done
6847
6848   if test "x$ac_ct_AR" = x; then
6849     AR="false"
6850   else
6851     case $cross_compiling:$ac_tool_warned in
6852 yes:)
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6855 ac_tool_warned=yes ;;
6856 esac
6857     AR=$ac_ct_AR
6858   fi
6859 fi
6860
6861 : ${AR=ar}
6862
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6864 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6865 if ${am_cv_ar_interface+:} false; then :
6866   $as_echo_n "(cached) " >&6
6867 else
6868   ac_ext=c
6869 ac_cpp='$CPP $CPPFLAGS'
6870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6873
6874    am_cv_ar_interface=ar
6875    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h.  */
6877 int some_variable = 0;
6878 _ACEOF
6879 if ac_fn_c_try_compile "$LINENO"; then :
6880   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
6881       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6882   (eval $am_ar_try) 2>&5
6883   ac_status=$?
6884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6885   test $ac_status = 0; }
6886       if test "$ac_status" -eq 0; then
6887         am_cv_ar_interface=ar
6888       else
6889         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6890         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6891   (eval $am_ar_try) 2>&5
6892   ac_status=$?
6893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6894   test $ac_status = 0; }
6895         if test "$ac_status" -eq 0; then
6896           am_cv_ar_interface=lib
6897         else
6898           am_cv_ar_interface=unknown
6899         fi
6900       fi
6901       rm -f conftest.lib libconftest.a
6902
6903 fi
6904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6905    ac_ext=c
6906 ac_cpp='$CPP $CPPFLAGS'
6907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6910
6911 fi
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6913 $as_echo "$am_cv_ar_interface" >&6; }
6914
6915 case $am_cv_ar_interface in
6916 ar)
6917   ;;
6918 lib)
6919   # Microsoft lib, so override with the ar-lib wrapper script.
6920   # FIXME: It is wrong to rewrite AR.
6921   # But if we don't then we get into trouble of one sort or another.
6922   # A longer-term fix would be to have automake use am__AR in this case,
6923   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6924   # similar.
6925   AR="$am_aux_dir/ar-lib $AR"
6926   ;;
6927 unknown)
6928   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
6929   ;;
6930 esac
6931
6932   fi
6933
6934         if test -n "$ac_tool_prefix"; then
6935   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6936 set dummy ${ac_tool_prefix}ar; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_AR+:} false; then :
6940   $as_echo_n "(cached) " >&6
6941 else
6942   if test -n "$AR"; then
6943   ac_cv_prog_AR="$AR" # Let the user override the test.
6944 else
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 for as_dir in $PATH
6947 do
6948   IFS=$as_save_IFS
6949   test -z "$as_dir" && as_dir=.
6950     for ac_exec_ext in '' $ac_executable_extensions; do
6951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952     ac_cv_prog_AR="${ac_tool_prefix}ar"
6953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954     break 2
6955   fi
6956 done
6957   done
6958 IFS=$as_save_IFS
6959
6960 fi
6961 fi
6962 AR=$ac_cv_prog_AR
6963 if test -n "$AR"; then
6964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6965 $as_echo "$AR" >&6; }
6966 else
6967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6969 fi
6970
6971
6972 fi
6973 if test -z "$ac_cv_prog_AR"; then
6974   ac_ct_AR=$AR
6975   # Extract the first word of "ar", so it can be a program name with args.
6976 set dummy ar; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6980   $as_echo_n "(cached) " >&6
6981 else
6982   if test -n "$ac_ct_AR"; then
6983   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6984 else
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 for as_dir in $PATH
6987 do
6988   IFS=$as_save_IFS
6989   test -z "$as_dir" && as_dir=.
6990     for ac_exec_ext in '' $ac_executable_extensions; do
6991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6992     ac_cv_prog_ac_ct_AR="ar"
6993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994     break 2
6995   fi
6996 done
6997   done
6998 IFS=$as_save_IFS
6999
7000 fi
7001 fi
7002 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7003 if test -n "$ac_ct_AR"; then
7004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7005 $as_echo "$ac_ct_AR" >&6; }
7006 else
7007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7009 fi
7010
7011   if test "x$ac_ct_AR" = x; then
7012     AR="ar"
7013   else
7014     case $cross_compiling:$ac_tool_warned in
7015 yes:)
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7018 ac_tool_warned=yes ;;
7019 esac
7020     AR=$ac_ct_AR
7021   fi
7022 else
7023   AR="$ac_cv_prog_AR"
7024 fi
7025
7026   if test -z "$ARFLAGS"; then
7027     ARFLAGS='cr'
7028   fi
7029
7030
7031
7032   if test -z "$RANLIB"; then
7033     if test $gl_cv_c_amsterdam_compiler = yes; then
7034       RANLIB=':'
7035     else
7036             if test -n "$ac_tool_prefix"; then
7037   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7038 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_RANLIB+:} false; then :
7042   $as_echo_n "(cached) " >&6
7043 else
7044   if test -n "$RANLIB"; then
7045   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7049 do
7050   IFS=$as_save_IFS
7051   test -z "$as_dir" && as_dir=.
7052     for ac_exec_ext in '' $ac_executable_extensions; do
7053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056     break 2
7057   fi
7058 done
7059   done
7060 IFS=$as_save_IFS
7061
7062 fi
7063 fi
7064 RANLIB=$ac_cv_prog_RANLIB
7065 if test -n "$RANLIB"; then
7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7067 $as_echo "$RANLIB" >&6; }
7068 else
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7071 fi
7072
7073
7074 fi
7075 if test -z "$ac_cv_prog_RANLIB"; then
7076   ac_ct_RANLIB=$RANLIB
7077   # Extract the first word of "ranlib", so it can be a program name with args.
7078 set dummy ranlib; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7082   $as_echo_n "(cached) " >&6
7083 else
7084   if test -n "$ac_ct_RANLIB"; then
7085   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7086 else
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 for as_dir in $PATH
7089 do
7090   IFS=$as_save_IFS
7091   test -z "$as_dir" && as_dir=.
7092     for ac_exec_ext in '' $ac_executable_extensions; do
7093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094     ac_cv_prog_ac_ct_RANLIB="ranlib"
7095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096     break 2
7097   fi
7098 done
7099   done
7100 IFS=$as_save_IFS
7101
7102 fi
7103 fi
7104 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7105 if test -n "$ac_ct_RANLIB"; then
7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7107 $as_echo "$ac_ct_RANLIB" >&6; }
7108 else
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7111 fi
7112
7113   if test "x$ac_ct_RANLIB" = x; then
7114     RANLIB=":"
7115   else
7116     case $cross_compiling:$ac_tool_warned in
7117 yes:)
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned=yes ;;
7121 esac
7122     RANLIB=$ac_ct_RANLIB
7123   fi
7124 else
7125   RANLIB="$ac_cv_prog_RANLIB"
7126 fi
7127
7128     fi
7129   fi
7130
7131
7132
7133
7134
7135
7136   # IEEE behaviour is the default on all CPUs except Alpha and SH
7137   # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
7138   # and the GCC 4.1.2 manual).
7139   case "$host_cpu" in
7140     alpha*)
7141       # On Alpha systems, a compiler option provides the behaviour.
7142       # See the ieee(3) manual page, also available at
7143       # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
7144       if test -n "$GCC"; then
7145         # GCC has the option -mieee.
7146         # For full IEEE compliance (rarely needed), use option -mieee-with-inexact.
7147         CPPFLAGS="$CPPFLAGS -mieee"
7148       else
7149         # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact.
7150         # For full IEEE compliance (rarely needed), use option -ieee_with_inexact.
7151         CPPFLAGS="$CPPFLAGS -ieee"
7152       fi
7153       ;;
7154     sh*)
7155       if test -n "$GCC"; then
7156         # GCC has the option -mieee.
7157         CPPFLAGS="$CPPFLAGS -mieee"
7158       fi
7159       ;;
7160   esac
7161
7162
7163
7164
7165
7166
7167   # Check whether --enable-threads was given.
7168 if test "${enable_threads+set}" = set; then :
7169   enableval=$enable_threads; gl_use_threads=$enableval
7170 else
7171   if test -n "$gl_use_threads_default"; then
7172        gl_use_threads="$gl_use_threads_default"
7173      else
7174        case "$host_os" in
7175                                                                osf*) gl_use_threads=no ;;
7176          cygwin*)
7177                case `uname -r` in
7178                  1.[0-5].*) gl_use_threads=no ;;
7179                  *)         gl_use_threads=yes ;;
7180                esac
7181                ;;
7182          *)    gl_use_threads=yes ;;
7183        esac
7184      fi
7185
7186 fi
7187
7188   if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
7189     # For using <pthread.h>:
7190     case "$host_os" in
7191       osf*)
7192         # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
7193         # groks <pthread.h>. cc also understands the flag -pthread, but
7194         # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
7195         # 2. putting a flag into CPPFLAGS that has an effect on the linker
7196         # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
7197         # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
7198         CPPFLAGS="$CPPFLAGS -D_REENTRANT"
7199         ;;
7200     esac
7201     # Some systems optimize for single-threaded programs by default, and
7202     # need special flags to disable these optimizations. For example, the
7203     # definition of 'errno' in <errno.h>.
7204     case "$host_os" in
7205       aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
7206       solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
7207     esac
7208   fi
7209
7210
7211
7212   # Pre-early section.
7213
7214
7215
7216
7217   # Code from module absolute-header:
7218   # Code from module alloca-opt:
7219   # Code from module alloca-opt-tests:
7220   # Code from module amemxfrm:
7221   # Code from module array-mergesort:
7222   # Code from module array-mergesort-tests:
7223   # Code from module btowc:
7224   # Code from module btowc-tests:
7225   # Code from module c-ctype:
7226   # Code from module c-ctype-tests:
7227   # Code from module c-strcase:
7228   # Code from module c-strcase-tests:
7229   # Code from module c-strcaseeq:
7230   # Code from module configmake:
7231   # Code from module ctype:
7232   # Code from module ctype-tests:
7233   # Code from module dirname-lgpl:
7234   # Code from module dosname:
7235   # Code from module double-slash-root:
7236   # Code from module environ:
7237   # Code from module environ-tests:
7238   # Code from module errno:
7239   # Code from module errno-tests:
7240   # Code from module error:
7241   # Code from module exitfail:
7242   # Code from module extensions:
7243   # Code from module extern-inline:
7244   # Code from module fdopen:
7245   # Code from module fdopen-tests:
7246   # Code from module fgetc-tests:
7247   # Code from module flexmember:
7248   # Code from module float:
7249   # Code from module float-tests:
7250   # Code from module fpieee:
7251
7252   # Code from module fpucw:
7253   # Code from module fputc-tests:
7254   # Code from module fread-tests:
7255   # Code from module frexp-nolibm:
7256   # Code from module frexp-nolibm-tests:
7257   # Code from module frexpl-nolibm:
7258   # Code from module frexpl-nolibm-tests:
7259   # Code from module fseterr:
7260   # Code from module fseterr-tests:
7261   # Code from module fwrite-tests:
7262   # Code from module getpagesize:
7263   # Code from module getprogname:
7264   # Code from module getprogname-tests:
7265   # Code from module gettext-h:
7266   # Code from module gperf:
7267   # Code from module hard-locale:
7268   # Code from module havelib:
7269   # Code from module iconv:
7270   # Code from module iconv-h:
7271   # Code from module iconv-h-tests:
7272   # Code from module iconv-tests:
7273   # Code from module iconv_open:
7274   # Code from module include_next:
7275   # Code from module inline:
7276   # Code from module intprops:
7277   # Code from module intprops-tests:
7278   # Code from module inttypes:
7279   # Code from module inttypes-incomplete:
7280   # Code from module inttypes-tests:
7281   # Code from module isnand-nolibm:
7282   # Code from module isnand-nolibm-tests:
7283   # Code from module isnanf-nolibm:
7284   # Code from module isnanf-nolibm-tests:
7285   # Code from module isnanl-nolibm:
7286   # Code from module isnanl-nolibm-tests:
7287   # Code from module iswblank:
7288   # Code from module iswblank-tests:
7289   # Code from module langinfo:
7290   # Code from module langinfo-tests:
7291   # Code from module limits-h:
7292   # Code from module limits-h-tests:
7293   # Code from module localcharset:
7294   # Code from module locale:
7295   # Code from module locale-tests:
7296   # Code from module localename:
7297   # Code from module localename-tests:
7298   # Code from module lock:
7299   # Code from module lock-tests:
7300   # Code from module malloc-posix:
7301   # Code from module malloca:
7302   # Code from module malloca-tests:
7303   # Code from module math:
7304   # Code from module math-tests:
7305   # Code from module mbchar:
7306   # Code from module mbiter:
7307   # Code from module mbrtowc:
7308   # Code from module mbrtowc-tests:
7309   # Code from module mbsinit:
7310   # Code from module mbsinit-tests:
7311   # Code from module mbsnlen:
7312   # Code from module mbtowc:
7313   # Code from module memchr:
7314   # Code from module memchr-tests:
7315   # Code from module memcmp2:
7316   # Code from module minmax:
7317   # Code from module msvc-inval:
7318   # Code from module msvc-nothrow:
7319   # Code from module multiarch:
7320   # Code from module nocrash:
7321   # Code from module printf-frexp:
7322   # Code from module printf-frexp-tests:
7323   # Code from module printf-frexpl:
7324   # Code from module printf-frexpl-tests:
7325   # Code from module printf-safe:
7326   # Code from module putenv:
7327   # Code from module relocatable-lib-lgpl:
7328   # Code from module setenv:
7329   # Code from module setenv-tests:
7330   # Code from module setlocale:
7331   # Code from module setlocale-tests:
7332   # Code from module signbit:
7333   # Code from module signbit-tests:
7334   # Code from module size_max:
7335   # Code from module snippet/_Noreturn:
7336   # Code from module snippet/arg-nonnull:
7337   # Code from module snippet/c++defs:
7338   # Code from module snippet/unused-parameter:
7339   # Code from module snippet/warn-on-use:
7340   # Code from module ssize_t:
7341   # Code from module stdalign:
7342   # Code from module stdalign-tests:
7343   # Code from module stdbool:
7344   # Code from module stdbool-tests:
7345   # Code from module stddef:
7346   # Code from module stddef-tests:
7347   # Code from module stdint:
7348   # Code from module stdint-tests:
7349   # Code from module stdio:
7350   # Code from module stdio-tests:
7351   # Code from module stdlib:
7352   # Code from module stdlib-tests:
7353   # Code from module streq:
7354   # Code from module strerror:
7355   # Code from module strerror-override:
7356   # Code from module strerror-tests:
7357   # Code from module striconveh:
7358   # Code from module striconveh-tests:
7359   # Code from module striconveha:
7360   # Code from module striconveha-tests:
7361   # Code from module string:
7362   # Code from module string-tests:
7363   # Code from module strncat:
7364   # Code from module strncat-tests:
7365   # Code from module strstr:
7366   # Code from module strstr-simple:
7367   # Code from module strstr-tests:
7368   # Code from module sys_types:
7369   # Code from module sys_types-tests:
7370   # Code from module test-framework-sh:
7371   # Code from module test-framework-sh-tests:
7372   # Code from module thread:
7373   # Code from module thread-tests:
7374   # Code from module threadlib:
7375
7376
7377
7378   # Code from module unicase/base:
7379   # Code from module unicase/cased:
7380   # Code from module unicase/cased-tests:
7381   # Code from module unicase/empty-prefix-context:
7382   # Code from module unicase/empty-suffix-context:
7383   # Code from module unicase/ignorable:
7384   # Code from module unicase/ignorable-tests:
7385   # Code from module unicase/locale-language:
7386   # Code from module unicase/locale-language-tests:
7387   # Code from module unicase/special-casing:
7388   # Code from module unicase/tocasefold:
7389   # Code from module unicase/tolower:
7390   # Code from module unicase/tolower-tests:
7391   # Code from module unicase/totitle:
7392   # Code from module unicase/totitle-tests:
7393   # Code from module unicase/toupper:
7394   # Code from module unicase/toupper-tests:
7395   # Code from module unicase/u16-casecmp:
7396   # Code from module unicase/u16-casecmp-tests:
7397   # Code from module unicase/u16-casecoll:
7398   # Code from module unicase/u16-casecoll-tests:
7399   # Code from module unicase/u16-casefold:
7400   # Code from module unicase/u16-casefold-tests:
7401   # Code from module unicase/u16-casemap:
7402   # Code from module unicase/u16-casexfrm:
7403   # Code from module unicase/u16-ct-casefold:
7404   # Code from module unicase/u16-ct-tolower:
7405   # Code from module unicase/u16-ct-totitle:
7406   # Code from module unicase/u16-ct-toupper:
7407   # Code from module unicase/u16-is-cased:
7408   # Code from module unicase/u16-is-cased-tests:
7409   # Code from module unicase/u16-is-casefolded:
7410   # Code from module unicase/u16-is-casefolded-tests:
7411   # Code from module unicase/u16-is-invariant:
7412   # Code from module unicase/u16-is-lowercase:
7413   # Code from module unicase/u16-is-lowercase-tests:
7414   # Code from module unicase/u16-is-titlecase:
7415   # Code from module unicase/u16-is-titlecase-tests:
7416   # Code from module unicase/u16-is-uppercase:
7417   # Code from module unicase/u16-is-uppercase-tests:
7418   # Code from module unicase/u16-tolower:
7419   # Code from module unicase/u16-tolower-tests:
7420   # Code from module unicase/u16-totitle:
7421   # Code from module unicase/u16-totitle-tests:
7422   # Code from module unicase/u16-toupper:
7423   # Code from module unicase/u16-toupper-tests:
7424   # Code from module unicase/u32-casecmp:
7425   # Code from module unicase/u32-casecmp-tests:
7426   # Code from module unicase/u32-casecoll:
7427   # Code from module unicase/u32-casecoll-tests:
7428   # Code from module unicase/u32-casefold:
7429   # Code from module unicase/u32-casefold-tests:
7430   # Code from module unicase/u32-casemap:
7431   # Code from module unicase/u32-casexfrm:
7432   # Code from module unicase/u32-ct-casefold:
7433   # Code from module unicase/u32-ct-tolower:
7434   # Code from module unicase/u32-ct-totitle:
7435   # Code from module unicase/u32-ct-toupper:
7436   # Code from module unicase/u32-is-cased:
7437   # Code from module unicase/u32-is-cased-tests:
7438   # Code from module unicase/u32-is-casefolded:
7439   # Code from module unicase/u32-is-casefolded-tests:
7440   # Code from module unicase/u32-is-invariant:
7441   # Code from module unicase/u32-is-lowercase:
7442   # Code from module unicase/u32-is-lowercase-tests:
7443   # Code from module unicase/u32-is-titlecase:
7444   # Code from module unicase/u32-is-titlecase-tests:
7445   # Code from module unicase/u32-is-uppercase:
7446   # Code from module unicase/u32-is-uppercase-tests:
7447   # Code from module unicase/u32-tolower:
7448   # Code from module unicase/u32-tolower-tests:
7449   # Code from module unicase/u32-totitle:
7450   # Code from module unicase/u32-totitle-tests:
7451   # Code from module unicase/u32-toupper:
7452   # Code from module unicase/u32-toupper-tests:
7453   # Code from module unicase/u8-casecmp:
7454   # Code from module unicase/u8-casecmp-tests:
7455   # Code from module unicase/u8-casecoll:
7456   # Code from module unicase/u8-casecoll-tests:
7457   # Code from module unicase/u8-casefold:
7458   # Code from module unicase/u8-casefold-tests:
7459   # Code from module unicase/u8-casemap:
7460   # Code from module unicase/u8-casexfrm:
7461   # Code from module unicase/u8-ct-casefold:
7462   # Code from module unicase/u8-ct-tolower:
7463   # Code from module unicase/u8-ct-totitle:
7464   # Code from module unicase/u8-ct-toupper:
7465   # Code from module unicase/u8-is-cased:
7466   # Code from module unicase/u8-is-cased-tests:
7467   # Code from module unicase/u8-is-casefolded:
7468   # Code from module unicase/u8-is-casefolded-tests:
7469   # Code from module unicase/u8-is-invariant:
7470   # Code from module unicase/u8-is-lowercase:
7471   # Code from module unicase/u8-is-lowercase-tests:
7472   # Code from module unicase/u8-is-titlecase:
7473   # Code from module unicase/u8-is-titlecase-tests:
7474   # Code from module unicase/u8-is-uppercase:
7475   # Code from module unicase/u8-is-uppercase-tests:
7476   # Code from module unicase/u8-tolower:
7477   # Code from module unicase/u8-tolower-tests:
7478   # Code from module unicase/u8-totitle:
7479   # Code from module unicase/u8-totitle-tests:
7480   # Code from module unicase/u8-toupper:
7481   # Code from module unicase/u8-toupper-tests:
7482   # Code from module unicase/ulc-casecmp:
7483   # Code from module unicase/ulc-casecmp-tests:
7484   # Code from module unicase/ulc-casecoll:
7485   # Code from module unicase/ulc-casecoll-tests:
7486   # Code from module unicase/ulc-casexfrm:
7487   # Code from module uniconv/base:
7488   # Code from module uniconv/u16-conv-from-enc:
7489   # Code from module uniconv/u16-conv-from-enc-tests:
7490   # Code from module uniconv/u16-conv-to-enc:
7491   # Code from module uniconv/u16-conv-to-enc-tests:
7492   # Code from module uniconv/u16-strconv-from-enc:
7493   # Code from module uniconv/u16-strconv-from-enc-tests:
7494   # Code from module uniconv/u16-strconv-from-locale:
7495   # Code from module uniconv/u16-strconv-to-enc:
7496   # Code from module uniconv/u16-strconv-to-enc-tests:
7497   # Code from module uniconv/u16-strconv-to-locale:
7498   # Code from module uniconv/u32-conv-from-enc:
7499   # Code from module uniconv/u32-conv-from-enc-tests:
7500   # Code from module uniconv/u32-conv-to-enc:
7501   # Code from module uniconv/u32-conv-to-enc-tests:
7502   # Code from module uniconv/u32-strconv-from-enc:
7503   # Code from module uniconv/u32-strconv-from-enc-tests:
7504   # Code from module uniconv/u32-strconv-from-locale:
7505   # Code from module uniconv/u32-strconv-to-enc:
7506   # Code from module uniconv/u32-strconv-to-enc-tests:
7507   # Code from module uniconv/u32-strconv-to-locale:
7508   # Code from module uniconv/u8-conv-from-enc:
7509   # Code from module uniconv/u8-conv-from-enc-tests:
7510   # Code from module uniconv/u8-conv-to-enc:
7511   # Code from module uniconv/u8-conv-to-enc-tests:
7512   # Code from module uniconv/u8-strconv-from-enc:
7513   # Code from module uniconv/u8-strconv-from-enc-tests:
7514   # Code from module uniconv/u8-strconv-from-locale:
7515   # Code from module uniconv/u8-strconv-to-enc:
7516   # Code from module uniconv/u8-strconv-to-enc-tests:
7517   # Code from module uniconv/u8-strconv-to-locale:
7518   # Code from module unictype/base:
7519   # Code from module unictype/bidiclass-all:
7520   # Code from module unictype/bidiclass-byname:
7521   # Code from module unictype/bidiclass-byname-tests:
7522   # Code from module unictype/bidiclass-longname:
7523   # Code from module unictype/bidiclass-longname-tests:
7524   # Code from module unictype/bidiclass-name:
7525   # Code from module unictype/bidiclass-name-tests:
7526   # Code from module unictype/bidiclass-of:
7527   # Code from module unictype/bidiclass-of-tests:
7528   # Code from module unictype/bidiclass-test:
7529   # Code from module unictype/bidiclass-test-tests:
7530   # Code from module unictype/block-all:
7531   # Code from module unictype/block-list:
7532   # Code from module unictype/block-list-tests:
7533   # Code from module unictype/block-of:
7534   # Code from module unictype/block-of-tests:
7535   # Code from module unictype/block-test:
7536   # Code from module unictype/block-test-tests:
7537   # Code from module unictype/category-C:
7538   # Code from module unictype/category-C-tests:
7539   # Code from module unictype/category-Cc:
7540   # Code from module unictype/category-Cc-tests:
7541   # Code from module unictype/category-Cf:
7542   # Code from module unictype/category-Cf-tests:
7543   # Code from module unictype/category-Cn:
7544   # Code from module unictype/category-Cn-tests:
7545   # Code from module unictype/category-Co:
7546   # Code from module unictype/category-Co-tests:
7547   # Code from module unictype/category-Cs:
7548   # Code from module unictype/category-Cs-tests:
7549   # Code from module unictype/category-L:
7550   # Code from module unictype/category-L-tests:
7551   # Code from module unictype/category-LC:
7552   # Code from module unictype/category-LC-tests:
7553   # Code from module unictype/category-Ll:
7554   # Code from module unictype/category-Ll-tests:
7555   # Code from module unictype/category-Lm:
7556   # Code from module unictype/category-Lm-tests:
7557   # Code from module unictype/category-Lo:
7558   # Code from module unictype/category-Lo-tests:
7559   # Code from module unictype/category-Lt:
7560   # Code from module unictype/category-Lt-tests:
7561   # Code from module unictype/category-Lu:
7562   # Code from module unictype/category-Lu-tests:
7563   # Code from module unictype/category-M:
7564   # Code from module unictype/category-M-tests:
7565   # Code from module unictype/category-Mc:
7566   # Code from module unictype/category-Mc-tests:
7567   # Code from module unictype/category-Me:
7568   # Code from module unictype/category-Me-tests:
7569   # Code from module unictype/category-Mn:
7570   # Code from module unictype/category-Mn-tests:
7571   # Code from module unictype/category-N:
7572   # Code from module unictype/category-N-tests:
7573   # Code from module unictype/category-Nd:
7574   # Code from module unictype/category-Nd-tests:
7575   # Code from module unictype/category-Nl:
7576   # Code from module unictype/category-Nl-tests:
7577   # Code from module unictype/category-No:
7578   # Code from module unictype/category-No-tests:
7579   # Code from module unictype/category-P:
7580   # Code from module unictype/category-P-tests:
7581   # Code from module unictype/category-Pc:
7582   # Code from module unictype/category-Pc-tests:
7583   # Code from module unictype/category-Pd:
7584   # Code from module unictype/category-Pd-tests:
7585   # Code from module unictype/category-Pe:
7586   # Code from module unictype/category-Pe-tests:
7587   # Code from module unictype/category-Pf:
7588   # Code from module unictype/category-Pf-tests:
7589   # Code from module unictype/category-Pi:
7590   # Code from module unictype/category-Pi-tests:
7591   # Code from module unictype/category-Po:
7592   # Code from module unictype/category-Po-tests:
7593   # Code from module unictype/category-Ps:
7594   # Code from module unictype/category-Ps-tests:
7595   # Code from module unictype/category-S:
7596   # Code from module unictype/category-S-tests:
7597   # Code from module unictype/category-Sc:
7598   # Code from module unictype/category-Sc-tests:
7599   # Code from module unictype/category-Sk:
7600   # Code from module unictype/category-Sk-tests:
7601   # Code from module unictype/category-Sm:
7602   # Code from module unictype/category-Sm-tests:
7603   # Code from module unictype/category-So:
7604   # Code from module unictype/category-So-tests:
7605   # Code from module unictype/category-Z:
7606   # Code from module unictype/category-Z-tests:
7607   # Code from module unictype/category-Zl:
7608   # Code from module unictype/category-Zl-tests:
7609   # Code from module unictype/category-Zp:
7610   # Code from module unictype/category-Zp-tests:
7611   # Code from module unictype/category-Zs:
7612   # Code from module unictype/category-Zs-tests:
7613   # Code from module unictype/category-all:
7614   # Code from module unictype/category-and:
7615   # Code from module unictype/category-and-not:
7616   # Code from module unictype/category-and-not-tests:
7617   # Code from module unictype/category-and-tests:
7618   # Code from module unictype/category-byname:
7619   # Code from module unictype/category-byname-tests:
7620   # Code from module unictype/category-longname:
7621   # Code from module unictype/category-longname-tests:
7622   # Code from module unictype/category-name:
7623   # Code from module unictype/category-name-tests:
7624   # Code from module unictype/category-none:
7625   # Code from module unictype/category-none-tests:
7626   # Code from module unictype/category-of:
7627   # Code from module unictype/category-of-tests:
7628   # Code from module unictype/category-or:
7629   # Code from module unictype/category-or-tests:
7630   # Code from module unictype/category-test:
7631   # Code from module unictype/category-test-withtable:
7632   # Code from module unictype/category-test-withtable-tests:
7633   # Code from module unictype/combining-class:
7634   # Code from module unictype/combining-class-all:
7635   # Code from module unictype/combining-class-byname:
7636   # Code from module unictype/combining-class-byname-tests:
7637   # Code from module unictype/combining-class-longname:
7638   # Code from module unictype/combining-class-longname-tests:
7639   # Code from module unictype/combining-class-name:
7640   # Code from module unictype/combining-class-name-tests:
7641   # Code from module unictype/combining-class-tests:
7642   # Code from module unictype/ctype-alnum:
7643   # Code from module unictype/ctype-alnum-tests:
7644   # Code from module unictype/ctype-alpha:
7645   # Code from module unictype/ctype-alpha-tests:
7646   # Code from module unictype/ctype-blank:
7647   # Code from module unictype/ctype-blank-tests:
7648   # Code from module unictype/ctype-cntrl:
7649   # Code from module unictype/ctype-cntrl-tests:
7650   # Code from module unictype/ctype-digit:
7651   # Code from module unictype/ctype-digit-tests:
7652   # Code from module unictype/ctype-graph:
7653   # Code from module unictype/ctype-graph-tests:
7654   # Code from module unictype/ctype-lower:
7655   # Code from module unictype/ctype-lower-tests:
7656   # Code from module unictype/ctype-print:
7657   # Code from module unictype/ctype-print-tests:
7658   # Code from module unictype/ctype-punct:
7659   # Code from module unictype/ctype-punct-tests:
7660   # Code from module unictype/ctype-space:
7661   # Code from module unictype/ctype-space-tests:
7662   # Code from module unictype/ctype-upper:
7663   # Code from module unictype/ctype-upper-tests:
7664   # Code from module unictype/ctype-xdigit:
7665   # Code from module unictype/ctype-xdigit-tests:
7666   # Code from module unictype/decimal-digit:
7667   # Code from module unictype/decimal-digit-tests:
7668   # Code from module unictype/digit:
7669   # Code from module unictype/digit-tests:
7670   # Code from module unictype/joininggroup-all:
7671   # Code from module unictype/joininggroup-byname:
7672   # Code from module unictype/joininggroup-byname-tests:
7673   # Code from module unictype/joininggroup-name:
7674   # Code from module unictype/joininggroup-name-tests:
7675   # Code from module unictype/joininggroup-of:
7676   # Code from module unictype/joininggroup-of-tests:
7677   # Code from module unictype/joiningtype-all:
7678   # Code from module unictype/joiningtype-byname:
7679   # Code from module unictype/joiningtype-byname-tests:
7680   # Code from module unictype/joiningtype-longname:
7681   # Code from module unictype/joiningtype-longname-tests:
7682   # Code from module unictype/joiningtype-name:
7683   # Code from module unictype/joiningtype-name-tests:
7684   # Code from module unictype/joiningtype-of:
7685   # Code from module unictype/joiningtype-of-tests:
7686   # Code from module unictype/mirror:
7687   # Code from module unictype/mirror-tests:
7688   # Code from module unictype/numeric:
7689   # Code from module unictype/numeric-tests:
7690   # Code from module unictype/property-all:
7691   # Code from module unictype/property-alphabetic:
7692   # Code from module unictype/property-alphabetic-tests:
7693   # Code from module unictype/property-ascii-hex-digit:
7694   # Code from module unictype/property-ascii-hex-digit-tests:
7695   # Code from module unictype/property-bidi-arabic-digit:
7696   # Code from module unictype/property-bidi-arabic-digit-tests:
7697   # Code from module unictype/property-bidi-arabic-right-to-left:
7698   # Code from module unictype/property-bidi-arabic-right-to-left-tests:
7699   # Code from module unictype/property-bidi-block-separator:
7700   # Code from module unictype/property-bidi-block-separator-tests:
7701   # Code from module unictype/property-bidi-boundary-neutral:
7702   # Code from module unictype/property-bidi-boundary-neutral-tests:
7703   # Code from module unictype/property-bidi-common-separator:
7704   # Code from module unictype/property-bidi-common-separator-tests:
7705   # Code from module unictype/property-bidi-control:
7706   # Code from module unictype/property-bidi-control-tests:
7707   # Code from module unictype/property-bidi-embedding-or-override:
7708   # Code from module unictype/property-bidi-embedding-or-override-tests:
7709   # Code from module unictype/property-bidi-eur-num-separator:
7710   # Code from module unictype/property-bidi-eur-num-separator-tests:
7711   # Code from module unictype/property-bidi-eur-num-terminator:
7712   # Code from module unictype/property-bidi-eur-num-terminator-tests:
7713   # Code from module unictype/property-bidi-european-digit:
7714   # Code from module unictype/property-bidi-european-digit-tests:
7715   # Code from module unictype/property-bidi-hebrew-right-to-left:
7716   # Code from module unictype/property-bidi-hebrew-right-to-left-tests:
7717   # Code from module unictype/property-bidi-left-to-right:
7718   # Code from module unictype/property-bidi-left-to-right-tests:
7719   # Code from module unictype/property-bidi-non-spacing-mark:
7720   # Code from module unictype/property-bidi-non-spacing-mark-tests:
7721   # Code from module unictype/property-bidi-other-neutral:
7722   # Code from module unictype/property-bidi-other-neutral-tests:
7723   # Code from module unictype/property-bidi-pdf:
7724   # Code from module unictype/property-bidi-pdf-tests:
7725   # Code from module unictype/property-bidi-segment-separator:
7726   # Code from module unictype/property-bidi-segment-separator-tests:
7727   # Code from module unictype/property-bidi-whitespace:
7728   # Code from module unictype/property-bidi-whitespace-tests:
7729   # Code from module unictype/property-byname:
7730   # Code from module unictype/property-byname-tests:
7731   # Code from module unictype/property-case-ignorable:
7732   # Code from module unictype/property-case-ignorable-tests:
7733   # Code from module unictype/property-cased:
7734   # Code from module unictype/property-cased-tests:
7735   # Code from module unictype/property-changes-when-casefolded:
7736   # Code from module unictype/property-changes-when-casefolded-tests:
7737   # Code from module unictype/property-changes-when-casemapped:
7738   # Code from module unictype/property-changes-when-casemapped-tests:
7739   # Code from module unictype/property-changes-when-lowercased:
7740   # Code from module unictype/property-changes-when-lowercased-tests:
7741   # Code from module unictype/property-changes-when-titlecased:
7742   # Code from module unictype/property-changes-when-titlecased-tests:
7743   # Code from module unictype/property-changes-when-uppercased:
7744   # Code from module unictype/property-changes-when-uppercased-tests:
7745   # Code from module unictype/property-combining:
7746   # Code from module unictype/property-combining-tests:
7747   # Code from module unictype/property-composite:
7748   # Code from module unictype/property-composite-tests:
7749   # Code from module unictype/property-currency-symbol:
7750   # Code from module unictype/property-currency-symbol-tests:
7751   # Code from module unictype/property-dash:
7752   # Code from module unictype/property-dash-tests:
7753   # Code from module unictype/property-decimal-digit:
7754   # Code from module unictype/property-decimal-digit-tests:
7755   # Code from module unictype/property-default-ignorable-code-point:
7756   # Code from module unictype/property-default-ignorable-code-point-tests:
7757   # Code from module unictype/property-deprecated:
7758   # Code from module unictype/property-deprecated-tests:
7759   # Code from module unictype/property-diacritic:
7760   # Code from module unictype/property-diacritic-tests:
7761   # Code from module unictype/property-extender:
7762   # Code from module unictype/property-extender-tests:
7763   # Code from module unictype/property-format-control:
7764   # Code from module unictype/property-format-control-tests:
7765   # Code from module unictype/property-grapheme-base:
7766   # Code from module unictype/property-grapheme-base-tests:
7767   # Code from module unictype/property-grapheme-extend:
7768   # Code from module unictype/property-grapheme-extend-tests:
7769   # Code from module unictype/property-grapheme-link:
7770   # Code from module unictype/property-grapheme-link-tests:
7771   # Code from module unictype/property-hex-digit:
7772   # Code from module unictype/property-hex-digit-tests:
7773   # Code from module unictype/property-hyphen:
7774   # Code from module unictype/property-hyphen-tests:
7775   # Code from module unictype/property-id-continue:
7776   # Code from module unictype/property-id-continue-tests:
7777   # Code from module unictype/property-id-start:
7778   # Code from module unictype/property-id-start-tests:
7779   # Code from module unictype/property-ideographic:
7780   # Code from module unictype/property-ideographic-tests:
7781   # Code from module unictype/property-ids-binary-operator:
7782   # Code from module unictype/property-ids-binary-operator-tests:
7783   # Code from module unictype/property-ids-trinary-operator:
7784   # Code from module unictype/property-ids-trinary-operator-tests:
7785   # Code from module unictype/property-ignorable-control:
7786   # Code from module unictype/property-ignorable-control-tests:
7787   # Code from module unictype/property-iso-control:
7788   # Code from module unictype/property-iso-control-tests:
7789   # Code from module unictype/property-join-control:
7790   # Code from module unictype/property-join-control-tests:
7791   # Code from module unictype/property-left-of-pair:
7792   # Code from module unictype/property-left-of-pair-tests:
7793   # Code from module unictype/property-line-separator:
7794   # Code from module unictype/property-line-separator-tests:
7795   # Code from module unictype/property-logical-order-exception:
7796   # Code from module unictype/property-logical-order-exception-tests:
7797   # Code from module unictype/property-lowercase:
7798   # Code from module unictype/property-lowercase-tests:
7799   # Code from module unictype/property-math:
7800   # Code from module unictype/property-math-tests:
7801   # Code from module unictype/property-non-break:
7802   # Code from module unictype/property-non-break-tests:
7803   # Code from module unictype/property-not-a-character:
7804   # Code from module unictype/property-not-a-character-tests:
7805   # Code from module unictype/property-numeric:
7806   # Code from module unictype/property-numeric-tests:
7807   # Code from module unictype/property-other-alphabetic:
7808   # Code from module unictype/property-other-alphabetic-tests:
7809   # Code from module unictype/property-other-default-ignorable-code-point:
7810   # Code from module unictype/property-other-default-ignorable-code-point-tests:
7811   # Code from module unictype/property-other-grapheme-extend:
7812   # Code from module unictype/property-other-grapheme-extend-tests:
7813   # Code from module unictype/property-other-id-continue:
7814   # Code from module unictype/property-other-id-continue-tests:
7815   # Code from module unictype/property-other-id-start:
7816   # Code from module unictype/property-other-id-start-tests:
7817   # Code from module unictype/property-other-lowercase:
7818   # Code from module unictype/property-other-lowercase-tests:
7819   # Code from module unictype/property-other-math:
7820   # Code from module unictype/property-other-math-tests:
7821   # Code from module unictype/property-other-uppercase:
7822   # Code from module unictype/property-other-uppercase-tests:
7823   # Code from module unictype/property-paired-punctuation:
7824   # Code from module unictype/property-paired-punctuation-tests:
7825   # Code from module unictype/property-paragraph-separator:
7826   # Code from module unictype/property-paragraph-separator-tests:
7827   # Code from module unictype/property-pattern-syntax:
7828   # Code from module unictype/property-pattern-syntax-tests:
7829   # Code from module unictype/property-pattern-white-space:
7830   # Code from module unictype/property-pattern-white-space-tests:
7831   # Code from module unictype/property-private-use:
7832   # Code from module unictype/property-private-use-tests:
7833   # Code from module unictype/property-punctuation:
7834   # Code from module unictype/property-punctuation-tests:
7835   # Code from module unictype/property-quotation-mark:
7836   # Code from module unictype/property-quotation-mark-tests:
7837   # Code from module unictype/property-radical:
7838   # Code from module unictype/property-radical-tests:
7839   # Code from module unictype/property-sentence-terminal:
7840   # Code from module unictype/property-sentence-terminal-tests:
7841   # Code from module unictype/property-soft-dotted:
7842   # Code from module unictype/property-soft-dotted-tests:
7843   # Code from module unictype/property-space:
7844   # Code from module unictype/property-space-tests:
7845   # Code from module unictype/property-terminal-punctuation:
7846   # Code from module unictype/property-terminal-punctuation-tests:
7847   # Code from module unictype/property-test:
7848   # Code from module unictype/property-test-tests:
7849   # Code from module unictype/property-titlecase:
7850   # Code from module unictype/property-titlecase-tests:
7851   # Code from module unictype/property-unassigned-code-value:
7852   # Code from module unictype/property-unassigned-code-value-tests:
7853   # Code from module unictype/property-unified-ideograph:
7854   # Code from module unictype/property-unified-ideograph-tests:
7855   # Code from module unictype/property-uppercase:
7856   # Code from module unictype/property-uppercase-tests:
7857   # Code from module unictype/property-variation-selector:
7858   # Code from module unictype/property-variation-selector-tests:
7859   # Code from module unictype/property-white-space:
7860   # Code from module unictype/property-white-space-tests:
7861   # Code from module unictype/property-xid-continue:
7862   # Code from module unictype/property-xid-continue-tests:
7863   # Code from module unictype/property-xid-start:
7864   # Code from module unictype/property-xid-start-tests:
7865   # Code from module unictype/property-zero-width:
7866   # Code from module unictype/property-zero-width-tests:
7867   # Code from module unictype/scripts:
7868   # Code from module unictype/scripts-all:
7869   # Code from module unictype/scripts-tests:
7870   # Code from module unictype/syntax-c-ident:
7871   # Code from module unictype/syntax-c-ident-tests:
7872   # Code from module unictype/syntax-c-whitespace:
7873   # Code from module unictype/syntax-c-whitespace-tests:
7874   # Code from module unictype/syntax-java-ident:
7875   # Code from module unictype/syntax-java-ident-tests:
7876   # Code from module unictype/syntax-java-whitespace:
7877   # Code from module unictype/syntax-java-whitespace-tests:
7878   # Code from module unigbrk/base:
7879   # Code from module unigbrk/u16-grapheme-breaks:
7880   # Code from module unigbrk/u16-grapheme-breaks-tests:
7881   # Code from module unigbrk/u16-grapheme-next:
7882   # Code from module unigbrk/u16-grapheme-next-tests:
7883   # Code from module unigbrk/u16-grapheme-prev:
7884   # Code from module unigbrk/u16-grapheme-prev-tests:
7885   # Code from module unigbrk/u32-grapheme-breaks:
7886   # Code from module unigbrk/u32-grapheme-breaks-tests:
7887   # Code from module unigbrk/u32-grapheme-next:
7888   # Code from module unigbrk/u32-grapheme-next-tests:
7889   # Code from module unigbrk/u32-grapheme-prev:
7890   # Code from module unigbrk/u32-grapheme-prev-tests:
7891   # Code from module unigbrk/u8-grapheme-breaks:
7892   # Code from module unigbrk/u8-grapheme-breaks-tests:
7893   # Code from module unigbrk/u8-grapheme-next:
7894   # Code from module unigbrk/u8-grapheme-next-tests:
7895   # Code from module unigbrk/u8-grapheme-prev:
7896   # Code from module unigbrk/u8-grapheme-prev-tests:
7897   # Code from module unigbrk/uc-gbrk-prop:
7898   # Code from module unigbrk/uc-gbrk-prop-tests:
7899   # Code from module unigbrk/uc-is-grapheme-break:
7900   # Code from module unigbrk/uc-is-grapheme-break-tests:
7901   # Code from module unigbrk/ulc-grapheme-breaks:
7902   # Code from module unigbrk/ulc-grapheme-breaks-tests:
7903   # Code from module unilbrk/base:
7904   # Code from module unilbrk/tables:
7905   # Code from module unilbrk/u16-possible-linebreaks:
7906   # Code from module unilbrk/u16-possible-linebreaks-tests:
7907   # Code from module unilbrk/u16-width-linebreaks:
7908   # Code from module unilbrk/u16-width-linebreaks-tests:
7909   # Code from module unilbrk/u32-possible-linebreaks:
7910   # Code from module unilbrk/u32-possible-linebreaks-tests:
7911   # Code from module unilbrk/u32-width-linebreaks:
7912   # Code from module unilbrk/u32-width-linebreaks-tests:
7913   # Code from module unilbrk/u8-possible-linebreaks:
7914   # Code from module unilbrk/u8-possible-linebreaks-tests:
7915   # Code from module unilbrk/u8-width-linebreaks:
7916   # Code from module unilbrk/u8-width-linebreaks-tests:
7917   # Code from module unilbrk/ulc-common:
7918   # Code from module unilbrk/ulc-possible-linebreaks:
7919   # Code from module unilbrk/ulc-possible-linebreaks-tests:
7920   # Code from module unilbrk/ulc-width-linebreaks:
7921   # Code from module unilbrk/ulc-width-linebreaks-tests:
7922   # Code from module uniname/base:
7923   # Code from module uniname/uniname:
7924   # Code from module uniname/uniname-tests:
7925   # Code from module uninorm/base:
7926   # Code from module uninorm/canonical-decomposition:
7927   # Code from module uninorm/canonical-decomposition-tests:
7928   # Code from module uninorm/compat-decomposition:
7929   # Code from module uninorm/compat-decomposition-tests:
7930   # Code from module uninorm/composition:
7931   # Code from module uninorm/composition-tests:
7932   # Code from module uninorm/decompose-internal:
7933   # Code from module uninorm/decomposing-form:
7934   # Code from module uninorm/decomposing-form-tests:
7935   # Code from module uninorm/decomposition:
7936   # Code from module uninorm/decomposition-table:
7937   # Code from module uninorm/decomposition-tests:
7938   # Code from module uninorm/filter:
7939   # Code from module uninorm/filter-tests:
7940   # Code from module uninorm/nfc:
7941   # Code from module uninorm/nfc-tests:
7942   # Code from module uninorm/nfd:
7943   # Code from module uninorm/nfd-tests:
7944   # Code from module uninorm/nfkc:
7945   # Code from module uninorm/nfkc-tests:
7946   # Code from module uninorm/nfkd:
7947   # Code from module uninorm/nfkd-tests:
7948   # Code from module uninorm/u16-normalize:
7949   # Code from module uninorm/u16-normcmp:
7950   # Code from module uninorm/u16-normcmp-tests:
7951   # Code from module uninorm/u16-normcoll:
7952   # Code from module uninorm/u16-normcoll-tests:
7953   # Code from module uninorm/u16-normxfrm:
7954   # Code from module uninorm/u32-normalize:
7955   # Code from module uninorm/u32-normcmp:
7956   # Code from module uninorm/u32-normcmp-tests:
7957   # Code from module uninorm/u32-normcoll:
7958   # Code from module uninorm/u32-normcoll-tests:
7959   # Code from module uninorm/u32-normxfrm:
7960   # Code from module uninorm/u8-normalize:
7961   # Code from module uninorm/u8-normcmp:
7962   # Code from module uninorm/u8-normcmp-tests:
7963   # Code from module uninorm/u8-normcoll:
7964   # Code from module uninorm/u8-normcoll-tests:
7965   # Code from module uninorm/u8-normxfrm:
7966   # Code from module unistd:
7967   # Code from module unistd-tests:
7968   # Code from module unistdio/base:
7969   # Code from module unistdio/u-printf-args:
7970   # Code from module unistdio/u16-asnprintf:
7971   # Code from module unistdio/u16-asnprintf-tests:
7972   # Code from module unistdio/u16-asprintf:
7973   # Code from module unistdio/u16-printf-parse:
7974   # Code from module unistdio/u16-snprintf:
7975   # Code from module unistdio/u16-sprintf:
7976   # Code from module unistdio/u16-u16-asnprintf:
7977   # Code from module unistdio/u16-u16-asprintf:
7978   # Code from module unistdio/u16-u16-snprintf:
7979   # Code from module unistdio/u16-u16-sprintf:
7980   # Code from module unistdio/u16-u16-vasnprintf:
7981   # Code from module unistdio/u16-u16-vasprintf:
7982   # Code from module unistdio/u16-u16-vsnprintf:
7983   # Code from module unistdio/u16-u16-vsprintf:
7984   # Code from module unistdio/u16-vasnprintf:
7985   # Code from module unistdio/u16-vasnprintf-tests:
7986   # Code from module unistdio/u16-vasprintf:
7987   # Code from module unistdio/u16-vasprintf-tests:
7988   # Code from module unistdio/u16-vsnprintf:
7989   # Code from module unistdio/u16-vsnprintf-tests:
7990   # Code from module unistdio/u16-vsprintf:
7991   # Code from module unistdio/u16-vsprintf-tests:
7992   # Code from module unistdio/u32-asnprintf:
7993   # Code from module unistdio/u32-asnprintf-tests:
7994   # Code from module unistdio/u32-asprintf:
7995   # Code from module unistdio/u32-printf-parse:
7996   # Code from module unistdio/u32-snprintf:
7997   # Code from module unistdio/u32-sprintf:
7998   # Code from module unistdio/u32-u32-asnprintf:
7999   # Code from module unistdio/u32-u32-asprintf:
8000   # Code from module unistdio/u32-u32-snprintf:
8001   # Code from module unistdio/u32-u32-sprintf:
8002   # Code from module unistdio/u32-u32-vasnprintf:
8003   # Code from module unistdio/u32-u32-vasprintf:
8004   # Code from module unistdio/u32-u32-vsnprintf:
8005   # Code from module unistdio/u32-u32-vsprintf:
8006   # Code from module unistdio/u32-vasnprintf:
8007   # Code from module unistdio/u32-vasnprintf-tests:
8008   # Code from module unistdio/u32-vasprintf:
8009   # Code from module unistdio/u32-vasprintf-tests:
8010   # Code from module unistdio/u32-vsnprintf:
8011   # Code from module unistdio/u32-vsnprintf-tests:
8012   # Code from module unistdio/u32-vsprintf:
8013   # Code from module unistdio/u32-vsprintf-tests:
8014   # Code from module unistdio/u8-asnprintf:
8015   # Code from module unistdio/u8-asnprintf-tests:
8016   # Code from module unistdio/u8-asprintf:
8017   # Code from module unistdio/u8-printf-parse:
8018   # Code from module unistdio/u8-snprintf:
8019   # Code from module unistdio/u8-sprintf:
8020   # Code from module unistdio/u8-u8-asnprintf:
8021   # Code from module unistdio/u8-u8-asprintf:
8022   # Code from module unistdio/u8-u8-snprintf:
8023   # Code from module unistdio/u8-u8-sprintf:
8024   # Code from module unistdio/u8-u8-vasnprintf:
8025   # Code from module unistdio/u8-u8-vasprintf:
8026   # Code from module unistdio/u8-u8-vsnprintf:
8027   # Code from module unistdio/u8-u8-vsprintf:
8028   # Code from module unistdio/u8-vasnprintf:
8029   # Code from module unistdio/u8-vasnprintf-tests:
8030   # Code from module unistdio/u8-vasprintf:
8031   # Code from module unistdio/u8-vasprintf-tests:
8032   # Code from module unistdio/u8-vsnprintf:
8033   # Code from module unistdio/u8-vsnprintf-tests:
8034   # Code from module unistdio/u8-vsprintf:
8035   # Code from module unistdio/u8-vsprintf-tests:
8036   # Code from module unistdio/ulc-asnprintf:
8037   # Code from module unistdio/ulc-asnprintf-tests:
8038   # Code from module unistdio/ulc-asprintf:
8039   # Code from module unistdio/ulc-fprintf:
8040   # Code from module unistdio/ulc-printf-parse:
8041   # Code from module unistdio/ulc-snprintf:
8042   # Code from module unistdio/ulc-sprintf:
8043   # Code from module unistdio/ulc-vasnprintf:
8044   # Code from module unistdio/ulc-vasnprintf-tests:
8045   # Code from module unistdio/ulc-vasprintf:
8046   # Code from module unistdio/ulc-vasprintf-tests:
8047   # Code from module unistdio/ulc-vfprintf:
8048   # Code from module unistdio/ulc-vsnprintf:
8049   # Code from module unistdio/ulc-vsnprintf-tests:
8050   # Code from module unistdio/ulc-vsprintf:
8051   # Code from module unistdio/ulc-vsprintf-tests:
8052   # Code from module unistr/base:
8053   # Code from module unistr/u16-check:
8054   # Code from module unistr/u16-check-tests:
8055   # Code from module unistr/u16-chr:
8056   # Code from module unistr/u16-chr-tests:
8057   # Code from module unistr/u16-cmp:
8058   # Code from module unistr/u16-cmp-tests:
8059   # Code from module unistr/u16-cmp2:
8060   # Code from module unistr/u16-cmp2-tests:
8061   # Code from module unistr/u16-cpy:
8062   # Code from module unistr/u16-cpy-alloc:
8063   # Code from module unistr/u16-cpy-alloc-tests:
8064   # Code from module unistr/u16-cpy-tests:
8065   # Code from module unistr/u16-endswith:
8066   # Code from module unistr/u16-mblen:
8067   # Code from module unistr/u16-mblen-tests:
8068   # Code from module unistr/u16-mbsnlen:
8069   # Code from module unistr/u16-mbsnlen-tests:
8070   # Code from module unistr/u16-mbtouc:
8071   # Code from module unistr/u16-mbtouc-tests:
8072   # Code from module unistr/u16-mbtouc-unsafe:
8073   # Code from module unistr/u16-mbtouc-unsafe-tests:
8074   # Code from module unistr/u16-mbtoucr:
8075   # Code from module unistr/u16-mbtoucr-tests:
8076   # Code from module unistr/u16-move:
8077   # Code from module unistr/u16-move-tests:
8078   # Code from module unistr/u16-next:
8079   # Code from module unistr/u16-next-tests:
8080   # Code from module unistr/u16-prev:
8081   # Code from module unistr/u16-prev-tests:
8082   # Code from module unistr/u16-set:
8083   # Code from module unistr/u16-set-tests:
8084   # Code from module unistr/u16-startswith:
8085   # Code from module unistr/u16-stpcpy:
8086   # Code from module unistr/u16-stpcpy-tests:
8087   # Code from module unistr/u16-stpncpy:
8088   # Code from module unistr/u16-stpncpy-tests:
8089   # Code from module unistr/u16-strcat:
8090   # Code from module unistr/u16-strcat-tests:
8091   # Code from module unistr/u16-strchr:
8092   # Code from module unistr/u16-strchr-tests:
8093   # Code from module unistr/u16-strcmp:
8094   # Code from module unistr/u16-strcmp-tests:
8095   # Code from module unistr/u16-strcoll:
8096   # Code from module unistr/u16-strcoll-tests:
8097   # Code from module unistr/u16-strcpy:
8098   # Code from module unistr/u16-strcpy-tests:
8099   # Code from module unistr/u16-strcspn:
8100   # Code from module unistr/u16-strdup:
8101   # Code from module unistr/u16-strdup-tests:
8102   # Code from module unistr/u16-strlen:
8103   # Code from module unistr/u16-strlen-tests:
8104   # Code from module unistr/u16-strmblen:
8105   # Code from module unistr/u16-strmblen-tests:
8106   # Code from module unistr/u16-strmbtouc:
8107   # Code from module unistr/u16-strmbtouc-tests:
8108   # Code from module unistr/u16-strncat:
8109   # Code from module unistr/u16-strncat-tests:
8110   # Code from module unistr/u16-strncmp:
8111   # Code from module unistr/u16-strncmp-tests:
8112   # Code from module unistr/u16-strncpy:
8113   # Code from module unistr/u16-strncpy-tests:
8114   # Code from module unistr/u16-strnlen:
8115   # Code from module unistr/u16-strnlen-tests:
8116   # Code from module unistr/u16-strpbrk:
8117   # Code from module unistr/u16-strrchr:
8118   # Code from module unistr/u16-strspn:
8119   # Code from module unistr/u16-strstr:
8120   # Code from module unistr/u16-strstr-tests:
8121   # Code from module unistr/u16-strtok:
8122   # Code from module unistr/u16-strtok-tests:
8123   # Code from module unistr/u16-to-u32:
8124   # Code from module unistr/u16-to-u32-tests:
8125   # Code from module unistr/u16-to-u8:
8126   # Code from module unistr/u16-to-u8-tests:
8127   # Code from module unistr/u16-uctomb:
8128   # Code from module unistr/u16-uctomb-tests:
8129   # Code from module unistr/u32-check:
8130   # Code from module unistr/u32-check-tests:
8131   # Code from module unistr/u32-chr:
8132   # Code from module unistr/u32-chr-tests:
8133   # Code from module unistr/u32-cmp:
8134   # Code from module unistr/u32-cmp-tests:
8135   # Code from module unistr/u32-cmp2:
8136   # Code from module unistr/u32-cmp2-tests:
8137   # Code from module unistr/u32-cpy:
8138   # Code from module unistr/u32-cpy-alloc:
8139   # Code from module unistr/u32-cpy-alloc-tests:
8140   # Code from module unistr/u32-cpy-tests:
8141   # Code from module unistr/u32-endswith:
8142   # Code from module unistr/u32-mblen:
8143   # Code from module unistr/u32-mblen-tests:
8144   # Code from module unistr/u32-mbsnlen:
8145   # Code from module unistr/u32-mbsnlen-tests:
8146   # Code from module unistr/u32-mbtouc:
8147   # Code from module unistr/u32-mbtouc-tests:
8148   # Code from module unistr/u32-mbtouc-unsafe:
8149   # Code from module unistr/u32-mbtouc-unsafe-tests:
8150   # Code from module unistr/u32-mbtoucr:
8151   # Code from module unistr/u32-mbtoucr-tests:
8152   # Code from module unistr/u32-move:
8153   # Code from module unistr/u32-move-tests:
8154   # Code from module unistr/u32-next:
8155   # Code from module unistr/u32-next-tests:
8156   # Code from module unistr/u32-prev:
8157   # Code from module unistr/u32-prev-tests:
8158   # Code from module unistr/u32-set:
8159   # Code from module unistr/u32-set-tests:
8160   # Code from module unistr/u32-startswith:
8161   # Code from module unistr/u32-stpcpy:
8162   # Code from module unistr/u32-stpcpy-tests:
8163   # Code from module unistr/u32-stpncpy:
8164   # Code from module unistr/u32-stpncpy-tests:
8165   # Code from module unistr/u32-strcat:
8166   # Code from module unistr/u32-strcat-tests:
8167   # Code from module unistr/u32-strchr:
8168   # Code from module unistr/u32-strchr-tests:
8169   # Code from module unistr/u32-strcmp:
8170   # Code from module unistr/u32-strcmp-tests:
8171   # Code from module unistr/u32-strcoll:
8172   # Code from module unistr/u32-strcoll-tests:
8173   # Code from module unistr/u32-strcpy:
8174   # Code from module unistr/u32-strcpy-tests:
8175   # Code from module unistr/u32-strcspn:
8176   # Code from module unistr/u32-strdup:
8177   # Code from module unistr/u32-strdup-tests:
8178   # Code from module unistr/u32-strlen:
8179   # Code from module unistr/u32-strlen-tests:
8180   # Code from module unistr/u32-strmblen:
8181   # Code from module unistr/u32-strmblen-tests:
8182   # Code from module unistr/u32-strmbtouc:
8183   # Code from module unistr/u32-strmbtouc-tests:
8184   # Code from module unistr/u32-strncat:
8185   # Code from module unistr/u32-strncat-tests:
8186   # Code from module unistr/u32-strncmp:
8187   # Code from module unistr/u32-strncmp-tests:
8188   # Code from module unistr/u32-strncpy:
8189   # Code from module unistr/u32-strncpy-tests:
8190   # Code from module unistr/u32-strnlen:
8191   # Code from module unistr/u32-strnlen-tests:
8192   # Code from module unistr/u32-strpbrk:
8193   # Code from module unistr/u32-strrchr:
8194   # Code from module unistr/u32-strspn:
8195   # Code from module unistr/u32-strstr:
8196   # Code from module unistr/u32-strstr-tests:
8197   # Code from module unistr/u32-strtok:
8198   # Code from module unistr/u32-strtok-tests:
8199   # Code from module unistr/u32-to-u16:
8200   # Code from module unistr/u32-to-u16-tests:
8201   # Code from module unistr/u32-to-u8:
8202   # Code from module unistr/u32-to-u8-tests:
8203   # Code from module unistr/u32-uctomb:
8204   # Code from module unistr/u32-uctomb-tests:
8205   # Code from module unistr/u8-check:
8206   # Code from module unistr/u8-check-tests:
8207   # Code from module unistr/u8-chr:
8208   # Code from module unistr/u8-chr-tests:
8209   # Code from module unistr/u8-cmp:
8210   # Code from module unistr/u8-cmp-tests:
8211   # Code from module unistr/u8-cmp2:
8212   # Code from module unistr/u8-cmp2-tests:
8213   # Code from module unistr/u8-cpy:
8214   # Code from module unistr/u8-cpy-alloc:
8215   # Code from module unistr/u8-cpy-alloc-tests:
8216   # Code from module unistr/u8-cpy-tests:
8217   # Code from module unistr/u8-endswith:
8218   # Code from module unistr/u8-mblen:
8219   # Code from module unistr/u8-mblen-tests:
8220   # Code from module unistr/u8-mbsnlen:
8221   # Code from module unistr/u8-mbsnlen-tests:
8222   # Code from module unistr/u8-mbtouc:
8223   # Code from module unistr/u8-mbtouc-tests:
8224   # Code from module unistr/u8-mbtouc-unsafe:
8225   # Code from module unistr/u8-mbtouc-unsafe-tests:
8226   # Code from module unistr/u8-mbtoucr:
8227   # Code from module unistr/u8-mbtoucr-tests:
8228   # Code from module unistr/u8-move:
8229   # Code from module unistr/u8-move-tests:
8230   # Code from module unistr/u8-next:
8231   # Code from module unistr/u8-next-tests:
8232   # Code from module unistr/u8-prev:
8233   # Code from module unistr/u8-prev-tests:
8234   # Code from module unistr/u8-set:
8235   # Code from module unistr/u8-set-tests:
8236   # Code from module unistr/u8-startswith:
8237   # Code from module unistr/u8-stpcpy:
8238   # Code from module unistr/u8-stpcpy-tests:
8239   # Code from module unistr/u8-stpncpy:
8240   # Code from module unistr/u8-stpncpy-tests:
8241   # Code from module unistr/u8-strcat:
8242   # Code from module unistr/u8-strcat-tests:
8243   # Code from module unistr/u8-strchr:
8244   # Code from module unistr/u8-strchr-tests:
8245   # Code from module unistr/u8-strcmp:
8246   # Code from module unistr/u8-strcmp-tests:
8247   # Code from module unistr/u8-strcoll:
8248   # Code from module unistr/u8-strcoll-tests:
8249   # Code from module unistr/u8-strcpy:
8250   # Code from module unistr/u8-strcpy-tests:
8251   # Code from module unistr/u8-strcspn:
8252   # Code from module unistr/u8-strdup:
8253   # Code from module unistr/u8-strdup-tests:
8254   # Code from module unistr/u8-strlen:
8255   # Code from module unistr/u8-strlen-tests:
8256   # Code from module unistr/u8-strmblen:
8257   # Code from module unistr/u8-strmblen-tests:
8258   # Code from module unistr/u8-strmbtouc:
8259   # Code from module unistr/u8-strmbtouc-tests:
8260   # Code from module unistr/u8-strncat:
8261   # Code from module unistr/u8-strncat-tests:
8262   # Code from module unistr/u8-strncmp:
8263   # Code from module unistr/u8-strncmp-tests:
8264   # Code from module unistr/u8-strncpy:
8265   # Code from module unistr/u8-strncpy-tests:
8266   # Code from module unistr/u8-strnlen:
8267   # Code from module unistr/u8-strnlen-tests:
8268   # Code from module unistr/u8-strpbrk:
8269   # Code from module unistr/u8-strrchr:
8270   # Code from module unistr/u8-strspn:
8271   # Code from module unistr/u8-strstr:
8272   # Code from module unistr/u8-strstr-tests:
8273   # Code from module unistr/u8-strtok:
8274   # Code from module unistr/u8-strtok-tests:
8275   # Code from module unistr/u8-to-u16:
8276   # Code from module unistr/u8-to-u16-tests:
8277   # Code from module unistr/u8-to-u32:
8278   # Code from module unistr/u8-to-u32-tests:
8279   # Code from module unistr/u8-uctomb:
8280   # Code from module unistr/u8-uctomb-tests:
8281   # Code from module unitypes:
8282   # Code from module uniwbrk/base:
8283   # Code from module uniwbrk/table:
8284   # Code from module uniwbrk/u16-wordbreaks:
8285   # Code from module uniwbrk/u16-wordbreaks-tests:
8286   # Code from module uniwbrk/u32-wordbreaks:
8287   # Code from module uniwbrk/u32-wordbreaks-tests:
8288   # Code from module uniwbrk/u8-wordbreaks:
8289   # Code from module uniwbrk/u8-wordbreaks-tests:
8290   # Code from module uniwbrk/ulc-wordbreaks:
8291   # Code from module uniwbrk/ulc-wordbreaks-tests:
8292   # Code from module uniwbrk/wordbreak-property:
8293   # Code from module uniwidth/base:
8294   # Code from module uniwidth/u16-strwidth:
8295   # Code from module uniwidth/u16-strwidth-tests:
8296   # Code from module uniwidth/u16-width:
8297   # Code from module uniwidth/u16-width-tests:
8298   # Code from module uniwidth/u32-strwidth:
8299   # Code from module uniwidth/u32-strwidth-tests:
8300   # Code from module uniwidth/u32-width:
8301   # Code from module uniwidth/u32-width-tests:
8302   # Code from module uniwidth/u8-strwidth:
8303   # Code from module uniwidth/u8-strwidth-tests:
8304   # Code from module uniwidth/u8-width:
8305   # Code from module uniwidth/u8-width-tests:
8306   # Code from module uniwidth/width:
8307   # Code from module uniwidth/width-tests:
8308   # Code from module unsetenv:
8309   # Code from module unsetenv-tests:
8310   # Code from module verify:
8311   # Code from module verify-tests:
8312   # Code from module wchar:
8313   # Code from module wchar-tests:
8314   # Code from module wcrtomb:
8315   # Code from module wcrtomb-tests:
8316   # Code from module wctob:
8317   # Code from module wctomb:
8318   # Code from module wctype-h:
8319   # Code from module wctype-h-tests:
8320   # Code from module wcwidth:
8321   # Code from module wcwidth-tests:
8322   # Code from module xalloc:
8323   # Code from module xalloc-die:
8324   # Code from module xalloc-die-tests:
8325   # Code from module xalloc-oversized:
8326   # Code from module xsize:
8327   # Code from module yield:
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337   case "$host_os" in
8338     mingw* | cygwin*)
8339       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for auto-import of symbols" >&5
8340 $as_echo_n "checking for auto-import of symbols... " >&6; }
8341       if ${gl_cv_ld_autoimport+:} false; then :
8342   $as_echo_n "(cached) " >&6
8343 else
8344
8345         gl_save_LDFLAGS="$LDFLAGS"
8346         LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
8347         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h.  */
8349
8350 int
8351 main ()
8352 {
8353
8354   ;
8355   return 0;
8356 }
8357 _ACEOF
8358 if ac_fn_c_try_link "$LINENO"; then :
8359   gl_cv_ld_autoimport=yes
8360 else
8361   gl_cv_ld_autoimport=no
8362 fi
8363 rm -f core conftest.err conftest.$ac_objext \
8364     conftest$ac_exeext conftest.$ac_ext
8365         LDFLAGS="$gl_save_LDFLAGS"
8366 fi
8367
8368       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ld_autoimport" >&5
8369 $as_echo "$gl_cv_ld_autoimport" >&6; }
8370       if test $gl_cv_ld_autoimport = yes; then
8371         LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
8372       fi
8373       ;;
8374   esac
8375
8376
8377 case `pwd` in
8378   *\ * | *\     *)
8379     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8380 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8381 esac
8382
8383
8384
8385 macro_version='2.4.2'
8386 macro_revision='1.3337'
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400 ltmain="$ac_aux_dir/ltmain.sh"
8401
8402 # Backslashify metacharacters that are still active within
8403 # double-quoted strings.
8404 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8405
8406 # Same as above, but do not quote variable references.
8407 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8408
8409 # Sed substitution to delay expansion of an escaped shell variable in a
8410 # double_quote_subst'ed string.
8411 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8412
8413 # Sed substitution to delay expansion of an escaped single quote.
8414 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8415
8416 # Sed substitution to avoid accidental globbing in evaled expressions
8417 no_glob_subst='s/\*/\\\*/g'
8418
8419 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8420 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8421 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8422
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8424 $as_echo_n "checking how to print strings... " >&6; }
8425 # Test print first, because it will be a builtin if present.
8426 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8427    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8428   ECHO='print -r --'
8429 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8430   ECHO='printf %s\n'
8431 else
8432   # Use this function as a fallback that always works.
8433   func_fallback_echo ()
8434   {
8435     eval 'cat <<_LTECHO_EOF
8436 $1
8437 _LTECHO_EOF'
8438   }
8439   ECHO='func_fallback_echo'
8440 fi
8441
8442 # func_echo_all arg...
8443 # Invoke $ECHO with all args, space-separated.
8444 func_echo_all ()
8445 {
8446     $ECHO ""
8447 }
8448
8449 case "$ECHO" in
8450   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8451 $as_echo "printf" >&6; } ;;
8452   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8453 $as_echo "print -r" >&6; } ;;
8454   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8455 $as_echo "cat" >&6; } ;;
8456 esac
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8472 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8473 if ${ac_cv_path_SED+:} false; then :
8474   $as_echo_n "(cached) " >&6
8475 else
8476             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8477      for ac_i in 1 2 3 4 5 6 7; do
8478        ac_script="$ac_script$as_nl$ac_script"
8479      done
8480      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8481      { ac_script=; unset ac_script;}
8482      if test -z "$SED"; then
8483   ac_path_SED_found=false
8484   # Loop through the user's path and test for each of PROGNAME-LIST
8485   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 for as_dir in $PATH
8487 do
8488   IFS=$as_save_IFS
8489   test -z "$as_dir" && as_dir=.
8490     for ac_prog in sed gsed; do
8491     for ac_exec_ext in '' $ac_executable_extensions; do
8492       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
8493       as_fn_executable_p "$ac_path_SED" || continue
8494 # Check for GNU ac_path_SED and select it if it is found.
8495   # Check for GNU $ac_path_SED
8496 case `"$ac_path_SED" --version 2>&1` in
8497 *GNU*)
8498   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8499 *)
8500   ac_count=0
8501   $as_echo_n 0123456789 >"conftest.in"
8502   while :
8503   do
8504     cat "conftest.in" "conftest.in" >"conftest.tmp"
8505     mv "conftest.tmp" "conftest.in"
8506     cp "conftest.in" "conftest.nl"
8507     $as_echo '' >> "conftest.nl"
8508     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8509     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8510     as_fn_arith $ac_count + 1 && ac_count=$as_val
8511     if test $ac_count -gt ${ac_path_SED_max-0}; then
8512       # Best one so far, save it but keep looking for a better one
8513       ac_cv_path_SED="$ac_path_SED"
8514       ac_path_SED_max=$ac_count
8515     fi
8516     # 10*(2^10) chars as input seems more than enough
8517     test $ac_count -gt 10 && break
8518   done
8519   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8520 esac
8521
8522       $ac_path_SED_found && break 3
8523     done
8524   done
8525   done
8526 IFS=$as_save_IFS
8527   if test -z "$ac_cv_path_SED"; then
8528     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8529   fi
8530 else
8531   ac_cv_path_SED=$SED
8532 fi
8533
8534 fi
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8536 $as_echo "$ac_cv_path_SED" >&6; }
8537  SED="$ac_cv_path_SED"
8538   rm -f conftest.sed
8539
8540 test -z "$SED" && SED=sed
8541 Xsed="$SED -e 1s/^X//"
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8554 $as_echo_n "checking for fgrep... " >&6; }
8555 if ${ac_cv_path_FGREP+:} false; then :
8556   $as_echo_n "(cached) " >&6
8557 else
8558   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8559    then ac_cv_path_FGREP="$GREP -F"
8560    else
8561      if test -z "$FGREP"; then
8562   ac_path_FGREP_found=false
8563   # Loop through the user's path and test for each of PROGNAME-LIST
8564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8566 do
8567   IFS=$as_save_IFS
8568   test -z "$as_dir" && as_dir=.
8569     for ac_prog in fgrep; do
8570     for ac_exec_ext in '' $ac_executable_extensions; do
8571       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
8572       as_fn_executable_p "$ac_path_FGREP" || continue
8573 # Check for GNU ac_path_FGREP and select it if it is found.
8574   # Check for GNU $ac_path_FGREP
8575 case `"$ac_path_FGREP" --version 2>&1` in
8576 *GNU*)
8577   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8578 *)
8579   ac_count=0
8580   $as_echo_n 0123456789 >"conftest.in"
8581   while :
8582   do
8583     cat "conftest.in" "conftest.in" >"conftest.tmp"
8584     mv "conftest.tmp" "conftest.in"
8585     cp "conftest.in" "conftest.nl"
8586     $as_echo 'FGREP' >> "conftest.nl"
8587     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8588     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8589     as_fn_arith $ac_count + 1 && ac_count=$as_val
8590     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8591       # Best one so far, save it but keep looking for a better one
8592       ac_cv_path_FGREP="$ac_path_FGREP"
8593       ac_path_FGREP_max=$ac_count
8594     fi
8595     # 10*(2^10) chars as input seems more than enough
8596     test $ac_count -gt 10 && break
8597   done
8598   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8599 esac
8600
8601       $ac_path_FGREP_found && break 3
8602     done
8603   done
8604   done
8605 IFS=$as_save_IFS
8606   if test -z "$ac_cv_path_FGREP"; then
8607     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8608   fi
8609 else
8610   ac_cv_path_FGREP=$FGREP
8611 fi
8612
8613    fi
8614 fi
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8616 $as_echo "$ac_cv_path_FGREP" >&6; }
8617  FGREP="$ac_cv_path_FGREP"
8618
8619
8620 test -z "$GREP" && GREP=grep
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640 # Check whether --with-gnu-ld was given.
8641 if test "${with_gnu_ld+set}" = set; then :
8642   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8643 else
8644   with_gnu_ld=no
8645 fi
8646
8647 ac_prog=ld
8648 if test "$GCC" = yes; then
8649   # Check if gcc -print-prog-name=ld gives a path.
8650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8651 $as_echo_n "checking for ld used by $CC... " >&6; }
8652   case $host in
8653   *-*-mingw*)
8654     # gcc leaves a trailing carriage return which upsets mingw
8655     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8656   *)
8657     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8658   esac
8659   case $ac_prog in
8660     # Accept absolute paths.
8661     [\\/]* | ?:[\\/]*)
8662       re_direlt='/[^/][^/]*/\.\./'
8663       # Canonicalize the pathname of ld
8664       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8665       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
8666         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8667       done
8668       test -z "$LD" && LD="$ac_prog"
8669       ;;
8670   "")
8671     # If it fails, then pretend we aren't using GCC.
8672     ac_prog=ld
8673     ;;
8674   *)
8675     # If it is relative, then search for the first ld in PATH.
8676     with_gnu_ld=unknown
8677     ;;
8678   esac
8679 elif test "$with_gnu_ld" = yes; then
8680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8681 $as_echo_n "checking for GNU ld... " >&6; }
8682 else
8683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8684 $as_echo_n "checking for non-GNU ld... " >&6; }
8685 fi
8686 if ${lt_cv_path_LD+:} false; then :
8687   $as_echo_n "(cached) " >&6
8688 else
8689   if test -z "$LD"; then
8690   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8691   for ac_dir in $PATH; do
8692     IFS="$lt_save_ifs"
8693     test -z "$ac_dir" && ac_dir=.
8694     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8695       lt_cv_path_LD="$ac_dir/$ac_prog"
8696       # Check to see if the program is GNU ld.  I'd rather use --version,
8697       # but apparently some variants of GNU ld only accept -v.
8698       # Break only if it was the GNU/non-GNU ld that we prefer.
8699       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8700       *GNU* | *'with BFD'*)
8701         test "$with_gnu_ld" != no && break
8702         ;;
8703       *)
8704         test "$with_gnu_ld" != yes && break
8705         ;;
8706       esac
8707     fi
8708   done
8709   IFS="$lt_save_ifs"
8710 else
8711   lt_cv_path_LD="$LD" # Let the user override the test with a path.
8712 fi
8713 fi
8714
8715 LD="$lt_cv_path_LD"
8716 if test -n "$LD"; then
8717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8718 $as_echo "$LD" >&6; }
8719 else
8720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 $as_echo "no" >&6; }
8722 fi
8723 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8725 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8726 if ${lt_cv_prog_gnu_ld+:} false; then :
8727   $as_echo_n "(cached) " >&6
8728 else
8729   # I'd rather use --version here, but apparently some GNU lds only accept -v.
8730 case `$LD -v 2>&1 </dev/null` in
8731 *GNU* | *'with BFD'*)
8732   lt_cv_prog_gnu_ld=yes
8733   ;;
8734 *)
8735   lt_cv_prog_gnu_ld=no
8736   ;;
8737 esac
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8740 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8741 with_gnu_ld=$lt_cv_prog_gnu_ld
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8752 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8753 if ${lt_cv_path_NM+:} false; then :
8754   $as_echo_n "(cached) " >&6
8755 else
8756   if test -n "$NM"; then
8757   # Let the user override the test.
8758   lt_cv_path_NM="$NM"
8759 else
8760   lt_nm_to_check="${ac_tool_prefix}nm"
8761   if test -n "$ac_tool_prefix" \
8762      && { test "$build" = "$host" \
8763           || { test "$build_os" = cygwin && test "$host_os" = mingw32; }; \
8764         }; then
8765     lt_nm_to_check="$lt_nm_to_check nm"
8766   fi
8767   for lt_tmp_nm in $lt_nm_to_check; do
8768     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8769     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8770       IFS="$lt_save_ifs"
8771       test -z "$ac_dir" && ac_dir=.
8772       tmp_nm="$ac_dir/$lt_tmp_nm"
8773       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8774         # Check to see if the nm accepts a BSD-compat flag.
8775         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8776         #   nm: unknown option "B" ignored
8777         # Tru64's nm complains that /dev/null is an invalid object file
8778         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8779         */dev/null* | *'Invalid file or object type'*)
8780           lt_cv_path_NM="$tmp_nm -B"
8781           break
8782           ;;
8783         *)
8784           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8785           */dev/null*)
8786             lt_cv_path_NM="$tmp_nm -p"
8787             break
8788             ;;
8789           *)
8790             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8791             continue # so that we can try to find one that supports BSD flags
8792             ;;
8793           esac
8794           ;;
8795         esac
8796       fi
8797     done
8798     IFS="$lt_save_ifs"
8799   done
8800   : ${lt_cv_path_NM=no}
8801 fi
8802 fi
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8804 $as_echo "$lt_cv_path_NM" >&6; }
8805 if test "$lt_cv_path_NM" != "no"; then
8806   NM="$lt_cv_path_NM"
8807 else
8808   # Didn't find any BSD compatible name lister, look for dumpbin.
8809   if test -n "$DUMPBIN"; then :
8810     # Let the user override the test.
8811   else
8812     if test -n "$ac_tool_prefix"; then
8813   for ac_prog in dumpbin "link -dump"
8814   do
8815     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8818 $as_echo_n "checking for $ac_word... " >&6; }
8819 if ${ac_cv_prog_DUMPBIN+:} false; then :
8820   $as_echo_n "(cached) " >&6
8821 else
8822   if test -n "$DUMPBIN"; then
8823   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8824 else
8825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8826 for as_dir in $PATH
8827 do
8828   IFS=$as_save_IFS
8829   test -z "$as_dir" && as_dir=.
8830     for ac_exec_ext in '' $ac_executable_extensions; do
8831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8832     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8834     break 2
8835   fi
8836 done
8837   done
8838 IFS=$as_save_IFS
8839
8840 fi
8841 fi
8842 DUMPBIN=$ac_cv_prog_DUMPBIN
8843 if test -n "$DUMPBIN"; then
8844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8845 $as_echo "$DUMPBIN" >&6; }
8846 else
8847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8849 fi
8850
8851
8852     test -n "$DUMPBIN" && break
8853   done
8854 fi
8855 if test -z "$DUMPBIN"; then
8856   ac_ct_DUMPBIN=$DUMPBIN
8857   for ac_prog in dumpbin "link -dump"
8858 do
8859   # Extract the first word of "$ac_prog", so it can be a program name with args.
8860 set dummy $ac_prog; ac_word=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8862 $as_echo_n "checking for $ac_word... " >&6; }
8863 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8864   $as_echo_n "(cached) " >&6
8865 else
8866   if test -n "$ac_ct_DUMPBIN"; then
8867   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8868 else
8869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8870 for as_dir in $PATH
8871 do
8872   IFS=$as_save_IFS
8873   test -z "$as_dir" && as_dir=.
8874     for ac_exec_ext in '' $ac_executable_extensions; do
8875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8876     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8878     break 2
8879   fi
8880 done
8881   done
8882 IFS=$as_save_IFS
8883
8884 fi
8885 fi
8886 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8887 if test -n "$ac_ct_DUMPBIN"; then
8888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8889 $as_echo "$ac_ct_DUMPBIN" >&6; }
8890 else
8891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8892 $as_echo "no" >&6; }
8893 fi
8894
8895
8896   test -n "$ac_ct_DUMPBIN" && break
8897 done
8898
8899   if test "x$ac_ct_DUMPBIN" = x; then
8900     DUMPBIN=":"
8901   else
8902     case $cross_compiling:$ac_tool_warned in
8903 yes:)
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8906 ac_tool_warned=yes ;;
8907 esac
8908     DUMPBIN=$ac_ct_DUMPBIN
8909   fi
8910 fi
8911
8912     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8913     *COFF*)
8914       DUMPBIN="$DUMPBIN -symbols"
8915       ;;
8916     *)
8917       DUMPBIN=:
8918       ;;
8919     esac
8920   fi
8921
8922   if test "$DUMPBIN" != ":"; then
8923     NM="$DUMPBIN"
8924   fi
8925 fi
8926 test -z "$NM" && NM=nm
8927
8928
8929
8930
8931
8932
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8934 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8935 if ${lt_cv_nm_interface+:} false; then :
8936   $as_echo_n "(cached) " >&6
8937 else
8938   lt_cv_nm_interface="BSD nm"
8939   echo "int some_variable = 0;" > conftest.$ac_ext
8940   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8941   (eval "$ac_compile" 2>conftest.err)
8942   cat conftest.err >&5
8943   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8944   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8945   cat conftest.err >&5
8946   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8947   cat conftest.out >&5
8948   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8949     lt_cv_nm_interface="MS dumpbin"
8950   fi
8951   rm -f conftest*
8952 fi
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8954 $as_echo "$lt_cv_nm_interface" >&6; }
8955
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8957 $as_echo_n "checking whether ln -s works... " >&6; }
8958 LN_S=$as_ln_s
8959 if test "$LN_S" = "ln -s"; then
8960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8961 $as_echo "yes" >&6; }
8962 else
8963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8964 $as_echo "no, using $LN_S" >&6; }
8965 fi
8966
8967 # find the maximum length of command line arguments
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8969 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8970 if ${lt_cv_sys_max_cmd_len+:} false; then :
8971   $as_echo_n "(cached) " >&6
8972 else
8973     i=0
8974   teststring="ABCD"
8975
8976   case $build_os in
8977   msdosdjgpp*)
8978     # On DJGPP, this test can blow up pretty badly due to problems in libc
8979     # (any single argument exceeding 2000 bytes causes a buffer overrun
8980     # during glob expansion).  Even if it were fixed, the result of this
8981     # check would be larger than it should be.
8982     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8983     ;;
8984
8985   gnu*)
8986     # Under GNU Hurd, this test is not required because there is
8987     # no limit to the length of command line arguments.
8988     # Libtool will interpret -1 as no limit whatsoever
8989     lt_cv_sys_max_cmd_len=-1;
8990     ;;
8991
8992   cygwin* | mingw* | cegcc*)
8993     # On Win9x/ME, this test blows up -- it succeeds, but takes
8994     # about 5 minutes as the teststring grows exponentially.
8995     # Worse, since 9x/ME are not pre-emptively multitasking,
8996     # you end up with a "frozen" computer, even though with patience
8997     # the test eventually succeeds (with a max line length of 256k).
8998     # Instead, let's just punt: use the minimum linelength reported by
8999     # all of the supported platforms: 8192 (on NT/2K/XP).
9000     lt_cv_sys_max_cmd_len=8192;
9001     ;;
9002
9003   mint*)
9004     # On MiNT this can take a long time and run out of memory.
9005     lt_cv_sys_max_cmd_len=8192;
9006     ;;
9007
9008   amigaos*)
9009     # On AmigaOS with pdksh, this test takes hours, literally.
9010     # So we just punt and use a minimum line length of 8192.
9011     lt_cv_sys_max_cmd_len=8192;
9012     ;;
9013
9014   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9015     # This has been around since 386BSD, at least.  Likely further.
9016     if test -x /sbin/sysctl; then
9017       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9018     elif test -x /usr/sbin/sysctl; then
9019       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9020     else
9021       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
9022     fi
9023     # And add a safety zone
9024     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9025     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9026     ;;
9027
9028   interix*)
9029     # We know the value 262144 and hardcode it with a safety zone (like BSD)
9030     lt_cv_sys_max_cmd_len=196608
9031     ;;
9032
9033   os2*)
9034     # The test takes a long time on OS/2.
9035     lt_cv_sys_max_cmd_len=8192
9036     ;;
9037
9038   osf*)
9039     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9040     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9041     # nice to cause kernel panics so lets avoid the loop below.
9042     # First set a reasonable default.
9043     lt_cv_sys_max_cmd_len=16384
9044     #
9045     if test -x /sbin/sysconfig; then
9046       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9047         *1*) lt_cv_sys_max_cmd_len=-1 ;;
9048       esac
9049     fi
9050     ;;
9051   sco3.2v5*)
9052     lt_cv_sys_max_cmd_len=102400
9053     ;;
9054   sysv5* | sco5v6* | sysv4.2uw2*)
9055     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9056     if test -n "$kargmax"; then
9057       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
9058     else
9059       lt_cv_sys_max_cmd_len=32768
9060     fi
9061     ;;
9062   *)
9063     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9064     if test -n "$lt_cv_sys_max_cmd_len"; then
9065       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9066       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9067     else
9068       # Make teststring a little bigger before we do anything with it.
9069       # a 1K string should be a reasonable start.
9070       for i in 1 2 3 4 5 6 7 8 ; do
9071         teststring=$teststring$teststring
9072       done
9073       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9074       # If test is not a shell built-in, we'll probably end up computing a
9075       # maximum length that is only half of the actual maximum length, but
9076       # we can't tell.
9077       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
9078                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
9079               test $i != 17 # 1/2 MB should be enough
9080       do
9081         i=`expr $i + 1`
9082         teststring=$teststring$teststring
9083       done
9084       # Only check the string length outside the loop.
9085       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9086       teststring=
9087       # Add a significant safety factor because C++ compilers can tack on
9088       # massive amounts of additional arguments before passing them to the
9089       # linker.  It appears as though 1/2 is a usable value.
9090       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9091     fi
9092     ;;
9093   esac
9094
9095 fi
9096
9097 if test -n $lt_cv_sys_max_cmd_len ; then
9098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9099 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9100 else
9101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9102 $as_echo "none" >&6; }
9103 fi
9104 max_cmd_len=$lt_cv_sys_max_cmd_len
9105
9106
9107
9108
9109
9110
9111 : ${CP="cp -f"}
9112 : ${MV="mv -f"}
9113 : ${RM="rm -f"}
9114
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
9116 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
9117 # Try some XSI features
9118 xsi_shell=no
9119 ( _lt_dummy="a/b/c"
9120   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
9121       = c,a/b,b/c, \
9122     && eval 'test $(( 1 + 1 )) -eq 2 \
9123     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9124   && xsi_shell=yes
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
9126 $as_echo "$xsi_shell" >&6; }
9127
9128
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
9130 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
9131 lt_shell_append=no
9132 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
9133     >/dev/null 2>&1 \
9134   && lt_shell_append=yes
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
9136 $as_echo "$lt_shell_append" >&6; }
9137
9138
9139 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9140   lt_unset=unset
9141 else
9142   lt_unset=false
9143 fi
9144
9145
9146
9147
9148
9149 # test EBCDIC or ASCII
9150 case `echo X|tr X '\101'` in
9151  A) # ASCII based system
9152     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9153   lt_SP2NL='tr \040 \012'
9154   lt_NL2SP='tr \015\012 \040\040'
9155   ;;
9156  *) # EBCDIC based system
9157   lt_SP2NL='tr \100 \n'
9158   lt_NL2SP='tr \r\n \100\100'
9159   ;;
9160 esac
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
9171 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
9172 if ${lt_cv_to_host_file_cmd+:} false; then :
9173   $as_echo_n "(cached) " >&6
9174 else
9175   case $host in
9176   *-*-mingw* )
9177     case $build in
9178       *-*-mingw* ) # actually msys
9179         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
9180         ;;
9181       *-*-cygwin* )
9182         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
9183         ;;
9184       * ) # otherwise, assume *nix
9185         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
9186         ;;
9187     esac
9188     ;;
9189   *-*-cygwin* )
9190     case $build in
9191       *-*-mingw* ) # actually msys
9192         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
9193         ;;
9194       *-*-cygwin* )
9195         lt_cv_to_host_file_cmd=func_convert_file_noop
9196         ;;
9197       * ) # otherwise, assume *nix
9198         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
9199         ;;
9200     esac
9201     ;;
9202   * ) # unhandled hosts (and "normal" native builds)
9203     lt_cv_to_host_file_cmd=func_convert_file_noop
9204     ;;
9205 esac
9206
9207 fi
9208
9209 to_host_file_cmd=$lt_cv_to_host_file_cmd
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9211 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
9212
9213
9214
9215
9216
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
9218 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
9219 if ${lt_cv_to_tool_file_cmd+:} false; then :
9220   $as_echo_n "(cached) " >&6
9221 else
9222   #assume ordinary cross tools, or native build.
9223 lt_cv_to_tool_file_cmd=func_convert_file_noop
9224 case $host in
9225   *-*-mingw* )
9226     case $build in
9227       *-*-mingw* ) # actually msys
9228         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
9229         ;;
9230     esac
9231     ;;
9232 esac
9233
9234 fi
9235
9236 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9238 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
9239
9240
9241
9242
9243
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9245 $as_echo_n "checking for $LD option to reload object files... " >&6; }
9246 if ${lt_cv_ld_reload_flag+:} false; then :
9247   $as_echo_n "(cached) " >&6
9248 else
9249   lt_cv_ld_reload_flag='-r'
9250 fi
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9252 $as_echo "$lt_cv_ld_reload_flag" >&6; }
9253 reload_flag=$lt_cv_ld_reload_flag
9254 case $reload_flag in
9255 "" | " "*) ;;
9256 *) reload_flag=" $reload_flag" ;;
9257 esac
9258 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9259 case $host_os in
9260   cygwin* | mingw* | pw32* | cegcc*)
9261     if test "$GCC" != yes; then
9262       reload_cmds=false
9263     fi
9264     ;;
9265   darwin*)
9266     if test "$GCC" = yes; then
9267       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9268     else
9269       reload_cmds='$LD$reload_flag -o $output$reload_objs'
9270     fi
9271     ;;
9272 esac
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282 if test -n "$ac_tool_prefix"; then
9283   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9284 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9286 $as_echo_n "checking for $ac_word... " >&6; }
9287 if ${ac_cv_prog_OBJDUMP+:} false; then :
9288   $as_echo_n "(cached) " >&6
9289 else
9290   if test -n "$OBJDUMP"; then
9291   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9292 else
9293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9294 for as_dir in $PATH
9295 do
9296   IFS=$as_save_IFS
9297   test -z "$as_dir" && as_dir=.
9298     for ac_exec_ext in '' $ac_executable_extensions; do
9299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9300     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9302     break 2
9303   fi
9304 done
9305   done
9306 IFS=$as_save_IFS
9307
9308 fi
9309 fi
9310 OBJDUMP=$ac_cv_prog_OBJDUMP
9311 if test -n "$OBJDUMP"; then
9312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9313 $as_echo "$OBJDUMP" >&6; }
9314 else
9315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 $as_echo "no" >&6; }
9317 fi
9318
9319
9320 fi
9321 if test -z "$ac_cv_prog_OBJDUMP"; then
9322   ac_ct_OBJDUMP=$OBJDUMP
9323   # Extract the first word of "objdump", so it can be a program name with args.
9324 set dummy objdump; ac_word=$2
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 $as_echo_n "checking for $ac_word... " >&6; }
9327 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9328   $as_echo_n "(cached) " >&6
9329 else
9330   if test -n "$ac_ct_OBJDUMP"; then
9331   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9332 else
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 for as_dir in $PATH
9335 do
9336   IFS=$as_save_IFS
9337   test -z "$as_dir" && as_dir=.
9338     for ac_exec_ext in '' $ac_executable_extensions; do
9339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9340     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9342     break 2
9343   fi
9344 done
9345   done
9346 IFS=$as_save_IFS
9347
9348 fi
9349 fi
9350 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9351 if test -n "$ac_ct_OBJDUMP"; then
9352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9353 $as_echo "$ac_ct_OBJDUMP" >&6; }
9354 else
9355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9356 $as_echo "no" >&6; }
9357 fi
9358
9359   if test "x$ac_ct_OBJDUMP" = x; then
9360     OBJDUMP="false"
9361   else
9362     case $cross_compiling:$ac_tool_warned in
9363 yes:)
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9366 ac_tool_warned=yes ;;
9367 esac
9368     OBJDUMP=$ac_ct_OBJDUMP
9369   fi
9370 else
9371   OBJDUMP="$ac_cv_prog_OBJDUMP"
9372 fi
9373
9374 test -z "$OBJDUMP" && OBJDUMP=objdump
9375
9376
9377
9378
9379
9380
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9382 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
9383 if ${lt_cv_deplibs_check_method+:} false; then :
9384   $as_echo_n "(cached) " >&6
9385 else
9386   lt_cv_file_magic_cmd='$MAGIC_CMD'
9387 lt_cv_file_magic_test_file=
9388 lt_cv_deplibs_check_method='unknown'
9389 # Need to set the preceding variable on all platforms that support
9390 # interlibrary dependencies.
9391 # 'none' -- dependencies not supported.
9392 # `unknown' -- same as none, but documents that we really don't know.
9393 # 'pass_all' -- all dependencies passed with no checks.
9394 # 'test_compile' -- check by making test program.
9395 # 'file_magic [[regex]]' -- check by looking for files in library path
9396 # which responds to the $file_magic_cmd with a given extended regex.
9397 # If you have `file' or equivalent on your system and you're not sure
9398 # whether `pass_all' will *always* work, you probably want this one.
9399
9400 case $host_os in
9401 aix[4-9]*)
9402   lt_cv_deplibs_check_method=pass_all
9403   ;;
9404
9405 beos*)
9406   lt_cv_deplibs_check_method=pass_all
9407   ;;
9408
9409 bsdi[45]*)
9410   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9411   lt_cv_file_magic_cmd='/usr/bin/file -L'
9412   lt_cv_file_magic_test_file=/shlib/libc.so
9413   ;;
9414
9415 cygwin*)
9416   # func_win32_libid is a shell function defined in ltmain.sh
9417   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9418   lt_cv_file_magic_cmd='func_win32_libid'
9419   ;;
9420
9421 mingw* | pw32*)
9422   # Base MSYS/MinGW do not provide the 'file' command needed by
9423   # func_win32_libid shell function, so use a weaker test based on 'objdump',
9424   # unless we find 'file', for example because we are cross-compiling.
9425   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
9426   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
9427     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9428     lt_cv_file_magic_cmd='func_win32_libid'
9429   else
9430     # Keep this pattern in sync with the one in func_win32_libid.
9431     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
9432     lt_cv_file_magic_cmd='$OBJDUMP -f'
9433   fi
9434   ;;
9435
9436 cegcc*)
9437   # use the weaker test based on 'objdump'. See mingw*.
9438   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9439   lt_cv_file_magic_cmd='$OBJDUMP -f'
9440   ;;
9441
9442 darwin* | rhapsody*)
9443   lt_cv_deplibs_check_method=pass_all
9444   ;;
9445
9446 freebsd* | dragonfly*)
9447   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9448     case $host_cpu in
9449     i*86 )
9450       # Not sure whether the presence of OpenBSD here was a mistake.
9451       # Let's accept both of them until this is cleared up.
9452       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9453       lt_cv_file_magic_cmd=/usr/bin/file
9454       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9455       ;;
9456     esac
9457   else
9458     lt_cv_deplibs_check_method=pass_all
9459   fi
9460   ;;
9461
9462 gnu*)
9463   lt_cv_deplibs_check_method=pass_all
9464   ;;
9465
9466 haiku*)
9467   lt_cv_deplibs_check_method=pass_all
9468   ;;
9469
9470 hpux10.20* | hpux11*)
9471   lt_cv_file_magic_cmd=/usr/bin/file
9472   case $host_cpu in
9473   ia64*)
9474     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9475     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9476     ;;
9477   hppa*64*)
9478     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]'
9479     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9480     ;;
9481   *)
9482     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9483     lt_cv_file_magic_test_file=/usr/lib/libc.sl
9484     ;;
9485   esac
9486   ;;
9487
9488 interix[3-9]*)
9489   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9490   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9491   ;;
9492
9493 irix5* | irix6* | nonstopux*)
9494   case $LD in
9495   *-32|*"-32 ") libmagic=32-bit;;
9496   *-n32|*"-n32 ") libmagic=N32;;
9497   *-64|*"-64 ") libmagic=64-bit;;
9498   *) libmagic=never-match;;
9499   esac
9500   lt_cv_deplibs_check_method=pass_all
9501   ;;
9502
9503 # This must be glibc/ELF.
9504 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9505   lt_cv_deplibs_check_method=pass_all
9506   ;;
9507
9508 netbsd*)
9509   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9510     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9511   else
9512     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9513   fi
9514   ;;
9515
9516 newos6*)
9517   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9518   lt_cv_file_magic_cmd=/usr/bin/file
9519   lt_cv_file_magic_test_file=/usr/lib/libnls.so
9520   ;;
9521
9522 *nto* | *qnx*)
9523   lt_cv_deplibs_check_method=pass_all
9524   ;;
9525
9526 openbsd*)
9527   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9528     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9529   else
9530     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9531   fi
9532   ;;
9533
9534 osf3* | osf4* | osf5*)
9535   lt_cv_deplibs_check_method=pass_all
9536   ;;
9537
9538 rdos*)
9539   lt_cv_deplibs_check_method=pass_all
9540   ;;
9541
9542 solaris*)
9543   lt_cv_deplibs_check_method=pass_all
9544   ;;
9545
9546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9547   lt_cv_deplibs_check_method=pass_all
9548   ;;
9549
9550 sysv4 | sysv4.3*)
9551   case $host_vendor in
9552   motorola)
9553     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]'
9554     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9555     ;;
9556   ncr)
9557     lt_cv_deplibs_check_method=pass_all
9558     ;;
9559   sequent)
9560     lt_cv_file_magic_cmd='/bin/file'
9561     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9562     ;;
9563   sni)
9564     lt_cv_file_magic_cmd='/bin/file'
9565     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9566     lt_cv_file_magic_test_file=/lib/libc.so
9567     ;;
9568   siemens)
9569     lt_cv_deplibs_check_method=pass_all
9570     ;;
9571   pc)
9572     lt_cv_deplibs_check_method=pass_all
9573     ;;
9574   esac
9575   ;;
9576
9577 tpf*)
9578   lt_cv_deplibs_check_method=pass_all
9579   ;;
9580 esac
9581
9582 fi
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9584 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9585
9586 file_magic_glob=
9587 want_nocaseglob=no
9588 if test "$build" = "$host"; then
9589   case $host_os in
9590   mingw* | pw32*)
9591     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
9592       want_nocaseglob=yes
9593     else
9594       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9595     fi
9596     ;;
9597   esac
9598 fi
9599
9600 file_magic_cmd=$lt_cv_file_magic_cmd
9601 deplibs_check_method=$lt_cv_deplibs_check_method
9602 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625 if test -n "$ac_tool_prefix"; then
9626   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9627 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 $as_echo_n "checking for $ac_word... " >&6; }
9630 if ${ac_cv_prog_DLLTOOL+:} false; then :
9631   $as_echo_n "(cached) " >&6
9632 else
9633   if test -n "$DLLTOOL"; then
9634   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9638 do
9639   IFS=$as_save_IFS
9640   test -z "$as_dir" && as_dir=.
9641     for ac_exec_ext in '' $ac_executable_extensions; do
9642   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645     break 2
9646   fi
9647 done
9648   done
9649 IFS=$as_save_IFS
9650
9651 fi
9652 fi
9653 DLLTOOL=$ac_cv_prog_DLLTOOL
9654 if test -n "$DLLTOOL"; then
9655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9656 $as_echo "$DLLTOOL" >&6; }
9657 else
9658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 $as_echo "no" >&6; }
9660 fi
9661
9662
9663 fi
9664 if test -z "$ac_cv_prog_DLLTOOL"; then
9665   ac_ct_DLLTOOL=$DLLTOOL
9666   # Extract the first word of "dlltool", so it can be a program name with args.
9667 set dummy dlltool; ac_word=$2
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9669 $as_echo_n "checking for $ac_word... " >&6; }
9670 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9671   $as_echo_n "(cached) " >&6
9672 else
9673   if test -n "$ac_ct_DLLTOOL"; then
9674   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9675 else
9676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 for as_dir in $PATH
9678 do
9679   IFS=$as_save_IFS
9680   test -z "$as_dir" && as_dir=.
9681     for ac_exec_ext in '' $ac_executable_extensions; do
9682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9683     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9685     break 2
9686   fi
9687 done
9688   done
9689 IFS=$as_save_IFS
9690
9691 fi
9692 fi
9693 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9694 if test -n "$ac_ct_DLLTOOL"; then
9695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9696 $as_echo "$ac_ct_DLLTOOL" >&6; }
9697 else
9698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9700 fi
9701
9702   if test "x$ac_ct_DLLTOOL" = x; then
9703     DLLTOOL="false"
9704   else
9705     case $cross_compiling:$ac_tool_warned in
9706 yes:)
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9709 ac_tool_warned=yes ;;
9710 esac
9711     DLLTOOL=$ac_ct_DLLTOOL
9712   fi
9713 else
9714   DLLTOOL="$ac_cv_prog_DLLTOOL"
9715 fi
9716
9717 test -z "$DLLTOOL" && DLLTOOL=dlltool
9718
9719
9720
9721
9722
9723
9724
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9726 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
9727 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
9728   $as_echo_n "(cached) " >&6
9729 else
9730   lt_cv_sharedlib_from_linklib_cmd='unknown'
9731
9732 case $host_os in
9733 cygwin* | mingw* | pw32* | cegcc*)
9734   # two different shell functions defined in ltmain.sh
9735   # decide which to use based on capabilities of $DLLTOOL
9736   case `$DLLTOOL --help 2>&1` in
9737   *--identify-strict*)
9738     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9739     ;;
9740   *)
9741     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9742     ;;
9743   esac
9744   ;;
9745 *)
9746   # fallback: assume linklib IS sharedlib
9747   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
9748   ;;
9749 esac
9750
9751 fi
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9753 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9754 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9755 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9756
9757
9758
9759
9760
9761
9762
9763 if test -n "$ac_tool_prefix"; then
9764   for ac_prog in ar
9765   do
9766     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9767 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9769 $as_echo_n "checking for $ac_word... " >&6; }
9770 if ${ac_cv_prog_AR+:} false; then :
9771   $as_echo_n "(cached) " >&6
9772 else
9773   if test -n "$AR"; then
9774   ac_cv_prog_AR="$AR" # Let the user override the test.
9775 else
9776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 for as_dir in $PATH
9778 do
9779   IFS=$as_save_IFS
9780   test -z "$as_dir" && as_dir=.
9781     for ac_exec_ext in '' $ac_executable_extensions; do
9782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9785     break 2
9786   fi
9787 done
9788   done
9789 IFS=$as_save_IFS
9790
9791 fi
9792 fi
9793 AR=$ac_cv_prog_AR
9794 if test -n "$AR"; then
9795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9796 $as_echo "$AR" >&6; }
9797 else
9798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9799 $as_echo "no" >&6; }
9800 fi
9801
9802
9803     test -n "$AR" && break
9804   done
9805 fi
9806 if test -z "$AR"; then
9807   ac_ct_AR=$AR
9808   for ac_prog in ar
9809 do
9810   # Extract the first word of "$ac_prog", so it can be a program name with args.
9811 set dummy $ac_prog; ac_word=$2
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9813 $as_echo_n "checking for $ac_word... " >&6; }
9814 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9815   $as_echo_n "(cached) " >&6
9816 else
9817   if test -n "$ac_ct_AR"; then
9818   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9819 else
9820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 for as_dir in $PATH
9822 do
9823   IFS=$as_save_IFS
9824   test -z "$as_dir" && as_dir=.
9825     for ac_exec_ext in '' $ac_executable_extensions; do
9826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9827     ac_cv_prog_ac_ct_AR="$ac_prog"
9828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9829     break 2
9830   fi
9831 done
9832   done
9833 IFS=$as_save_IFS
9834
9835 fi
9836 fi
9837 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9838 if test -n "$ac_ct_AR"; then
9839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9840 $as_echo "$ac_ct_AR" >&6; }
9841 else
9842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9843 $as_echo "no" >&6; }
9844 fi
9845
9846
9847   test -n "$ac_ct_AR" && break
9848 done
9849
9850   if test "x$ac_ct_AR" = x; then
9851     AR="false"
9852   else
9853     case $cross_compiling:$ac_tool_warned in
9854 yes:)
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9857 ac_tool_warned=yes ;;
9858 esac
9859     AR=$ac_ct_AR
9860   fi
9861 fi
9862
9863 : ${AR=ar}
9864 : ${AR_FLAGS=cru}
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9877 $as_echo_n "checking for archiver @FILE support... " >&6; }
9878 if ${lt_cv_ar_at_file+:} false; then :
9879   $as_echo_n "(cached) " >&6
9880 else
9881   lt_cv_ar_at_file=no
9882    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h.  */
9884
9885 int
9886 main ()
9887 {
9888
9889   ;
9890   return 0;
9891 }
9892 _ACEOF
9893 if ac_fn_c_try_compile "$LINENO"; then :
9894   echo conftest.$ac_objext > conftest.lst
9895       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9896       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9897   (eval $lt_ar_try) 2>&5
9898   ac_status=$?
9899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9900   test $ac_status = 0; }
9901       if test "$ac_status" -eq 0; then
9902         # Ensure the archiver fails upon bogus file names.
9903         rm -f conftest.$ac_objext libconftest.a
9904         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9905   (eval $lt_ar_try) 2>&5
9906   ac_status=$?
9907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9908   test $ac_status = 0; }
9909         if test "$ac_status" -ne 0; then
9910           lt_cv_ar_at_file=@
9911         fi
9912       fi
9913       rm -f conftest.* libconftest.a
9914
9915 fi
9916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9917
9918 fi
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9920 $as_echo "$lt_cv_ar_at_file" >&6; }
9921
9922 if test "x$lt_cv_ar_at_file" = xno; then
9923   archiver_list_spec=
9924 else
9925   archiver_list_spec=$lt_cv_ar_at_file
9926 fi
9927
9928
9929
9930
9931
9932
9933
9934 if test -n "$ac_tool_prefix"; then
9935   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9936 set dummy ${ac_tool_prefix}strip; ac_word=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9938 $as_echo_n "checking for $ac_word... " >&6; }
9939 if ${ac_cv_prog_STRIP+:} false; then :
9940   $as_echo_n "(cached) " >&6
9941 else
9942   if test -n "$STRIP"; then
9943   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9944 else
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946 for as_dir in $PATH
9947 do
9948   IFS=$as_save_IFS
9949   test -z "$as_dir" && as_dir=.
9950     for ac_exec_ext in '' $ac_executable_extensions; do
9951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9954     break 2
9955   fi
9956 done
9957   done
9958 IFS=$as_save_IFS
9959
9960 fi
9961 fi
9962 STRIP=$ac_cv_prog_STRIP
9963 if test -n "$STRIP"; then
9964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9965 $as_echo "$STRIP" >&6; }
9966 else
9967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 $as_echo "no" >&6; }
9969 fi
9970
9971
9972 fi
9973 if test -z "$ac_cv_prog_STRIP"; then
9974   ac_ct_STRIP=$STRIP
9975   # Extract the first word of "strip", so it can be a program name with args.
9976 set dummy strip; ac_word=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 $as_echo_n "checking for $ac_word... " >&6; }
9979 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9980   $as_echo_n "(cached) " >&6
9981 else
9982   if test -n "$ac_ct_STRIP"; then
9983   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9984 else
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 for as_dir in $PATH
9987 do
9988   IFS=$as_save_IFS
9989   test -z "$as_dir" && as_dir=.
9990     for ac_exec_ext in '' $ac_executable_extensions; do
9991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9992     ac_cv_prog_ac_ct_STRIP="strip"
9993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9994     break 2
9995   fi
9996 done
9997   done
9998 IFS=$as_save_IFS
9999
10000 fi
10001 fi
10002 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10003 if test -n "$ac_ct_STRIP"; then
10004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10005 $as_echo "$ac_ct_STRIP" >&6; }
10006 else
10007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 $as_echo "no" >&6; }
10009 fi
10010
10011   if test "x$ac_ct_STRIP" = x; then
10012     STRIP=":"
10013   else
10014     case $cross_compiling:$ac_tool_warned in
10015 yes:)
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10018 ac_tool_warned=yes ;;
10019 esac
10020     STRIP=$ac_ct_STRIP
10021   fi
10022 else
10023   STRIP="$ac_cv_prog_STRIP"
10024 fi
10025
10026 test -z "$STRIP" && STRIP=:
10027
10028
10029
10030
10031
10032
10033 if test -n "$ac_tool_prefix"; then
10034   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10035 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10037 $as_echo_n "checking for $ac_word... " >&6; }
10038 if ${ac_cv_prog_RANLIB+:} false; then :
10039   $as_echo_n "(cached) " >&6
10040 else
10041   if test -n "$RANLIB"; then
10042   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10043 else
10044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10045 for as_dir in $PATH
10046 do
10047   IFS=$as_save_IFS
10048   test -z "$as_dir" && as_dir=.
10049     for ac_exec_ext in '' $ac_executable_extensions; do
10050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10051     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10053     break 2
10054   fi
10055 done
10056   done
10057 IFS=$as_save_IFS
10058
10059 fi
10060 fi
10061 RANLIB=$ac_cv_prog_RANLIB
10062 if test -n "$RANLIB"; then
10063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10064 $as_echo "$RANLIB" >&6; }
10065 else
10066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10067 $as_echo "no" >&6; }
10068 fi
10069
10070
10071 fi
10072 if test -z "$ac_cv_prog_RANLIB"; then
10073   ac_ct_RANLIB=$RANLIB
10074   # Extract the first word of "ranlib", so it can be a program name with args.
10075 set dummy ranlib; ac_word=$2
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10077 $as_echo_n "checking for $ac_word... " >&6; }
10078 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
10079   $as_echo_n "(cached) " >&6
10080 else
10081   if test -n "$ac_ct_RANLIB"; then
10082   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10083 else
10084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10085 for as_dir in $PATH
10086 do
10087   IFS=$as_save_IFS
10088   test -z "$as_dir" && as_dir=.
10089     for ac_exec_ext in '' $ac_executable_extensions; do
10090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10091     ac_cv_prog_ac_ct_RANLIB="ranlib"
10092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10093     break 2
10094   fi
10095 done
10096   done
10097 IFS=$as_save_IFS
10098
10099 fi
10100 fi
10101 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10102 if test -n "$ac_ct_RANLIB"; then
10103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10104 $as_echo "$ac_ct_RANLIB" >&6; }
10105 else
10106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10107 $as_echo "no" >&6; }
10108 fi
10109
10110   if test "x$ac_ct_RANLIB" = x; then
10111     RANLIB=":"
10112   else
10113     case $cross_compiling:$ac_tool_warned in
10114 yes:)
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10117 ac_tool_warned=yes ;;
10118 esac
10119     RANLIB=$ac_ct_RANLIB
10120   fi
10121 else
10122   RANLIB="$ac_cv_prog_RANLIB"
10123 fi
10124
10125 test -z "$RANLIB" && RANLIB=:
10126
10127
10128
10129
10130
10131
10132 # Determine commands to create old-style static archives.
10133 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10134 old_postinstall_cmds='chmod 644 $oldlib'
10135 old_postuninstall_cmds=
10136
10137 if test -n "$RANLIB"; then
10138   case $host_os in
10139   openbsd*)
10140     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10141     ;;
10142   *)
10143     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
10144     ;;
10145   esac
10146   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
10147 fi
10148
10149 case $host_os in
10150   darwin*)
10151     lock_old_archive_extraction=yes ;;
10152   *)
10153     lock_old_archive_extraction=no ;;
10154 esac
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194 # If no C compiler was specified, use CC.
10195 LTCC=${LTCC-"$CC"}
10196
10197 # If no C compiler flags were specified, use CFLAGS.
10198 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10199
10200 # Allow CC to be a program name with arguments.
10201 compiler=$CC
10202
10203
10204 # Check for command to grab the raw symbol name followed by C symbol from nm.
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
10206 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
10207 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
10208   $as_echo_n "(cached) " >&6
10209 else
10210
10211 # These are sane defaults that work on at least a few old systems.
10212 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
10213
10214 # Character class describing NM global symbol codes.
10215 symcode='[BCDEGRST]'
10216
10217 # Regexp to match symbols that can be accessed directly from C.
10218 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10219
10220 # Define system-specific variables.
10221 case $host_os in
10222 aix*)
10223   symcode='[BCDT]'
10224   ;;
10225 cygwin* | mingw* | pw32* | cegcc*)
10226   symcode='[ABCDGISTW]'
10227   ;;
10228 hpux*)
10229   if test "$host_cpu" = ia64; then
10230     symcode='[ABCDEGRST]'
10231   fi
10232   ;;
10233 irix* | nonstopux*)
10234   symcode='[BCDEGRST]'
10235   ;;
10236 osf*)
10237   symcode='[BCDEGQRST]'
10238   ;;
10239 solaris*)
10240   symcode='[BDRT]'
10241   ;;
10242 sco3.2v5*)
10243   symcode='[DT]'
10244   ;;
10245 sysv4.2uw2*)
10246   symcode='[DT]'
10247   ;;
10248 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10249   symcode='[ABDT]'
10250   ;;
10251 sysv4)
10252   symcode='[DFNSTU]'
10253   ;;
10254 esac
10255
10256 # If we're using GNU nm, then use its standard symbol codes.
10257 case `$NM -V 2>&1` in
10258 *GNU* | *'with BFD'*)
10259   symcode='[ABCDGIRSTW]' ;;
10260 esac
10261
10262 # Transform an extracted symbol line into a proper C declaration.
10263 # Some systems (esp. on ia64) link data and code symbols differently,
10264 # so use this general approach.
10265 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10266
10267 # Transform an extracted symbol line into symbol name and symbol address
10268 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
10269 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'"
10270
10271 # Handle CRLF in mingw tool chain
10272 opt_cr=
10273 case $build_os in
10274 mingw*)
10275   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10276   ;;
10277 esac
10278
10279 # Try without a prefix underscore, then with it.
10280 for ac_symprfx in "" "_"; do
10281
10282   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10283   symxfrm="\\1 $ac_symprfx\\2 \\2"
10284
10285   # Write the raw and C identifiers.
10286   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10287     # Fake it for dumpbin and say T for any non-static function
10288     # and D for any global variable.
10289     # Also find C++ and __fastcall symbols from MSVC++,
10290     # which start with @ or ?.
10291     lt_cv_sys_global_symbol_pipe="$AWK '"\
10292 "     {last_section=section; section=\$ 3};"\
10293 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10294 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10295 "     \$ 0!~/External *\|/{next};"\
10296 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
10297 "     {if(hide[section]) next};"\
10298 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
10299 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
10300 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
10301 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
10302 "     ' prfx=^$ac_symprfx"
10303   else
10304     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10305   fi
10306   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
10307
10308   # Check to see that the pipe works correctly.
10309   pipe_works=no
10310
10311   rm -f conftest*
10312   cat > conftest.$ac_ext <<_LT_EOF
10313 #ifdef __cplusplus
10314 extern "C" {
10315 #endif
10316 char nm_test_var;
10317 void nm_test_func(void);
10318 void nm_test_func(void){}
10319 #ifdef __cplusplus
10320 }
10321 #endif
10322 int main(){nm_test_var='a';nm_test_func();return(0);}
10323 _LT_EOF
10324
10325   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10326   (eval $ac_compile) 2>&5
10327   ac_status=$?
10328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10329   test $ac_status = 0; }; then
10330     # Now try to grab the symbols.
10331     nlist=conftest.nm
10332     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
10333   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
10334   ac_status=$?
10335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10336   test $ac_status = 0; } && test -s "$nlist"; then
10337       # Try sorting and uniquifying the output.
10338       if sort "$nlist" | uniq > "$nlist"T; then
10339         mv -f "$nlist"T "$nlist"
10340       else
10341         rm -f "$nlist"T
10342       fi
10343
10344       # Make sure that we snagged all the symbols we need.
10345       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10346         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10347           cat <<_LT_EOF > conftest.$ac_ext
10348 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
10349 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
10350 /* DATA imports from DLLs on WIN32 con't be const, because runtime
10351    relocations are performed -- see ld's documentation on pseudo-relocs.  */
10352 # define LT_DLSYM_CONST
10353 #elif defined(__osf__)
10354 /* This system does not cope well with relocations in const data.  */
10355 # define LT_DLSYM_CONST
10356 #else
10357 # define LT_DLSYM_CONST const
10358 #endif
10359
10360 #ifdef __cplusplus
10361 extern "C" {
10362 #endif
10363
10364 _LT_EOF
10365           # Now generate the symbol file.
10366           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10367
10368           cat <<_LT_EOF >> conftest.$ac_ext
10369
10370 /* The mapping between symbol names and symbols.  */
10371 LT_DLSYM_CONST struct {
10372   const char *name;
10373   void       *address;
10374 }
10375 lt__PROGRAM__LTX_preloaded_symbols[] =
10376 {
10377   { "@PROGRAM@", (void *) 0 },
10378 _LT_EOF
10379           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10380           cat <<\_LT_EOF >> conftest.$ac_ext
10381   {0, (void *) 0}
10382 };
10383
10384 /* This works around a problem in FreeBSD linker */
10385 #ifdef FREEBSD_WORKAROUND
10386 static const void *lt_preloaded_setup() {
10387   return lt__PROGRAM__LTX_preloaded_symbols;
10388 }
10389 #endif
10390
10391 #ifdef __cplusplus
10392 }
10393 #endif
10394 _LT_EOF
10395           # Now try linking the two files.
10396           mv conftest.$ac_objext conftstm.$ac_objext
10397           lt_globsym_save_LIBS=$LIBS
10398           lt_globsym_save_CFLAGS=$CFLAGS
10399           LIBS="conftstm.$ac_objext"
10400           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10401           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10402   (eval $ac_link) 2>&5
10403   ac_status=$?
10404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10405   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
10406             pipe_works=yes
10407           fi
10408           LIBS=$lt_globsym_save_LIBS
10409           CFLAGS=$lt_globsym_save_CFLAGS
10410         else
10411           echo "cannot find nm_test_func in $nlist" >&5
10412         fi
10413       else
10414         echo "cannot find nm_test_var in $nlist" >&5
10415       fi
10416     else
10417       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10418     fi
10419   else
10420     echo "$progname: failed program was:" >&5
10421     cat conftest.$ac_ext >&5
10422   fi
10423   rm -rf conftest* conftst*
10424
10425   # Do not use the global_symbol_pipe unless it works.
10426   if test "$pipe_works" = yes; then
10427     break
10428   else
10429     lt_cv_sys_global_symbol_pipe=
10430   fi
10431 done
10432
10433 fi
10434
10435 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10436   lt_cv_sys_global_symbol_to_cdecl=
10437 fi
10438 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10440 $as_echo "failed" >&6; }
10441 else
10442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10443 $as_echo "ok" >&6; }
10444 fi
10445
10446 # Response file support.
10447 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10448   nm_file_list_spec='@'
10449 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10450   nm_file_list_spec='@'
10451 fi
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10480 $as_echo_n "checking for sysroot... " >&6; }
10481
10482 # Check whether --with-sysroot was given.
10483 if test "${with_sysroot+set}" = set; then :
10484   withval=$with_sysroot;
10485 else
10486   with_sysroot=no
10487 fi
10488
10489
10490 lt_sysroot=
10491 case ${with_sysroot} in #(
10492  yes)
10493    if test "$GCC" = yes; then
10494      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10495    fi
10496    ;; #(
10497  /*)
10498    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
10499    ;; #(
10500  no|'')
10501    ;; #(
10502  *)
10503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
10504 $as_echo "${with_sysroot}" >&6; }
10505    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
10506    ;;
10507 esac
10508
10509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10510 $as_echo "${lt_sysroot:-no}" >&6; }
10511
10512
10513
10514
10515
10516 # Check whether --enable-libtool-lock was given.
10517 if test "${enable_libtool_lock+set}" = set; then :
10518   enableval=$enable_libtool_lock;
10519 fi
10520
10521 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10522
10523 # Some flags need to be propagated to the compiler or linker for good
10524 # libtool support.
10525 case $host in
10526 ia64-*-hpux*)
10527   # Find out which ABI we are using.
10528   echo 'int i;' > conftest.$ac_ext
10529   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10530   (eval $ac_compile) 2>&5
10531   ac_status=$?
10532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10533   test $ac_status = 0; }; then
10534     case `/usr/bin/file conftest.$ac_objext` in
10535       *ELF-32*)
10536         HPUX_IA64_MODE="32"
10537         ;;
10538       *ELF-64*)
10539         HPUX_IA64_MODE="64"
10540         ;;
10541     esac
10542   fi
10543   rm -rf conftest*
10544   ;;
10545 *-*-irix6*)
10546   # Find out which ABI we are using.
10547   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10548   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10549   (eval $ac_compile) 2>&5
10550   ac_status=$?
10551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10552   test $ac_status = 0; }; then
10553     if test "$lt_cv_prog_gnu_ld" = yes; then
10554       case `/usr/bin/file conftest.$ac_objext` in
10555         *32-bit*)
10556           LD="${LD-ld} -melf32bsmip"
10557           ;;
10558         *N32*)
10559           LD="${LD-ld} -melf32bmipn32"
10560           ;;
10561         *64-bit*)
10562           LD="${LD-ld} -melf64bmip"
10563         ;;
10564       esac
10565     else
10566       case `/usr/bin/file conftest.$ac_objext` in
10567         *32-bit*)
10568           LD="${LD-ld} -32"
10569           ;;
10570         *N32*)
10571           LD="${LD-ld} -n32"
10572           ;;
10573         *64-bit*)
10574           LD="${LD-ld} -64"
10575           ;;
10576       esac
10577     fi
10578   fi
10579   rm -rf conftest*
10580   ;;
10581
10582 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
10583 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10584   # Find out which ABI we are using.
10585   echo 'int i;' > conftest.$ac_ext
10586   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10587   (eval $ac_compile) 2>&5
10588   ac_status=$?
10589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10590   test $ac_status = 0; }; then
10591     case `/usr/bin/file conftest.o` in
10592       *32-bit*)
10593         case $host in
10594           x86_64-*kfreebsd*-gnu)
10595             LD="${LD-ld} -m elf_i386_fbsd"
10596             ;;
10597           x86_64-*linux*)
10598             LD="${LD-ld} -m elf_i386"
10599             ;;
10600           ppc64-*linux*|powerpc64-*linux*)
10601             LD="${LD-ld} -m elf32ppclinux"
10602             ;;
10603           s390x-*linux*)
10604             LD="${LD-ld} -m elf_s390"
10605             ;;
10606           sparc64-*linux*)
10607             LD="${LD-ld} -m elf32_sparc"
10608             ;;
10609         esac
10610         ;;
10611       *64-bit*)
10612         case $host in
10613           x86_64-*kfreebsd*-gnu)
10614             LD="${LD-ld} -m elf_x86_64_fbsd"
10615             ;;
10616           x86_64-*linux*)
10617             LD="${LD-ld} -m elf_x86_64"
10618             ;;
10619           ppc*-*linux*|powerpc*-*linux*)
10620             LD="${LD-ld} -m elf64ppc"
10621             ;;
10622           s390*-*linux*|s390*-*tpf*)
10623             LD="${LD-ld} -m elf64_s390"
10624             ;;
10625           sparc*-*linux*)
10626             LD="${LD-ld} -m elf64_sparc"
10627             ;;
10628         esac
10629         ;;
10630     esac
10631   fi
10632   rm -rf conftest*
10633   ;;
10634
10635 *-*-sco3.2v5*)
10636   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10637   SAVE_CFLAGS="$CFLAGS"
10638   CFLAGS="$CFLAGS -belf"
10639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10640 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
10641 if ${lt_cv_cc_needs_belf+:} false; then :
10642   $as_echo_n "(cached) " >&6
10643 else
10644   ac_ext=c
10645 ac_cpp='$CPP $CPPFLAGS'
10646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10649
10650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h.  */
10652
10653 int
10654 main ()
10655 {
10656
10657   ;
10658   return 0;
10659 }
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662   lt_cv_cc_needs_belf=yes
10663 else
10664   lt_cv_cc_needs_belf=no
10665 fi
10666 rm -f core conftest.err conftest.$ac_objext \
10667     conftest$ac_exeext conftest.$ac_ext
10668      ac_ext=c
10669 ac_cpp='$CPP $CPPFLAGS'
10670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10673
10674 fi
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10676 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10677   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10678     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10679     CFLAGS="$SAVE_CFLAGS"
10680   fi
10681   ;;
10682 *-*solaris*)
10683   # Find out which ABI we are using.
10684   echo 'int i;' > conftest.$ac_ext
10685   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10686   (eval $ac_compile) 2>&5
10687   ac_status=$?
10688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10689   test $ac_status = 0; }; then
10690     case `/usr/bin/file conftest.o` in
10691     *64-bit*)
10692       case $lt_cv_prog_gnu_ld in
10693       yes*)
10694         case $host in
10695         i?86-*-solaris*)
10696           LD="${LD-ld} -m elf_x86_64"
10697           ;;
10698         sparc*-*-solaris*)
10699           LD="${LD-ld} -m elf64_sparc"
10700           ;;
10701         esac
10702         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
10703         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10704           LD="${LD-ld}_sol2"
10705         fi
10706         ;;
10707       *)
10708         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10709           LD="${LD-ld} -64"
10710         fi
10711         ;;
10712       esac
10713       ;;
10714     esac
10715   fi
10716   rm -rf conftest*
10717   ;;
10718 esac
10719
10720 need_locks="$enable_libtool_lock"
10721
10722 if test -n "$ac_tool_prefix"; then
10723   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10724 set dummy ${ac_tool_prefix}mt; ac_word=$2
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10726 $as_echo_n "checking for $ac_word... " >&6; }
10727 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
10728   $as_echo_n "(cached) " >&6
10729 else
10730   if test -n "$MANIFEST_TOOL"; then
10731   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10732 else
10733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10734 for as_dir in $PATH
10735 do
10736   IFS=$as_save_IFS
10737   test -z "$as_dir" && as_dir=.
10738     for ac_exec_ext in '' $ac_executable_extensions; do
10739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10740     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10742     break 2
10743   fi
10744 done
10745   done
10746 IFS=$as_save_IFS
10747
10748 fi
10749 fi
10750 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10751 if test -n "$MANIFEST_TOOL"; then
10752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10753 $as_echo "$MANIFEST_TOOL" >&6; }
10754 else
10755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10756 $as_echo "no" >&6; }
10757 fi
10758
10759
10760 fi
10761 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10762   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10763   # Extract the first word of "mt", so it can be a program name with args.
10764 set dummy mt; ac_word=$2
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10766 $as_echo_n "checking for $ac_word... " >&6; }
10767 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10768   $as_echo_n "(cached) " >&6
10769 else
10770   if test -n "$ac_ct_MANIFEST_TOOL"; then
10771   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10772 else
10773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10774 for as_dir in $PATH
10775 do
10776   IFS=$as_save_IFS
10777   test -z "$as_dir" && as_dir=.
10778     for ac_exec_ext in '' $ac_executable_extensions; do
10779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10780     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10782     break 2
10783   fi
10784 done
10785   done
10786 IFS=$as_save_IFS
10787
10788 fi
10789 fi
10790 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10791 if test -n "$ac_ct_MANIFEST_TOOL"; then
10792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10793 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10794 else
10795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10796 $as_echo "no" >&6; }
10797 fi
10798
10799   if test "x$ac_ct_MANIFEST_TOOL" = x; then
10800     MANIFEST_TOOL=":"
10801   else
10802     case $cross_compiling:$ac_tool_warned in
10803 yes:)
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10806 ac_tool_warned=yes ;;
10807 esac
10808     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10809   fi
10810 else
10811   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10812 fi
10813
10814 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10816 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10817 if ${lt_cv_path_mainfest_tool+:} false; then :
10818   $as_echo_n "(cached) " >&6
10819 else
10820   lt_cv_path_mainfest_tool=no
10821   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10822   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10823   cat conftest.err >&5
10824   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10825     lt_cv_path_mainfest_tool=yes
10826   fi
10827   rm -f conftest*
10828 fi
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10830 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10831 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10832   MANIFEST_TOOL=:
10833 fi
10834
10835
10836
10837
10838
10839
10840   case $host_os in
10841     rhapsody* | darwin*)
10842     if test -n "$ac_tool_prefix"; then
10843   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10844 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10846 $as_echo_n "checking for $ac_word... " >&6; }
10847 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10848   $as_echo_n "(cached) " >&6
10849 else
10850   if test -n "$DSYMUTIL"; then
10851   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10852 else
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10855 do
10856   IFS=$as_save_IFS
10857   test -z "$as_dir" && as_dir=.
10858     for ac_exec_ext in '' $ac_executable_extensions; do
10859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10860     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10862     break 2
10863   fi
10864 done
10865   done
10866 IFS=$as_save_IFS
10867
10868 fi
10869 fi
10870 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10871 if test -n "$DSYMUTIL"; then
10872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10873 $as_echo "$DSYMUTIL" >&6; }
10874 else
10875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10877 fi
10878
10879
10880 fi
10881 if test -z "$ac_cv_prog_DSYMUTIL"; then
10882   ac_ct_DSYMUTIL=$DSYMUTIL
10883   # Extract the first word of "dsymutil", so it can be a program name with args.
10884 set dummy dsymutil; ac_word=$2
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10886 $as_echo_n "checking for $ac_word... " >&6; }
10887 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10888   $as_echo_n "(cached) " >&6
10889 else
10890   if test -n "$ac_ct_DSYMUTIL"; then
10891   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10892 else
10893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10894 for as_dir in $PATH
10895 do
10896   IFS=$as_save_IFS
10897   test -z "$as_dir" && as_dir=.
10898     for ac_exec_ext in '' $ac_executable_extensions; do
10899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10900     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10902     break 2
10903   fi
10904 done
10905   done
10906 IFS=$as_save_IFS
10907
10908 fi
10909 fi
10910 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10911 if test -n "$ac_ct_DSYMUTIL"; then
10912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10913 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10914 else
10915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10916 $as_echo "no" >&6; }
10917 fi
10918
10919   if test "x$ac_ct_DSYMUTIL" = x; then
10920     DSYMUTIL=":"
10921   else
10922     case $cross_compiling:$ac_tool_warned in
10923 yes:)
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10926 ac_tool_warned=yes ;;
10927 esac
10928     DSYMUTIL=$ac_ct_DSYMUTIL
10929   fi
10930 else
10931   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10932 fi
10933
10934     if test -n "$ac_tool_prefix"; then
10935   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10936 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10938 $as_echo_n "checking for $ac_word... " >&6; }
10939 if ${ac_cv_prog_NMEDIT+:} false; then :
10940   $as_echo_n "(cached) " >&6
10941 else
10942   if test -n "$NMEDIT"; then
10943   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10944 else
10945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10946 for as_dir in $PATH
10947 do
10948   IFS=$as_save_IFS
10949   test -z "$as_dir" && as_dir=.
10950     for ac_exec_ext in '' $ac_executable_extensions; do
10951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10952     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10954     break 2
10955   fi
10956 done
10957   done
10958 IFS=$as_save_IFS
10959
10960 fi
10961 fi
10962 NMEDIT=$ac_cv_prog_NMEDIT
10963 if test -n "$NMEDIT"; then
10964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10965 $as_echo "$NMEDIT" >&6; }
10966 else
10967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10968 $as_echo "no" >&6; }
10969 fi
10970
10971
10972 fi
10973 if test -z "$ac_cv_prog_NMEDIT"; then
10974   ac_ct_NMEDIT=$NMEDIT
10975   # Extract the first word of "nmedit", so it can be a program name with args.
10976 set dummy nmedit; ac_word=$2
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10978 $as_echo_n "checking for $ac_word... " >&6; }
10979 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10980   $as_echo_n "(cached) " >&6
10981 else
10982   if test -n "$ac_ct_NMEDIT"; then
10983   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10984 else
10985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10986 for as_dir in $PATH
10987 do
10988   IFS=$as_save_IFS
10989   test -z "$as_dir" && as_dir=.
10990     for ac_exec_ext in '' $ac_executable_extensions; do
10991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10992     ac_cv_prog_ac_ct_NMEDIT="nmedit"
10993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10994     break 2
10995   fi
10996 done
10997   done
10998 IFS=$as_save_IFS
10999
11000 fi
11001 fi
11002 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
11003 if test -n "$ac_ct_NMEDIT"; then
11004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11005 $as_echo "$ac_ct_NMEDIT" >&6; }
11006 else
11007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11008 $as_echo "no" >&6; }
11009 fi
11010
11011   if test "x$ac_ct_NMEDIT" = x; then
11012     NMEDIT=":"
11013   else
11014     case $cross_compiling:$ac_tool_warned in
11015 yes:)
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11018 ac_tool_warned=yes ;;
11019 esac
11020     NMEDIT=$ac_ct_NMEDIT
11021   fi
11022 else
11023   NMEDIT="$ac_cv_prog_NMEDIT"
11024 fi
11025
11026     if test -n "$ac_tool_prefix"; then
11027   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
11028 set dummy ${ac_tool_prefix}lipo; ac_word=$2
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11030 $as_echo_n "checking for $ac_word... " >&6; }
11031 if ${ac_cv_prog_LIPO+:} false; then :
11032   $as_echo_n "(cached) " >&6
11033 else
11034   if test -n "$LIPO"; then
11035   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11036 else
11037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11038 for as_dir in $PATH
11039 do
11040   IFS=$as_save_IFS
11041   test -z "$as_dir" && as_dir=.
11042     for ac_exec_ext in '' $ac_executable_extensions; do
11043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11044     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
11045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11046     break 2
11047   fi
11048 done
11049   done
11050 IFS=$as_save_IFS
11051
11052 fi
11053 fi
11054 LIPO=$ac_cv_prog_LIPO
11055 if test -n "$LIPO"; then
11056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11057 $as_echo "$LIPO" >&6; }
11058 else
11059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11060 $as_echo "no" >&6; }
11061 fi
11062
11063
11064 fi
11065 if test -z "$ac_cv_prog_LIPO"; then
11066   ac_ct_LIPO=$LIPO
11067   # Extract the first word of "lipo", so it can be a program name with args.
11068 set dummy lipo; ac_word=$2
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11070 $as_echo_n "checking for $ac_word... " >&6; }
11071 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
11072   $as_echo_n "(cached) " >&6
11073 else
11074   if test -n "$ac_ct_LIPO"; then
11075   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
11076 else
11077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11078 for as_dir in $PATH
11079 do
11080   IFS=$as_save_IFS
11081   test -z "$as_dir" && as_dir=.
11082     for ac_exec_ext in '' $ac_executable_extensions; do
11083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11084     ac_cv_prog_ac_ct_LIPO="lipo"
11085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11086     break 2
11087   fi
11088 done
11089   done
11090 IFS=$as_save_IFS
11091
11092 fi
11093 fi
11094 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
11095 if test -n "$ac_ct_LIPO"; then
11096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11097 $as_echo "$ac_ct_LIPO" >&6; }
11098 else
11099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11100 $as_echo "no" >&6; }
11101 fi
11102
11103   if test "x$ac_ct_LIPO" = x; then
11104     LIPO=":"
11105   else
11106     case $cross_compiling:$ac_tool_warned in
11107 yes:)
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11110 ac_tool_warned=yes ;;
11111 esac
11112     LIPO=$ac_ct_LIPO
11113   fi
11114 else
11115   LIPO="$ac_cv_prog_LIPO"
11116 fi
11117
11118     if test -n "$ac_tool_prefix"; then
11119   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
11120 set dummy ${ac_tool_prefix}otool; ac_word=$2
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11122 $as_echo_n "checking for $ac_word... " >&6; }
11123 if ${ac_cv_prog_OTOOL+:} false; then :
11124   $as_echo_n "(cached) " >&6
11125 else
11126   if test -n "$OTOOL"; then
11127   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11128 else
11129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11130 for as_dir in $PATH
11131 do
11132   IFS=$as_save_IFS
11133   test -z "$as_dir" && as_dir=.
11134     for ac_exec_ext in '' $ac_executable_extensions; do
11135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11136     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
11137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11138     break 2
11139   fi
11140 done
11141   done
11142 IFS=$as_save_IFS
11143
11144 fi
11145 fi
11146 OTOOL=$ac_cv_prog_OTOOL
11147 if test -n "$OTOOL"; then
11148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11149 $as_echo "$OTOOL" >&6; }
11150 else
11151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11152 $as_echo "no" >&6; }
11153 fi
11154
11155
11156 fi
11157 if test -z "$ac_cv_prog_OTOOL"; then
11158   ac_ct_OTOOL=$OTOOL
11159   # Extract the first word of "otool", so it can be a program name with args.
11160 set dummy otool; ac_word=$2
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11162 $as_echo_n "checking for $ac_word... " >&6; }
11163 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
11164   $as_echo_n "(cached) " >&6
11165 else
11166   if test -n "$ac_ct_OTOOL"; then
11167   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
11168 else
11169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11170 for as_dir in $PATH
11171 do
11172   IFS=$as_save_IFS
11173   test -z "$as_dir" && as_dir=.
11174     for ac_exec_ext in '' $ac_executable_extensions; do
11175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11176     ac_cv_prog_ac_ct_OTOOL="otool"
11177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11178     break 2
11179   fi
11180 done
11181   done
11182 IFS=$as_save_IFS
11183
11184 fi
11185 fi
11186 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
11187 if test -n "$ac_ct_OTOOL"; then
11188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11189 $as_echo "$ac_ct_OTOOL" >&6; }
11190 else
11191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11192 $as_echo "no" >&6; }
11193 fi
11194
11195   if test "x$ac_ct_OTOOL" = x; then
11196     OTOOL=":"
11197   else
11198     case $cross_compiling:$ac_tool_warned in
11199 yes:)
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11202 ac_tool_warned=yes ;;
11203 esac
11204     OTOOL=$ac_ct_OTOOL
11205   fi
11206 else
11207   OTOOL="$ac_cv_prog_OTOOL"
11208 fi
11209
11210     if test -n "$ac_tool_prefix"; then
11211   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11212 set dummy ${ac_tool_prefix}otool64; ac_word=$2
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11214 $as_echo_n "checking for $ac_word... " >&6; }
11215 if ${ac_cv_prog_OTOOL64+:} false; then :
11216   $as_echo_n "(cached) " >&6
11217 else
11218   if test -n "$OTOOL64"; then
11219   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11220 else
11221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11222 for as_dir in $PATH
11223 do
11224   IFS=$as_save_IFS
11225   test -z "$as_dir" && as_dir=.
11226     for ac_exec_ext in '' $ac_executable_extensions; do
11227   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11228     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11230     break 2
11231   fi
11232 done
11233   done
11234 IFS=$as_save_IFS
11235
11236 fi
11237 fi
11238 OTOOL64=$ac_cv_prog_OTOOL64
11239 if test -n "$OTOOL64"; then
11240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11241 $as_echo "$OTOOL64" >&6; }
11242 else
11243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11244 $as_echo "no" >&6; }
11245 fi
11246
11247
11248 fi
11249 if test -z "$ac_cv_prog_OTOOL64"; then
11250   ac_ct_OTOOL64=$OTOOL64
11251   # Extract the first word of "otool64", so it can be a program name with args.
11252 set dummy otool64; ac_word=$2
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11254 $as_echo_n "checking for $ac_word... " >&6; }
11255 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
11256   $as_echo_n "(cached) " >&6
11257 else
11258   if test -n "$ac_ct_OTOOL64"; then
11259   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11260 else
11261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11262 for as_dir in $PATH
11263 do
11264   IFS=$as_save_IFS
11265   test -z "$as_dir" && as_dir=.
11266     for ac_exec_ext in '' $ac_executable_extensions; do
11267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11268     ac_cv_prog_ac_ct_OTOOL64="otool64"
11269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11270     break 2
11271   fi
11272 done
11273   done
11274 IFS=$as_save_IFS
11275
11276 fi
11277 fi
11278 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11279 if test -n "$ac_ct_OTOOL64"; then
11280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11281 $as_echo "$ac_ct_OTOOL64" >&6; }
11282 else
11283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11284 $as_echo "no" >&6; }
11285 fi
11286
11287   if test "x$ac_ct_OTOOL64" = x; then
11288     OTOOL64=":"
11289   else
11290     case $cross_compiling:$ac_tool_warned in
11291 yes:)
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11294 ac_tool_warned=yes ;;
11295 esac
11296     OTOOL64=$ac_ct_OTOOL64
11297   fi
11298 else
11299   OTOOL64="$ac_cv_prog_OTOOL64"
11300 fi
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11329 $as_echo_n "checking for -single_module linker flag... " >&6; }
11330 if ${lt_cv_apple_cc_single_mod+:} false; then :
11331   $as_echo_n "(cached) " >&6
11332 else
11333   lt_cv_apple_cc_single_mod=no
11334       if test -z "${LT_MULTI_MODULE}"; then
11335         # By default we will add the -single_module flag. You can override
11336         # by either setting the environment variable LT_MULTI_MODULE
11337         # non-empty at configure time, or by adding -multi_module to the
11338         # link flags.
11339         rm -rf libconftest.dylib*
11340         echo "int foo(void){return 1;}" > conftest.c
11341         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11342 -dynamiclib -Wl,-single_module conftest.c" >&5
11343         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11344           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11345         _lt_result=$?
11346         # If there is a non-empty error log, and "single_module"
11347         # appears in it, assume the flag caused a linker warning
11348         if test -s conftest.err && $GREP single_module conftest.err; then
11349           cat conftest.err >&5
11350         # Otherwise, if the output was created with a 0 exit code from
11351         # the compiler, it worked.
11352         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
11353           lt_cv_apple_cc_single_mod=yes
11354         else
11355           cat conftest.err >&5
11356         fi
11357         rm -rf libconftest.dylib*
11358         rm -f conftest.*
11359       fi
11360 fi
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11362 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
11363
11364     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11365 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
11366 if ${lt_cv_ld_exported_symbols_list+:} false; then :
11367   $as_echo_n "(cached) " >&6
11368 else
11369   lt_cv_ld_exported_symbols_list=no
11370       save_LDFLAGS=$LDFLAGS
11371       echo "_main" > conftest.sym
11372       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h.  */
11375
11376 int
11377 main ()
11378 {
11379
11380   ;
11381   return 0;
11382 }
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385   lt_cv_ld_exported_symbols_list=yes
11386 else
11387   lt_cv_ld_exported_symbols_list=no
11388 fi
11389 rm -f core conftest.err conftest.$ac_objext \
11390     conftest$ac_exeext conftest.$ac_ext
11391         LDFLAGS="$save_LDFLAGS"
11392
11393 fi
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11395 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11396
11397     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11398 $as_echo_n "checking for -force_load linker flag... " >&6; }
11399 if ${lt_cv_ld_force_load+:} false; then :
11400   $as_echo_n "(cached) " >&6
11401 else
11402   lt_cv_ld_force_load=no
11403       cat > conftest.c << _LT_EOF
11404 int forced_loaded() { return 2;}
11405 _LT_EOF
11406       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11407       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11408       echo "$AR cru libconftest.a conftest.o" >&5
11409       $AR cru libconftest.a conftest.o 2>&5
11410       echo "$RANLIB libconftest.a" >&5
11411       $RANLIB libconftest.a 2>&5
11412       cat > conftest.c << _LT_EOF
11413 int main() { return 0;}
11414 _LT_EOF
11415       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11416       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11417       _lt_result=$?
11418       if test -s conftest.err && $GREP force_load conftest.err; then
11419         cat conftest.err >&5
11420       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
11421         lt_cv_ld_force_load=yes
11422       else
11423         cat conftest.err >&5
11424       fi
11425         rm -f conftest.err libconftest.a conftest conftest.c
11426         rm -rf conftest.dSYM
11427
11428 fi
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11430 $as_echo "$lt_cv_ld_force_load" >&6; }
11431     case $host_os in
11432     rhapsody* | darwin1.[012])
11433       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
11434     darwin1.*)
11435       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11436     darwin*) # darwin 5.x on
11437       # if running on 10.5 or later, the deployment target defaults
11438       # to the OS version, if on x86, and 10.4, the deployment
11439       # target defaults to 10.4. Don't you love it?
11440       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11441         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11442           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11443         10.[012]*)
11444           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11445         10.*)
11446           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11447       esac
11448     ;;
11449   esac
11450     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
11451       _lt_dar_single_mod='$single_module'
11452     fi
11453     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
11454       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
11455     else
11456       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
11457     fi
11458     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
11459       _lt_dsymutil='~$DSYMUTIL $lib || :'
11460     else
11461       _lt_dsymutil=
11462     fi
11463     ;;
11464   esac
11465
11466 for ac_header in dlfcn.h
11467 do :
11468   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11469 "
11470 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
11471   cat >>confdefs.h <<_ACEOF
11472 #define HAVE_DLFCN_H 1
11473 _ACEOF
11474
11475 fi
11476
11477 done
11478
11479
11480
11481
11482
11483 # Set options
11484 enable_win32_dll=yes
11485
11486 case $host in
11487 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
11488   if test -n "$ac_tool_prefix"; then
11489   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
11490 set dummy ${ac_tool_prefix}as; ac_word=$2
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11492 $as_echo_n "checking for $ac_word... " >&6; }
11493 if ${ac_cv_prog_AS+:} false; then :
11494   $as_echo_n "(cached) " >&6
11495 else
11496   if test -n "$AS"; then
11497   ac_cv_prog_AS="$AS" # Let the user override the test.
11498 else
11499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11500 for as_dir in $PATH
11501 do
11502   IFS=$as_save_IFS
11503   test -z "$as_dir" && as_dir=.
11504     for ac_exec_ext in '' $ac_executable_extensions; do
11505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11506     ac_cv_prog_AS="${ac_tool_prefix}as"
11507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11508     break 2
11509   fi
11510 done
11511   done
11512 IFS=$as_save_IFS
11513
11514 fi
11515 fi
11516 AS=$ac_cv_prog_AS
11517 if test -n "$AS"; then
11518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
11519 $as_echo "$AS" >&6; }
11520 else
11521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522 $as_echo "no" >&6; }
11523 fi
11524
11525
11526 fi
11527 if test -z "$ac_cv_prog_AS"; then
11528   ac_ct_AS=$AS
11529   # Extract the first word of "as", so it can be a program name with args.
11530 set dummy as; ac_word=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11532 $as_echo_n "checking for $ac_word... " >&6; }
11533 if ${ac_cv_prog_ac_ct_AS+:} false; then :
11534   $as_echo_n "(cached) " >&6
11535 else
11536   if test -n "$ac_ct_AS"; then
11537   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
11538 else
11539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11540 for as_dir in $PATH
11541 do
11542   IFS=$as_save_IFS
11543   test -z "$as_dir" && as_dir=.
11544     for ac_exec_ext in '' $ac_executable_extensions; do
11545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11546     ac_cv_prog_ac_ct_AS="as"
11547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11548     break 2
11549   fi
11550 done
11551   done
11552 IFS=$as_save_IFS
11553
11554 fi
11555 fi
11556 ac_ct_AS=$ac_cv_prog_ac_ct_AS
11557 if test -n "$ac_ct_AS"; then
11558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
11559 $as_echo "$ac_ct_AS" >&6; }
11560 else
11561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11562 $as_echo "no" >&6; }
11563 fi
11564
11565   if test "x$ac_ct_AS" = x; then
11566     AS="false"
11567   else
11568     case $cross_compiling:$ac_tool_warned in
11569 yes:)
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11572 ac_tool_warned=yes ;;
11573 esac
11574     AS=$ac_ct_AS
11575   fi
11576 else
11577   AS="$ac_cv_prog_AS"
11578 fi
11579
11580   if test -n "$ac_tool_prefix"; then
11581   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11582 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11584 $as_echo_n "checking for $ac_word... " >&6; }
11585 if ${ac_cv_prog_DLLTOOL+:} false; then :
11586   $as_echo_n "(cached) " >&6
11587 else
11588   if test -n "$DLLTOOL"; then
11589   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11590 else
11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592 for as_dir in $PATH
11593 do
11594   IFS=$as_save_IFS
11595   test -z "$as_dir" && as_dir=.
11596     for ac_exec_ext in '' $ac_executable_extensions; do
11597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11598     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11600     break 2
11601   fi
11602 done
11603   done
11604 IFS=$as_save_IFS
11605
11606 fi
11607 fi
11608 DLLTOOL=$ac_cv_prog_DLLTOOL
11609 if test -n "$DLLTOOL"; then
11610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
11611 $as_echo "$DLLTOOL" >&6; }
11612 else
11613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615 fi
11616
11617
11618 fi
11619 if test -z "$ac_cv_prog_DLLTOOL"; then
11620   ac_ct_DLLTOOL=$DLLTOOL
11621   # Extract the first word of "dlltool", so it can be a program name with args.
11622 set dummy dlltool; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11624 $as_echo_n "checking for $ac_word... " >&6; }
11625 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
11626   $as_echo_n "(cached) " >&6
11627 else
11628   if test -n "$ac_ct_DLLTOOL"; then
11629   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11630 else
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $PATH
11633 do
11634   IFS=$as_save_IFS
11635   test -z "$as_dir" && as_dir=.
11636     for ac_exec_ext in '' $ac_executable_extensions; do
11637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11638     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11640     break 2
11641   fi
11642 done
11643   done
11644 IFS=$as_save_IFS
11645
11646 fi
11647 fi
11648 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11649 if test -n "$ac_ct_DLLTOOL"; then
11650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11651 $as_echo "$ac_ct_DLLTOOL" >&6; }
11652 else
11653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654 $as_echo "no" >&6; }
11655 fi
11656
11657   if test "x$ac_ct_DLLTOOL" = x; then
11658     DLLTOOL="false"
11659   else
11660     case $cross_compiling:$ac_tool_warned in
11661 yes:)
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11664 ac_tool_warned=yes ;;
11665 esac
11666     DLLTOOL=$ac_ct_DLLTOOL
11667   fi
11668 else
11669   DLLTOOL="$ac_cv_prog_DLLTOOL"
11670 fi
11671
11672   if test -n "$ac_tool_prefix"; then
11673   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
11674 set dummy ${ac_tool_prefix}objdump; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if ${ac_cv_prog_OBJDUMP+:} false; then :
11678   $as_echo_n "(cached) " >&6
11679 else
11680   if test -n "$OBJDUMP"; then
11681   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
11682 else
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11685 do
11686   IFS=$as_save_IFS
11687   test -z "$as_dir" && as_dir=.
11688     for ac_exec_ext in '' $ac_executable_extensions; do
11689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11690     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
11691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11692     break 2
11693   fi
11694 done
11695   done
11696 IFS=$as_save_IFS
11697
11698 fi
11699 fi
11700 OBJDUMP=$ac_cv_prog_OBJDUMP
11701 if test -n "$OBJDUMP"; then
11702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
11703 $as_echo "$OBJDUMP" >&6; }
11704 else
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11707 fi
11708
11709
11710 fi
11711 if test -z "$ac_cv_prog_OBJDUMP"; then
11712   ac_ct_OBJDUMP=$OBJDUMP
11713   # Extract the first word of "objdump", so it can be a program name with args.
11714 set dummy objdump; ac_word=$2
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 $as_echo_n "checking for $ac_word... " >&6; }
11717 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
11718   $as_echo_n "(cached) " >&6
11719 else
11720   if test -n "$ac_ct_OBJDUMP"; then
11721   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
11722 else
11723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11724 for as_dir in $PATH
11725 do
11726   IFS=$as_save_IFS
11727   test -z "$as_dir" && as_dir=.
11728     for ac_exec_ext in '' $ac_executable_extensions; do
11729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11730     ac_cv_prog_ac_ct_OBJDUMP="objdump"
11731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11732     break 2
11733   fi
11734 done
11735   done
11736 IFS=$as_save_IFS
11737
11738 fi
11739 fi
11740 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
11741 if test -n "$ac_ct_OBJDUMP"; then
11742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
11743 $as_echo "$ac_ct_OBJDUMP" >&6; }
11744 else
11745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11747 fi
11748
11749   if test "x$ac_ct_OBJDUMP" = x; then
11750     OBJDUMP="false"
11751   else
11752     case $cross_compiling:$ac_tool_warned in
11753 yes:)
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11756 ac_tool_warned=yes ;;
11757 esac
11758     OBJDUMP=$ac_ct_OBJDUMP
11759   fi
11760 else
11761   OBJDUMP="$ac_cv_prog_OBJDUMP"
11762 fi
11763
11764   ;;
11765 esac
11766
11767 test -z "$AS" && AS=as
11768
11769
11770
11771
11772
11773 test -z "$DLLTOOL" && DLLTOOL=dlltool
11774
11775
11776
11777
11778
11779 test -z "$OBJDUMP" && OBJDUMP=objdump
11780
11781
11782
11783
11784
11785
11786
11787         enable_dlopen=no
11788
11789
11790
11791             # Check whether --enable-shared was given.
11792 if test "${enable_shared+set}" = set; then :
11793   enableval=$enable_shared; p=${PACKAGE-default}
11794     case $enableval in
11795     yes) enable_shared=yes ;;
11796     no) enable_shared=no ;;
11797     *)
11798       enable_shared=no
11799       # Look at the argument we got.  We use all the common list separators.
11800       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11801       for pkg in $enableval; do
11802         IFS="$lt_save_ifs"
11803         if test "X$pkg" = "X$p"; then
11804           enable_shared=yes
11805         fi
11806       done
11807       IFS="$lt_save_ifs"
11808       ;;
11809     esac
11810 else
11811   enable_shared=yes
11812 fi
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822   # Check whether --enable-static was given.
11823 if test "${enable_static+set}" = set; then :
11824   enableval=$enable_static; p=${PACKAGE-default}
11825     case $enableval in
11826     yes) enable_static=yes ;;
11827     no) enable_static=no ;;
11828     *)
11829      enable_static=no
11830       # Look at the argument we got.  We use all the common list separators.
11831       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11832       for pkg in $enableval; do
11833         IFS="$lt_save_ifs"
11834         if test "X$pkg" = "X$p"; then
11835           enable_static=yes
11836         fi
11837       done
11838       IFS="$lt_save_ifs"
11839       ;;
11840     esac
11841 else
11842   enable_static=yes
11843 fi
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854 # Check whether --with-pic was given.
11855 if test "${with_pic+set}" = set; then :
11856   withval=$with_pic; lt_p=${PACKAGE-default}
11857     case $withval in
11858     yes|no) pic_mode=$withval ;;
11859     *)
11860       pic_mode=default
11861       # Look at the argument we got.  We use all the common list separators.
11862       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11863       for lt_pkg in $withval; do
11864         IFS="$lt_save_ifs"
11865         if test "X$lt_pkg" = "X$lt_p"; then
11866           pic_mode=yes
11867         fi
11868       done
11869       IFS="$lt_save_ifs"
11870       ;;
11871     esac
11872 else
11873   pic_mode=default
11874 fi
11875
11876
11877 test -z "$pic_mode" && pic_mode=default
11878
11879
11880
11881
11882
11883
11884
11885   # Check whether --enable-fast-install was given.
11886 if test "${enable_fast_install+set}" = set; then :
11887   enableval=$enable_fast_install; p=${PACKAGE-default}
11888     case $enableval in
11889     yes) enable_fast_install=yes ;;
11890     no) enable_fast_install=no ;;
11891     *)
11892       enable_fast_install=no
11893       # Look at the argument we got.  We use all the common list separators.
11894       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11895       for pkg in $enableval; do
11896         IFS="$lt_save_ifs"
11897         if test "X$pkg" = "X$p"; then
11898           enable_fast_install=yes
11899         fi
11900       done
11901       IFS="$lt_save_ifs"
11902       ;;
11903     esac
11904 else
11905   enable_fast_install=yes
11906 fi
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918 # This can be used to rebuild libtool when needed
11919 LIBTOOL_DEPS="$ltmain"
11920
11921 # Always use our own libtool.
11922 LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool'
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953 test -z "$LN_S" && LN_S="ln -s"
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968 if test -n "${ZSH_VERSION+set}" ; then
11969    setopt NO_GLOB_SUBST
11970 fi
11971
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11973 $as_echo_n "checking for objdir... " >&6; }
11974 if ${lt_cv_objdir+:} false; then :
11975   $as_echo_n "(cached) " >&6
11976 else
11977   rm -f .libs 2>/dev/null
11978 mkdir .libs 2>/dev/null
11979 if test -d .libs; then
11980   lt_cv_objdir=.libs
11981 else
11982   # MS-DOS does not allow filenames that begin with a dot.
11983   lt_cv_objdir=_libs
11984 fi
11985 rmdir .libs 2>/dev/null
11986 fi
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11988 $as_echo "$lt_cv_objdir" >&6; }
11989 objdir=$lt_cv_objdir
11990
11991
11992
11993
11994
11995 cat >>confdefs.h <<_ACEOF
11996 #define LT_OBJDIR "$lt_cv_objdir/"
11997 _ACEOF
11998
11999
12000
12001
12002 case $host_os in
12003 aix3*)
12004   # AIX sometimes has problems with the GCC collect2 program.  For some
12005   # reason, if we set the COLLECT_NAMES environment variable, the problems
12006   # vanish in a puff of smoke.
12007   if test "X${COLLECT_NAMES+set}" != Xset; then
12008     COLLECT_NAMES=
12009     export COLLECT_NAMES
12010   fi
12011   ;;
12012 esac
12013
12014 # Global variables:
12015 ofile=libtool
12016 can_build_shared=yes
12017
12018 # All known linkers require a `.a' archive for static linking (except MSVC,
12019 # which needs '.lib').
12020 libext=a
12021
12022 with_gnu_ld="$lt_cv_prog_gnu_ld"
12023
12024 old_CC="$CC"
12025 old_CFLAGS="$CFLAGS"
12026
12027 # Set sane defaults for various variables
12028 test -z "$CC" && CC=cc
12029 test -z "$LTCC" && LTCC=$CC
12030 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12031 test -z "$LD" && LD=ld
12032 test -z "$ac_objext" && ac_objext=o
12033
12034 for cc_temp in $compiler""; do
12035   case $cc_temp in
12036     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12037     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12038     \-*) ;;
12039     *) break;;
12040   esac
12041 done
12042 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12043
12044
12045 # Only perform the check for file, if the check method requires it
12046 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12047 case $deplibs_check_method in
12048 file_magic*)
12049   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12051 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
12052 if ${lt_cv_path_MAGIC_CMD+:} false; then :
12053   $as_echo_n "(cached) " >&6
12054 else
12055   case $MAGIC_CMD in
12056 [\\/*] |  ?:[\\/]*)
12057   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12058   ;;
12059 *)
12060   lt_save_MAGIC_CMD="$MAGIC_CMD"
12061   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12062   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12063   for ac_dir in $ac_dummy; do
12064     IFS="$lt_save_ifs"
12065     test -z "$ac_dir" && ac_dir=.
12066     if test -f $ac_dir/${ac_tool_prefix}file; then
12067       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12068       if test -n "$file_magic_test_file"; then
12069         case $deplibs_check_method in
12070         "file_magic "*)
12071           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12072           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12073           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12074             $EGREP "$file_magic_regex" > /dev/null; then
12075             :
12076           else
12077             cat <<_LT_EOF 1>&2
12078
12079 *** Warning: the command libtool uses to detect shared libraries,
12080 *** $file_magic_cmd, produces output that libtool cannot recognize.
12081 *** The result is that libtool may fail to recognize shared libraries
12082 *** as such.  This will affect the creation of libtool libraries that
12083 *** depend on shared libraries, but programs linked with such libtool
12084 *** libraries will work regardless of this problem.  Nevertheless, you
12085 *** may want to report the problem to your system manager and/or to
12086 *** bug-libtool@gnu.org
12087
12088 _LT_EOF
12089           fi ;;
12090         esac
12091       fi
12092       break
12093     fi
12094   done
12095   IFS="$lt_save_ifs"
12096   MAGIC_CMD="$lt_save_MAGIC_CMD"
12097   ;;
12098 esac
12099 fi
12100
12101 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12102 if test -n "$MAGIC_CMD"; then
12103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12104 $as_echo "$MAGIC_CMD" >&6; }
12105 else
12106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12107 $as_echo "no" >&6; }
12108 fi
12109
12110
12111
12112
12113
12114 if test -z "$lt_cv_path_MAGIC_CMD"; then
12115   if test -n "$ac_tool_prefix"; then
12116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12117 $as_echo_n "checking for file... " >&6; }
12118 if ${lt_cv_path_MAGIC_CMD+:} false; then :
12119   $as_echo_n "(cached) " >&6
12120 else
12121   case $MAGIC_CMD in
12122 [\\/*] |  ?:[\\/]*)
12123   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12124   ;;
12125 *)
12126   lt_save_MAGIC_CMD="$MAGIC_CMD"
12127   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12128   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12129   for ac_dir in $ac_dummy; do
12130     IFS="$lt_save_ifs"
12131     test -z "$ac_dir" && ac_dir=.
12132     if test -f $ac_dir/file; then
12133       lt_cv_path_MAGIC_CMD="$ac_dir/file"
12134       if test -n "$file_magic_test_file"; then
12135         case $deplibs_check_method in
12136         "file_magic "*)
12137           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12138           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12139           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12140             $EGREP "$file_magic_regex" > /dev/null; then
12141             :
12142           else
12143             cat <<_LT_EOF 1>&2
12144
12145 *** Warning: the command libtool uses to detect shared libraries,
12146 *** $file_magic_cmd, produces output that libtool cannot recognize.
12147 *** The result is that libtool may fail to recognize shared libraries
12148 *** as such.  This will affect the creation of libtool libraries that
12149 *** depend on shared libraries, but programs linked with such libtool
12150 *** libraries will work regardless of this problem.  Nevertheless, you
12151 *** may want to report the problem to your system manager and/or to
12152 *** bug-libtool@gnu.org
12153
12154 _LT_EOF
12155           fi ;;
12156         esac
12157       fi
12158       break
12159     fi
12160   done
12161   IFS="$lt_save_ifs"
12162   MAGIC_CMD="$lt_save_MAGIC_CMD"
12163   ;;
12164 esac
12165 fi
12166
12167 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12168 if test -n "$MAGIC_CMD"; then
12169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12170 $as_echo "$MAGIC_CMD" >&6; }
12171 else
12172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12173 $as_echo "no" >&6; }
12174 fi
12175
12176
12177   else
12178     MAGIC_CMD=:
12179   fi
12180 fi
12181
12182   fi
12183   ;;
12184 esac
12185
12186 # Use C for the default configuration in the libtool script
12187
12188 lt_save_CC="$CC"
12189 ac_ext=c
12190 ac_cpp='$CPP $CPPFLAGS'
12191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12194
12195
12196 # Source file extension for C test sources.
12197 ac_ext=c
12198
12199 # Object file extension for compiled C test sources.
12200 objext=o
12201 objext=$objext
12202
12203 # Code to be used in simple compile tests
12204 lt_simple_compile_test_code="int some_variable = 0;"
12205
12206 # Code to be used in simple link tests
12207 lt_simple_link_test_code='int main(){return(0);}'
12208
12209
12210
12211
12212
12213
12214
12215 # If no C compiler was specified, use CC.
12216 LTCC=${LTCC-"$CC"}
12217
12218 # If no C compiler flags were specified, use CFLAGS.
12219 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12220
12221 # Allow CC to be a program name with arguments.
12222 compiler=$CC
12223
12224 # Save the default compiler, since it gets overwritten when the other
12225 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
12226 compiler_DEFAULT=$CC
12227
12228 # save warnings/boilerplate of simple test code
12229 ac_outfile=conftest.$ac_objext
12230 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12231 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12232 _lt_compiler_boilerplate=`cat conftest.err`
12233 $RM conftest*
12234
12235 ac_outfile=conftest.$ac_objext
12236 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12237 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12238 _lt_linker_boilerplate=`cat conftest.err`
12239 $RM -r conftest*
12240
12241
12242 ## CAVEAT EMPTOR:
12243 ## There is no encapsulation within the following macros, do not change
12244 ## the running order or otherwise move them around unless you know exactly
12245 ## what you are doing...
12246 if test -n "$compiler"; then
12247
12248 lt_prog_compiler_no_builtin_flag=
12249
12250 if test "$GCC" = yes; then
12251   case $cc_basename in
12252   nvcc*)
12253     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
12254   *)
12255     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
12256   esac
12257
12258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12259 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12260 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
12261   $as_echo_n "(cached) " >&6
12262 else
12263   lt_cv_prog_compiler_rtti_exceptions=no
12264    ac_outfile=conftest.$ac_objext
12265    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12266    lt_compiler_flag="-fno-rtti -fno-exceptions"
12267    # Insert the option either (1) after the last *FLAGS variable, or
12268    # (2) before a word containing "conftest.", or (3) at the end.
12269    # Note that $ac_compile itself does not contain backslashes and begins
12270    # with a dollar sign (not a hyphen), so the echo should work correctly.
12271    # The option is referenced via a variable to avoid confusing sed.
12272    lt_compile=`echo "$ac_compile" | $SED \
12273    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12274    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12275    -e 's:$: $lt_compiler_flag:'`
12276    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12277    (eval "$lt_compile" 2>conftest.err)
12278    ac_status=$?
12279    cat conftest.err >&5
12280    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281    if (exit $ac_status) && test -s "$ac_outfile"; then
12282      # The compiler can only warn and ignore the option if not recognized
12283      # So say no if there are warnings other than the usual output.
12284      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12285      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12286      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12287        lt_cv_prog_compiler_rtti_exceptions=yes
12288      fi
12289    fi
12290    $RM conftest*
12291
12292 fi
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12294 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12295
12296 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12297     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12298 else
12299     :
12300 fi
12301
12302 fi
12303
12304
12305
12306
12307
12308
12309   lt_prog_compiler_wl=
12310 lt_prog_compiler_pic=
12311 lt_prog_compiler_static=
12312
12313
12314   if test "$GCC" = yes; then
12315     lt_prog_compiler_wl='-Wl,'
12316     lt_prog_compiler_static='-static'
12317
12318     case $host_os in
12319       aix*)
12320       # All AIX code is PIC.
12321       if test "$host_cpu" = ia64; then
12322         # AIX 5 now supports IA64 processor
12323         lt_prog_compiler_static='-Bstatic'
12324       fi
12325       ;;
12326
12327     amigaos*)
12328       case $host_cpu in
12329       powerpc)
12330             # see comment about AmigaOS4 .so support
12331             lt_prog_compiler_pic='-fPIC'
12332         ;;
12333       m68k)
12334             # FIXME: we need at least 68020 code to build shared libraries, but
12335             # adding the `-m68020' flag to GCC prevents building anything better,
12336             # like `-m68040'.
12337             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12338         ;;
12339       esac
12340       ;;
12341
12342     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12343       # PIC is the default for these OSes.
12344       ;;
12345
12346     mingw* | cygwin* | pw32* | os2* | cegcc*)
12347       # This hack is so that the source file can tell whether it is being
12348       # built for inclusion in a dll (and should export symbols for example).
12349       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12350       # (--disable-auto-import) libraries
12351       lt_prog_compiler_pic='-DDLL_EXPORT'
12352       ;;
12353
12354     darwin* | rhapsody*)
12355       # PIC is the default on this platform
12356       # Common symbols not allowed in MH_DYLIB files
12357       lt_prog_compiler_pic='-fno-common'
12358       ;;
12359
12360     haiku*)
12361       # PIC is the default for Haiku.
12362       # The "-static" flag exists, but is broken.
12363       lt_prog_compiler_static=
12364       ;;
12365
12366     hpux*)
12367       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12368       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12369       # sets the default TLS model and affects inlining.
12370       case $host_cpu in
12371       hppa*64*)
12372         # +Z the default
12373         ;;
12374       *)
12375         lt_prog_compiler_pic='-fPIC'
12376         ;;
12377       esac
12378       ;;
12379
12380     interix[3-9]*)
12381       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12382       # Instead, we relocate shared libraries at runtime.
12383       ;;
12384
12385     msdosdjgpp*)
12386       # Just because we use GCC doesn't mean we suddenly get shared libraries
12387       # on systems that don't support them.
12388       lt_prog_compiler_can_build_shared=no
12389       enable_shared=no
12390       ;;
12391
12392     *nto* | *qnx*)
12393       # QNX uses GNU C++, but need to define -shared option too, otherwise
12394       # it will coredump.
12395       lt_prog_compiler_pic='-fPIC -shared'
12396       ;;
12397
12398     sysv4*MP*)
12399       if test -d /usr/nec; then
12400         lt_prog_compiler_pic=-Kconform_pic
12401       fi
12402       ;;
12403
12404     *)
12405       lt_prog_compiler_pic='-fPIC'
12406       ;;
12407     esac
12408
12409     case $cc_basename in
12410     nvcc*) # Cuda Compiler Driver 2.2
12411       lt_prog_compiler_wl='-Xlinker '
12412       if test -n "$lt_prog_compiler_pic"; then
12413         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
12414       fi
12415       ;;
12416     esac
12417   else
12418     # PORTME Check for flag to pass linker flags through the system compiler.
12419     case $host_os in
12420     aix*)
12421       lt_prog_compiler_wl='-Wl,'
12422       if test "$host_cpu" = ia64; then
12423         # AIX 5 now supports IA64 processor
12424         lt_prog_compiler_static='-Bstatic'
12425       else
12426         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12427       fi
12428       ;;
12429
12430     mingw* | cygwin* | pw32* | os2* | cegcc*)
12431       # This hack is so that the source file can tell whether it is being
12432       # built for inclusion in a dll (and should export symbols for example).
12433       lt_prog_compiler_pic='-DDLL_EXPORT'
12434       ;;
12435
12436     hpux9* | hpux10* | hpux11*)
12437       lt_prog_compiler_wl='-Wl,'
12438       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12439       # not for PA HP-UX.
12440       case $host_cpu in
12441       hppa*64*|ia64*)
12442         # +Z the default
12443         ;;
12444       *)
12445         lt_prog_compiler_pic='+Z'
12446         ;;
12447       esac
12448       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12449       lt_prog_compiler_static='${wl}-a ${wl}archive'
12450       ;;
12451
12452     irix5* | irix6* | nonstopux*)
12453       lt_prog_compiler_wl='-Wl,'
12454       # PIC (with -KPIC) is the default.
12455       lt_prog_compiler_static='-non_shared'
12456       ;;
12457
12458     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12459       case $cc_basename in
12460       # old Intel for x86_64 which still supported -KPIC.
12461       ecc*)
12462         lt_prog_compiler_wl='-Wl,'
12463         lt_prog_compiler_pic='-KPIC'
12464         lt_prog_compiler_static='-static'
12465         ;;
12466       # icc used to be incompatible with GCC.
12467       # ICC 10 doesn't accept -KPIC any more.
12468       icc* | ifort*)
12469         lt_prog_compiler_wl='-Wl,'
12470         lt_prog_compiler_pic='-fPIC'
12471         lt_prog_compiler_static='-static'
12472         ;;
12473       # Lahey Fortran 8.1.
12474       lf95*)
12475         lt_prog_compiler_wl='-Wl,'
12476         lt_prog_compiler_pic='--shared'
12477         lt_prog_compiler_static='--static'
12478         ;;
12479       nagfor*)
12480         # NAG Fortran compiler
12481         lt_prog_compiler_wl='-Wl,-Wl,,'
12482         lt_prog_compiler_pic='-PIC'
12483         lt_prog_compiler_static='-Bstatic'
12484         ;;
12485       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12486         # Portland Group compilers (*not* the Pentium gcc compiler,
12487         # which looks to be a dead project)
12488         lt_prog_compiler_wl='-Wl,'
12489         lt_prog_compiler_pic='-fpic'
12490         lt_prog_compiler_static='-Bstatic'
12491         ;;
12492       ccc*)
12493         lt_prog_compiler_wl='-Wl,'
12494         # All Alpha code is PIC.
12495         lt_prog_compiler_static='-non_shared'
12496         ;;
12497       xl* | bgxl* | bgf* | mpixl*)
12498         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12499         lt_prog_compiler_wl='-Wl,'
12500         lt_prog_compiler_pic='-qpic'
12501         lt_prog_compiler_static='-qstaticlink'
12502         ;;
12503       *)
12504         case `$CC -V 2>&1 | sed 5q` in
12505         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12506           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12507           lt_prog_compiler_pic='-KPIC'
12508           lt_prog_compiler_static='-Bstatic'
12509           lt_prog_compiler_wl=''
12510           ;;
12511         *Sun\ F* | *Sun*Fortran*)
12512           lt_prog_compiler_pic='-KPIC'
12513           lt_prog_compiler_static='-Bstatic'
12514           lt_prog_compiler_wl='-Qoption ld '
12515           ;;
12516         *Sun\ C*)
12517           # Sun C 5.9
12518           lt_prog_compiler_pic='-KPIC'
12519           lt_prog_compiler_static='-Bstatic'
12520           lt_prog_compiler_wl='-Wl,'
12521           ;;
12522         *Intel*\ [CF]*Compiler*)
12523           lt_prog_compiler_wl='-Wl,'
12524           lt_prog_compiler_pic='-fPIC'
12525           lt_prog_compiler_static='-static'
12526           ;;
12527         *Portland\ Group*)
12528           lt_prog_compiler_wl='-Wl,'
12529           lt_prog_compiler_pic='-fpic'
12530           lt_prog_compiler_static='-Bstatic'
12531           ;;
12532         esac
12533         ;;
12534       esac
12535       ;;
12536
12537     newsos6)
12538       lt_prog_compiler_pic='-KPIC'
12539       lt_prog_compiler_static='-Bstatic'
12540       ;;
12541
12542     *nto* | *qnx*)
12543       # QNX uses GNU C++, but need to define -shared option too, otherwise
12544       # it will coredump.
12545       lt_prog_compiler_pic='-fPIC -shared'
12546       ;;
12547
12548     osf3* | osf4* | osf5*)
12549       lt_prog_compiler_wl='-Wl,'
12550       # All OSF/1 code is PIC.
12551       lt_prog_compiler_static='-non_shared'
12552       ;;
12553
12554     rdos*)
12555       lt_prog_compiler_static='-non_shared'
12556       ;;
12557
12558     solaris*)
12559       lt_prog_compiler_pic='-KPIC'
12560       lt_prog_compiler_static='-Bstatic'
12561       case $cc_basename in
12562       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12563         lt_prog_compiler_wl='-Qoption ld ';;
12564       *)
12565         lt_prog_compiler_wl='-Wl,';;
12566       esac
12567       ;;
12568
12569     sunos4*)
12570       lt_prog_compiler_wl='-Qoption ld '
12571       lt_prog_compiler_pic='-PIC'
12572       lt_prog_compiler_static='-Bstatic'
12573       ;;
12574
12575     sysv4 | sysv4.2uw2* | sysv4.3*)
12576       lt_prog_compiler_wl='-Wl,'
12577       lt_prog_compiler_pic='-KPIC'
12578       lt_prog_compiler_static='-Bstatic'
12579       ;;
12580
12581     sysv4*MP*)
12582       if test -d /usr/nec ;then
12583         lt_prog_compiler_pic='-Kconform_pic'
12584         lt_prog_compiler_static='-Bstatic'
12585       fi
12586       ;;
12587
12588     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12589       lt_prog_compiler_wl='-Wl,'
12590       lt_prog_compiler_pic='-KPIC'
12591       lt_prog_compiler_static='-Bstatic'
12592       ;;
12593
12594     unicos*)
12595       lt_prog_compiler_wl='-Wl,'
12596       lt_prog_compiler_can_build_shared=no
12597       ;;
12598
12599     uts4*)
12600       lt_prog_compiler_pic='-pic'
12601       lt_prog_compiler_static='-Bstatic'
12602       ;;
12603
12604     *)
12605       lt_prog_compiler_can_build_shared=no
12606       ;;
12607     esac
12608   fi
12609
12610 case $host_os in
12611   # For platforms which do not support PIC, -DPIC is meaningless:
12612   *djgpp*)
12613     lt_prog_compiler_pic=
12614     ;;
12615   *)
12616     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12617     ;;
12618 esac
12619
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12621 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12622 if ${lt_cv_prog_compiler_pic+:} false; then :
12623   $as_echo_n "(cached) " >&6
12624 else
12625   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
12626 fi
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12628 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
12629 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12630
12631 #
12632 # Check to make sure the PIC flag actually works.
12633 #
12634 if test -n "$lt_prog_compiler_pic"; then
12635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12636 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12637 if ${lt_cv_prog_compiler_pic_works+:} false; then :
12638   $as_echo_n "(cached) " >&6
12639 else
12640   lt_cv_prog_compiler_pic_works=no
12641    ac_outfile=conftest.$ac_objext
12642    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12643    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12644    # Insert the option either (1) after the last *FLAGS variable, or
12645    # (2) before a word containing "conftest.", or (3) at the end.
12646    # Note that $ac_compile itself does not contain backslashes and begins
12647    # with a dollar sign (not a hyphen), so the echo should work correctly.
12648    # The option is referenced via a variable to avoid confusing sed.
12649    lt_compile=`echo "$ac_compile" | $SED \
12650    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12651    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12652    -e 's:$: $lt_compiler_flag:'`
12653    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12654    (eval "$lt_compile" 2>conftest.err)
12655    ac_status=$?
12656    cat conftest.err >&5
12657    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658    if (exit $ac_status) && test -s "$ac_outfile"; then
12659      # The compiler can only warn and ignore the option if not recognized
12660      # So say no if there are warnings other than the usual output.
12661      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12662      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12663      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12664        lt_cv_prog_compiler_pic_works=yes
12665      fi
12666    fi
12667    $RM conftest*
12668
12669 fi
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12671 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
12672
12673 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
12674     case $lt_prog_compiler_pic in
12675      "" | " "*) ;;
12676      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12677      esac
12678 else
12679     lt_prog_compiler_pic=
12680      lt_prog_compiler_can_build_shared=no
12681 fi
12682
12683 fi
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695 #
12696 # Check to make sure the static flag actually works.
12697 #
12698 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12700 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12701 if ${lt_cv_prog_compiler_static_works+:} false; then :
12702   $as_echo_n "(cached) " >&6
12703 else
12704   lt_cv_prog_compiler_static_works=no
12705    save_LDFLAGS="$LDFLAGS"
12706    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12707    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12708    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12709      # The linker can only warn and ignore the option if not recognized
12710      # So say no if there are warnings
12711      if test -s conftest.err; then
12712        # Append any errors to the config.log.
12713        cat conftest.err 1>&5
12714        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12715        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12716        if diff conftest.exp conftest.er2 >/dev/null; then
12717          lt_cv_prog_compiler_static_works=yes
12718        fi
12719      else
12720        lt_cv_prog_compiler_static_works=yes
12721      fi
12722    fi
12723    $RM -r conftest*
12724    LDFLAGS="$save_LDFLAGS"
12725
12726 fi
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12728 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
12729
12730 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
12731     :
12732 else
12733     lt_prog_compiler_static=
12734 fi
12735
12736
12737
12738
12739
12740
12741
12742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12743 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12744 if ${lt_cv_prog_compiler_c_o+:} false; then :
12745   $as_echo_n "(cached) " >&6
12746 else
12747   lt_cv_prog_compiler_c_o=no
12748    $RM -r conftest 2>/dev/null
12749    mkdir conftest
12750    cd conftest
12751    mkdir out
12752    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12753
12754    lt_compiler_flag="-o out/conftest2.$ac_objext"
12755    # Insert the option either (1) after the last *FLAGS variable, or
12756    # (2) before a word containing "conftest.", or (3) at the end.
12757    # Note that $ac_compile itself does not contain backslashes and begins
12758    # with a dollar sign (not a hyphen), so the echo should work correctly.
12759    lt_compile=`echo "$ac_compile" | $SED \
12760    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12761    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12762    -e 's:$: $lt_compiler_flag:'`
12763    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12764    (eval "$lt_compile" 2>out/conftest.err)
12765    ac_status=$?
12766    cat out/conftest.err >&5
12767    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12769    then
12770      # The compiler can only warn and ignore the option if not recognized
12771      # So say no if there are warnings
12772      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12773      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12774      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12775        lt_cv_prog_compiler_c_o=yes
12776      fi
12777    fi
12778    chmod u+w . 2>&5
12779    $RM conftest*
12780    # SGI C++ compiler will create directory out/ii_files/ for
12781    # template instantiation
12782    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12783    $RM out/* && rmdir out
12784    cd ..
12785    $RM -r conftest
12786    $RM conftest*
12787
12788 fi
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12790 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12791
12792
12793
12794
12795
12796
12797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12799 if ${lt_cv_prog_compiler_c_o+:} false; then :
12800   $as_echo_n "(cached) " >&6
12801 else
12802   lt_cv_prog_compiler_c_o=no
12803    $RM -r conftest 2>/dev/null
12804    mkdir conftest
12805    cd conftest
12806    mkdir out
12807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12808
12809    lt_compiler_flag="-o out/conftest2.$ac_objext"
12810    # Insert the option either (1) after the last *FLAGS variable, or
12811    # (2) before a word containing "conftest.", or (3) at the end.
12812    # Note that $ac_compile itself does not contain backslashes and begins
12813    # with a dollar sign (not a hyphen), so the echo should work correctly.
12814    lt_compile=`echo "$ac_compile" | $SED \
12815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12817    -e 's:$: $lt_compiler_flag:'`
12818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12819    (eval "$lt_compile" 2>out/conftest.err)
12820    ac_status=$?
12821    cat out/conftest.err >&5
12822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12824    then
12825      # The compiler can only warn and ignore the option if not recognized
12826      # So say no if there are warnings
12827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12828      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12829      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12830        lt_cv_prog_compiler_c_o=yes
12831      fi
12832    fi
12833    chmod u+w . 2>&5
12834    $RM conftest*
12835    # SGI C++ compiler will create directory out/ii_files/ for
12836    # template instantiation
12837    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12838    $RM out/* && rmdir out
12839    cd ..
12840    $RM -r conftest
12841    $RM conftest*
12842
12843 fi
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12845 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12846
12847
12848
12849
12850 hard_links="nottested"
12851 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12852   # do not overwrite the value of need_locks provided by the user
12853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12854 $as_echo_n "checking if we can lock with hard links... " >&6; }
12855   hard_links=yes
12856   $RM conftest*
12857   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12858   touch conftest.a
12859   ln conftest.a conftest.b 2>&5 || hard_links=no
12860   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12862 $as_echo "$hard_links" >&6; }
12863   if test "$hard_links" = no; then
12864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12865 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12866     need_locks=warn
12867   fi
12868 else
12869   need_locks=no
12870 fi
12871
12872
12873
12874
12875
12876
12877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12878 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12879
12880   runpath_var=
12881   allow_undefined_flag=
12882   always_export_symbols=no
12883   archive_cmds=
12884   archive_expsym_cmds=
12885   compiler_needs_object=no
12886   enable_shared_with_static_runtimes=no
12887   export_dynamic_flag_spec=
12888   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12889   hardcode_automatic=no
12890   hardcode_direct=no
12891   hardcode_direct_absolute=no
12892   hardcode_libdir_flag_spec=
12893   hardcode_libdir_separator=
12894   hardcode_minus_L=no
12895   hardcode_shlibpath_var=unsupported
12896   inherit_rpath=no
12897   link_all_deplibs=unknown
12898   module_cmds=
12899   module_expsym_cmds=
12900   old_archive_from_new_cmds=
12901   old_archive_from_expsyms_cmds=
12902   thread_safe_flag_spec=
12903   whole_archive_flag_spec=
12904   # include_expsyms should be a list of space-separated symbols to be *always*
12905   # included in the symbol list
12906   include_expsyms=
12907   # exclude_expsyms can be an extended regexp of symbols to exclude
12908   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12909   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12910   # as well as any symbol that contains `d'.
12911   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12912   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12913   # platforms (ab)use it in PIC code, but their linkers get confused if
12914   # the symbol is explicitly referenced.  Since portable code cannot
12915   # rely on this symbol name, it's probably fine to never include it in
12916   # preloaded symbol tables.
12917   # Exclude shared library initialization/finalization symbols.
12918   extract_expsyms_cmds=
12919
12920   case $host_os in
12921   cygwin* | mingw* | pw32* | cegcc*)
12922     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12923     # When not using gcc, we currently assume that we are using
12924     # Microsoft Visual C++.
12925     if test "$GCC" != yes; then
12926       with_gnu_ld=no
12927     fi
12928     ;;
12929   interix*)
12930     # we just hope/assume this is gcc and not c89 (= MSVC++)
12931     with_gnu_ld=yes
12932     ;;
12933   openbsd*)
12934     with_gnu_ld=no
12935     ;;
12936   esac
12937
12938   ld_shlibs=yes
12939
12940   # On some targets, GNU ld is compatible enough with the native linker
12941   # that we're better off using the native interface for both.
12942   lt_use_gnu_ld_interface=no
12943   if test "$with_gnu_ld" = yes; then
12944     case $host_os in
12945       aix*)
12946         # The AIX port of GNU ld has always aspired to compatibility
12947         # with the native linker.  However, as the warning in the GNU ld
12948         # block says, versions before 2.19.5* couldn't really create working
12949         # shared libraries, regardless of the interface used.
12950         case `$LD -v 2>&1` in
12951           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12952           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12953           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12954           *)
12955             lt_use_gnu_ld_interface=yes
12956             ;;
12957         esac
12958         ;;
12959       *)
12960         lt_use_gnu_ld_interface=yes
12961         ;;
12962     esac
12963   fi
12964
12965   if test "$lt_use_gnu_ld_interface" = yes; then
12966     # If archive_cmds runs LD, not CC, wlarc should be empty
12967     wlarc='${wl}'
12968
12969     # Set some defaults for GNU ld with shared library support. These
12970     # are reset later if shared libraries are not supported. Putting them
12971     # here allows them to be overridden if necessary.
12972     runpath_var=LD_RUN_PATH
12973     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12974     export_dynamic_flag_spec='${wl}--export-dynamic'
12975     # ancient GNU ld didn't support --whole-archive et. al.
12976     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12977       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12978     else
12979       whole_archive_flag_spec=
12980     fi
12981     supports_anon_versioning=no
12982     case `$LD -v 2>&1` in
12983       *GNU\ gold*) supports_anon_versioning=yes ;;
12984       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12985       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12986       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12987       *\ 2.11.*) ;; # other 2.11 versions
12988       *) supports_anon_versioning=yes ;;
12989     esac
12990
12991     # See if GNU ld supports shared libraries.
12992     case $host_os in
12993     aix[3-9]*)
12994       # On AIX/PPC, the GNU linker is very broken
12995       if test "$host_cpu" != ia64; then
12996         ld_shlibs=no
12997         cat <<_LT_EOF 1>&2
12998
12999 *** Warning: the GNU linker, at least up to release 2.19, is reported
13000 *** to be unable to reliably create shared libraries on AIX.
13001 *** Therefore, libtool is disabling shared libraries support.  If you
13002 *** really care for shared libraries, you may want to install binutils
13003 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13004 *** You will then need to restart the configuration process.
13005
13006 _LT_EOF
13007       fi
13008       ;;
13009
13010     amigaos*)
13011       case $host_cpu in
13012       powerpc)
13013             # see comment about AmigaOS4 .so support
13014             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13015             archive_expsym_cmds=''
13016         ;;
13017       m68k)
13018             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)'
13019             hardcode_libdir_flag_spec='-L$libdir'
13020             hardcode_minus_L=yes
13021         ;;
13022       esac
13023       ;;
13024
13025     beos*)
13026       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13027         allow_undefined_flag=unsupported
13028         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13029         # support --undefined.  This deserves some investigation.  FIXME
13030         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13031       else
13032         ld_shlibs=no
13033       fi
13034       ;;
13035
13036     cygwin* | mingw* | pw32* | cegcc*)
13037       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13038       # as there is no search path for DLLs.
13039       hardcode_libdir_flag_spec='-L$libdir'
13040       export_dynamic_flag_spec='${wl}--export-all-symbols'
13041       allow_undefined_flag=unsupported
13042       always_export_symbols=no
13043       enable_shared_with_static_runtimes=yes
13044       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'
13045       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13046
13047       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13048         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13049         # If the export-symbols file already is a .def file (1st line
13050         # is EXPORTS), use it as is; otherwise, prepend...
13051         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13052           cp $export_symbols $output_objdir/$soname.def;
13053         else
13054           echo EXPORTS > $output_objdir/$soname.def;
13055           cat $export_symbols >> $output_objdir/$soname.def;
13056         fi~
13057         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13058       else
13059         ld_shlibs=no
13060       fi
13061       ;;
13062
13063     haiku*)
13064       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13065       link_all_deplibs=yes
13066       ;;
13067
13068     interix[3-9]*)
13069       hardcode_direct=no
13070       hardcode_shlibpath_var=no
13071       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13072       export_dynamic_flag_spec='${wl}-E'
13073       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13074       # Instead, shared libraries are loaded at an image base (0x10000000 by
13075       # default) and relocated if they conflict, which is a slow very memory
13076       # consuming and fragmenting process.  To avoid this, we pick a random,
13077       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13078       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13079       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13080       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'
13081       ;;
13082
13083     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13084       tmp_diet=no
13085       if test "$host_os" = linux-dietlibc; then
13086         case $cc_basename in
13087           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13088         esac
13089       fi
13090       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13091          && test "$tmp_diet" = no
13092       then
13093         tmp_addflag=' $pic_flag'
13094         tmp_sharedflag='-shared'
13095         case $cc_basename,$host_cpu in
13096         pgcc*)                          # Portland Group C compiler
13097           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'
13098           tmp_addflag=' $pic_flag'
13099           ;;
13100         pgf77* | pgf90* | pgf95* | pgfortran*)
13101                                         # Portland Group f77 and f90 compilers
13102           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'
13103           tmp_addflag=' $pic_flag -Mnomain' ;;
13104         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13105           tmp_addflag=' -i_dynamic' ;;
13106         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13107           tmp_addflag=' -i_dynamic -nofor_main' ;;
13108         ifc* | ifort*)                  # Intel Fortran compiler
13109           tmp_addflag=' -nofor_main' ;;
13110         lf95*)                          # Lahey Fortran 8.1
13111           whole_archive_flag_spec=
13112           tmp_sharedflag='--shared' ;;
13113         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13114           tmp_sharedflag='-qmkshrobj'
13115           tmp_addflag= ;;
13116         nvcc*)  # Cuda Compiler Driver 2.2
13117           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'
13118           compiler_needs_object=yes
13119           ;;
13120         esac
13121         case `$CC -V 2>&1 | sed 5q` in
13122         *Sun\ C*)                       # Sun C 5.9
13123           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'
13124           compiler_needs_object=yes
13125           tmp_sharedflag='-G' ;;
13126         *Sun\ F*)                       # Sun Fortran 8.3
13127           tmp_sharedflag='-G' ;;
13128         esac
13129         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13130
13131         if test "x$supports_anon_versioning" = xyes; then
13132           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13133             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13134             echo "local: *; };" >> $output_objdir/$libname.ver~
13135             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13136         fi
13137
13138         case $cc_basename in
13139         xlf* | bgf* | bgxlf* | mpixlf*)
13140           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13141           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13142           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13143           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13144           if test "x$supports_anon_versioning" = xyes; then
13145             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13146               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13147               echo "local: *; };" >> $output_objdir/$libname.ver~
13148               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13149           fi
13150           ;;
13151         esac
13152       else
13153         ld_shlibs=no
13154       fi
13155       ;;
13156
13157     netbsd*)
13158       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13159         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13160         wlarc=
13161       else
13162         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13163         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13164       fi
13165       ;;
13166
13167     solaris*)
13168       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13169         ld_shlibs=no
13170         cat <<_LT_EOF 1>&2
13171
13172 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13173 *** create shared libraries on Solaris systems.  Therefore, libtool
13174 *** is disabling shared libraries support.  We urge you to upgrade GNU
13175 *** binutils to release 2.9.1 or newer.  Another option is to modify
13176 *** your PATH or compiler configuration so that the native linker is
13177 *** used, and then restart.
13178
13179 _LT_EOF
13180       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13181         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13182         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13183       else
13184         ld_shlibs=no
13185       fi
13186       ;;
13187
13188     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13189       case `$LD -v 2>&1` in
13190         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13191         ld_shlibs=no
13192         cat <<_LT_EOF 1>&2
13193
13194 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13195 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13196 *** is disabling shared libraries support.  We urge you to upgrade GNU
13197 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13198 *** your PATH or compiler configuration so that the native linker is
13199 *** used, and then restart.
13200
13201 _LT_EOF
13202         ;;
13203         *)
13204           # For security reasons, it is highly recommended that you always
13205           # use absolute paths for naming shared libraries, and exclude the
13206           # DT_RUNPATH tag from executables and libraries.  But doing so
13207           # requires that you compile everything twice, which is a pain.
13208           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13209             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13210             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13211             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13212           else
13213             ld_shlibs=no
13214           fi
13215         ;;
13216       esac
13217       ;;
13218
13219     sunos4*)
13220       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13221       wlarc=
13222       hardcode_direct=yes
13223       hardcode_shlibpath_var=no
13224       ;;
13225
13226     *)
13227       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13228         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13229         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13230       else
13231         ld_shlibs=no
13232       fi
13233       ;;
13234     esac
13235
13236     if test "$ld_shlibs" = no; then
13237       runpath_var=
13238       hardcode_libdir_flag_spec=
13239       export_dynamic_flag_spec=
13240       whole_archive_flag_spec=
13241     fi
13242   else
13243     # PORTME fill in a description of your system's linker (not GNU ld)
13244     case $host_os in
13245     aix3*)
13246       allow_undefined_flag=unsupported
13247       always_export_symbols=yes
13248       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'
13249       # Note: this linker hardcodes the directories in LIBPATH if there
13250       # are no directories specified by -L.
13251       hardcode_minus_L=yes
13252       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13253         # Neither direct hardcoding nor static linking is supported with a
13254         # broken collect2.
13255         hardcode_direct=unsupported
13256       fi
13257       ;;
13258
13259     aix[4-9]*)
13260       if test "$host_cpu" = ia64; then
13261         # On IA64, the linker does run time linking by default, so we don't
13262         # have to do anything special.
13263         aix_use_runtimelinking=no
13264         exp_sym_flag='-Bexport'
13265         no_entry_flag=""
13266       else
13267         # If we're using GNU nm, then we don't want the "-C" option.
13268         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13269         # Also, AIX nm treats weak defined symbols like other global
13270         # defined symbols, whereas GNU nm marks them as "W".
13271         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13272           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'
13273         else
13274           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'
13275         fi
13276         aix_use_runtimelinking=no
13277
13278         # Test if we are trying to use run time linking or normal
13279         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13280         # need to do runtime linking.
13281         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13282           for ld_flag in $LDFLAGS; do
13283           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13284             aix_use_runtimelinking=yes
13285             break
13286           fi
13287           done
13288           ;;
13289         esac
13290
13291         exp_sym_flag='-bexport'
13292         no_entry_flag='-bnoentry'
13293       fi
13294
13295       # When large executables or shared objects are built, AIX ld can
13296       # have problems creating the table of contents.  If linking a library
13297       # or program results in "error TOC overflow" add -mminimal-toc to
13298       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13299       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13300
13301       archive_cmds=''
13302       hardcode_direct=yes
13303       hardcode_direct_absolute=yes
13304       hardcode_libdir_separator=':'
13305       link_all_deplibs=yes
13306       file_list_spec='${wl}-f,'
13307
13308       if test "$GCC" = yes; then
13309         case $host_os in aix4.[012]|aix4.[012].*)
13310         # We only want to do this on AIX 4.2 and lower, the check
13311         # below for broken collect2 doesn't work under 4.3+
13312           collect2name=`${CC} -print-prog-name=collect2`
13313           if test -f "$collect2name" &&
13314            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13315           then
13316           # We have reworked collect2
13317           :
13318           else
13319           # We have old collect2
13320           hardcode_direct=unsupported
13321           # It fails to find uninstalled libraries when the uninstalled
13322           # path is not listed in the libpath.  Setting hardcode_minus_L
13323           # to unsupported forces relinking
13324           hardcode_minus_L=yes
13325           hardcode_libdir_flag_spec='-L$libdir'
13326           hardcode_libdir_separator=
13327           fi
13328           ;;
13329         esac
13330         shared_flag='-shared'
13331         if test "$aix_use_runtimelinking" = yes; then
13332           shared_flag="$shared_flag "'${wl}-G'
13333         fi
13334       else
13335         # not using gcc
13336         if test "$host_cpu" = ia64; then
13337         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13338         # chokes on -Wl,-G. The following line is correct:
13339           shared_flag='-G'
13340         else
13341           if test "$aix_use_runtimelinking" = yes; then
13342             shared_flag='${wl}-G'
13343           else
13344             shared_flag='${wl}-bM:SRE'
13345           fi
13346         fi
13347       fi
13348
13349       export_dynamic_flag_spec='${wl}-bexpall'
13350       # It seems that -bexpall does not export symbols beginning with
13351       # underscore (_), so it is better to generate a list of symbols to export.
13352       always_export_symbols=yes
13353       if test "$aix_use_runtimelinking" = yes; then
13354         # Warning - without using the other runtime loading flags (-brtl),
13355         # -berok will link without error, but may produce a broken library.
13356         allow_undefined_flag='-berok'
13357         # Determine the default libpath from the value encoded in an
13358         # empty executable.
13359         if test "${lt_cv_aix_libpath+set}" = set; then
13360   aix_libpath=$lt_cv_aix_libpath
13361 else
13362   if ${lt_cv_aix_libpath_+:} false; then :
13363   $as_echo_n "(cached) " >&6
13364 else
13365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h.  */
13367
13368 int
13369 main ()
13370 {
13371
13372   ;
13373   return 0;
13374 }
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377
13378   lt_aix_libpath_sed='
13379       /Import File Strings/,/^$/ {
13380           /^0/ {
13381               s/^0  *\([^ ]*\) *$/\1/
13382               p
13383           }
13384       }'
13385   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13386   # Check for a 64-bit object if we didn't find anything.
13387   if test -z "$lt_cv_aix_libpath_"; then
13388     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13389   fi
13390 fi
13391 rm -f core conftest.err conftest.$ac_objext \
13392     conftest$ac_exeext conftest.$ac_ext
13393   if test -z "$lt_cv_aix_libpath_"; then
13394     lt_cv_aix_libpath_="/usr/lib:/lib"
13395   fi
13396
13397 fi
13398
13399   aix_libpath=$lt_cv_aix_libpath_
13400 fi
13401
13402         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13403         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"
13404       else
13405         if test "$host_cpu" = ia64; then
13406           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13407           allow_undefined_flag="-z nodefs"
13408           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"
13409         else
13410          # Determine the default libpath from the value encoded in an
13411          # empty executable.
13412          if test "${lt_cv_aix_libpath+set}" = set; then
13413   aix_libpath=$lt_cv_aix_libpath
13414 else
13415   if ${lt_cv_aix_libpath_+:} false; then :
13416   $as_echo_n "(cached) " >&6
13417 else
13418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h.  */
13420
13421 int
13422 main ()
13423 {
13424
13425   ;
13426   return 0;
13427 }
13428 _ACEOF
13429 if ac_fn_c_try_link "$LINENO"; then :
13430
13431   lt_aix_libpath_sed='
13432       /Import File Strings/,/^$/ {
13433           /^0/ {
13434               s/^0  *\([^ ]*\) *$/\1/
13435               p
13436           }
13437       }'
13438   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13439   # Check for a 64-bit object if we didn't find anything.
13440   if test -z "$lt_cv_aix_libpath_"; then
13441     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13442   fi
13443 fi
13444 rm -f core conftest.err conftest.$ac_objext \
13445     conftest$ac_exeext conftest.$ac_ext
13446   if test -z "$lt_cv_aix_libpath_"; then
13447     lt_cv_aix_libpath_="/usr/lib:/lib"
13448   fi
13449
13450 fi
13451
13452   aix_libpath=$lt_cv_aix_libpath_
13453 fi
13454
13455          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13456           # Warning - without using the other run time loading flags,
13457           # -berok will link without error, but may produce a broken library.
13458           no_undefined_flag=' ${wl}-bernotok'
13459           allow_undefined_flag=' ${wl}-berok'
13460           if test "$with_gnu_ld" = yes; then
13461             # We only use this code for GNU lds that support --whole-archive.
13462             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13463           else
13464             # Exported symbols can be pulled into shared objects from archives
13465             whole_archive_flag_spec='$convenience'
13466           fi
13467           archive_cmds_need_lc=yes
13468           # This is similar to how AIX traditionally builds its shared libraries.
13469           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'
13470         fi
13471       fi
13472       ;;
13473
13474     amigaos*)
13475       case $host_cpu in
13476       powerpc)
13477             # see comment about AmigaOS4 .so support
13478             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13479             archive_expsym_cmds=''
13480         ;;
13481       m68k)
13482             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)'
13483             hardcode_libdir_flag_spec='-L$libdir'
13484             hardcode_minus_L=yes
13485         ;;
13486       esac
13487       ;;
13488
13489     bsdi[45]*)
13490       export_dynamic_flag_spec=-rdynamic
13491       ;;
13492
13493     cygwin* | mingw* | pw32* | cegcc*)
13494       # When not using gcc, we currently assume that we are using
13495       # Microsoft Visual C++.
13496       # hardcode_libdir_flag_spec is actually meaningless, as there is
13497       # no search path for DLLs.
13498       case $cc_basename in
13499       cl*)
13500         # Native MSVC
13501         hardcode_libdir_flag_spec=' '
13502         allow_undefined_flag=unsupported
13503         always_export_symbols=yes
13504         file_list_spec='@'
13505         # Tell ltmain to make .lib files, not .a files.
13506         libext=lib
13507         # Tell ltmain to make .dll files, not .so files.
13508         shrext_cmds=".dll"
13509         # FIXME: Setting linknames here is a bad hack.
13510         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13511         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13512             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13513           else
13514             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13515           fi~
13516           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13517           linknames='
13518         # The linker will not automatically build a static lib if we build a DLL.
13519         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13520         enable_shared_with_static_runtimes=yes
13521         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13522         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13523         # Don't use ranlib
13524         old_postinstall_cmds='chmod 644 $oldlib'
13525         postlink_cmds='lt_outputfile="@OUTPUT@"~
13526           lt_tool_outputfile="@TOOL_OUTPUT@"~
13527           case $lt_outputfile in
13528             *.exe|*.EXE) ;;
13529             *)
13530               lt_outputfile="$lt_outputfile.exe"
13531               lt_tool_outputfile="$lt_tool_outputfile.exe"
13532               ;;
13533           esac~
13534           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13535             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13536             $RM "$lt_outputfile.manifest";
13537           fi'
13538         ;;
13539       *)
13540         # Assume MSVC wrapper
13541         hardcode_libdir_flag_spec=' '
13542         allow_undefined_flag=unsupported
13543         # Tell ltmain to make .lib files, not .a files.
13544         libext=lib
13545         # Tell ltmain to make .dll files, not .so files.
13546         shrext_cmds=".dll"
13547         # FIXME: Setting linknames here is a bad hack.
13548         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13549         # The linker will automatically build a .lib file if we build a DLL.
13550         old_archive_from_new_cmds='true'
13551         # FIXME: Should let the user specify the lib program.
13552         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13553         enable_shared_with_static_runtimes=yes
13554         ;;
13555       esac
13556       ;;
13557
13558     darwin* | rhapsody*)
13559
13560
13561   archive_cmds_need_lc=no
13562   hardcode_direct=no
13563   hardcode_automatic=yes
13564   hardcode_shlibpath_var=unsupported
13565   if test "$lt_cv_ld_force_load" = "yes"; then
13566     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\"`'
13567
13568   else
13569     whole_archive_flag_spec=''
13570   fi
13571   link_all_deplibs=yes
13572   allow_undefined_flag="$_lt_dar_allow_undefined"
13573   case $cc_basename in
13574      ifort*) _lt_dar_can_shared=yes ;;
13575      *) _lt_dar_can_shared=$GCC ;;
13576   esac
13577   if test "$_lt_dar_can_shared" = "yes"; then
13578     output_verbose_link_cmd=func_echo_all
13579     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13580     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13581     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}"
13582     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}"
13583
13584   else
13585   ld_shlibs=no
13586   fi
13587
13588       ;;
13589
13590     dgux*)
13591       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13592       hardcode_libdir_flag_spec='-L$libdir'
13593       hardcode_shlibpath_var=no
13594       ;;
13595
13596     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13597     # support.  Future versions do this automatically, but an explicit c++rt0.o
13598     # does not break anything, and helps significantly (at the cost of a little
13599     # extra space).
13600     freebsd2.2*)
13601       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13602       hardcode_libdir_flag_spec='-R$libdir'
13603       hardcode_direct=yes
13604       hardcode_shlibpath_var=no
13605       ;;
13606
13607     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13608     freebsd2.*)
13609       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13610       hardcode_direct=yes
13611       hardcode_minus_L=yes
13612       hardcode_shlibpath_var=no
13613       ;;
13614
13615     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13616     freebsd* | dragonfly*)
13617       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13618       hardcode_libdir_flag_spec='-R$libdir'
13619       hardcode_direct=yes
13620       hardcode_shlibpath_var=no
13621       ;;
13622
13623     hpux9*)
13624       if test "$GCC" = yes; then
13625         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'
13626       else
13627         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'
13628       fi
13629       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13630       hardcode_libdir_separator=:
13631       hardcode_direct=yes
13632
13633       # hardcode_minus_L: Not really in the search PATH,
13634       # but as the default location of the library.
13635       hardcode_minus_L=yes
13636       export_dynamic_flag_spec='${wl}-E'
13637       ;;
13638
13639     hpux10*)
13640       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13641         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13642       else
13643         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13644       fi
13645       if test "$with_gnu_ld" = no; then
13646         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13647         hardcode_libdir_separator=:
13648         hardcode_direct=yes
13649         hardcode_direct_absolute=yes
13650         export_dynamic_flag_spec='${wl}-E'
13651         # hardcode_minus_L: Not really in the search PATH,
13652         # but as the default location of the library.
13653         hardcode_minus_L=yes
13654       fi
13655       ;;
13656
13657     hpux11*)
13658       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13659         case $host_cpu in
13660         hppa*64*)
13661           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13662           ;;
13663         ia64*)
13664           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13665           ;;
13666         *)
13667           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13668           ;;
13669         esac
13670       else
13671         case $host_cpu in
13672         hppa*64*)
13673           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13674           ;;
13675         ia64*)
13676           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13677           ;;
13678         *)
13679
13680           # Older versions of the 11.00 compiler do not understand -b yet
13681           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13682           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13683 $as_echo_n "checking if $CC understands -b... " >&6; }
13684 if ${lt_cv_prog_compiler__b+:} false; then :
13685   $as_echo_n "(cached) " >&6
13686 else
13687   lt_cv_prog_compiler__b=no
13688    save_LDFLAGS="$LDFLAGS"
13689    LDFLAGS="$LDFLAGS -b"
13690    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13691    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13692      # The linker can only warn and ignore the option if not recognized
13693      # So say no if there are warnings
13694      if test -s conftest.err; then
13695        # Append any errors to the config.log.
13696        cat conftest.err 1>&5
13697        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13698        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13699        if diff conftest.exp conftest.er2 >/dev/null; then
13700          lt_cv_prog_compiler__b=yes
13701        fi
13702      else
13703        lt_cv_prog_compiler__b=yes
13704      fi
13705    fi
13706    $RM -r conftest*
13707    LDFLAGS="$save_LDFLAGS"
13708
13709 fi
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13711 $as_echo "$lt_cv_prog_compiler__b" >&6; }
13712
13713 if test x"$lt_cv_prog_compiler__b" = xyes; then
13714     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13715 else
13716     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13717 fi
13718
13719           ;;
13720         esac
13721       fi
13722       if test "$with_gnu_ld" = no; then
13723         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13724         hardcode_libdir_separator=:
13725
13726         case $host_cpu in
13727         hppa*64*|ia64*)
13728           hardcode_direct=no
13729           hardcode_shlibpath_var=no
13730           ;;
13731         *)
13732           hardcode_direct=yes
13733           hardcode_direct_absolute=yes
13734           export_dynamic_flag_spec='${wl}-E'
13735
13736           # hardcode_minus_L: Not really in the search PATH,
13737           # but as the default location of the library.
13738           hardcode_minus_L=yes
13739           ;;
13740         esac
13741       fi
13742       ;;
13743
13744     irix5* | irix6* | nonstopux*)
13745       if test "$GCC" = yes; then
13746         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'
13747         # Try to use the -exported_symbol ld option, if it does not
13748         # work, assume that -exports_file does not work either and
13749         # implicitly export all symbols.
13750         # This should be the same for all languages, so no per-tag cache variable.
13751         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13752 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13753 if ${lt_cv_irix_exported_symbol+:} false; then :
13754   $as_echo_n "(cached) " >&6
13755 else
13756   save_LDFLAGS="$LDFLAGS"
13757            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13758            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h.  */
13760 int foo (void) { return 0; }
13761 _ACEOF
13762 if ac_fn_c_try_link "$LINENO"; then :
13763   lt_cv_irix_exported_symbol=yes
13764 else
13765   lt_cv_irix_exported_symbol=no
13766 fi
13767 rm -f core conftest.err conftest.$ac_objext \
13768     conftest$ac_exeext conftest.$ac_ext
13769            LDFLAGS="$save_LDFLAGS"
13770 fi
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13772 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
13773         if test "$lt_cv_irix_exported_symbol" = yes; then
13774           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'
13775         fi
13776       else
13777         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'
13778         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'
13779       fi
13780       archive_cmds_need_lc='no'
13781       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13782       hardcode_libdir_separator=:
13783       inherit_rpath=yes
13784       link_all_deplibs=yes
13785       ;;
13786
13787     netbsd*)
13788       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13789         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13790       else
13791         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13792       fi
13793       hardcode_libdir_flag_spec='-R$libdir'
13794       hardcode_direct=yes
13795       hardcode_shlibpath_var=no
13796       ;;
13797
13798     newsos6)
13799       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13800       hardcode_direct=yes
13801       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13802       hardcode_libdir_separator=:
13803       hardcode_shlibpath_var=no
13804       ;;
13805
13806     *nto* | *qnx*)
13807       ;;
13808
13809     openbsd*)
13810       if test -f /usr/libexec/ld.so; then
13811         hardcode_direct=yes
13812         hardcode_shlibpath_var=no
13813         hardcode_direct_absolute=yes
13814         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13815           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13816           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13817           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13818           export_dynamic_flag_spec='${wl}-E'
13819         else
13820           case $host_os in
13821            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13822              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13823              hardcode_libdir_flag_spec='-R$libdir'
13824              ;;
13825            *)
13826              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13827              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13828              ;;
13829           esac
13830         fi
13831       else
13832         ld_shlibs=no
13833       fi
13834       ;;
13835
13836     os2*)
13837       hardcode_libdir_flag_spec='-L$libdir'
13838       hardcode_minus_L=yes
13839       allow_undefined_flag=unsupported
13840       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'
13841       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13842       ;;
13843
13844     osf3*)
13845       if test "$GCC" = yes; then
13846         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13847         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'
13848       else
13849         allow_undefined_flag=' -expect_unresolved \*'
13850         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'
13851       fi
13852       archive_cmds_need_lc='no'
13853       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13854       hardcode_libdir_separator=:
13855       ;;
13856
13857     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13858       if test "$GCC" = yes; then
13859         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13860         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'
13861         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13862       else
13863         allow_undefined_flag=' -expect_unresolved \*'
13864         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'
13865         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~
13866         $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'
13867
13868         # Both c and cxx compiler support -rpath directly
13869         hardcode_libdir_flag_spec='-rpath $libdir'
13870       fi
13871       archive_cmds_need_lc='no'
13872       hardcode_libdir_separator=:
13873       ;;
13874
13875     solaris*)
13876       no_undefined_flag=' -z defs'
13877       if test "$GCC" = yes; then
13878         wlarc='${wl}'
13879         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13880         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13881           $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'
13882       else
13883         case `$CC -V 2>&1` in
13884         *"Compilers 5.0"*)
13885           wlarc=''
13886           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13887           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13888           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13889           ;;
13890         *)
13891           wlarc='${wl}'
13892           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13893           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13894           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13895           ;;
13896         esac
13897       fi
13898       hardcode_libdir_flag_spec='-R$libdir'
13899       hardcode_shlibpath_var=no
13900       case $host_os in
13901       solaris2.[0-5] | solaris2.[0-5].*) ;;
13902       *)
13903         # The compiler driver will combine and reorder linker options,
13904         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13905         # but is careful enough not to reorder.
13906         # Supported since Solaris 2.6 (maybe 2.5.1?)
13907         if test "$GCC" = yes; then
13908           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13909         else
13910           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13911         fi
13912         ;;
13913       esac
13914       link_all_deplibs=yes
13915       ;;
13916
13917     sunos4*)
13918       if test "x$host_vendor" = xsequent; then
13919         # Use $CC to link under sequent, because it throws in some extra .o
13920         # files that make .init and .fini sections work.
13921         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13922       else
13923         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13924       fi
13925       hardcode_libdir_flag_spec='-L$libdir'
13926       hardcode_direct=yes
13927       hardcode_minus_L=yes
13928       hardcode_shlibpath_var=no
13929       ;;
13930
13931     sysv4)
13932       case $host_vendor in
13933         sni)
13934           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13935           hardcode_direct=yes # is this really true???
13936         ;;
13937         siemens)
13938           ## LD is ld it makes a PLAMLIB
13939           ## CC just makes a GrossModule.
13940           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13941           reload_cmds='$CC -r -o $output$reload_objs'
13942           hardcode_direct=no
13943         ;;
13944         motorola)
13945           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13946           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13947         ;;
13948       esac
13949       runpath_var='LD_RUN_PATH'
13950       hardcode_shlibpath_var=no
13951       ;;
13952
13953     sysv4.3*)
13954       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13955       hardcode_shlibpath_var=no
13956       export_dynamic_flag_spec='-Bexport'
13957       ;;
13958
13959     sysv4*MP*)
13960       if test -d /usr/nec; then
13961         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13962         hardcode_shlibpath_var=no
13963         runpath_var=LD_RUN_PATH
13964         hardcode_runpath_var=yes
13965         ld_shlibs=yes
13966       fi
13967       ;;
13968
13969     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13970       no_undefined_flag='${wl}-z,text'
13971       archive_cmds_need_lc=no
13972       hardcode_shlibpath_var=no
13973       runpath_var='LD_RUN_PATH'
13974
13975       if test "$GCC" = yes; then
13976         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13977         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13978       else
13979         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13980         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13981       fi
13982       ;;
13983
13984     sysv5* | sco3.2v5* | sco5v6*)
13985       # Note: We can NOT use -z defs as we might desire, because we do not
13986       # link with -lc, and that would cause any symbols used from libc to
13987       # always be unresolved, which means just about no library would
13988       # ever link correctly.  If we're not using GNU ld we use -z text
13989       # though, which does catch some bad symbols but isn't as heavy-handed
13990       # as -z defs.
13991       no_undefined_flag='${wl}-z,text'
13992       allow_undefined_flag='${wl}-z,nodefs'
13993       archive_cmds_need_lc=no
13994       hardcode_shlibpath_var=no
13995       hardcode_libdir_flag_spec='${wl}-R,$libdir'
13996       hardcode_libdir_separator=':'
13997       link_all_deplibs=yes
13998       export_dynamic_flag_spec='${wl}-Bexport'
13999       runpath_var='LD_RUN_PATH'
14000
14001       if test "$GCC" = yes; then
14002         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14003         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14004       else
14005         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14006         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14007       fi
14008       ;;
14009
14010     uts4*)
14011       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14012       hardcode_libdir_flag_spec='-L$libdir'
14013       hardcode_shlibpath_var=no
14014       ;;
14015
14016     *)
14017       ld_shlibs=no
14018       ;;
14019     esac
14020
14021     if test x$host_vendor = xsni; then
14022       case $host in
14023       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14024         export_dynamic_flag_spec='${wl}-Blargedynsym'
14025         ;;
14026       esac
14027     fi
14028   fi
14029
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
14031 $as_echo "$ld_shlibs" >&6; }
14032 test "$ld_shlibs" = no && can_build_shared=no
14033
14034 with_gnu_ld=$with_gnu_ld
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050 #
14051 # Do we need to explicitly link libc?
14052 #
14053 case "x$archive_cmds_need_lc" in
14054 x|xyes)
14055   # Assume -lc should be added
14056   archive_cmds_need_lc=yes
14057
14058   if test "$enable_shared" = yes && test "$GCC" = yes; then
14059     case $archive_cmds in
14060     *'~'*)
14061       # FIXME: we may have to deal with multi-command sequences.
14062       ;;
14063     '$CC '*)
14064       # Test whether the compiler implicitly links with -lc since on some
14065       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14066       # to ld, don't add -lc before -lgcc.
14067       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14068 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14069 if ${lt_cv_archive_cmds_need_lc+:} false; then :
14070   $as_echo_n "(cached) " >&6
14071 else
14072   $RM conftest*
14073         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14074
14075         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14076   (eval $ac_compile) 2>&5
14077   ac_status=$?
14078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079   test $ac_status = 0; } 2>conftest.err; then
14080           soname=conftest
14081           lib=conftest
14082           libobjs=conftest.$ac_objext
14083           deplibs=
14084           wl=$lt_prog_compiler_wl
14085           pic_flag=$lt_prog_compiler_pic
14086           compiler_flags=-v
14087           linker_flags=-v
14088           verstring=
14089           output_objdir=.
14090           libname=conftest
14091           lt_save_allow_undefined_flag=$allow_undefined_flag
14092           allow_undefined_flag=
14093           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14094   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14095   ac_status=$?
14096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14097   test $ac_status = 0; }
14098           then
14099             lt_cv_archive_cmds_need_lc=no
14100           else
14101             lt_cv_archive_cmds_need_lc=yes
14102           fi
14103           allow_undefined_flag=$lt_save_allow_undefined_flag
14104         else
14105           cat conftest.err 1>&5
14106         fi
14107         $RM conftest*
14108
14109 fi
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
14111 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
14112       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
14113       ;;
14114     esac
14115   fi
14116   ;;
14117 esac
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14271 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14272
14273 if test "$GCC" = yes; then
14274   case $host_os in
14275     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
14276     *) lt_awk_arg="/^libraries:/" ;;
14277   esac
14278   case $host_os in
14279     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
14280     *) lt_sed_strip_eq="s,=/,/,g" ;;
14281   esac
14282   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
14283   case $lt_search_path_spec in
14284   *\;*)
14285     # if the path contains ";" then we assume it to be the separator
14286     # otherwise default to the standard path separator (i.e. ":") - it is
14287     # assumed that no part of a normal pathname contains ";" but that should
14288     # okay in the real world where ";" in dirpaths is itself problematic.
14289     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
14290     ;;
14291   *)
14292     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
14293     ;;
14294   esac
14295   # Ok, now we have the path, separated by spaces, we can step through it
14296   # and add multilib dir if necessary.
14297   lt_tmp_lt_search_path_spec=
14298   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14299   for lt_sys_path in $lt_search_path_spec; do
14300     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
14301       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
14302     else
14303       test -d "$lt_sys_path" && \
14304         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14305     fi
14306   done
14307   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
14308 BEGIN {RS=" "; FS="/|\n";} {
14309   lt_foo="";
14310   lt_count=0;
14311   for (lt_i = NF; lt_i > 0; lt_i--) {
14312     if ($lt_i != "" && $lt_i != ".") {
14313       if ($lt_i == "..") {
14314         lt_count++;
14315       } else {
14316         if (lt_count == 0) {
14317           lt_foo="/" $lt_i lt_foo;
14318         } else {
14319           lt_count--;
14320         }
14321       }
14322     }
14323   }
14324   if (lt_foo != "") { lt_freq[lt_foo]++; }
14325   if (lt_freq[lt_foo] == 1) { print lt_foo; }
14326 }'`
14327   # AWK program above erroneously prepends '/' to C:/dos/paths
14328   # for these hosts.
14329   case $host_os in
14330     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
14331       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
14332   esac
14333   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
14334 else
14335   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14336 fi
14337 library_names_spec=
14338 libname_spec='lib$name'
14339 soname_spec=
14340 shrext_cmds=".so"
14341 postinstall_cmds=
14342 postuninstall_cmds=
14343 finish_cmds=
14344 finish_eval=
14345 shlibpath_var=
14346 shlibpath_overrides_runpath=unknown
14347 version_type=none
14348 dynamic_linker="$host_os ld.so"
14349 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14350 need_lib_prefix=unknown
14351 hardcode_into_libs=no
14352
14353 # when you set need_version to no, make sure it does not cause -set_version
14354 # flags to be left without arguments
14355 need_version=unknown
14356
14357 case $host_os in
14358 aix3*)
14359   version_type=linux # correct to gnu/linux during the next big refactor
14360   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14361   shlibpath_var=LIBPATH
14362
14363   # AIX 3 has no versioning support, so we append a major version to the name.
14364   soname_spec='${libname}${release}${shared_ext}$major'
14365   ;;
14366
14367 aix[4-9]*)
14368   version_type=linux # correct to gnu/linux during the next big refactor
14369   need_lib_prefix=no
14370   need_version=no
14371   hardcode_into_libs=yes
14372   if test "$host_cpu" = ia64; then
14373     # AIX 5 supports IA64
14374     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14375     shlibpath_var=LD_LIBRARY_PATH
14376   else
14377     # With GCC up to 2.95.x, collect2 would create an import file
14378     # for dependence libraries.  The import file would start with
14379     # the line `#! .'.  This would cause the generated library to
14380     # depend on `.', always an invalid library.  This was fixed in
14381     # development snapshots of GCC prior to 3.0.
14382     case $host_os in
14383       aix4 | aix4.[01] | aix4.[01].*)
14384       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14385            echo ' yes '
14386            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14387         :
14388       else
14389         can_build_shared=no
14390       fi
14391       ;;
14392     esac
14393     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14394     # soname into executable. Probably we can add versioning support to
14395     # collect2, so additional links can be useful in future.
14396     if test "$aix_use_runtimelinking" = yes; then
14397       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14398       # instead of lib<name>.a to let people know that these are not
14399       # typical AIX shared libraries.
14400       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14401     else
14402       # We preserve .a as extension for shared libraries through AIX4.2
14403       # and later when we are not doing run time linking.
14404       library_names_spec='${libname}${release}.a $libname.a'
14405       soname_spec='${libname}${release}${shared_ext}$major'
14406     fi
14407     shlibpath_var=LIBPATH
14408   fi
14409   ;;
14410
14411 amigaos*)
14412   case $host_cpu in
14413   powerpc)
14414     # Since July 2007 AmigaOS4 officially supports .so libraries.
14415     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14416     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417     ;;
14418   m68k)
14419     library_names_spec='$libname.ixlibrary $libname.a'
14420     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14421     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'
14422     ;;
14423   esac
14424   ;;
14425
14426 beos*)
14427   library_names_spec='${libname}${shared_ext}'
14428   dynamic_linker="$host_os ld.so"
14429   shlibpath_var=LIBRARY_PATH
14430   ;;
14431
14432 bsdi[45]*)
14433   version_type=linux # correct to gnu/linux during the next big refactor
14434   need_version=no
14435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14436   soname_spec='${libname}${release}${shared_ext}$major'
14437   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14438   shlibpath_var=LD_LIBRARY_PATH
14439   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14440   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14441   # the default ld.so.conf also contains /usr/contrib/lib and
14442   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14443   # libtool to hard-code these into programs
14444   ;;
14445
14446 cygwin* | mingw* | pw32* | cegcc*)
14447   version_type=windows
14448   shrext_cmds=".dll"
14449   need_version=no
14450   need_lib_prefix=no
14451
14452   case $GCC,$cc_basename in
14453   yes,*)
14454     # gcc
14455     library_names_spec='$libname.dll.a'
14456     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14457     postinstall_cmds='base_file=`basename \${file}`~
14458       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14459       dldir=$destdir/`dirname \$dlpath`~
14460       test -d \$dldir || mkdir -p \$dldir~
14461       $install_prog $dir/$dlname \$dldir/$dlname~
14462       chmod a+x \$dldir/$dlname~
14463       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14464         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14465       fi'
14466     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14467       dlpath=$dir/\$dldll~
14468        $RM \$dlpath'
14469     shlibpath_overrides_runpath=yes
14470
14471     case $host_os in
14472     cygwin*)
14473       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14474       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14475
14476       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14477       ;;
14478     mingw* | cegcc*)
14479       # MinGW DLLs use traditional 'lib' prefix
14480       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14481       ;;
14482     pw32*)
14483       # pw32 DLLs use 'pw' prefix rather than 'lib'
14484       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14485       ;;
14486     esac
14487     dynamic_linker='Win32 ld.exe'
14488     ;;
14489
14490   *,cl*)
14491     # Native MSVC
14492     libname_spec='$name'
14493     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14494     library_names_spec='${libname}.dll.lib'
14495
14496     case $build_os in
14497     mingw*)
14498       sys_lib_search_path_spec=
14499       lt_save_ifs=$IFS
14500       IFS=';'
14501       for lt_path in $LIB
14502       do
14503         IFS=$lt_save_ifs
14504         # Let DOS variable expansion print the short 8.3 style file name.
14505         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14506         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14507       done
14508       IFS=$lt_save_ifs
14509       # Convert to MSYS style.
14510       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14511       ;;
14512     cygwin*)
14513       # Convert to unix form, then to dos form, then back to unix form
14514       # but this time dos style (no spaces!) so that the unix form looks
14515       # like /cygdrive/c/PROGRA~1:/cygdr...
14516       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14517       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14518       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14519       ;;
14520     *)
14521       sys_lib_search_path_spec="$LIB"
14522       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14523         # It is most probably a Windows format PATH.
14524         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14525       else
14526         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14527       fi
14528       # FIXME: find the short name or the path components, as spaces are
14529       # common. (e.g. "Program Files" -> "PROGRA~1")
14530       ;;
14531     esac
14532
14533     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14534     postinstall_cmds='base_file=`basename \${file}`~
14535       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14536       dldir=$destdir/`dirname \$dlpath`~
14537       test -d \$dldir || mkdir -p \$dldir~
14538       $install_prog $dir/$dlname \$dldir/$dlname'
14539     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14540       dlpath=$dir/\$dldll~
14541        $RM \$dlpath'
14542     shlibpath_overrides_runpath=yes
14543     dynamic_linker='Win32 link.exe'
14544     ;;
14545
14546   *)
14547     # Assume MSVC wrapper
14548     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14549     dynamic_linker='Win32 ld.exe'
14550     ;;
14551   esac
14552   # FIXME: first we should search . and the directory the executable is in
14553   shlibpath_var=PATH
14554   ;;
14555
14556 darwin* | rhapsody*)
14557   dynamic_linker="$host_os dyld"
14558   version_type=darwin
14559   need_lib_prefix=no
14560   need_version=no
14561   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14562   soname_spec='${libname}${release}${major}$shared_ext'
14563   shlibpath_overrides_runpath=yes
14564   shlibpath_var=DYLD_LIBRARY_PATH
14565   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14566
14567   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14568   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14569   ;;
14570
14571 dgux*)
14572   version_type=linux # correct to gnu/linux during the next big refactor
14573   need_lib_prefix=no
14574   need_version=no
14575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14576   soname_spec='${libname}${release}${shared_ext}$major'
14577   shlibpath_var=LD_LIBRARY_PATH
14578   ;;
14579
14580 freebsd* | dragonfly*)
14581   # DragonFly does not have aout.  When/if they implement a new
14582   # versioning mechanism, adjust this.
14583   if test -x /usr/bin/objformat; then
14584     objformat=`/usr/bin/objformat`
14585   else
14586     case $host_os in
14587     freebsd[23].*) objformat=aout ;;
14588     *) objformat=elf ;;
14589     esac
14590   fi
14591   version_type=freebsd-$objformat
14592   case $version_type in
14593     freebsd-elf*)
14594       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14595       need_version=no
14596       need_lib_prefix=no
14597       ;;
14598     freebsd-*)
14599       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14600       need_version=yes
14601       ;;
14602   esac
14603   shlibpath_var=LD_LIBRARY_PATH
14604   case $host_os in
14605   freebsd2.*)
14606     shlibpath_overrides_runpath=yes
14607     ;;
14608   freebsd3.[01]* | freebsdelf3.[01]*)
14609     shlibpath_overrides_runpath=yes
14610     hardcode_into_libs=yes
14611     ;;
14612   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14613   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14614     shlibpath_overrides_runpath=no
14615     hardcode_into_libs=yes
14616     ;;
14617   *) # from 4.6 on, and DragonFly
14618     shlibpath_overrides_runpath=yes
14619     hardcode_into_libs=yes
14620     ;;
14621   esac
14622   ;;
14623
14624 gnu*)
14625   version_type=linux # correct to gnu/linux during the next big refactor
14626   need_lib_prefix=no
14627   need_version=no
14628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14629   soname_spec='${libname}${release}${shared_ext}$major'
14630   shlibpath_var=LD_LIBRARY_PATH
14631   shlibpath_overrides_runpath=no
14632   hardcode_into_libs=yes
14633   ;;
14634
14635 haiku*)
14636   version_type=linux # correct to gnu/linux during the next big refactor
14637   need_lib_prefix=no
14638   need_version=no
14639   dynamic_linker="$host_os runtime_loader"
14640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14641   soname_spec='${libname}${release}${shared_ext}$major'
14642   shlibpath_var=LIBRARY_PATH
14643   shlibpath_overrides_runpath=yes
14644   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14645   hardcode_into_libs=yes
14646   ;;
14647
14648 hpux9* | hpux10* | hpux11*)
14649   # Give a soname corresponding to the major version so that dld.sl refuses to
14650   # link against other versions.
14651   version_type=sunos
14652   need_lib_prefix=no
14653   need_version=no
14654   case $host_cpu in
14655   ia64*)
14656     shrext_cmds='.so'
14657     hardcode_into_libs=yes
14658     dynamic_linker="$host_os dld.so"
14659     shlibpath_var=LD_LIBRARY_PATH
14660     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14661     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662     soname_spec='${libname}${release}${shared_ext}$major'
14663     if test "X$HPUX_IA64_MODE" = X32; then
14664       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14665     else
14666       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14667     fi
14668     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14669     ;;
14670   hppa*64*)
14671     shrext_cmds='.sl'
14672     hardcode_into_libs=yes
14673     dynamic_linker="$host_os dld.sl"
14674     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14675     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14676     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14677     soname_spec='${libname}${release}${shared_ext}$major'
14678     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14679     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14680     ;;
14681   *)
14682     shrext_cmds='.sl'
14683     dynamic_linker="$host_os dld.sl"
14684     shlibpath_var=SHLIB_PATH
14685     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14686     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14687     soname_spec='${libname}${release}${shared_ext}$major'
14688     ;;
14689   esac
14690   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14691   postinstall_cmds='chmod 555 $lib'
14692   # or fails outright, so override atomically:
14693   install_override_mode=555
14694   ;;
14695
14696 interix[3-9]*)
14697   version_type=linux # correct to gnu/linux during the next big refactor
14698   need_lib_prefix=no
14699   need_version=no
14700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14701   soname_spec='${libname}${release}${shared_ext}$major'
14702   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14703   shlibpath_var=LD_LIBRARY_PATH
14704   shlibpath_overrides_runpath=no
14705   hardcode_into_libs=yes
14706   ;;
14707
14708 irix5* | irix6* | nonstopux*)
14709   case $host_os in
14710     nonstopux*) version_type=nonstopux ;;
14711     *)
14712         if test "$lt_cv_prog_gnu_ld" = yes; then
14713                 version_type=linux # correct to gnu/linux during the next big refactor
14714         else
14715                 version_type=irix
14716         fi ;;
14717   esac
14718   need_lib_prefix=no
14719   need_version=no
14720   soname_spec='${libname}${release}${shared_ext}$major'
14721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14722   case $host_os in
14723   irix5* | nonstopux*)
14724     libsuff= shlibsuff=
14725     ;;
14726   *)
14727     case $LD in # libtool.m4 will add one of these switches to LD
14728     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14729       libsuff= shlibsuff= libmagic=32-bit;;
14730     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14731       libsuff=32 shlibsuff=N32 libmagic=N32;;
14732     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14733       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14734     *) libsuff= shlibsuff= libmagic=never-match;;
14735     esac
14736     ;;
14737   esac
14738   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14739   shlibpath_overrides_runpath=no
14740   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14741   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14742   hardcode_into_libs=yes
14743   ;;
14744
14745 # No shared lib support for Linux oldld, aout, or coff.
14746 linux*oldld* | linux*aout* | linux*coff*)
14747   dynamic_linker=no
14748   ;;
14749
14750 # This must be glibc/ELF.
14751 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14752   version_type=linux # correct to gnu/linux during the next big refactor
14753   need_lib_prefix=no
14754   need_version=no
14755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756   soname_spec='${libname}${release}${shared_ext}$major'
14757   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14758   shlibpath_var=LD_LIBRARY_PATH
14759   shlibpath_overrides_runpath=no
14760
14761   # Some binutils ld are patched to set DT_RUNPATH
14762   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14763   $as_echo_n "(cached) " >&6
14764 else
14765   lt_cv_shlibpath_overrides_runpath=no
14766     save_LDFLAGS=$LDFLAGS
14767     save_libdir=$libdir
14768     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14769          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14770     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h.  */
14772
14773 int
14774 main ()
14775 {
14776
14777   ;
14778   return 0;
14779 }
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14783   lt_cv_shlibpath_overrides_runpath=yes
14784 fi
14785 fi
14786 rm -f core conftest.err conftest.$ac_objext \
14787     conftest$ac_exeext conftest.$ac_ext
14788     LDFLAGS=$save_LDFLAGS
14789     libdir=$save_libdir
14790
14791 fi
14792
14793   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14794
14795   # This implies no fast_install, which is unacceptable.
14796   # Some rework will be needed to allow for fast_install
14797   # before this can be enabled.
14798   hardcode_into_libs=yes
14799
14800   # Append ld.so.conf contents to the search path
14801   if test -f /etc/ld.so.conf; then
14802     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' ' '`
14803     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14804   fi
14805
14806   # We used to test for /lib/ld.so.1 and disable shared libraries on
14807   # powerpc, because MkLinux only supported shared libraries with the
14808   # GNU dynamic linker.  Since this was broken with cross compilers,
14809   # most powerpc-linux boxes support dynamic linking these days and
14810   # people can always --disable-shared, the test was removed, and we
14811   # assume the GNU/Linux dynamic linker is in use.
14812   dynamic_linker='GNU/Linux ld.so'
14813   ;;
14814
14815 netbsd*)
14816   version_type=sunos
14817   need_lib_prefix=no
14818   need_version=no
14819   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14820     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14821     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14822     dynamic_linker='NetBSD (a.out) ld.so'
14823   else
14824     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14825     soname_spec='${libname}${release}${shared_ext}$major'
14826     dynamic_linker='NetBSD ld.elf_so'
14827   fi
14828   shlibpath_var=LD_LIBRARY_PATH
14829   shlibpath_overrides_runpath=yes
14830   hardcode_into_libs=yes
14831   ;;
14832
14833 newsos6)
14834   version_type=linux # correct to gnu/linux during the next big refactor
14835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14836   shlibpath_var=LD_LIBRARY_PATH
14837   shlibpath_overrides_runpath=yes
14838   ;;
14839
14840 *nto* | *qnx*)
14841   version_type=qnx
14842   need_lib_prefix=no
14843   need_version=no
14844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14845   soname_spec='${libname}${release}${shared_ext}$major'
14846   shlibpath_var=LD_LIBRARY_PATH
14847   shlibpath_overrides_runpath=no
14848   hardcode_into_libs=yes
14849   dynamic_linker='ldqnx.so'
14850   ;;
14851
14852 openbsd*)
14853   version_type=sunos
14854   sys_lib_dlsearch_path_spec="/usr/lib"
14855   need_lib_prefix=no
14856   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14857   case $host_os in
14858     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14859     *)                          need_version=no  ;;
14860   esac
14861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14862   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14863   shlibpath_var=LD_LIBRARY_PATH
14864   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14865     case $host_os in
14866       openbsd2.[89] | openbsd2.[89].*)
14867         shlibpath_overrides_runpath=no
14868         ;;
14869       *)
14870         shlibpath_overrides_runpath=yes
14871         ;;
14872       esac
14873   else
14874     shlibpath_overrides_runpath=yes
14875   fi
14876   ;;
14877
14878 os2*)
14879   libname_spec='$name'
14880   shrext_cmds=".dll"
14881   need_lib_prefix=no
14882   library_names_spec='$libname${shared_ext} $libname.a'
14883   dynamic_linker='OS/2 ld.exe'
14884   shlibpath_var=LIBPATH
14885   ;;
14886
14887 osf3* | osf4* | osf5*)
14888   version_type=osf
14889   need_lib_prefix=no
14890   need_version=no
14891   soname_spec='${libname}${release}${shared_ext}$major'
14892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14893   shlibpath_var=LD_LIBRARY_PATH
14894   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14895   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14896   ;;
14897
14898 rdos*)
14899   dynamic_linker=no
14900   ;;
14901
14902 solaris*)
14903   version_type=linux # correct to gnu/linux during the next big refactor
14904   need_lib_prefix=no
14905   need_version=no
14906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14907   soname_spec='${libname}${release}${shared_ext}$major'
14908   shlibpath_var=LD_LIBRARY_PATH
14909   shlibpath_overrides_runpath=yes
14910   hardcode_into_libs=yes
14911   # ldd complains unless libraries are executable
14912   postinstall_cmds='chmod +x $lib'
14913   ;;
14914
14915 sunos4*)
14916   version_type=sunos
14917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14918   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14919   shlibpath_var=LD_LIBRARY_PATH
14920   shlibpath_overrides_runpath=yes
14921   if test "$with_gnu_ld" = yes; then
14922     need_lib_prefix=no
14923   fi
14924   need_version=yes
14925   ;;
14926
14927 sysv4 | sysv4.3*)
14928   version_type=linux # correct to gnu/linux during the next big refactor
14929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14930   soname_spec='${libname}${release}${shared_ext}$major'
14931   shlibpath_var=LD_LIBRARY_PATH
14932   case $host_vendor in
14933     sni)
14934       shlibpath_overrides_runpath=no
14935       need_lib_prefix=no
14936       runpath_var=LD_RUN_PATH
14937       ;;
14938     siemens)
14939       need_lib_prefix=no
14940       ;;
14941     motorola)
14942       need_lib_prefix=no
14943       need_version=no
14944       shlibpath_overrides_runpath=no
14945       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14946       ;;
14947   esac
14948   ;;
14949
14950 sysv4*MP*)
14951   if test -d /usr/nec ;then
14952     version_type=linux # correct to gnu/linux during the next big refactor
14953     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14954     soname_spec='$libname${shared_ext}.$major'
14955     shlibpath_var=LD_LIBRARY_PATH
14956   fi
14957   ;;
14958
14959 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14960   version_type=freebsd-elf
14961   need_lib_prefix=no
14962   need_version=no
14963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14964   soname_spec='${libname}${release}${shared_ext}$major'
14965   shlibpath_var=LD_LIBRARY_PATH
14966   shlibpath_overrides_runpath=yes
14967   hardcode_into_libs=yes
14968   if test "$with_gnu_ld" = yes; then
14969     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14970   else
14971     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14972     case $host_os in
14973       sco3.2v5*)
14974         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14975         ;;
14976     esac
14977   fi
14978   sys_lib_dlsearch_path_spec='/usr/lib'
14979   ;;
14980
14981 tpf*)
14982   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14983   version_type=linux # correct to gnu/linux during the next big refactor
14984   need_lib_prefix=no
14985   need_version=no
14986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14987   shlibpath_var=LD_LIBRARY_PATH
14988   shlibpath_overrides_runpath=no
14989   hardcode_into_libs=yes
14990   ;;
14991
14992 uts4*)
14993   version_type=linux # correct to gnu/linux during the next big refactor
14994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995   soname_spec='${libname}${release}${shared_ext}$major'
14996   shlibpath_var=LD_LIBRARY_PATH
14997   ;;
14998
14999 *)
15000   dynamic_linker=no
15001   ;;
15002 esac
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15004 $as_echo "$dynamic_linker" >&6; }
15005 test "$dynamic_linker" = no && can_build_shared=no
15006
15007 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15008 if test "$GCC" = yes; then
15009   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15010 fi
15011
15012 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15013   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15014 fi
15015 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15016   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15017 fi
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15111 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15112 hardcode_action=
15113 if test -n "$hardcode_libdir_flag_spec" ||
15114    test -n "$runpath_var" ||
15115    test "X$hardcode_automatic" = "Xyes" ; then
15116
15117   # We can hardcode non-existent directories.
15118   if test "$hardcode_direct" != no &&
15119      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15120      # have to relink, otherwise we might link with an installed library
15121      # when we should be linking with a yet-to-be-installed one
15122      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
15123      test "$hardcode_minus_L" != no; then
15124     # Linking always hardcodes the temporary library directory.
15125     hardcode_action=relink
15126   else
15127     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15128     hardcode_action=immediate
15129   fi
15130 else
15131   # We cannot hardcode anything, or else we can only hardcode existing
15132   # directories.
15133   hardcode_action=unsupported
15134 fi
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
15136 $as_echo "$hardcode_action" >&6; }
15137
15138 if test "$hardcode_action" = relink ||
15139    test "$inherit_rpath" = yes; then
15140   # Fast installation is not supported
15141   enable_fast_install=no
15142 elif test "$shlibpath_overrides_runpath" = yes ||
15143      test "$enable_shared" = no; then
15144   # Fast installation is not necessary
15145   enable_fast_install=needless
15146 fi
15147
15148
15149
15150
15151
15152
15153   if test "x$enable_dlopen" != xyes; then
15154   enable_dlopen=unknown
15155   enable_dlopen_self=unknown
15156   enable_dlopen_self_static=unknown
15157 else
15158   lt_cv_dlopen=no
15159   lt_cv_dlopen_libs=
15160
15161   case $host_os in
15162   beos*)
15163     lt_cv_dlopen="load_add_on"
15164     lt_cv_dlopen_libs=
15165     lt_cv_dlopen_self=yes
15166     ;;
15167
15168   mingw* | pw32* | cegcc*)
15169     lt_cv_dlopen="LoadLibrary"
15170     lt_cv_dlopen_libs=
15171     ;;
15172
15173   cygwin*)
15174     lt_cv_dlopen="dlopen"
15175     lt_cv_dlopen_libs=
15176     ;;
15177
15178   darwin*)
15179   # if libdl is installed we need to link against it
15180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15181 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15182 if ${ac_cv_lib_dl_dlopen+:} false; then :
15183   $as_echo_n "(cached) " >&6
15184 else
15185   ac_check_lib_save_LIBS=$LIBS
15186 LIBS="-ldl  $LIBS"
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h.  */
15189
15190 /* Override any GCC internal prototype to avoid an error.
15191    Use char because int might match the return type of a GCC
15192    builtin and then its argument prototype would still apply.  */
15193 #ifdef __cplusplus
15194 extern "C"
15195 #endif
15196 char dlopen ();
15197 int
15198 main ()
15199 {
15200 return dlopen ();
15201   ;
15202   return 0;
15203 }
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"; then :
15206   ac_cv_lib_dl_dlopen=yes
15207 else
15208   ac_cv_lib_dl_dlopen=no
15209 fi
15210 rm -f core conftest.err conftest.$ac_objext \
15211     conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_lib_save_LIBS
15213 fi
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15215 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15216 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15217   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15218 else
15219
15220     lt_cv_dlopen="dyld"
15221     lt_cv_dlopen_libs=
15222     lt_cv_dlopen_self=yes
15223
15224 fi
15225
15226     ;;
15227
15228   *)
15229     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
15230 if test "x$ac_cv_func_shl_load" = xyes; then :
15231   lt_cv_dlopen="shl_load"
15232 else
15233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15234 $as_echo_n "checking for shl_load in -ldld... " >&6; }
15235 if ${ac_cv_lib_dld_shl_load+:} false; then :
15236   $as_echo_n "(cached) " >&6
15237 else
15238   ac_check_lib_save_LIBS=$LIBS
15239 LIBS="-ldld  $LIBS"
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h.  */
15242
15243 /* Override any GCC internal prototype to avoid an error.
15244    Use char because int might match the return type of a GCC
15245    builtin and then its argument prototype would still apply.  */
15246 #ifdef __cplusplus
15247 extern "C"
15248 #endif
15249 char shl_load ();
15250 int
15251 main ()
15252 {
15253 return shl_load ();
15254   ;
15255   return 0;
15256 }
15257 _ACEOF
15258 if ac_fn_c_try_link "$LINENO"; then :
15259   ac_cv_lib_dld_shl_load=yes
15260 else
15261   ac_cv_lib_dld_shl_load=no
15262 fi
15263 rm -f core conftest.err conftest.$ac_objext \
15264     conftest$ac_exeext conftest.$ac_ext
15265 LIBS=$ac_check_lib_save_LIBS
15266 fi
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15268 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
15269 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
15270   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
15271 else
15272   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
15273 if test "x$ac_cv_func_dlopen" = xyes; then :
15274   lt_cv_dlopen="dlopen"
15275 else
15276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15277 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15278 if ${ac_cv_lib_dl_dlopen+:} false; then :
15279   $as_echo_n "(cached) " >&6
15280 else
15281   ac_check_lib_save_LIBS=$LIBS
15282 LIBS="-ldl  $LIBS"
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h.  */
15285
15286 /* Override any GCC internal prototype to avoid an error.
15287    Use char because int might match the return type of a GCC
15288    builtin and then its argument prototype would still apply.  */
15289 #ifdef __cplusplus
15290 extern "C"
15291 #endif
15292 char dlopen ();
15293 int
15294 main ()
15295 {
15296 return dlopen ();
15297   ;
15298   return 0;
15299 }
15300 _ACEOF
15301 if ac_fn_c_try_link "$LINENO"; then :
15302   ac_cv_lib_dl_dlopen=yes
15303 else
15304   ac_cv_lib_dl_dlopen=no
15305 fi
15306 rm -f core conftest.err conftest.$ac_objext \
15307     conftest$ac_exeext conftest.$ac_ext
15308 LIBS=$ac_check_lib_save_LIBS
15309 fi
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15311 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15312 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15313   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15314 else
15315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15316 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
15317 if ${ac_cv_lib_svld_dlopen+:} false; then :
15318   $as_echo_n "(cached) " >&6
15319 else
15320   ac_check_lib_save_LIBS=$LIBS
15321 LIBS="-lsvld  $LIBS"
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h.  */
15324
15325 /* Override any GCC internal prototype to avoid an error.
15326    Use char because int might match the return type of a GCC
15327    builtin and then its argument prototype would still apply.  */
15328 #ifdef __cplusplus
15329 extern "C"
15330 #endif
15331 char dlopen ();
15332 int
15333 main ()
15334 {
15335 return dlopen ();
15336   ;
15337   return 0;
15338 }
15339 _ACEOF
15340 if ac_fn_c_try_link "$LINENO"; then :
15341   ac_cv_lib_svld_dlopen=yes
15342 else
15343   ac_cv_lib_svld_dlopen=no
15344 fi
15345 rm -f core conftest.err conftest.$ac_objext \
15346     conftest$ac_exeext conftest.$ac_ext
15347 LIBS=$ac_check_lib_save_LIBS
15348 fi
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15350 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
15351 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
15352   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15353 else
15354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15355 $as_echo_n "checking for dld_link in -ldld... " >&6; }
15356 if ${ac_cv_lib_dld_dld_link+:} false; then :
15357   $as_echo_n "(cached) " >&6
15358 else
15359   ac_check_lib_save_LIBS=$LIBS
15360 LIBS="-ldld  $LIBS"
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h.  */
15363
15364 /* Override any GCC internal prototype to avoid an error.
15365    Use char because int might match the return type of a GCC
15366    builtin and then its argument prototype would still apply.  */
15367 #ifdef __cplusplus
15368 extern "C"
15369 #endif
15370 char dld_link ();
15371 int
15372 main ()
15373 {
15374 return dld_link ();
15375   ;
15376   return 0;
15377 }
15378 _ACEOF
15379 if ac_fn_c_try_link "$LINENO"; then :
15380   ac_cv_lib_dld_dld_link=yes
15381 else
15382   ac_cv_lib_dld_dld_link=no
15383 fi
15384 rm -f core conftest.err conftest.$ac_objext \
15385     conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_check_lib_save_LIBS
15387 fi
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15389 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
15390 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
15391   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
15392 fi
15393
15394
15395 fi
15396
15397
15398 fi
15399
15400
15401 fi
15402
15403
15404 fi
15405
15406
15407 fi
15408
15409     ;;
15410   esac
15411
15412   if test "x$lt_cv_dlopen" != xno; then
15413     enable_dlopen=yes
15414   else
15415     enable_dlopen=no
15416   fi
15417
15418   case $lt_cv_dlopen in
15419   dlopen)
15420     save_CPPFLAGS="$CPPFLAGS"
15421     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15422
15423     save_LDFLAGS="$LDFLAGS"
15424     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15425
15426     save_LIBS="$LIBS"
15427     LIBS="$lt_cv_dlopen_libs $LIBS"
15428
15429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15430 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
15431 if ${lt_cv_dlopen_self+:} false; then :
15432   $as_echo_n "(cached) " >&6
15433 else
15434           if test "$cross_compiling" = yes; then :
15435   lt_cv_dlopen_self=cross
15436 else
15437   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15438   lt_status=$lt_dlunknown
15439   cat > conftest.$ac_ext <<_LT_EOF
15440 #line $LINENO "configure"
15441 #include "confdefs.h"
15442
15443 #if HAVE_DLFCN_H
15444 #include <dlfcn.h>
15445 #endif
15446
15447 #include <stdio.h>
15448
15449 #ifdef RTLD_GLOBAL
15450 #  define LT_DLGLOBAL           RTLD_GLOBAL
15451 #else
15452 #  ifdef DL_GLOBAL
15453 #    define LT_DLGLOBAL         DL_GLOBAL
15454 #  else
15455 #    define LT_DLGLOBAL         0
15456 #  endif
15457 #endif
15458
15459 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15460    find out it does not work in some platform. */
15461 #ifndef LT_DLLAZY_OR_NOW
15462 #  ifdef RTLD_LAZY
15463 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
15464 #  else
15465 #    ifdef DL_LAZY
15466 #      define LT_DLLAZY_OR_NOW          DL_LAZY
15467 #    else
15468 #      ifdef RTLD_NOW
15469 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
15470 #      else
15471 #        ifdef DL_NOW
15472 #          define LT_DLLAZY_OR_NOW      DL_NOW
15473 #        else
15474 #          define LT_DLLAZY_OR_NOW      0
15475 #        endif
15476 #      endif
15477 #    endif
15478 #  endif
15479 #endif
15480
15481 /* When -fvisbility=hidden is used, assume the code has been annotated
15482    correspondingly for the symbols needed.  */
15483 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15484 int fnord () __attribute__((visibility("default")));
15485 #endif
15486
15487 int fnord () { return 42; }
15488 int main ()
15489 {
15490   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15491   int status = $lt_dlunknown;
15492
15493   if (self)
15494     {
15495       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15496       else
15497         {
15498           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15499           else puts (dlerror ());
15500         }
15501       /* dlclose (self); */
15502     }
15503   else
15504     puts (dlerror ());
15505
15506   return status;
15507 }
15508 _LT_EOF
15509   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15510   (eval $ac_link) 2>&5
15511   ac_status=$?
15512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15513   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
15514     (./conftest; exit; ) >&5 2>/dev/null
15515     lt_status=$?
15516     case x$lt_status in
15517       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15518       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15519       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15520     esac
15521   else :
15522     # compilation failed
15523     lt_cv_dlopen_self=no
15524   fi
15525 fi
15526 rm -fr conftest*
15527
15528
15529 fi
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15531 $as_echo "$lt_cv_dlopen_self" >&6; }
15532
15533     if test "x$lt_cv_dlopen_self" = xyes; then
15534       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15535       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15536 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
15537 if ${lt_cv_dlopen_self_static+:} false; then :
15538   $as_echo_n "(cached) " >&6
15539 else
15540           if test "$cross_compiling" = yes; then :
15541   lt_cv_dlopen_self_static=cross
15542 else
15543   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15544   lt_status=$lt_dlunknown
15545   cat > conftest.$ac_ext <<_LT_EOF
15546 #line $LINENO "configure"
15547 #include "confdefs.h"
15548
15549 #if HAVE_DLFCN_H
15550 #include <dlfcn.h>
15551 #endif
15552
15553 #include <stdio.h>
15554
15555 #ifdef RTLD_GLOBAL
15556 #  define LT_DLGLOBAL           RTLD_GLOBAL
15557 #else
15558 #  ifdef DL_GLOBAL
15559 #    define LT_DLGLOBAL         DL_GLOBAL
15560 #  else
15561 #    define LT_DLGLOBAL         0
15562 #  endif
15563 #endif
15564
15565 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15566    find out it does not work in some platform. */
15567 #ifndef LT_DLLAZY_OR_NOW
15568 #  ifdef RTLD_LAZY
15569 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
15570 #  else
15571 #    ifdef DL_LAZY
15572 #      define LT_DLLAZY_OR_NOW          DL_LAZY
15573 #    else
15574 #      ifdef RTLD_NOW
15575 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
15576 #      else
15577 #        ifdef DL_NOW
15578 #          define LT_DLLAZY_OR_NOW      DL_NOW
15579 #        else
15580 #          define LT_DLLAZY_OR_NOW      0
15581 #        endif
15582 #      endif
15583 #    endif
15584 #  endif
15585 #endif
15586
15587 /* When -fvisbility=hidden is used, assume the code has been annotated
15588    correspondingly for the symbols needed.  */
15589 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15590 int fnord () __attribute__((visibility("default")));
15591 #endif
15592
15593 int fnord () { return 42; }
15594 int main ()
15595 {
15596   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15597   int status = $lt_dlunknown;
15598
15599   if (self)
15600     {
15601       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15602       else
15603         {
15604           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15605           else puts (dlerror ());
15606         }
15607       /* dlclose (self); */
15608     }
15609   else
15610     puts (dlerror ());
15611
15612   return status;
15613 }
15614 _LT_EOF
15615   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15616   (eval $ac_link) 2>&5
15617   ac_status=$?
15618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
15620     (./conftest; exit; ) >&5 2>/dev/null
15621     lt_status=$?
15622     case x$lt_status in
15623       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15624       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15625       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15626     esac
15627   else :
15628     # compilation failed
15629     lt_cv_dlopen_self_static=no
15630   fi
15631 fi
15632 rm -fr conftest*
15633
15634
15635 fi
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15637 $as_echo "$lt_cv_dlopen_self_static" >&6; }
15638     fi
15639
15640     CPPFLAGS="$save_CPPFLAGS"
15641     LDFLAGS="$save_LDFLAGS"
15642     LIBS="$save_LIBS"
15643     ;;
15644   esac
15645
15646   case $lt_cv_dlopen_self in
15647   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15648   *) enable_dlopen_self=unknown ;;
15649   esac
15650
15651   case $lt_cv_dlopen_self_static in
15652   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15653   *) enable_dlopen_self_static=unknown ;;
15654   esac
15655 fi
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673 striplib=
15674 old_striplib=
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15676 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15677 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15678   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15679   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15681 $as_echo "yes" >&6; }
15682 else
15683 # FIXME - insert some real tests, host_os isn't really good enough
15684   case $host_os in
15685   darwin*)
15686     if test -n "$STRIP" ; then
15687       striplib="$STRIP -x"
15688       old_striplib="$STRIP -S"
15689       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15690 $as_echo "yes" >&6; }
15691     else
15692       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15693 $as_echo "no" >&6; }
15694     fi
15695     ;;
15696   *)
15697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15698 $as_echo "no" >&6; }
15699     ;;
15700   esac
15701 fi
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714   # Report which library types will actually be built
15715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15716 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15718 $as_echo "$can_build_shared" >&6; }
15719
15720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15721 $as_echo_n "checking whether to build shared libraries... " >&6; }
15722   test "$can_build_shared" = "no" && enable_shared=no
15723
15724   # On AIX, shared libraries and static libraries use the same namespace, and
15725   # are all built from PIC.
15726   case $host_os in
15727   aix3*)
15728     test "$enable_shared" = yes && enable_static=no
15729     if test -n "$RANLIB"; then
15730       archive_cmds="$archive_cmds~\$RANLIB \$lib"
15731       postinstall_cmds='$RANLIB $lib'
15732     fi
15733     ;;
15734
15735   aix[4-9]*)
15736     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15737       test "$enable_shared" = yes && enable_static=no
15738     fi
15739     ;;
15740   esac
15741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15742 $as_echo "$enable_shared" >&6; }
15743
15744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15745 $as_echo_n "checking whether to build static libraries... " >&6; }
15746   # Make sure either enable_shared or enable_static is yes.
15747   test "$enable_shared" = yes || enable_static=yes
15748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15749 $as_echo "$enable_static" >&6; }
15750
15751
15752
15753
15754 fi
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761 CC="$lt_save_CC"
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777         ac_config_commands="$ac_config_commands libtool"
15778
15779
15780
15781
15782 # Only expand once:
15783
15784
15785
15786 if test -n "$ac_tool_prefix"; then
15787   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15788 set dummy ${ac_tool_prefix}windres; ac_word=$2
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15790 $as_echo_n "checking for $ac_word... " >&6; }
15791 if ${ac_cv_prog_RC+:} false; then :
15792   $as_echo_n "(cached) " >&6
15793 else
15794   if test -n "$RC"; then
15795   ac_cv_prog_RC="$RC" # Let the user override the test.
15796 else
15797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15798 for as_dir in $PATH
15799 do
15800   IFS=$as_save_IFS
15801   test -z "$as_dir" && as_dir=.
15802     for ac_exec_ext in '' $ac_executable_extensions; do
15803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15804     ac_cv_prog_RC="${ac_tool_prefix}windres"
15805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15806     break 2
15807   fi
15808 done
15809   done
15810 IFS=$as_save_IFS
15811
15812 fi
15813 fi
15814 RC=$ac_cv_prog_RC
15815 if test -n "$RC"; then
15816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
15817 $as_echo "$RC" >&6; }
15818 else
15819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15820 $as_echo "no" >&6; }
15821 fi
15822
15823
15824 fi
15825 if test -z "$ac_cv_prog_RC"; then
15826   ac_ct_RC=$RC
15827   # Extract the first word of "windres", so it can be a program name with args.
15828 set dummy windres; ac_word=$2
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15830 $as_echo_n "checking for $ac_word... " >&6; }
15831 if ${ac_cv_prog_ac_ct_RC+:} false; then :
15832   $as_echo_n "(cached) " >&6
15833 else
15834   if test -n "$ac_ct_RC"; then
15835   ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
15836 else
15837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15838 for as_dir in $PATH
15839 do
15840   IFS=$as_save_IFS
15841   test -z "$as_dir" && as_dir=.
15842     for ac_exec_ext in '' $ac_executable_extensions; do
15843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15844     ac_cv_prog_ac_ct_RC="windres"
15845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15846     break 2
15847   fi
15848 done
15849   done
15850 IFS=$as_save_IFS
15851
15852 fi
15853 fi
15854 ac_ct_RC=$ac_cv_prog_ac_ct_RC
15855 if test -n "$ac_ct_RC"; then
15856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
15857 $as_echo "$ac_ct_RC" >&6; }
15858 else
15859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15860 $as_echo "no" >&6; }
15861 fi
15862
15863   if test "x$ac_ct_RC" = x; then
15864     RC=""
15865   else
15866     case $cross_compiling:$ac_tool_warned in
15867 yes:)
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15870 ac_tool_warned=yes ;;
15871 esac
15872     RC=$ac_ct_RC
15873   fi
15874 else
15875   RC="$ac_cv_prog_RC"
15876 fi
15877
15878
15879
15880
15881 # Source file extension for RC test sources.
15882 ac_ext=rc
15883
15884 # Object file extension for compiled RC test sources.
15885 objext=o
15886 objext_RC=$objext
15887
15888 # Code to be used in simple compile tests
15889 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
15890
15891 # Code to be used in simple link tests
15892 lt_simple_link_test_code="$lt_simple_compile_test_code"
15893
15894 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15895
15896
15897
15898
15899
15900
15901 # If no C compiler was specified, use CC.
15902 LTCC=${LTCC-"$CC"}
15903
15904 # If no C compiler flags were specified, use CFLAGS.
15905 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15906
15907 # Allow CC to be a program name with arguments.
15908 compiler=$CC
15909
15910
15911 # save warnings/boilerplate of simple test code
15912 ac_outfile=conftest.$ac_objext
15913 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15914 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15915 _lt_compiler_boilerplate=`cat conftest.err`
15916 $RM conftest*
15917
15918 ac_outfile=conftest.$ac_objext
15919 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15920 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15921 _lt_linker_boilerplate=`cat conftest.err`
15922 $RM -r conftest*
15923
15924
15925 # Allow CC to be a program name with arguments.
15926 lt_save_CC="$CC"
15927 lt_save_CFLAGS=$CFLAGS
15928 lt_save_GCC=$GCC
15929 GCC=
15930 CC=${RC-"windres"}
15931 CFLAGS=
15932 compiler=$CC
15933 compiler_RC=$CC
15934 for cc_temp in $compiler""; do
15935   case $cc_temp in
15936     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15937     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15938     \-*) ;;
15939     *) break;;
15940   esac
15941 done
15942 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15943
15944 lt_cv_prog_compiler_c_o_RC=yes
15945
15946 if test -n "$compiler"; then
15947   :
15948
15949
15950
15951 fi
15952
15953 GCC=$lt_save_GCC
15954 ac_ext=c
15955 ac_cpp='$CPP $CPPFLAGS'
15956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15959
15960 CC=$lt_save_CC
15961 CFLAGS=$lt_save_CFLAGS
15962
15963
15964 case "$host_os" in
15965   mingw* | cygwin*) is_woe32=yes ;;
15966   *) is_woe32=no ;;
15967 esac
15968  if test $is_woe32 = yes; then
15969   WOE32_TRUE=
15970   WOE32_FALSE='#'
15971 else
15972   WOE32_TRUE='#'
15973   WOE32_FALSE=
15974 fi
15975
15976
15977
15978
15979
15980
15981
15982
15983           LIBC_FATAL_STDERR_=1
15984   export LIBC_FATAL_STDERR_
15985
15986 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15987 if test "x$ac_cv_type_size_t" = xyes; then :
15988
15989 else
15990
15991 cat >>confdefs.h <<_ACEOF
15992 #define size_t unsigned int
15993 _ACEOF
15994
15995 fi
15996
15997 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15998 # for constant arguments.  Useless!
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16000 $as_echo_n "checking for working alloca.h... " >&6; }
16001 if ${ac_cv_working_alloca_h+:} false; then :
16002   $as_echo_n "(cached) " >&6
16003 else
16004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h.  */
16006 #include <alloca.h>
16007 int
16008 main ()
16009 {
16010 char *p = (char *) alloca (2 * sizeof (int));
16011                           if (p) return 0;
16012   ;
16013   return 0;
16014 }
16015 _ACEOF
16016 if ac_fn_c_try_link "$LINENO"; then :
16017   ac_cv_working_alloca_h=yes
16018 else
16019   ac_cv_working_alloca_h=no
16020 fi
16021 rm -f core conftest.err conftest.$ac_objext \
16022     conftest$ac_exeext conftest.$ac_ext
16023 fi
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16025 $as_echo "$ac_cv_working_alloca_h" >&6; }
16026 if test $ac_cv_working_alloca_h = yes; then
16027
16028 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16029
16030 fi
16031
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16033 $as_echo_n "checking for alloca... " >&6; }
16034 if ${ac_cv_func_alloca_works+:} false; then :
16035   $as_echo_n "(cached) " >&6
16036 else
16037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h.  */
16039 #ifdef __GNUC__
16040 # define alloca __builtin_alloca
16041 #else
16042 # ifdef _MSC_VER
16043 #  include <malloc.h>
16044 #  define alloca _alloca
16045 # else
16046 #  ifdef HAVE_ALLOCA_H
16047 #   include <alloca.h>
16048 #  else
16049 #   ifdef _AIX
16050  #pragma alloca
16051 #   else
16052 #    ifndef alloca /* predefined by HP cc +Olibcalls */
16053 void *alloca (size_t);
16054 #    endif
16055 #   endif
16056 #  endif
16057 # endif
16058 #endif
16059
16060 int
16061 main ()
16062 {
16063 char *p = (char *) alloca (1);
16064                                     if (p) return 0;
16065   ;
16066   return 0;
16067 }
16068 _ACEOF
16069 if ac_fn_c_try_link "$LINENO"; then :
16070   ac_cv_func_alloca_works=yes
16071 else
16072   ac_cv_func_alloca_works=no
16073 fi
16074 rm -f core conftest.err conftest.$ac_objext \
16075     conftest$ac_exeext conftest.$ac_ext
16076 fi
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16078 $as_echo "$ac_cv_func_alloca_works" >&6; }
16079
16080 if test $ac_cv_func_alloca_works = yes; then
16081
16082 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16083
16084 else
16085   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16086 # that cause trouble.  Some versions do not even contain alloca or
16087 # contain a buggy version.  If you still want to use their alloca,
16088 # use ar to extract alloca.o from them instead of compiling alloca.c.
16089
16090
16091
16092
16093
16094 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16095
16096 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16097
16098
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16100 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16101 if ${ac_cv_os_cray+:} false; then :
16102   $as_echo_n "(cached) " >&6
16103 else
16104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h.  */
16106 #if defined CRAY && ! defined CRAY2
16107 webecray
16108 #else
16109 wenotbecray
16110 #endif
16111
16112 _ACEOF
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114   $EGREP "webecray" >/dev/null 2>&1; then :
16115   ac_cv_os_cray=yes
16116 else
16117   ac_cv_os_cray=no
16118 fi
16119 rm -f conftest*
16120
16121 fi
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16123 $as_echo "$ac_cv_os_cray" >&6; }
16124 if test $ac_cv_os_cray = yes; then
16125   for ac_func in _getb67 GETB67 getb67; do
16126     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16129
16130 cat >>confdefs.h <<_ACEOF
16131 #define CRAY_STACKSEG_END $ac_func
16132 _ACEOF
16133
16134     break
16135 fi
16136
16137   done
16138 fi
16139
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16141 $as_echo_n "checking stack direction for C alloca... " >&6; }
16142 if ${ac_cv_c_stack_direction+:} false; then :
16143   $as_echo_n "(cached) " >&6
16144 else
16145   if test "$cross_compiling" = yes; then :
16146   ac_cv_c_stack_direction=0
16147 else
16148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h.  */
16150 $ac_includes_default
16151 int
16152 find_stack_direction (int *addr, int depth)
16153 {
16154   int dir, dummy = 0;
16155   if (! addr)
16156     addr = &dummy;
16157   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
16158   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
16159   return dir + dummy;
16160 }
16161
16162 int
16163 main (int argc, char **argv)
16164 {
16165   return find_stack_direction (0, argc + !argv + 20) < 0;
16166 }
16167 _ACEOF
16168 if ac_fn_c_try_run "$LINENO"; then :
16169   ac_cv_c_stack_direction=1
16170 else
16171   ac_cv_c_stack_direction=-1
16172 fi
16173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16174   conftest.$ac_objext conftest.beam conftest.$ac_ext
16175 fi
16176
16177 fi
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16179 $as_echo "$ac_cv_c_stack_direction" >&6; }
16180 cat >>confdefs.h <<_ACEOF
16181 #define STACK_DIRECTION $ac_cv_c_stack_direction
16182 _ACEOF
16183
16184
16185 fi
16186
16187
16188
16189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
16190 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
16191 if ${gl_cv_have_include_next+:} false; then :
16192   $as_echo_n "(cached) " >&6
16193 else
16194   rm -rf conftestd1a conftestd1b conftestd2
16195      mkdir conftestd1a conftestd1b conftestd2
16196                                                   cat <<EOF > conftestd1a/conftest.h
16197 #define DEFINED_IN_CONFTESTD1
16198 #include_next <conftest.h>
16199 #ifdef DEFINED_IN_CONFTESTD2
16200 int foo;
16201 #else
16202 #error "include_next doesn't work"
16203 #endif
16204 EOF
16205      cat <<EOF > conftestd1b/conftest.h
16206 #define DEFINED_IN_CONFTESTD1
16207 #include <stdio.h>
16208 #include_next <conftest.h>
16209 #ifdef DEFINED_IN_CONFTESTD2
16210 int foo;
16211 #else
16212 #error "include_next doesn't work"
16213 #endif
16214 EOF
16215      cat <<EOF > conftestd2/conftest.h
16216 #ifndef DEFINED_IN_CONFTESTD1
16217 #error "include_next test doesn't work"
16218 #endif
16219 #define DEFINED_IN_CONFTESTD2
16220 EOF
16221      gl_save_CPPFLAGS="$CPPFLAGS"
16222      CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
16223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h.  */
16225 #include <conftest.h>
16226 _ACEOF
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228   gl_cv_have_include_next=yes
16229 else
16230   CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
16231         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h.  */
16233 #include <conftest.h>
16234 _ACEOF
16235 if ac_fn_c_try_compile "$LINENO"; then :
16236   gl_cv_have_include_next=buggy
16237 else
16238   gl_cv_have_include_next=no
16239 fi
16240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16241
16242 fi
16243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16244      CPPFLAGS="$gl_save_CPPFLAGS"
16245      rm -rf conftestd1a conftestd1b conftestd2
16246
16247 fi
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
16249 $as_echo "$gl_cv_have_include_next" >&6; }
16250   PRAGMA_SYSTEM_HEADER=
16251   if test $gl_cv_have_include_next = yes; then
16252     INCLUDE_NEXT=include_next
16253     INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
16254     if test -n "$GCC"; then
16255       PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
16256     fi
16257   else
16258     if test $gl_cv_have_include_next = buggy; then
16259       INCLUDE_NEXT=include
16260       INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
16261     else
16262       INCLUDE_NEXT=include
16263       INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
16264     fi
16265   fi
16266
16267
16268
16269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
16270 $as_echo_n "checking whether system header files limit the line length... " >&6; }
16271 if ${gl_cv_pragma_columns+:} false; then :
16272   $as_echo_n "(cached) " >&6
16273 else
16274        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h.  */
16276
16277 #ifdef __TANDEM
16278 choke me
16279 #endif
16280
16281 _ACEOF
16282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16283   $EGREP "choke me" >/dev/null 2>&1; then :
16284   gl_cv_pragma_columns=yes
16285 else
16286   gl_cv_pragma_columns=no
16287 fi
16288 rm -f conftest*
16289
16290
16291 fi
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
16293 $as_echo "$gl_cv_pragma_columns" >&6; }
16294   if test $gl_cv_pragma_columns = yes; then
16295     PRAGMA_COLUMNS="#pragma COLUMNS 10000"
16296   else
16297     PRAGMA_COLUMNS=
16298   fi
16299
16300
16301
16302
16303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
16304 $as_echo_n "checking for complete errno.h... " >&6; }
16305 if ${gl_cv_header_errno_h_complete+:} false; then :
16306   $as_echo_n "(cached) " >&6
16307 else
16308
16309     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h.  */
16311
16312 #include <errno.h>
16313 #if !defined ETXTBSY
16314 booboo
16315 #endif
16316 #if !defined ENOMSG
16317 booboo
16318 #endif
16319 #if !defined EIDRM
16320 booboo
16321 #endif
16322 #if !defined ENOLINK
16323 booboo
16324 #endif
16325 #if !defined EPROTO
16326 booboo
16327 #endif
16328 #if !defined EMULTIHOP
16329 booboo
16330 #endif
16331 #if !defined EBADMSG
16332 booboo
16333 #endif
16334 #if !defined EOVERFLOW
16335 booboo
16336 #endif
16337 #if !defined ENOTSUP
16338 booboo
16339 #endif
16340 #if !defined ENETRESET
16341 booboo
16342 #endif
16343 #if !defined ECONNABORTED
16344 booboo
16345 #endif
16346 #if !defined ESTALE
16347 booboo
16348 #endif
16349 #if !defined EDQUOT
16350 booboo
16351 #endif
16352 #if !defined ECANCELED
16353 booboo
16354 #endif
16355 #if !defined EOWNERDEAD
16356 booboo
16357 #endif
16358 #if !defined ENOTRECOVERABLE
16359 booboo
16360 #endif
16361 #if !defined EILSEQ
16362 booboo
16363 #endif
16364
16365 _ACEOF
16366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16367   $EGREP "booboo" >/dev/null 2>&1; then :
16368   gl_cv_header_errno_h_complete=no
16369 else
16370   gl_cv_header_errno_h_complete=yes
16371 fi
16372 rm -f conftest*
16373
16374
16375 fi
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
16377 $as_echo "$gl_cv_header_errno_h_complete" >&6; }
16378   if test $gl_cv_header_errno_h_complete = yes; then
16379     ERRNO_H=''
16380   else
16381
16382
16383
16384
16385
16386
16387
16388
16389      if test $gl_cv_have_include_next = yes; then
16390        gl_cv_next_errno_h='<'errno.h'>'
16391      else
16392        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
16393 $as_echo_n "checking absolute name of <errno.h>... " >&6; }
16394 if ${gl_cv_next_errno_h+:} false; then :
16395   $as_echo_n "(cached) " >&6
16396 else
16397
16398
16399
16400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h.  */
16402 #include <errno.h>
16403 _ACEOF
16404                 case "$host_os" in
16405     aix*) gl_absname_cpp="$ac_cpp -C" ;;
16406     *)    gl_absname_cpp="$ac_cpp" ;;
16407   esac
16408
16409   case "$host_os" in
16410     mingw*)
16411                                           gl_dirsep_regex='[/\\]'
16412       ;;
16413     *)
16414       gl_dirsep_regex='\/'
16415       ;;
16416   esac
16417       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
16418   gl_header_literal_regex=`echo 'errno.h' \
16419                            | sed -e "$gl_make_literal_regex_sed"`
16420   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
16421       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
16422       s|^/[^/]|//&|
16423       p
16424       q
16425     }'
16426
16427         gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
16428   sed -n "$gl_absolute_header_sed"`
16429
16430            gl_header=$gl_cv_absolute_errno_h
16431            gl_cv_next_errno_h='"'$gl_header'"'
16432
16433
16434 fi
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
16436 $as_echo "$gl_cv_next_errno_h" >&6; }
16437      fi
16438      NEXT_ERRNO_H=$gl_cv_next_errno_h
16439
16440      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
16441        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
16442        gl_next_as_first_directive='<'errno.h'>'
16443      else
16444        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
16445        gl_next_as_first_directive=$gl_cv_next_errno_h
16446      fi
16447      NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
16448
16449
16450
16451
16452     ERRNO_H='errno.h'
16453   fi
16454
16455    if test -n "$ERRNO_H"; then
16456   GL_GENERATE_ERRNO_H_TRUE=
16457   GL_GENERATE_ERRNO_H_FALSE='#'
16458 else
16459   GL_GENERATE_ERRNO_H_TRUE='#'
16460   GL_GENERATE_ERRNO_H_FALSE=
16461 fi
16462
16463
16464   if test -n "$ERRNO_H"; then
16465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
16466 $as_echo_n "checking for EMULTIHOP value... " >&6; }
16467 if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
16468   $as_echo_n "(cached) " >&6
16469 else
16470
16471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h.  */
16473
16474 #include <errno.h>
16475 #ifdef EMULTIHOP
16476 yes
16477 #endif
16478
16479 _ACEOF
16480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16481   $EGREP "yes" >/dev/null 2>&1; then :
16482   gl_cv_header_errno_h_EMULTIHOP=yes
16483 else
16484   gl_cv_header_errno_h_EMULTIHOP=no
16485 fi
16486 rm -f conftest*
16487
16488       if test $gl_cv_header_errno_h_EMULTIHOP = no; then
16489         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h.  */
16491
16492 #define _XOPEN_SOURCE_EXTENDED 1
16493 #include <errno.h>
16494 #ifdef EMULTIHOP
16495 yes
16496 #endif
16497
16498 _ACEOF
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500   $EGREP "yes" >/dev/null 2>&1; then :
16501   gl_cv_header_errno_h_EMULTIHOP=hidden
16502 fi
16503 rm -f conftest*
16504
16505         if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
16506                               if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP"        "
16507 #define _XOPEN_SOURCE_EXTENDED 1
16508 #include <errno.h>
16509 /* The following two lines are a workaround against an autoconf-2.52 bug.  */
16510 #include <stdio.h>
16511 #include <stdlib.h>
16512 "; then :
16513
16514 fi
16515
16516         fi
16517       fi
16518
16519 fi
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
16521 $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
16522     case $gl_cv_header_errno_h_EMULTIHOP in
16523       yes | no)
16524         EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
16525         ;;
16526       *)
16527         EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
16528         ;;
16529     esac
16530
16531
16532   fi
16533
16534
16535   if test -n "$ERRNO_H"; then
16536     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
16537 $as_echo_n "checking for ENOLINK value... " >&6; }
16538 if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
16539   $as_echo_n "(cached) " >&6
16540 else
16541
16542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h.  */
16544
16545 #include <errno.h>
16546 #ifdef ENOLINK
16547 yes
16548 #endif
16549
16550 _ACEOF
16551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16552   $EGREP "yes" >/dev/null 2>&1; then :
16553   gl_cv_header_errno_h_ENOLINK=yes
16554 else
16555   gl_cv_header_errno_h_ENOLINK=no
16556 fi
16557 rm -f conftest*
16558
16559       if test $gl_cv_header_errno_h_ENOLINK = no; then
16560         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h.  */
16562
16563 #define _XOPEN_SOURCE_EXTENDED 1
16564 #include <errno.h>
16565 #ifdef ENOLINK
16566 yes
16567 #endif
16568
16569 _ACEOF
16570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16571   $EGREP "yes" >/dev/null 2>&1; then :
16572   gl_cv_header_errno_h_ENOLINK=hidden
16573 fi
16574 rm -f conftest*
16575
16576         if test $gl_cv_header_errno_h_ENOLINK = hidden; then
16577                               if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK"        "
16578 #define _XOPEN_SOURCE_EXTENDED 1
16579 #include <errno.h>
16580 /* The following two lines are a workaround against an autoconf-2.52 bug.  */
16581 #include <stdio.h>
16582 #include <stdlib.h>
16583 "; then :
16584
16585 fi
16586
16587         fi
16588       fi
16589
16590 fi
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
16592 $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
16593     case $gl_cv_header_errno_h_ENOLINK in
16594       yes | no)
16595         ENOLINK_HIDDEN=0; ENOLINK_VALUE=
16596         ;;
16597       *)
16598         ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
16599         ;;
16600     esac
16601
16602
16603   fi
16604
16605
16606   if test -n "$ERRNO_H"; then
16607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
16608 $as_echo_n "checking for EOVERFLOW value... " >&6; }
16609 if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
16610   $as_echo_n "(cached) " >&6
16611 else
16612
16613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h.  */
16615
16616 #include <errno.h>
16617 #ifdef EOVERFLOW
16618 yes
16619 #endif
16620
16621 _ACEOF
16622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16623   $EGREP "yes" >/dev/null 2>&1; then :
16624   gl_cv_header_errno_h_EOVERFLOW=yes
16625 else
16626   gl_cv_header_errno_h_EOVERFLOW=no
16627 fi
16628 rm -f conftest*
16629
16630       if test $gl_cv_header_errno_h_EOVERFLOW = no; then
16631         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h.  */
16633
16634 #define _XOPEN_SOURCE_EXTENDED 1
16635 #include <errno.h>
16636 #ifdef EOVERFLOW
16637 yes
16638 #endif
16639
16640 _ACEOF
16641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16642   $EGREP "yes" >/dev/null 2>&1; then :
16643   gl_cv_header_errno_h_EOVERFLOW=hidden
16644 fi
16645 rm -f conftest*
16646
16647         if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
16648                               if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW"        "
16649 #define _XOPEN_SOURCE_EXTENDED 1
16650 #include <errno.h>
16651 /* The following two lines are a workaround against an autoconf-2.52 bug.  */
16652 #include <stdio.h>
16653 #include <stdlib.h>
16654 "; then :
16655
16656 fi
16657
16658         fi
16659       fi
16660
16661 fi
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
16663 $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
16664     case $gl_cv_header_errno_h_EOVERFLOW in
16665       yes | no)
16666         EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
16667         ;;
16668       *)
16669         EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
16670         ;;
16671     esac
16672
16673
16674   fi
16675
16676
16677
16678
16679
16680
16681   GNULIB_ACOSF=0;
16682   GNULIB_ACOSL=0;
16683   GNULIB_ASINF=0;
16684   GNULIB_ASINL=0;
16685   GNULIB_ATANF=0;
16686   GNULIB_ATANL=0;
16687   GNULIB_ATAN2F=0;
16688   GNULIB_CBRT=0;
16689   GNULIB_CBRTF=0;
16690   GNULIB_CBRTL=0;
16691   GNULIB_CEIL=0;
16692   GNULIB_CEILF=0;
16693   GNULIB_CEILL=0;
16694   GNULIB_COPYSIGN=0;
16695   GNULIB_COPYSIGNF=0;
16696   GNULIB_COPYSIGNL=0;
16697   GNULIB_COSF=0;
16698   GNULIB_COSL=0;
16699   GNULIB_COSHF=0;
16700   GNULIB_EXPF=0;
16701   GNULIB_EXPL=0;
16702   GNULIB_EXP2=0;
16703   GNULIB_EXP2F=0;
16704   GNULIB_EXP2L=0;
16705   GNULIB_EXPM1=0;
16706   GNULIB_EXPM1F=0;
16707   GNULIB_EXPM1L=0;
16708   GNULIB_FABSF=0;
16709   GNULIB_FABSL=0;
16710   GNULIB_FLOOR=0;
16711   GNULIB_FLOORF=0;
16712   GNULIB_FLOORL=0;
16713   GNULIB_FMA=0;
16714   GNULIB_FMAF=0;
16715   GNULIB_FMAL=0;
16716   GNULIB_FMOD=0;
16717   GNULIB_FMODF=0;
16718   GNULIB_FMODL=0;
16719   GNULIB_FREXPF=0;
16720   GNULIB_FREXP=0;
16721   GNULIB_FREXPL=0;
16722   GNULIB_HYPOT=0;
16723   GNULIB_HYPOTF=0;
16724   GNULIB_HYPOTL=0;
16725   GNULIB_ILOGB=0;
16726   GNULIB_ILOGBF=0;
16727   GNULIB_ILOGBL=0;
16728   GNULIB_ISFINITE=0;
16729   GNULIB_ISINF=0;
16730   GNULIB_ISNAN=0;
16731   GNULIB_ISNANF=0;
16732   GNULIB_ISNAND=0;
16733   GNULIB_ISNANL=0;
16734   GNULIB_LDEXPF=0;
16735   GNULIB_LDEXPL=0;
16736   GNULIB_LOG=0;
16737   GNULIB_LOGF=0;
16738   GNULIB_LOGL=0;
16739   GNULIB_LOG10=0;
16740   GNULIB_LOG10F=0;
16741   GNULIB_LOG10L=0;
16742   GNULIB_LOG1P=0;
16743   GNULIB_LOG1PF=0;
16744   GNULIB_LOG1PL=0;
16745   GNULIB_LOG2=0;
16746   GNULIB_LOG2F=0;
16747   GNULIB_LOG2L=0;
16748   GNULIB_LOGB=0;
16749   GNULIB_LOGBF=0;
16750   GNULIB_LOGBL=0;
16751   GNULIB_MODF=0;
16752   GNULIB_MODFF=0;
16753   GNULIB_MODFL=0;
16754   GNULIB_POWF=0;
16755   GNULIB_REMAINDER=0;
16756   GNULIB_REMAINDERF=0;
16757   GNULIB_REMAINDERL=0;
16758   GNULIB_RINT=0;
16759   GNULIB_RINTF=0;
16760   GNULIB_RINTL=0;
16761   GNULIB_ROUND=0;
16762   GNULIB_ROUNDF=0;
16763   GNULIB_ROUNDL=0;
16764   GNULIB_SIGNBIT=0;
16765   GNULIB_SINF=0;
16766   GNULIB_SINL=0;
16767   GNULIB_SINHF=0;
16768   GNULIB_SQRTF=0;
16769   GNULIB_SQRTL=0;
16770   GNULIB_TANF=0;
16771   GNULIB_TANL=0;
16772   GNULIB_TANHF=0;
16773   GNULIB_TRUNC=0;
16774   GNULIB_TRUNCF=0;
16775   GNULIB_TRUNCL=0;
16776     HAVE_ACOSF=1;
16777   HAVE_ACOSL=1;
16778   HAVE_ASINF=1;
16779   HAVE_ASINL=1;
16780   HAVE_ATANF=1;
16781   HAVE_ATANL=1;
16782   HAVE_ATAN2F=1;
16783   HAVE_CBRT=1;
16784   HAVE_CBRTF=1;
16785   HAVE_CBRTL=1;
16786   HAVE_COPYSIGN=1;
16787   HAVE_COPYSIGNL=1;
16788   HAVE_COSF=1;
16789   HAVE_COSL=1;
16790   HAVE_COSHF=1;
16791   HAVE_EXPF=1;
16792   HAVE_EXPL=1;
16793   HAVE_EXPM1=1;
16794   HAVE_EXPM1F=1;
16795   HAVE_FABSF=1;
16796   HAVE_FABSL=1;
16797   HAVE_FMA=1;
16798   HAVE_FMAF=1;
16799   HAVE_FMAL=1;
16800   HAVE_FMODF=1;
16801   HAVE_FMODL=1;
16802   HAVE_FREXPF=1;
16803   HAVE_HYPOTF=1;
16804   HAVE_HYPOTL=1;
16805   HAVE_ILOGB=1;
16806   HAVE_ILOGBF=1;
16807   HAVE_ILOGBL=1;
16808   HAVE_ISNANF=1;
16809   HAVE_ISNAND=1;
16810   HAVE_ISNANL=1;
16811   HAVE_LDEXPF=1;
16812   HAVE_LOGF=1;
16813   HAVE_LOGL=1;
16814   HAVE_LOG10F=1;
16815   HAVE_LOG10L=1;
16816   HAVE_LOG1P=1;
16817   HAVE_LOG1PF=1;
16818   HAVE_LOG1PL=1;
16819   HAVE_LOGBF=1;
16820   HAVE_LOGBL=1;
16821   HAVE_MODFF=1;
16822   HAVE_MODFL=1;
16823   HAVE_POWF=1;
16824   HAVE_REMAINDER=1;
16825   HAVE_REMAINDERF=1;
16826   HAVE_RINT=1;
16827   HAVE_RINTL=1;
16828   HAVE_SINF=1;
16829   HAVE_SINL=1;
16830   HAVE_SINHF=1;
16831   HAVE_SQRTF=1;
16832   HAVE_SQRTL=1;
16833   HAVE_TANF=1;
16834   HAVE_TANL=1;
16835   HAVE_TANHF=1;
16836   HAVE_DECL_ACOSL=1;
16837   HAVE_DECL_ASINL=1;
16838   HAVE_DECL_ATANL=1;
16839   HAVE_DECL_CBRTF=1;
16840   HAVE_DECL_CBRTL=1;
16841   HAVE_DECL_CEILF=1;
16842   HAVE_DECL_CEILL=1;
16843   HAVE_DECL_COPYSIGNF=1;
16844   HAVE_DECL_COSL=1;
16845   HAVE_DECL_EXPL=1;
16846   HAVE_DECL_EXP2=1;
16847   HAVE_DECL_EXP2F=1;
16848   HAVE_DECL_EXP2L=1;
16849   HAVE_DECL_EXPM1L=1;
16850   HAVE_DECL_FLOORF=1;
16851   HAVE_DECL_FLOORL=1;
16852   HAVE_DECL_FREXPL=1;
16853   HAVE_DECL_LDEXPL=1;
16854   HAVE_DECL_LOGL=1;
16855   HAVE_DECL_LOG10L=1;
16856   HAVE_DECL_LOG2=1;
16857   HAVE_DECL_LOG2F=1;
16858   HAVE_DECL_LOG2L=1;
16859   HAVE_DECL_LOGB=1;
16860   HAVE_DECL_REMAINDER=1;
16861   HAVE_DECL_REMAINDERL=1;
16862   HAVE_DECL_RINTF=1;
16863   HAVE_DECL_ROUND=1;
16864   HAVE_DECL_ROUNDF=1;
16865   HAVE_DECL_ROUNDL=1;
16866   HAVE_DECL_SINL=1;
16867   HAVE_DECL_SQRTL=1;
16868   HAVE_DECL_TANL=1;
16869   HAVE_DECL_TRUNC=1;
16870   HAVE_DECL_TRUNCF=1;
16871   HAVE_DECL_TRUNCL=1;
16872   REPLACE_CBRTF=0;
16873   REPLACE_CBRTL=0;
16874   REPLACE_CEIL=0;
16875   REPLACE_CEILF=0;
16876   REPLACE_CEILL=0;
16877   REPLACE_EXPM1=0;
16878   REPLACE_EXPM1F=0;
16879   REPLACE_EXP2=0;
16880   REPLACE_EXP2L=0;
16881   REPLACE_FABSL=0;
16882   REPLACE_FLOOR=0;
16883   REPLACE_FLOORF=0;
16884   REPLACE_FLOORL=0;
16885   REPLACE_FMA=0;
16886   REPLACE_FMAF=0;
16887   REPLACE_FMAL=0;
16888   REPLACE_FMOD=0;
16889   REPLACE_FMODF=0;
16890   REPLACE_FMODL=0;
16891   REPLACE_FREXPF=0;
16892   REPLACE_FREXP=0;
16893   REPLACE_FREXPL=0;
16894   REPLACE_HUGE_VAL=0;
16895   REPLACE_HYPOT=0;
16896   REPLACE_HYPOTF=0;
16897   REPLACE_HYPOTL=0;
16898   REPLACE_ILOGB=0;
16899   REPLACE_ILOGBF=0;
16900   REPLACE_ISFINITE=0;
16901   REPLACE_ISINF=0;
16902   REPLACE_ISNAN=0;
16903   REPLACE_LDEXPL=0;
16904   REPLACE_LOG=0;
16905   REPLACE_LOGF=0;
16906   REPLACE_LOGL=0;
16907   REPLACE_LOG10=0;
16908   REPLACE_LOG10F=0;
16909   REPLACE_LOG10L=0;
16910   REPLACE_LOG1P=0;
16911   REPLACE_LOG1PF=0;
16912   REPLACE_LOG1PL=0;
16913   REPLACE_LOG2=0;
16914   REPLACE_LOG2F=0;
16915   REPLACE_LOG2L=0;
16916   REPLACE_LOGB=0;
16917   REPLACE_LOGBF=0;
16918   REPLACE_LOGBL=0;
16919   REPLACE_MODF=0;
16920   REPLACE_MODFF=0;
16921   REPLACE_MODFL=0;
16922   REPLACE_NAN=0;
16923   REPLACE_REMAINDER=0;
16924   REPLACE_REMAINDERF=0;
16925   REPLACE_REMAINDERL=0;
16926   REPLACE_ROUND=0;
16927   REPLACE_ROUNDF=0;
16928   REPLACE_ROUNDL=0;
16929   REPLACE_SIGNBIT=0;
16930   REPLACE_SIGNBIT_USING_GCC=0;
16931   REPLACE_SQRTL=0;
16932   REPLACE_TRUNC=0;
16933   REPLACE_TRUNCF=0;
16934   REPLACE_TRUNCL=0;
16935
16936
16937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5
16938 $as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; }
16939 if ${gl_cv_func_frexp_no_libm+:} false; then :
16940   $as_echo_n "(cached) " >&6
16941 else
16942
16943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h.  */
16945 #include <math.h>
16946              double x;
16947 int
16948 main ()
16949 {
16950 int e; return frexp (x, &e) > 0;
16951   ;
16952   return 0;
16953 }
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956   gl_cv_func_frexp_no_libm=yes
16957 else
16958   gl_cv_func_frexp_no_libm=no
16959 fi
16960 rm -f core conftest.err conftest.$ac_objext \
16961     conftest$ac_exeext conftest.$ac_ext
16962
16963 fi
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5
16965 $as_echo "$gl_cv_func_frexp_no_libm" >&6; }
16966
16967 ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
16968 if test "x$ac_cv_have_decl_alarm" = xyes; then :
16969   ac_have_decl=1
16970 else
16971   ac_have_decl=0
16972 fi
16973
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_DECL_ALARM $ac_have_decl
16976 _ACEOF
16977
16978
16979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long double and double are the same" >&5
16980 $as_echo_n "checking whether long double and double are the same... " >&6; }
16981 if ${gl_cv_long_double_equals_double+:} false; then :
16982   $as_echo_n "(cached) " >&6
16983 else
16984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h.  */
16986 #include <float.h>
16987 int
16988 main ()
16989 {
16990 typedef int check[sizeof (long double) == sizeof (double)
16991                               && LDBL_MANT_DIG == DBL_MANT_DIG
16992                               && LDBL_MAX_EXP == DBL_MAX_EXP
16993                               && LDBL_MIN_EXP == DBL_MIN_EXP
16994                               ? 1 : -1];
16995
16996   ;
16997   return 0;
16998 }
16999 _ACEOF
17000 if ac_fn_c_try_compile "$LINENO"; then :
17001   gl_cv_long_double_equals_double=yes
17002 else
17003   gl_cv_long_double_equals_double=no
17004 fi
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006
17007 fi
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_long_double_equals_double" >&5
17009 $as_echo "$gl_cv_long_double_equals_double" >&6; }
17010   if test $gl_cv_long_double_equals_double = yes; then
17011
17012 $as_echo "#define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1" >>confdefs.h
17013
17014     HAVE_SAME_LONG_DOUBLE_AS_DOUBLE=1
17015   else
17016     HAVE_SAME_LONG_DOUBLE_AS_DOUBLE=0
17017   fi
17018
17019
17020
17021
17022
17023   for ac_func in $ac_func_list
17024 do :
17025   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17028   cat >>confdefs.h <<_ACEOF
17029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17030 _ACEOF
17031
17032 fi
17033 done
17034
17035
17036
17037
17038       if test "X$prefix" = "XNONE"; then
17039     acl_final_prefix="$ac_default_prefix"
17040   else
17041     acl_final_prefix="$prefix"
17042   fi
17043   if test "X$exec_prefix" = "XNONE"; then
17044     acl_final_exec_prefix='${prefix}'
17045   else
17046     acl_final_exec_prefix="$exec_prefix"
17047   fi
17048   acl_save_prefix="$prefix"
17049   prefix="$acl_final_prefix"
17050   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17051   prefix="$acl_save_prefix"
17052
17053
17054
17055 # Check whether --with-gnu-ld was given.
17056 if test "${with_gnu_ld+set}" = set; then :
17057   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17058 else
17059   with_gnu_ld=no
17060 fi
17061
17062 # Prepare PATH_SEPARATOR.
17063 # The user is always right.
17064 if test "${PATH_SEPARATOR+set}" != set; then
17065   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
17066   # contains only /bin. Note that ksh looks also at the FPATH variable,
17067   # so we have to set that as well for the test.
17068   PATH_SEPARATOR=:
17069   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17070     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17071            || PATH_SEPARATOR=';'
17072        }
17073 fi
17074
17075 ac_prog=ld
17076 if test "$GCC" = yes; then
17077   # Check if gcc -print-prog-name=ld gives a path.
17078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17079 $as_echo_n "checking for ld used by $CC... " >&6; }
17080   case $host in
17081   *-*-mingw*)
17082     # gcc leaves a trailing carriage return which upsets mingw
17083     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17084   *)
17085     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17086   esac
17087   case $ac_prog in
17088     # Accept absolute paths.
17089     [\\/]* | ?:[\\/]*)
17090       re_direlt='/[^/][^/]*/\.\./'
17091       # Canonicalize the pathname of ld
17092       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
17093       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
17094         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17095       done
17096       test -z "$LD" && LD="$ac_prog"
17097       ;;
17098   "")
17099     # If it fails, then pretend we aren't using GCC.
17100     ac_prog=ld
17101     ;;
17102   *)
17103     # If it is relative, then search for the first ld in PATH.
17104     with_gnu_ld=unknown
17105     ;;
17106   esac
17107 elif test "$with_gnu_ld" = yes; then
17108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17109 $as_echo_n "checking for GNU ld... " >&6; }
17110 else
17111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17112 $as_echo_n "checking for non-GNU ld... " >&6; }
17113 fi
17114 if ${acl_cv_path_LD+:} false; then :
17115   $as_echo_n "(cached) " >&6
17116 else
17117   if test -z "$LD"; then
17118   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17119   for ac_dir in $PATH; do
17120     IFS="$acl_save_ifs"
17121     test -z "$ac_dir" && ac_dir=.
17122     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17123       acl_cv_path_LD="$ac_dir/$ac_prog"
17124       # Check to see if the program is GNU ld.  I'd rather use --version,
17125       # but apparently some variants of GNU ld only accept -v.
17126       # Break only if it was the GNU/non-GNU ld that we prefer.
17127       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
17128       *GNU* | *'with BFD'*)
17129         test "$with_gnu_ld" != no && break
17130         ;;
17131       *)
17132         test "$with_gnu_ld" != yes && break
17133         ;;
17134       esac
17135     fi
17136   done
17137   IFS="$acl_save_ifs"
17138 else
17139   acl_cv_path_LD="$LD" # Let the user override the test with a path.
17140 fi
17141 fi
17142
17143 LD="$acl_cv_path_LD"
17144 if test -n "$LD"; then
17145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17146 $as_echo "$LD" >&6; }
17147 else
17148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17149 $as_echo "no" >&6; }
17150 fi
17151 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17153 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17154 if ${acl_cv_prog_gnu_ld+:} false; then :
17155   $as_echo_n "(cached) " >&6
17156 else
17157   # I'd rather use --version here, but apparently some GNU lds only accept -v.
17158 case `$LD -v 2>&1 </dev/null` in
17159 *GNU* | *'with BFD'*)
17160   acl_cv_prog_gnu_ld=yes
17161   ;;
17162 *)
17163   acl_cv_prog_gnu_ld=no
17164   ;;
17165 esac
17166 fi
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17168 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17169 with_gnu_ld=$acl_cv_prog_gnu_ld
17170
17171
17172
17173
17174                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17175 $as_echo_n "checking for shared library run path origin... " >&6; }
17176 if ${acl_cv_rpath+:} false; then :
17177   $as_echo_n "(cached) " >&6
17178 else
17179
17180     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17181     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17182     . ./conftest.sh
17183     rm -f ./conftest.sh
17184     acl_cv_rpath=done
17185
17186 fi
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17188 $as_echo "$acl_cv_rpath" >&6; }
17189   wl="$acl_cv_wl"
17190   acl_libext="$acl_cv_libext"
17191   acl_shlibext="$acl_cv_shlibext"
17192   acl_libname_spec="$acl_cv_libname_spec"
17193   acl_library_names_spec="$acl_cv_library_names_spec"
17194   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17195   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17196   acl_hardcode_direct="$acl_cv_hardcode_direct"
17197   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17198     # Check whether --enable-rpath was given.
17199 if test "${enable_rpath+set}" = set; then :
17200   enableval=$enable_rpath; :
17201 else
17202   enable_rpath=yes
17203 fi
17204
17205
17206
17207
17208   acl_libdirstem=lib
17209   acl_libdirstem2=
17210   case "$host_os" in
17211     solaris*)
17212                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17213 $as_echo_n "checking for 64-bit host... " >&6; }
17214 if ${gl_cv_solaris_64bit+:} false; then :
17215   $as_echo_n "(cached) " >&6
17216 else
17217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h.  */
17219
17220 #ifdef _LP64
17221 sixtyfour bits
17222 #endif
17223
17224 _ACEOF
17225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17226   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17227   gl_cv_solaris_64bit=yes
17228 else
17229   gl_cv_solaris_64bit=no
17230 fi
17231 rm -f conftest*
17232
17233
17234 fi
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17236 $as_echo "$gl_cv_solaris_64bit" >&6; }
17237       if test $gl_cv_solaris_64bit = yes; then
17238         acl_libdirstem=lib/64
17239         case "$host_cpu" in
17240           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
17241           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17242         esac
17243       fi
17244       ;;
17245     *)
17246       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17247       if test -n "$searchpath"; then
17248         acl_save_IFS="${IFS=    }"; IFS=":"
17249         for searchdir in $searchpath; do
17250           if test -d "$searchdir"; then
17251             case "$searchdir" in
17252               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17253               */../ | */.. )
17254                 # Better ignore directories of this form. They are misleading.
17255                 ;;
17256               *) searchdir=`cd "$searchdir" && pwd`
17257                  case "$searchdir" in
17258                    */lib64 ) acl_libdirstem=lib64 ;;
17259                  esac ;;
17260             esac
17261           fi
17262         done
17263         IFS="$acl_save_IFS"
17264       fi
17265       ;;
17266   esac
17267   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280     use_additional=yes
17281
17282   acl_save_prefix="$prefix"
17283   prefix="$acl_final_prefix"
17284   acl_save_exec_prefix="$exec_prefix"
17285   exec_prefix="$acl_final_exec_prefix"
17286
17287     eval additional_includedir=\"$includedir\"
17288     eval additional_libdir=\"$libdir\"
17289
17290   exec_prefix="$acl_save_exec_prefix"
17291   prefix="$acl_save_prefix"
17292
17293
17294 # Check whether --with-libiconv-prefix was given.
17295 if test "${with_libiconv_prefix+set}" = set; then :
17296   withval=$with_libiconv_prefix;
17297     if test "X$withval" = "Xno"; then
17298       use_additional=no
17299     else
17300       if test "X$withval" = "X"; then
17301
17302   acl_save_prefix="$prefix"
17303   prefix="$acl_final_prefix"
17304   acl_save_exec_prefix="$exec_prefix"
17305   exec_prefix="$acl_final_exec_prefix"
17306
17307           eval additional_includedir=\"$includedir\"
17308           eval additional_libdir=\"$libdir\"
17309
17310   exec_prefix="$acl_save_exec_prefix"
17311   prefix="$acl_save_prefix"
17312
17313       else
17314         additional_includedir="$withval/include"
17315         additional_libdir="$withval/$acl_libdirstem"
17316         if test "$acl_libdirstem2" != "$acl_libdirstem" \
17317            && ! test -d "$withval/$acl_libdirstem"; then
17318           additional_libdir="$withval/$acl_libdirstem2"
17319         fi
17320       fi
17321     fi
17322
17323 fi
17324
17325       LIBICONV=
17326   LTLIBICONV=
17327   INCICONV=
17328   LIBICONV_PREFIX=
17329       HAVE_LIBICONV=
17330   rpathdirs=
17331   ltrpathdirs=
17332   names_already_handled=
17333   names_next_round='iconv '
17334   while test -n "$names_next_round"; do
17335     names_this_round="$names_next_round"
17336     names_next_round=
17337     for name in $names_this_round; do
17338       already_handled=
17339       for n in $names_already_handled; do
17340         if test "$n" = "$name"; then
17341           already_handled=yes
17342           break
17343         fi
17344       done
17345       if test -z "$already_handled"; then
17346         names_already_handled="$names_already_handled $name"
17347                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
17348         eval value=\"\$HAVE_LIB$uppername\"
17349         if test -n "$value"; then
17350           if test "$value" = yes; then
17351             eval value=\"\$LIB$uppername\"
17352             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17353             eval value=\"\$LTLIB$uppername\"
17354             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17355           else
17356                                     :
17357           fi
17358         else
17359                               found_dir=
17360           found_la=
17361           found_so=
17362           found_a=
17363           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17364           if test -n "$acl_shlibext"; then
17365             shrext=".$acl_shlibext"             # typically: shrext=.so
17366           else
17367             shrext=
17368           fi
17369           if test $use_additional = yes; then
17370             dir="$additional_libdir"
17371                                     if test -n "$acl_shlibext"; then
17372               if test -f "$dir/$libname$shrext"; then
17373                 found_dir="$dir"
17374                 found_so="$dir/$libname$shrext"
17375               else
17376                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17377                   ver=`(cd "$dir" && \
17378                         for f in "$libname$shrext".*; do echo "$f"; done \
17379                         | sed -e "s,^$libname$shrext\\\\.,," \
17380                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17381                         | sed 1q ) 2>/dev/null`
17382                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17383                     found_dir="$dir"
17384                     found_so="$dir/$libname$shrext.$ver"
17385                   fi
17386                 else
17387                   eval library_names=\"$acl_library_names_spec\"
17388                   for f in $library_names; do
17389                     if test -f "$dir/$f"; then
17390                       found_dir="$dir"
17391                       found_so="$dir/$f"
17392                       break
17393                     fi
17394                   done
17395                 fi
17396               fi
17397             fi
17398                         if test "X$found_dir" = "X"; then
17399               if test -f "$dir/$libname.$acl_libext"; then
17400                 found_dir="$dir"
17401                 found_a="$dir/$libname.$acl_libext"
17402               fi
17403             fi
17404             if test "X$found_dir" != "X"; then
17405               if test -f "$dir/$libname.la"; then
17406                 found_la="$dir/$libname.la"
17407               fi
17408             fi
17409           fi
17410           if test "X$found_dir" = "X"; then
17411             for x in $LDFLAGS $LTLIBICONV; do
17412
17413   acl_save_prefix="$prefix"
17414   prefix="$acl_final_prefix"
17415   acl_save_exec_prefix="$exec_prefix"
17416   exec_prefix="$acl_final_exec_prefix"
17417   eval x=\"$x\"
17418   exec_prefix="$acl_save_exec_prefix"
17419   prefix="$acl_save_prefix"
17420
17421               case "$x" in
17422                 -L*)
17423                   dir=`echo "X$x" | sed -e 's/^X-L//'`
17424                                     if test -n "$acl_shlibext"; then
17425                     if test -f "$dir/$libname$shrext"; then
17426                       found_dir="$dir"
17427                       found_so="$dir/$libname$shrext"
17428                     else
17429                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17430                         ver=`(cd "$dir" && \
17431                               for f in "$libname$shrext".*; do echo "$f"; done \
17432                               | sed -e "s,^$libname$shrext\\\\.,," \
17433                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17434                               | sed 1q ) 2>/dev/null`
17435                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17436                           found_dir="$dir"
17437                           found_so="$dir/$libname$shrext.$ver"
17438                         fi
17439                       else
17440                         eval library_names=\"$acl_library_names_spec\"
17441                         for f in $library_names; do
17442                           if test -f "$dir/$f"; then
17443                             found_dir="$dir"
17444                             found_so="$dir/$f"
17445                             break
17446                           fi
17447                         done
17448                       fi
17449                     fi
17450                   fi
17451                                     if test "X$found_dir" = "X"; then
17452                     if test -f "$dir/$libname.$acl_libext"; then
17453                       found_dir="$dir"
17454                       found_a="$dir/$libname.$acl_libext"
17455                     fi
17456                   fi
17457                   if test "X$found_dir" != "X"; then
17458                     if test -f "$dir/$libname.la"; then
17459                       found_la="$dir/$libname.la"
17460                     fi
17461                   fi
17462                   ;;
17463               esac
17464               if test "X$found_dir" != "X"; then
17465                 break
17466               fi
17467             done
17468           fi
17469           if test "X$found_dir" != "X"; then
17470                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17471             if test "X$found_so" != "X"; then
17472                                                         if test "$enable_rpath" = no \
17473                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17474                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17475                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17476               else
17477                                                                                 haveit=
17478                 for x in $ltrpathdirs; do
17479                   if test "X$x" = "X$found_dir"; then
17480                     haveit=yes
17481                     break
17482                   fi
17483                 done
17484                 if test -z "$haveit"; then
17485                   ltrpathdirs="$ltrpathdirs $found_dir"
17486                 fi
17487                                 if test "$acl_hardcode_direct" = yes; then
17488                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17489                 else
17490                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17491                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17492                                                             haveit=
17493                     for x in $rpathdirs; do
17494                       if test "X$x" = "X$found_dir"; then
17495                         haveit=yes
17496                         break
17497                       fi
17498                     done
17499                     if test -z "$haveit"; then
17500                       rpathdirs="$rpathdirs $found_dir"
17501                     fi
17502                   else
17503                                                                                 haveit=
17504                     for x in $LDFLAGS $LIBICONV; do
17505
17506   acl_save_prefix="$prefix"
17507   prefix="$acl_final_prefix"
17508   acl_save_exec_prefix="$exec_prefix"
17509   exec_prefix="$acl_final_exec_prefix"
17510   eval x=\"$x\"
17511   exec_prefix="$acl_save_exec_prefix"
17512   prefix="$acl_save_prefix"
17513
17514                       if test "X$x" = "X-L$found_dir"; then
17515                         haveit=yes
17516                         break
17517                       fi
17518                     done
17519                     if test -z "$haveit"; then
17520                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17521                     fi
17522                     if test "$acl_hardcode_minus_L" != no; then
17523                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17524                     else
17525                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17526                     fi
17527                   fi
17528                 fi
17529               fi
17530             else
17531               if test "X$found_a" != "X"; then
17532                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17533               else
17534                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17535               fi
17536             fi
17537                         additional_includedir=
17538             case "$found_dir" in
17539               */$acl_libdirstem | */$acl_libdirstem/)
17540                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17541                 if test "$name" = 'iconv'; then
17542                   LIBICONV_PREFIX="$basedir"
17543                 fi
17544                 additional_includedir="$basedir/include"
17545                 ;;
17546               */$acl_libdirstem2 | */$acl_libdirstem2/)
17547                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17548                 if test "$name" = 'iconv'; then
17549                   LIBICONV_PREFIX="$basedir"
17550                 fi
17551                 additional_includedir="$basedir/include"
17552                 ;;
17553             esac
17554             if test "X$additional_includedir" != "X"; then
17555                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17556                 haveit=
17557                 if test "X$additional_includedir" = "X/usr/local/include"; then
17558                   if test -n "$GCC"; then
17559                     case $host_os in
17560                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17561                     esac
17562                   fi
17563                 fi
17564                 if test -z "$haveit"; then
17565                   for x in $CPPFLAGS $INCICONV; do
17566
17567   acl_save_prefix="$prefix"
17568   prefix="$acl_final_prefix"
17569   acl_save_exec_prefix="$exec_prefix"
17570   exec_prefix="$acl_final_exec_prefix"
17571   eval x=\"$x\"
17572   exec_prefix="$acl_save_exec_prefix"
17573   prefix="$acl_save_prefix"
17574
17575                     if test "X$x" = "X-I$additional_includedir"; then
17576                       haveit=yes
17577                       break
17578                     fi
17579                   done
17580                   if test -z "$haveit"; then
17581                     if test -d "$additional_includedir"; then
17582                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17583                     fi
17584                   fi
17585                 fi
17586               fi
17587             fi
17588                         if test -n "$found_la"; then
17589                                                         save_libdir="$libdir"
17590               case "$found_la" in
17591                 */* | *\\*) . "$found_la" ;;
17592                 *) . "./$found_la" ;;
17593               esac
17594               libdir="$save_libdir"
17595                             for dep in $dependency_libs; do
17596                 case "$dep" in
17597                   -L*)
17598                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17599                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17600                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17601                       haveit=
17602                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17603                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17604                         if test -n "$GCC"; then
17605                           case $host_os in
17606                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17607                           esac
17608                         fi
17609                       fi
17610                       if test -z "$haveit"; then
17611                         haveit=
17612                         for x in $LDFLAGS $LIBICONV; do
17613
17614   acl_save_prefix="$prefix"
17615   prefix="$acl_final_prefix"
17616   acl_save_exec_prefix="$exec_prefix"
17617   exec_prefix="$acl_final_exec_prefix"
17618   eval x=\"$x\"
17619   exec_prefix="$acl_save_exec_prefix"
17620   prefix="$acl_save_prefix"
17621
17622                           if test "X$x" = "X-L$additional_libdir"; then
17623                             haveit=yes
17624                             break
17625                           fi
17626                         done
17627                         if test -z "$haveit"; then
17628                           if test -d "$additional_libdir"; then
17629                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
17630                           fi
17631                         fi
17632                         haveit=
17633                         for x in $LDFLAGS $LTLIBICONV; do
17634
17635   acl_save_prefix="$prefix"
17636   prefix="$acl_final_prefix"
17637   acl_save_exec_prefix="$exec_prefix"
17638   exec_prefix="$acl_final_exec_prefix"
17639   eval x=\"$x\"
17640   exec_prefix="$acl_save_exec_prefix"
17641   prefix="$acl_save_prefix"
17642
17643                           if test "X$x" = "X-L$additional_libdir"; then
17644                             haveit=yes
17645                             break
17646                           fi
17647                         done
17648                         if test -z "$haveit"; then
17649                           if test -d "$additional_libdir"; then
17650                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
17651                           fi
17652                         fi
17653                       fi
17654                     fi
17655                     ;;
17656                   -R*)
17657                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17658                     if test "$enable_rpath" != no; then
17659                                                                   haveit=
17660                       for x in $rpathdirs; do
17661                         if test "X$x" = "X$dir"; then
17662                           haveit=yes
17663                           break
17664                         fi
17665                       done
17666                       if test -z "$haveit"; then
17667                         rpathdirs="$rpathdirs $dir"
17668                       fi
17669                                                                   haveit=
17670                       for x in $ltrpathdirs; do
17671                         if test "X$x" = "X$dir"; then
17672                           haveit=yes
17673                           break
17674                         fi
17675                       done
17676                       if test -z "$haveit"; then
17677                         ltrpathdirs="$ltrpathdirs $dir"
17678                       fi
17679                     fi
17680                     ;;
17681                   -l*)
17682                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17683                     ;;
17684                   *.la)
17685                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17686                     ;;
17687                   *)
17688                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
17689                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
17690                     ;;
17691                 esac
17692               done
17693             fi
17694           else
17695                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17696             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17697           fi
17698         fi
17699       fi
17700     done
17701   done
17702   if test "X$rpathdirs" != "X"; then
17703     if test -n "$acl_hardcode_libdir_separator"; then
17704                         alldirs=
17705       for found_dir in $rpathdirs; do
17706         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17707       done
17708             acl_save_libdir="$libdir"
17709       libdir="$alldirs"
17710       eval flag=\"$acl_hardcode_libdir_flag_spec\"
17711       libdir="$acl_save_libdir"
17712       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17713     else
17714             for found_dir in $rpathdirs; do
17715         acl_save_libdir="$libdir"
17716         libdir="$found_dir"
17717         eval flag=\"$acl_hardcode_libdir_flag_spec\"
17718         libdir="$acl_save_libdir"
17719         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17720       done
17721     fi
17722   fi
17723   if test "X$ltrpathdirs" != "X"; then
17724             for found_dir in $ltrpathdirs; do
17725       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17726     done
17727   fi
17728
17729
17730
17731
17732
17733
17734
17735
17736   GNULIB_ICONV=0;
17737     ICONV_CONST=;
17738   REPLACE_ICONV=0;
17739   REPLACE_ICONV_OPEN=0;
17740   REPLACE_ICONV_UTF=0;
17741   ICONV_H='';
17742    if test -n "$ICONV_H"; then
17743   GL_GENERATE_ICONV_H_TRUE=
17744   GL_GENERATE_ICONV_H_FALSE='#'
17745 else
17746   GL_GENERATE_ICONV_H_TRUE='#'
17747   GL_GENERATE_ICONV_H_FALSE=
17748 fi
17749
17750
17751
17752
17753
17754
17755
17756           am_save_CPPFLAGS="$CPPFLAGS"
17757
17758   for element in $INCICONV; do
17759     haveit=
17760     for x in $CPPFLAGS; do
17761
17762   acl_save_prefix="$prefix"
17763   prefix="$acl_final_prefix"
17764   acl_save_exec_prefix="$exec_prefix"
17765   exec_prefix="$acl_final_exec_prefix"
17766   eval x=\"$x\"
17767   exec_prefix="$acl_save_exec_prefix"
17768   prefix="$acl_save_prefix"
17769
17770       if test "X$x" = "X$element"; then
17771         haveit=yes
17772         break
17773       fi
17774     done
17775     if test -z "$haveit"; then
17776       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17777     fi
17778   done
17779
17780
17781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17782 $as_echo_n "checking for iconv... " >&6; }
17783 if ${am_cv_func_iconv+:} false; then :
17784   $as_echo_n "(cached) " >&6
17785 else
17786
17787     am_cv_func_iconv="no, consider installing GNU libiconv"
17788     am_cv_lib_iconv=no
17789     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h.  */
17791
17792 #include <stdlib.h>
17793 #include <iconv.h>
17794
17795 int
17796 main ()
17797 {
17798 iconv_t cd = iconv_open("","");
17799            iconv(cd,NULL,NULL,NULL,NULL);
17800            iconv_close(cd);
17801   ;
17802   return 0;
17803 }
17804 _ACEOF
17805 if ac_fn_c_try_link "$LINENO"; then :
17806   am_cv_func_iconv=yes
17807 fi
17808 rm -f core conftest.err conftest.$ac_objext \
17809     conftest$ac_exeext conftest.$ac_ext
17810     if test "$am_cv_func_iconv" != yes; then
17811       am_save_LIBS="$LIBS"
17812       LIBS="$LIBS $LIBICONV"
17813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17815
17816 #include <stdlib.h>
17817 #include <iconv.h>
17818
17819 int
17820 main ()
17821 {
17822 iconv_t cd = iconv_open("","");
17823              iconv(cd,NULL,NULL,NULL,NULL);
17824              iconv_close(cd);
17825   ;
17826   return 0;
17827 }
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"; then :
17830   am_cv_lib_iconv=yes
17831         am_cv_func_iconv=yes
17832 fi
17833 rm -f core conftest.err conftest.$ac_objext \
17834     conftest$ac_exeext conftest.$ac_ext
17835       LIBS="$am_save_LIBS"
17836     fi
17837
17838 fi
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17840 $as_echo "$am_cv_func_iconv" >&6; }
17841   if test "$am_cv_func_iconv" = yes; then
17842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17843 $as_echo_n "checking for working iconv... " >&6; }
17844 if ${am_cv_func_iconv_works+:} false; then :
17845   $as_echo_n "(cached) " >&6
17846 else
17847
17848                   am_save_LIBS="$LIBS"
17849       if test $am_cv_lib_iconv = yes; then
17850         LIBS="$LIBS $LIBICONV"
17851       fi
17852       am_cv_func_iconv_works=no
17853       for ac_iconv_const in '' 'const'; do
17854         if test "$cross_compiling" = yes; then :
17855   case "$host_os" in
17856              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17857              *)            am_cv_func_iconv_works="guessing yes" ;;
17858            esac
17859 else
17860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h.  */
17862
17863 #include <iconv.h>
17864 #include <string.h>
17865
17866 #ifndef ICONV_CONST
17867 # define ICONV_CONST $ac_iconv_const
17868 #endif
17869
17870 int
17871 main ()
17872 {
17873 int result = 0;
17874   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17875      returns.  */
17876   {
17877     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17878     if (cd_utf8_to_88591 != (iconv_t)(-1))
17879       {
17880         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
17881         char buf[10];
17882         ICONV_CONST char *inptr = input;
17883         size_t inbytesleft = strlen (input);
17884         char *outptr = buf;
17885         size_t outbytesleft = sizeof (buf);
17886         size_t res = iconv (cd_utf8_to_88591,
17887                             &inptr, &inbytesleft,
17888                             &outptr, &outbytesleft);
17889         if (res == 0)
17890           result |= 1;
17891         iconv_close (cd_utf8_to_88591);
17892       }
17893   }
17894   /* Test against Solaris 10 bug: Failures are not distinguishable from
17895      successful returns.  */
17896   {
17897     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17898     if (cd_ascii_to_88591 != (iconv_t)(-1))
17899       {
17900         static ICONV_CONST char input[] = "\263";
17901         char buf[10];
17902         ICONV_CONST char *inptr = input;
17903         size_t inbytesleft = strlen (input);
17904         char *outptr = buf;
17905         size_t outbytesleft = sizeof (buf);
17906         size_t res = iconv (cd_ascii_to_88591,
17907                             &inptr, &inbytesleft,
17908                             &outptr, &outbytesleft);
17909         if (res == 0)
17910           result |= 2;
17911         iconv_close (cd_ascii_to_88591);
17912       }
17913   }
17914   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
17915   {
17916     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
17917     if (cd_88591_to_utf8 != (iconv_t)(-1))
17918       {
17919         static ICONV_CONST char input[] = "\304";
17920         static char buf[2] = { (char)0xDE, (char)0xAD };
17921         ICONV_CONST char *inptr = input;
17922         size_t inbytesleft = 1;
17923         char *outptr = buf;
17924         size_t outbytesleft = 1;
17925         size_t res = iconv (cd_88591_to_utf8,
17926                             &inptr, &inbytesleft,
17927                             &outptr, &outbytesleft);
17928         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
17929           result |= 4;
17930         iconv_close (cd_88591_to_utf8);
17931       }
17932   }
17933 #if 0 /* This bug could be worked around by the caller.  */
17934   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
17935   {
17936     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17937     if (cd_88591_to_utf8 != (iconv_t)(-1))
17938       {
17939         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17940         char buf[50];
17941         ICONV_CONST char *inptr = input;
17942         size_t inbytesleft = strlen (input);
17943         char *outptr = buf;
17944         size_t outbytesleft = sizeof (buf);
17945         size_t res = iconv (cd_88591_to_utf8,
17946                             &inptr, &inbytesleft,
17947                             &outptr, &outbytesleft);
17948         if ((int)res > 0)
17949           result |= 8;
17950         iconv_close (cd_88591_to_utf8);
17951       }
17952   }
17953 #endif
17954   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17955      provided.  */
17956   if (/* Try standardized names.  */
17957       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17958       /* Try IRIX, OSF/1 names.  */
17959       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17960       /* Try AIX names.  */
17961       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17962       /* Try HP-UX names.  */
17963       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17964     result |= 16;
17965   return result;
17966
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 if ac_fn_c_try_run "$LINENO"; then :
17972   am_cv_func_iconv_works=yes
17973 fi
17974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17975   conftest.$ac_objext conftest.beam conftest.$ac_ext
17976 fi
17977
17978         test "$am_cv_func_iconv_works" = no || break
17979       done
17980       LIBS="$am_save_LIBS"
17981
17982 fi
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17984 $as_echo "$am_cv_func_iconv_works" >&6; }
17985     case "$am_cv_func_iconv_works" in
17986       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17987       *)   am_func_iconv=yes ;;
17988     esac
17989   else
17990     am_func_iconv=no am_cv_lib_iconv=no
17991   fi
17992   if test "$am_func_iconv" = yes; then
17993
17994 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17995
17996   fi
17997   if test "$am_cv_lib_iconv" = yes; then
17998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17999 $as_echo_n "checking how to link with libiconv... " >&6; }
18000     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18001 $as_echo "$LIBICONV" >&6; }
18002   else
18003             CPPFLAGS="$am_save_CPPFLAGS"
18004     LIBICONV=
18005     LTLIBICONV=
18006   fi
18007
18008
18009
18010   if test "$am_cv_func_iconv" = yes; then
18011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18012 $as_echo_n "checking for iconv declaration... " >&6; }
18013     if ${am_cv_proto_iconv+:} false; then :
18014   $as_echo_n "(cached) " >&6
18015 else
18016
18017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h.  */
18019
18020 #include <stdlib.h>
18021 #include <iconv.h>
18022 extern
18023 #ifdef __cplusplus
18024 "C"
18025 #endif
18026 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
18027 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18028 #else
18029 size_t iconv();
18030 #endif
18031
18032 int
18033 main ()
18034 {
18035
18036   ;
18037   return 0;
18038 }
18039 _ACEOF
18040 if ac_fn_c_try_compile "$LINENO"; then :
18041   am_cv_proto_iconv_arg1=""
18042 else
18043   am_cv_proto_iconv_arg1="const"
18044 fi
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
18047 fi
18048
18049     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18050     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
18051          $am_cv_proto_iconv" >&5
18052 $as_echo "
18053          $am_cv_proto_iconv" >&6; }
18054   else
18055             am_cv_proto_iconv_arg1=""
18056   fi
18057
18058 cat >>confdefs.h <<_ACEOF
18059 #define ICONV_CONST $am_cv_proto_iconv_arg1
18060 _ACEOF
18061
18062
18063      if test -n "$am_cv_proto_iconv_arg1"; then
18064        ICONV_CONST="const"
18065      fi
18066
18067
18068
18069
18070
18071   for ac_header in $ac_header_list
18072 do :
18073   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18074 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
18075 "
18076 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18077   cat >>confdefs.h <<_ACEOF
18078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18079 _ACEOF
18080
18081 fi
18082
18083 done
18084
18085
18086
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18088 $as_echo_n "checking for inline... " >&6; }
18089 if ${ac_cv_c_inline+:} false; then :
18090   $as_echo_n "(cached) " >&6
18091 else
18092   ac_cv_c_inline=no
18093 for ac_kw in inline __inline__ __inline; do
18094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h.  */
18096 #ifndef __cplusplus
18097 typedef int foo_t;
18098 static $ac_kw foo_t static_foo () {return 0; }
18099 $ac_kw foo_t foo () {return 0; }
18100 #endif
18101
18102 _ACEOF
18103 if ac_fn_c_try_compile "$LINENO"; then :
18104   ac_cv_c_inline=$ac_kw
18105 fi
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107   test "$ac_cv_c_inline" != no && break
18108 done
18109
18110 fi
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18112 $as_echo "$ac_cv_c_inline" >&6; }
18113
18114 case $ac_cv_c_inline in
18115   inline | yes) ;;
18116   *)
18117     case $ac_cv_c_inline in
18118       no) ac_val=;;
18119       *) ac_val=$ac_cv_c_inline;;
18120     esac
18121     cat >>confdefs.h <<_ACEOF
18122 #ifndef __cplusplus
18123 #define inline $ac_val
18124 #endif
18125 _ACEOF
18126     ;;
18127 esac
18128
18129
18130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
18131 $as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
18132 if ${gl_cv_cc_double_expbit0+:} false; then :
18133   $as_echo_n "(cached) " >&6
18134 else
18135
18136       if test "$cross_compiling" = yes; then :
18137
18138                                                                       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h.  */
18140
18141 #if defined arm || defined __arm || defined __arm__
18142   mixed_endianness
18143 #endif
18144
18145 _ACEOF
18146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18147   $EGREP "mixed_endianness" >/dev/null 2>&1; then :
18148   gl_cv_cc_double_expbit0="unknown"
18149 else
18150
18151                                                          :
18152 if ${ac_cv_c_bigendian+:} false; then :
18153   $as_echo_n "(cached) " >&6
18154 else
18155   ac_cv_c_bigendian=unknown
18156     # See if we're dealing with a universal compiler.
18157     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h.  */
18159 #ifndef __APPLE_CC__
18160                not a universal capable compiler
18161              #endif
18162              typedef int dummy;
18163
18164 _ACEOF
18165 if ac_fn_c_try_compile "$LINENO"; then :
18166
18167         # Check for potential -arch flags.  It is not universal unless
18168         # there are at least two -arch flags with different values.
18169         ac_arch=
18170         ac_prev=
18171         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18172          if test -n "$ac_prev"; then
18173            case $ac_word in
18174              i?86 | x86_64 | ppc | ppc64)
18175                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18176                  ac_arch=$ac_word
18177                else
18178                  ac_cv_c_bigendian=universal
18179                  break
18180                fi
18181                ;;
18182            esac
18183            ac_prev=
18184          elif test "x$ac_word" = "x-arch"; then
18185            ac_prev=arch
18186          fi
18187        done
18188 fi
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190     if test $ac_cv_c_bigendian = unknown; then
18191       # See if sys/param.h defines the BYTE_ORDER macro.
18192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18193 /* end confdefs.h.  */
18194 #include <sys/types.h>
18195              #include <sys/param.h>
18196
18197 int
18198 main ()
18199 {
18200 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18201                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18202                      && LITTLE_ENDIAN)
18203               bogus endian macros
18204              #endif
18205
18206   ;
18207   return 0;
18208 }
18209 _ACEOF
18210 if ac_fn_c_try_compile "$LINENO"; then :
18211   # It does; now see whether it defined to BIG_ENDIAN or not.
18212          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h.  */
18214 #include <sys/types.h>
18215                 #include <sys/param.h>
18216
18217 int
18218 main ()
18219 {
18220 #if BYTE_ORDER != BIG_ENDIAN
18221                  not big endian
18222                 #endif
18223
18224   ;
18225   return 0;
18226 }
18227 _ACEOF
18228 if ac_fn_c_try_compile "$LINENO"; then :
18229   ac_cv_c_bigendian=yes
18230 else
18231   ac_cv_c_bigendian=no
18232 fi
18233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18234 fi
18235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18236     fi
18237     if test $ac_cv_c_bigendian = unknown; then
18238       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h.  */
18241 #include <limits.h>
18242
18243 int
18244 main ()
18245 {
18246 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18247               bogus endian macros
18248              #endif
18249
18250   ;
18251   return 0;
18252 }
18253 _ACEOF
18254 if ac_fn_c_try_compile "$LINENO"; then :
18255   # It does; now see whether it defined to _BIG_ENDIAN or not.
18256          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h.  */
18258 #include <limits.h>
18259
18260 int
18261 main ()
18262 {
18263 #ifndef _BIG_ENDIAN
18264                  not big endian
18265                 #endif
18266
18267   ;
18268   return 0;
18269 }
18270 _ACEOF
18271 if ac_fn_c_try_compile "$LINENO"; then :
18272   ac_cv_c_bigendian=yes
18273 else
18274   ac_cv_c_bigendian=no
18275 fi
18276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18277 fi
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18279     fi
18280     if test $ac_cv_c_bigendian = unknown; then
18281       # Compile a test program.
18282       if test "$cross_compiling" = yes; then :
18283   # Try to guess by grepping values from an object file.
18284          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18285 /* end confdefs.h.  */
18286 short int ascii_mm[] =
18287                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18288                 short int ascii_ii[] =
18289                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18290                 int use_ascii (int i) {
18291                   return ascii_mm[i] + ascii_ii[i];
18292                 }
18293                 short int ebcdic_ii[] =
18294                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18295                 short int ebcdic_mm[] =
18296                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18297                 int use_ebcdic (int i) {
18298                   return ebcdic_mm[i] + ebcdic_ii[i];
18299                 }
18300                 extern int foo;
18301
18302 int
18303 main ()
18304 {
18305 return use_ascii (foo) == use_ebcdic (foo);
18306   ;
18307   return 0;
18308 }
18309 _ACEOF
18310 if ac_fn_c_try_compile "$LINENO"; then :
18311   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18312               ac_cv_c_bigendian=yes
18313             fi
18314             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18315               if test "$ac_cv_c_bigendian" = unknown; then
18316                 ac_cv_c_bigendian=no
18317               else
18318                 # finding both strings is unlikely to happen, but who knows?
18319                 ac_cv_c_bigendian=unknown
18320               fi
18321             fi
18322 fi
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h.  */
18327 $ac_includes_default
18328 int
18329 main ()
18330 {
18331
18332              /* Are we little or big endian?  From Harbison&Steele.  */
18333              union
18334              {
18335                long int l;
18336                char c[sizeof (long int)];
18337              } u;
18338              u.l = 1;
18339              return u.c[sizeof (long int) - 1] == 1;
18340
18341   ;
18342   return 0;
18343 }
18344 _ACEOF
18345 if ac_fn_c_try_run "$LINENO"; then :
18346   ac_cv_c_bigendian=no
18347 else
18348   ac_cv_c_bigendian=yes
18349 fi
18350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18351   conftest.$ac_objext conftest.beam conftest.$ac_ext
18352 fi
18353
18354     fi
18355 fi
18356 :
18357  case $ac_cv_c_bigendian in #(
18358    yes)
18359      gl_cv_cc_double_expbit0="word 0 bit 20";; #(
18360    no)
18361      gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
18362    universal)
18363
18364 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18365
18366      ;; #(
18367    *)
18368      gl_cv_cc_double_expbit0="unknown" ;;
18369  esac
18370
18371
18372 fi
18373 rm -f conftest*
18374
18375
18376 else
18377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h.  */
18379
18380 #include <float.h>
18381 #include <stddef.h>
18382 #include <stdio.h>
18383 #include <string.h>
18384 #define NWORDS \
18385   ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
18386 typedef union { double value; unsigned int word[NWORDS]; } memory_double;
18387 static unsigned int ored_words[NWORDS];
18388 static unsigned int anded_words[NWORDS];
18389 static void add_to_ored_words (double x)
18390 {
18391   memory_double m;
18392   size_t i;
18393   /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
18394   memset (&m, 0, sizeof (memory_double));
18395   m.value = x;
18396   for (i = 0; i < NWORDS; i++)
18397     {
18398       ored_words[i] |= m.word[i];
18399       anded_words[i] &= m.word[i];
18400     }
18401 }
18402 int main ()
18403 {
18404   size_t j;
18405   FILE *fp = fopen ("conftest.out", "w");
18406   if (fp == NULL)
18407     return 1;
18408   for (j = 0; j < NWORDS; j++)
18409     anded_words[j] = ~ (unsigned int) 0;
18410   add_to_ored_words (0.25);
18411   add_to_ored_words (0.5);
18412   add_to_ored_words (1.0);
18413   add_to_ored_words (2.0);
18414   add_to_ored_words (4.0);
18415   /* Remove bits that are common (e.g. if representation of the first mantissa
18416      bit is explicit).  */
18417   for (j = 0; j < NWORDS; j++)
18418     ored_words[j] &= ~anded_words[j];
18419   /* Now find the nonzero word.  */
18420   for (j = 0; j < NWORDS; j++)
18421     if (ored_words[j] != 0)
18422       break;
18423   if (j < NWORDS)
18424     {
18425       size_t i;
18426       for (i = j + 1; i < NWORDS; i++)
18427         if (ored_words[i] != 0)
18428           {
18429             fprintf (fp, "unknown");
18430             return (fclose (fp) != 0);
18431           }
18432       for (i = 0; ; i++)
18433         if ((ored_words[j] >> i) & 1)
18434           {
18435             fprintf (fp, "word %d bit %d", (int) j, (int) i);
18436             return (fclose (fp) != 0);
18437           }
18438     }
18439   fprintf (fp, "unknown");
18440   return (fclose (fp) != 0);
18441 }
18442
18443 _ACEOF
18444 if ac_fn_c_try_run "$LINENO"; then :
18445   gl_cv_cc_double_expbit0=`cat conftest.out`
18446 else
18447   gl_cv_cc_double_expbit0="unknown"
18448 fi
18449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18450   conftest.$ac_objext conftest.beam conftest.$ac_ext
18451 fi
18452
18453       rm -f conftest.out
18454
18455 fi
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
18457 $as_echo "$gl_cv_cc_double_expbit0" >&6; }
18458   case "$gl_cv_cc_double_expbit0" in
18459     word*bit*)
18460       word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
18461       bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
18462
18463 cat >>confdefs.h <<_ACEOF
18464 #define DBL_EXPBIT0_WORD $word
18465 _ACEOF
18466
18467
18468 cat >>confdefs.h <<_ACEOF
18469 #define DBL_EXPBIT0_BIT $bit
18470 _ACEOF
18471
18472       ;;
18473   esac
18474
18475
18476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
18477 $as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
18478 if ${gl_cv_cc_float_expbit0+:} false; then :
18479   $as_echo_n "(cached) " >&6
18480 else
18481
18482       if test "$cross_compiling" = yes; then :
18483   gl_cv_cc_float_expbit0="word 0 bit 23"
18484 else
18485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h.  */
18487
18488 #include <float.h>
18489 #include <stddef.h>
18490 #include <stdio.h>
18491 #include <string.h>
18492 #define NWORDS \
18493   ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
18494 typedef union { float value; unsigned int word[NWORDS]; } memory_float;
18495 static unsigned int ored_words[NWORDS];
18496 static unsigned int anded_words[NWORDS];
18497 static void add_to_ored_words (float x)
18498 {
18499   memory_float m;
18500   size_t i;
18501   /* Clear it first, in case
18502      sizeof (float) < sizeof (memory_float).  */
18503   memset (&m, 0, sizeof (memory_float));
18504   m.value = x;
18505   for (i = 0; i < NWORDS; i++)
18506     {
18507       ored_words[i] |= m.word[i];
18508       anded_words[i] &= m.word[i];
18509     }
18510 }
18511 int main ()
18512 {
18513   size_t j;
18514   FILE *fp = fopen ("conftest.out", "w");
18515   if (fp == NULL)
18516     return 1;
18517   for (j = 0; j < NWORDS; j++)
18518     anded_words[j] = ~ (unsigned int) 0;
18519   add_to_ored_words (0.25f);
18520   add_to_ored_words (0.5f);
18521   add_to_ored_words (1.0f);
18522   add_to_ored_words (2.0f);
18523   add_to_ored_words (4.0f);
18524   /* Remove bits that are common (e.g. if representation of the first mantissa
18525      bit is explicit).  */
18526   for (j = 0; j < NWORDS; j++)
18527     ored_words[j] &= ~anded_words[j];
18528   /* Now find the nonzero word.  */
18529   for (j = 0; j < NWORDS; j++)
18530     if (ored_words[j] != 0)
18531       break;
18532   if (j < NWORDS)
18533     {
18534       size_t i;
18535       for (i = j + 1; i < NWORDS; i++)
18536         if (ored_words[i] != 0)
18537           {
18538             fprintf (fp, "unknown");
18539             return (fclose (fp) != 0);
18540           }
18541       for (i = 0; ; i++)
18542         if ((ored_words[j] >> i) & 1)
18543           {
18544             fprintf (fp, "word %d bit %d", (int) j, (int) i);
18545             return (fclose (fp) != 0);
18546           }
18547     }
18548   fprintf (fp, "unknown");
18549   return (fclose (fp) != 0);
18550 }
18551
18552 _ACEOF
18553 if ac_fn_c_try_run "$LINENO"; then :
18554   gl_cv_cc_float_expbit0=`cat conftest.out`
18555 else
18556   gl_cv_cc_float_expbit0="unknown"
18557 fi
18558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18559   conftest.$ac_objext conftest.beam conftest.$ac_ext
18560 fi
18561
18562       rm -f conftest.out
18563
18564 fi
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
18566 $as_echo "$gl_cv_cc_float_expbit0" >&6; }
18567   case "$gl_cv_cc_float_expbit0" in
18568     word*bit*)
18569       word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
18570       bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
18571
18572 cat >>confdefs.h <<_ACEOF
18573 #define FLT_EXPBIT0_WORD $word
18574 _ACEOF
18575
18576
18577 cat >>confdefs.h <<_ACEOF
18578 #define FLT_EXPBIT0_BIT $bit
18579 _ACEOF
18580
18581       ;;
18582   esac
18583
18584
18585    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18586 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18587 if ${ac_cv_c_bigendian+:} false; then :
18588   $as_echo_n "(cached) " >&6
18589 else
18590   ac_cv_c_bigendian=unknown
18591     # See if we're dealing with a universal compiler.
18592     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18593 /* end confdefs.h.  */
18594 #ifndef __APPLE_CC__
18595                not a universal capable compiler
18596              #endif
18597              typedef int dummy;
18598
18599 _ACEOF
18600 if ac_fn_c_try_compile "$LINENO"; then :
18601
18602         # Check for potential -arch flags.  It is not universal unless
18603         # there are at least two -arch flags with different values.
18604         ac_arch=
18605         ac_prev=
18606         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18607          if test -n "$ac_prev"; then
18608            case $ac_word in
18609              i?86 | x86_64 | ppc | ppc64)
18610                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18611                  ac_arch=$ac_word
18612                else
18613                  ac_cv_c_bigendian=universal
18614                  break
18615                fi
18616                ;;
18617            esac
18618            ac_prev=
18619          elif test "x$ac_word" = "x-arch"; then
18620            ac_prev=arch
18621          fi
18622        done
18623 fi
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625     if test $ac_cv_c_bigendian = unknown; then
18626       # See if sys/param.h defines the BYTE_ORDER macro.
18627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h.  */
18629 #include <sys/types.h>
18630              #include <sys/param.h>
18631
18632 int
18633 main ()
18634 {
18635 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18636                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18637                      && LITTLE_ENDIAN)
18638               bogus endian macros
18639              #endif
18640
18641   ;
18642   return 0;
18643 }
18644 _ACEOF
18645 if ac_fn_c_try_compile "$LINENO"; then :
18646   # It does; now see whether it defined to BIG_ENDIAN or not.
18647          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h.  */
18649 #include <sys/types.h>
18650                 #include <sys/param.h>
18651
18652 int
18653 main ()
18654 {
18655 #if BYTE_ORDER != BIG_ENDIAN
18656                  not big endian
18657                 #endif
18658
18659   ;
18660   return 0;
18661 }
18662 _ACEOF
18663 if ac_fn_c_try_compile "$LINENO"; then :
18664   ac_cv_c_bigendian=yes
18665 else
18666   ac_cv_c_bigendian=no
18667 fi
18668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18669 fi
18670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18671     fi
18672     if test $ac_cv_c_bigendian = unknown; then
18673       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h.  */
18676 #include <limits.h>
18677
18678 int
18679 main ()
18680 {
18681 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18682               bogus endian macros
18683              #endif
18684
18685   ;
18686   return 0;
18687 }
18688 _ACEOF
18689 if ac_fn_c_try_compile "$LINENO"; then :
18690   # It does; now see whether it defined to _BIG_ENDIAN or not.
18691          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h.  */
18693 #include <limits.h>
18694
18695 int
18696 main ()
18697 {
18698 #ifndef _BIG_ENDIAN
18699                  not big endian
18700                 #endif
18701
18702   ;
18703   return 0;
18704 }
18705 _ACEOF
18706 if ac_fn_c_try_compile "$LINENO"; then :
18707   ac_cv_c_bigendian=yes
18708 else
18709   ac_cv_c_bigendian=no
18710 fi
18711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18712 fi
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714     fi
18715     if test $ac_cv_c_bigendian = unknown; then
18716       # Compile a test program.
18717       if test "$cross_compiling" = yes; then :
18718   # Try to guess by grepping values from an object file.
18719          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h.  */
18721 short int ascii_mm[] =
18722                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18723                 short int ascii_ii[] =
18724                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18725                 int use_ascii (int i) {
18726                   return ascii_mm[i] + ascii_ii[i];
18727                 }
18728                 short int ebcdic_ii[] =
18729                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18730                 short int ebcdic_mm[] =
18731                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18732                 int use_ebcdic (int i) {
18733                   return ebcdic_mm[i] + ebcdic_ii[i];
18734                 }
18735                 extern int foo;
18736
18737 int
18738 main ()
18739 {
18740 return use_ascii (foo) == use_ebcdic (foo);
18741   ;
18742   return 0;
18743 }
18744 _ACEOF
18745 if ac_fn_c_try_compile "$LINENO"; then :
18746   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18747               ac_cv_c_bigendian=yes
18748             fi
18749             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18750               if test "$ac_cv_c_bigendian" = unknown; then
18751                 ac_cv_c_bigendian=no
18752               else
18753                 # finding both strings is unlikely to happen, but who knows?
18754                 ac_cv_c_bigendian=unknown
18755               fi
18756             fi
18757 fi
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759 else
18760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h.  */
18762 $ac_includes_default
18763 int
18764 main ()
18765 {
18766
18767              /* Are we little or big endian?  From Harbison&Steele.  */
18768              union
18769              {
18770                long int l;
18771                char c[sizeof (long int)];
18772              } u;
18773              u.l = 1;
18774              return u.c[sizeof (long int) - 1] == 1;
18775
18776   ;
18777   return 0;
18778 }
18779 _ACEOF
18780 if ac_fn_c_try_run "$LINENO"; then :
18781   ac_cv_c_bigendian=no
18782 else
18783   ac_cv_c_bigendian=yes
18784 fi
18785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18786   conftest.$ac_objext conftest.beam conftest.$ac_ext
18787 fi
18788
18789     fi
18790 fi
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
18792 $as_echo "$ac_cv_c_bigendian" >&6; }
18793  case $ac_cv_c_bigendian in #(
18794    yes)
18795      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
18796 ;; #(
18797    no)
18798       ;; #(
18799    universal)
18800
18801 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18802
18803      ;; #(
18804    *)
18805      as_fn_error $? "unknown endianness
18806  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18807  esac
18808
18809
18810
18811   GNULIB_ISWBLANK=0;
18812   GNULIB_WCTYPE=0;
18813   GNULIB_ISWCTYPE=0;
18814   GNULIB_WCTRANS=0;
18815   GNULIB_TOWCTRANS=0;
18816     HAVE_ISWBLANK=1;
18817   HAVE_WCTYPE_T=1;
18818   HAVE_WCTRANS_T=1;
18819   REPLACE_ISWBLANK=0;
18820
18821
18822
18823
18824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
18825 $as_echo_n "checking for wint_t... " >&6; }
18826 if ${gt_cv_c_wint_t+:} false; then :
18827   $as_echo_n "(cached) " >&6
18828 else
18829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h.  */
18831
18832 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
18833    <wchar.h>.
18834    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
18835    before <wchar.h>.  */
18836 #include <stddef.h>
18837 #include <stdio.h>
18838 #include <time.h>
18839 #include <wchar.h>
18840             wint_t foo = (wchar_t)'\0';
18841 int
18842 main ()
18843 {
18844
18845   ;
18846   return 0;
18847 }
18848 _ACEOF
18849 if ac_fn_c_try_compile "$LINENO"; then :
18850   gt_cv_c_wint_t=yes
18851 else
18852   gt_cv_c_wint_t=no
18853 fi
18854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 fi
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
18857 $as_echo "$gt_cv_c_wint_t" >&6; }
18858   if test $gt_cv_c_wint_t = yes; then
18859
18860 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
18861
18862   fi
18863
18864
18865
18866
18867
18868
18869
18870
18871   if test $ac_cv_func_iswcntrl = yes; then
18872     HAVE_ISWCNTRL=1
18873   else
18874     HAVE_ISWCNTRL=0
18875   fi
18876
18877
18878
18879   if test $gt_cv_c_wint_t = yes; then
18880     HAVE_WINT_T=1
18881   else
18882     HAVE_WINT_T=0
18883   fi
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895      if test $gl_cv_have_include_next = yes; then
18896        gl_cv_next_wctype_h='<'wctype.h'>'
18897      else
18898        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
18899 $as_echo_n "checking absolute name of <wctype.h>... " >&6; }
18900 if ${gl_cv_next_wctype_h+:} false; then :
18901   $as_echo_n "(cached) " >&6
18902 else
18903
18904              if test $ac_cv_header_wctype_h = yes; then
18905
18906
18907
18908
18909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h.  */
18911 #include <wctype.h>
18912 _ACEOF
18913                 case "$host_os" in
18914     aix*) gl_absname_cpp="$ac_cpp -C" ;;
18915     *)    gl_absname_cpp="$ac_cpp" ;;
18916   esac
18917
18918   case "$host_os" in
18919     mingw*)
18920                                           gl_dirsep_regex='[/\\]'
18921       ;;
18922     *)
18923       gl_dirsep_regex='\/'
18924       ;;
18925   esac
18926       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
18927   gl_header_literal_regex=`echo 'wctype.h' \
18928                            | sed -e "$gl_make_literal_regex_sed"`
18929   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
18930       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
18931       s|^/[^/]|//&|
18932       p
18933       q
18934     }'
18935
18936         gl_cv_absolute_wctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
18937   sed -n "$gl_absolute_header_sed"`
18938
18939            gl_header=$gl_cv_absolute_wctype_h
18940            gl_cv_next_wctype_h='"'$gl_header'"'
18941           else
18942                gl_cv_next_wctype_h='<'wctype.h'>'
18943              fi
18944
18945
18946 fi
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
18948 $as_echo "$gl_cv_next_wctype_h" >&6; }
18949      fi
18950      NEXT_WCTYPE_H=$gl_cv_next_wctype_h
18951
18952      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
18953        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
18954        gl_next_as_first_directive='<'wctype.h'>'
18955      else
18956        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
18957        gl_next_as_first_directive=$gl_cv_next_wctype_h
18958      fi
18959      NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
18960
18961
18962
18963
18964   if test $ac_cv_header_wctype_h = yes; then
18965     if test $ac_cv_func_iswcntrl = yes; then
18966                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
18967 $as_echo_n "checking whether iswcntrl works... " >&6; }
18968 if ${gl_cv_func_iswcntrl_works+:} false; then :
18969   $as_echo_n "(cached) " >&6
18970 else
18971
18972           if test "$cross_compiling" = yes; then :
18973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h.  */
18975 #include <stdlib.h>
18976                           #if __GNU_LIBRARY__ == 1
18977                           Linux libc5 i18n is broken.
18978                           #endif
18979 int
18980 main ()
18981 {
18982
18983   ;
18984   return 0;
18985 }
18986 _ACEOF
18987 if ac_fn_c_try_compile "$LINENO"; then :
18988   gl_cv_func_iswcntrl_works="guessing yes"
18989 else
18990   gl_cv_func_iswcntrl_works="guessing no"
18991 fi
18992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993
18994 else
18995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h.  */
18997
18998                /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
18999                   included before <wchar.h>.
19000                   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
19001                   must be included before <wchar.h>.  */
19002                #include <stddef.h>
19003                #include <stdio.h>
19004                #include <time.h>
19005                #include <wchar.h>
19006                #include <wctype.h>
19007                int main () { return iswprint ('x') == 0; }
19008
19009 _ACEOF
19010 if ac_fn_c_try_run "$LINENO"; then :
19011   gl_cv_func_iswcntrl_works=yes
19012 else
19013   gl_cv_func_iswcntrl_works=no
19014 fi
19015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19016   conftest.$ac_objext conftest.beam conftest.$ac_ext
19017 fi
19018
19019
19020 fi
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
19022 $as_echo "$gl_cv_func_iswcntrl_works" >&6; }
19023     fi
19024     HAVE_WCTYPE_H=1
19025   else
19026     HAVE_WCTYPE_H=0
19027   fi
19028
19029
19030   case "$gl_cv_func_iswcntrl_works" in
19031     *yes) REPLACE_ISWCNTRL=0 ;;
19032     *)    REPLACE_ISWCNTRL=1 ;;
19033   esac
19034
19035
19036   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
19037         :
19038   fi
19039
19040   if test $REPLACE_ISWCNTRL = 1; then
19041     REPLACE_TOWLOWER=1
19042   else
19043     for ac_func in towlower
19044 do :
19045   ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
19046 if test "x$ac_cv_func_towlower" = xyes; then :
19047   cat >>confdefs.h <<_ACEOF
19048 #define HAVE_TOWLOWER 1
19049 _ACEOF
19050
19051 fi
19052 done
19053
19054     if test $ac_cv_func_towlower = yes; then
19055       REPLACE_TOWLOWER=0
19056     else
19057       ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
19058              included before <wchar.h>.
19059              BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
19060              must be included before <wchar.h>.  */
19061           #include <stddef.h>
19062           #include <stdio.h>
19063           #include <time.h>
19064           #include <wchar.h>
19065           #if HAVE_WCTYPE_H
19066           # include <wctype.h>
19067           #endif
19068
19069 "
19070 if test "x$ac_cv_have_decl_towlower" = xyes; then :
19071   ac_have_decl=1
19072 else
19073   ac_have_decl=0
19074 fi
19075
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_DECL_TOWLOWER $ac_have_decl
19078 _ACEOF
19079
19080       if test $ac_cv_have_decl_towlower = yes; then
19081                                 REPLACE_TOWLOWER=1
19082       else
19083         REPLACE_TOWLOWER=0
19084       fi
19085     fi
19086   fi
19087
19088
19089   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
19090         :
19091   fi
19092
19093           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
19094 $as_echo_n "checking for wctype_t... " >&6; }
19095 if ${gl_cv_type_wctype_t+:} false; then :
19096   $as_echo_n "(cached) " >&6
19097 else
19098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h.  */
19100 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
19101                included before <wchar.h>.
19102                BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
19103                must be included before <wchar.h>.  */
19104             #include <stddef.h>
19105             #include <stdio.h>
19106             #include <time.h>
19107             #include <wchar.h>
19108             #if HAVE_WCTYPE_H
19109             # include <wctype.h>
19110             #endif
19111             wctype_t a;
19112
19113 int
19114 main ()
19115 {
19116
19117   ;
19118   return 0;
19119 }
19120 _ACEOF
19121 if ac_fn_c_try_compile "$LINENO"; then :
19122   gl_cv_type_wctype_t=yes
19123 else
19124   gl_cv_type_wctype_t=no
19125 fi
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127
19128 fi
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
19130 $as_echo "$gl_cv_type_wctype_t" >&6; }
19131   if test $gl_cv_type_wctype_t = no; then
19132     HAVE_WCTYPE_T=0
19133   fi
19134
19135       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
19136 $as_echo_n "checking for wctrans_t... " >&6; }
19137 if ${gl_cv_type_wctrans_t+:} false; then :
19138   $as_echo_n "(cached) " >&6
19139 else
19140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h.  */
19142 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
19143                included before <wchar.h>.
19144                BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
19145                must be included before <wchar.h>.  */
19146             #include <stddef.h>
19147             #include <stdio.h>
19148             #include <time.h>
19149             #include <wchar.h>
19150             #include <wctype.h>
19151             wctrans_t a;
19152
19153 int
19154 main ()
19155 {
19156
19157   ;
19158   return 0;
19159 }
19160 _ACEOF
19161 if ac_fn_c_try_compile "$LINENO"; then :
19162   gl_cv_type_wctrans_t=yes
19163 else
19164   gl_cv_type_wctrans_t=no
19165 fi
19166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167
19168 fi
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
19170 $as_echo "$gl_cv_type_wctrans_t" >&6; }
19171   if test $gl_cv_type_wctrans_t = no; then
19172     HAVE_WCTRANS_T=0
19173   fi
19174
19175
19176     for gl_func in wctype iswctype wctrans towctrans     ; do
19177     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
19178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
19179 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
19180 if eval \${$as_gl_Symbol+:} false; then :
19181   $as_echo_n "(cached) " >&6
19182 else
19183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h.  */
19185
19186 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
19187    <wchar.h>.
19188    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
19189    included before <wchar.h>.  */
19190 #if !(defined __GLIBC__ && !defined __UCLIBC__)
19191 # include <stddef.h>
19192 # include <stdio.h>
19193 # include <time.h>
19194 # include <wchar.h>
19195 #endif
19196 #include <wctype.h>
19197
19198 int
19199 main ()
19200 {
19201 #undef $gl_func
19202   (void) $gl_func;
19203   ;
19204   return 0;
19205 }
19206 _ACEOF
19207 if ac_fn_c_try_compile "$LINENO"; then :
19208   eval "$as_gl_Symbol=yes"
19209 else
19210   eval "$as_gl_Symbol=no"
19211 fi
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 fi
19214 eval ac_res=\$$as_gl_Symbol
19215                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19216 $as_echo "$ac_res" >&6; }
19217     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
19218   cat >>confdefs.h <<_ACEOF
19219 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
19220 _ACEOF
19221
19222                      eval ac_cv_have_decl_$gl_func=yes
19223 fi
19224       done
19225
19226
19227
19228
19229
19230   GNULIB_NL_LANGINFO=0;
19231     HAVE_NL_LANGINFO=1;
19232   REPLACE_NL_LANGINFO=0;
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248      if test $gl_cv_have_include_next = yes; then
19249        gl_cv_next_limits_h='<'limits.h'>'
19250      else
19251        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <limits.h>" >&5
19252 $as_echo_n "checking absolute name of <limits.h>... " >&6; }
19253 if ${gl_cv_next_limits_h+:} false; then :
19254   $as_echo_n "(cached) " >&6
19255 else
19256
19257              if test $ac_cv_header_limits_h = yes; then
19258
19259
19260
19261
19262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h.  */
19264 #include <limits.h>
19265 _ACEOF
19266                 case "$host_os" in
19267     aix*) gl_absname_cpp="$ac_cpp -C" ;;
19268     *)    gl_absname_cpp="$ac_cpp" ;;
19269   esac
19270
19271   case "$host_os" in
19272     mingw*)
19273                                           gl_dirsep_regex='[/\\]'
19274       ;;
19275     *)
19276       gl_dirsep_regex='\/'
19277       ;;
19278   esac
19279       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
19280   gl_header_literal_regex=`echo 'limits.h' \
19281                            | sed -e "$gl_make_literal_regex_sed"`
19282   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
19283       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
19284       s|^/[^/]|//&|
19285       p
19286       q
19287     }'
19288
19289         gl_cv_absolute_limits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19290   sed -n "$gl_absolute_header_sed"`
19291
19292            gl_header=$gl_cv_absolute_limits_h
19293            gl_cv_next_limits_h='"'$gl_header'"'
19294           else
19295                gl_cv_next_limits_h='<'limits.h'>'
19296              fi
19297
19298
19299 fi
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5
19301 $as_echo "$gl_cv_next_limits_h" >&6; }
19302      fi
19303      NEXT_LIMITS_H=$gl_cv_next_limits_h
19304
19305      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
19306        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19307        gl_next_as_first_directive='<'limits.h'>'
19308      else
19309        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19310        gl_next_as_first_directive=$gl_cv_next_limits_h
19311      fi
19312      NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=$gl_next_as_first_directive
19313
19314
19315
19316
19317
19318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h has ULLONG_WIDTH etc." >&5
19319 $as_echo_n "checking whether limits.h has ULLONG_WIDTH etc.... " >&6; }
19320 if ${gl_cv_header_limits_width+:} false; then :
19321   $as_echo_n "(cached) " >&6
19322 else
19323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h.  */
19325 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
19326                            #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
19327                           #endif
19328                           #include <limits.h>
19329                           int ullw = ULLONG_WIDTH;
19330 int
19331 main ()
19332 {
19333
19334   ;
19335   return 0;
19336 }
19337 _ACEOF
19338 if ac_fn_c_try_compile "$LINENO"; then :
19339   gl_cv_header_limits_width=yes
19340 else
19341   gl_cv_header_limits_width=no
19342 fi
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 fi
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_width" >&5
19346 $as_echo "$gl_cv_header_limits_width" >&6; }
19347   if test "$gl_cv_header_limits_width" = yes; then
19348     LIMITS_H=
19349   else
19350     LIMITS_H=limits.h
19351   fi
19352
19353    if test -n "$LIMITS_H"; then
19354   GL_GENERATE_LIMITS_H_TRUE=
19355   GL_GENERATE_LIMITS_H_FALSE='#'
19356 else
19357   GL_GENERATE_LIMITS_H_TRUE='#'
19358   GL_GENERATE_LIMITS_H_FALSE=
19359 fi
19360
19361
19362
19363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
19364 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
19365 if ${am_cv_langinfo_codeset+:} false; then :
19366   $as_echo_n "(cached) " >&6
19367 else
19368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h.  */
19370 #include <langinfo.h>
19371 int
19372 main ()
19373 {
19374 char* cs = nl_langinfo(CODESET); return !cs;
19375   ;
19376   return 0;
19377 }
19378 _ACEOF
19379 if ac_fn_c_try_link "$LINENO"; then :
19380   am_cv_langinfo_codeset=yes
19381 else
19382   am_cv_langinfo_codeset=no
19383 fi
19384 rm -f core conftest.err conftest.$ac_objext \
19385     conftest$ac_exeext conftest.$ac_ext
19386
19387 fi
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
19389 $as_echo "$am_cv_langinfo_codeset" >&6; }
19390   if test $am_cv_langinfo_codeset = yes; then
19391
19392 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
19393
19394   fi
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
19406 $as_echo_n "checking for working fcntl.h... " >&6; }
19407 if ${gl_cv_header_working_fcntl_h+:} false; then :
19408   $as_echo_n "(cached) " >&6
19409 else
19410   if test "$cross_compiling" = yes; then :
19411   gl_cv_header_working_fcntl_h=cross-compiling
19412 else
19413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h.  */
19415 #include <sys/types.h>
19416            #include <sys/stat.h>
19417            #if HAVE_UNISTD_H
19418            # include <unistd.h>
19419            #else /* on Windows with MSVC */
19420            # include <io.h>
19421            # include <stdlib.h>
19422            # defined sleep(n) _sleep ((n) * 1000)
19423            #endif
19424            #include <fcntl.h>
19425            #ifndef O_NOATIME
19426             #define O_NOATIME 0
19427            #endif
19428            #ifndef O_NOFOLLOW
19429             #define O_NOFOLLOW 0
19430            #endif
19431            static int const constants[] =
19432             {
19433               O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
19434               O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
19435             };
19436
19437 int
19438 main ()
19439 {
19440
19441             int result = !constants;
19442             #if HAVE_SYMLINK
19443             {
19444               static char const sym[] = "conftest.sym";
19445               if (symlink ("/dev/null", sym) != 0)
19446                 result |= 2;
19447               else
19448                 {
19449                   int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
19450                   if (fd >= 0)
19451                     {
19452                       close (fd);
19453                       result |= 4;
19454                     }
19455                 }
19456               if (unlink (sym) != 0 || symlink (".", sym) != 0)
19457                 result |= 2;
19458               else
19459                 {
19460                   int fd = open (sym, O_RDONLY | O_NOFOLLOW);
19461                   if (fd >= 0)
19462                     {
19463                       close (fd);
19464                       result |= 4;
19465                     }
19466                 }
19467               unlink (sym);
19468             }
19469             #endif
19470             {
19471               static char const file[] = "confdefs.h";
19472               int fd = open (file, O_RDONLY | O_NOATIME);
19473               if (fd < 0)
19474                 result |= 8;
19475               else
19476                 {
19477                   struct stat st0;
19478                   if (fstat (fd, &st0) != 0)
19479                     result |= 16;
19480                   else
19481                     {
19482                       char c;
19483                       sleep (1);
19484                       if (read (fd, &c, 1) != 1)
19485                         result |= 24;
19486                       else
19487                         {
19488                           if (close (fd) != 0)
19489                             result |= 32;
19490                           else
19491                             {
19492                               struct stat st1;
19493                               if (stat (file, &st1) != 0)
19494                                 result |= 40;
19495                               else
19496                                 if (st0.st_atime != st1.st_atime)
19497                                   result |= 64;
19498                             }
19499                         }
19500                     }
19501                 }
19502             }
19503             return result;
19504   ;
19505   return 0;
19506 }
19507 _ACEOF
19508 if ac_fn_c_try_run "$LINENO"; then :
19509   gl_cv_header_working_fcntl_h=yes
19510 else
19511   case $? in #(
19512         4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
19513         64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
19514         68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
19515          *) gl_cv_header_working_fcntl_h='no';;
19516         esac
19517 fi
19518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19519   conftest.$ac_objext conftest.beam conftest.$ac_ext
19520 fi
19521
19522 fi
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
19524 $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
19525
19526   case $gl_cv_header_working_fcntl_h in #(
19527   *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
19528   *) ac_val=1;;
19529   esac
19530
19531 cat >>confdefs.h <<_ACEOF
19532 #define HAVE_WORKING_O_NOATIME $ac_val
19533 _ACEOF
19534
19535
19536   case $gl_cv_header_working_fcntl_h in #(
19537   *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
19538   *) ac_val=1;;
19539   esac
19540
19541 cat >>confdefs.h <<_ACEOF
19542 #define HAVE_WORKING_O_NOFOLLOW $ac_val
19543 _ACEOF
19544
19545
19546 ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
19547 if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
19548   ac_have_decl=1
19549 else
19550   ac_have_decl=0
19551 fi
19552
19553 cat >>confdefs.h <<_ACEOF
19554 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
19555 _ACEOF
19556
19557
19558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
19559 $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
19560 if ${ac_cv_gnu_library_2_1+:} false; then :
19561   $as_echo_n "(cached) " >&6
19562 else
19563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h.  */
19565
19566 #include <features.h>
19567 #ifdef __GNU_LIBRARY__
19568  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
19569   Lucky GNU user
19570  #endif
19571 #endif
19572 #ifdef __UCLIBC__
19573  Lucky user
19574 #endif
19575
19576 _ACEOF
19577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19578   $EGREP "Lucky" >/dev/null 2>&1; then :
19579   ac_cv_gnu_library_2_1=yes
19580 else
19581   ac_cv_gnu_library_2_1=no
19582 fi
19583 rm -f conftest*
19584
19585
19586
19587 fi
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
19589 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
19590
19591     GLIBC21="$ac_cv_gnu_library_2_1"
19592
19593
19594
19595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19596 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19597 if ${gt_cv_val_LC_MESSAGES+:} false; then :
19598   $as_echo_n "(cached) " >&6
19599 else
19600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h.  */
19602 #include <locale.h>
19603 int
19604 main ()
19605 {
19606 return LC_MESSAGES
19607   ;
19608   return 0;
19609 }
19610 _ACEOF
19611 if ac_fn_c_try_link "$LINENO"; then :
19612   gt_cv_val_LC_MESSAGES=yes
19613 else
19614   gt_cv_val_LC_MESSAGES=no
19615 fi
19616 rm -f core conftest.err conftest.$ac_objext \
19617     conftest$ac_exeext conftest.$ac_ext
19618 fi
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
19620 $as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
19621   if test $gt_cv_val_LC_MESSAGES = yes; then
19622
19623 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19624
19625   fi
19626
19627
19628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
19629 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
19630 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
19631   $as_echo_n "(cached) " >&6
19632 else
19633   gt_save_LIBS="$LIBS"
19634      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
19635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636 /* end confdefs.h.  */
19637 #include <CoreFoundation/CFPreferences.h>
19638 int
19639 main ()
19640 {
19641 CFPreferencesCopyAppValue(NULL, NULL)
19642   ;
19643   return 0;
19644 }
19645 _ACEOF
19646 if ac_fn_c_try_link "$LINENO"; then :
19647   gt_cv_func_CFPreferencesCopyAppValue=yes
19648 else
19649   gt_cv_func_CFPreferencesCopyAppValue=no
19650 fi
19651 rm -f core conftest.err conftest.$ac_objext \
19652     conftest$ac_exeext conftest.$ac_ext
19653      LIBS="$gt_save_LIBS"
19654 fi
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
19656 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
19657   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
19658
19659 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
19660
19661   fi
19662     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
19663 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
19664 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
19665   $as_echo_n "(cached) " >&6
19666 else
19667   gt_save_LIBS="$LIBS"
19668      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
19669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h.  */
19671 #include <CoreFoundation/CFLocale.h>
19672 int
19673 main ()
19674 {
19675 CFLocaleCopyCurrent();
19676   ;
19677   return 0;
19678 }
19679 _ACEOF
19680 if ac_fn_c_try_link "$LINENO"; then :
19681   gt_cv_func_CFLocaleCopyCurrent=yes
19682 else
19683   gt_cv_func_CFLocaleCopyCurrent=no
19684 fi
19685 rm -f core conftest.err conftest.$ac_objext \
19686     conftest$ac_exeext conftest.$ac_ext
19687      LIBS="$gt_save_LIBS"
19688 fi
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
19690 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
19691   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
19692
19693 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
19694
19695   fi
19696   INTL_MACOSX_LIBS=
19697   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
19698     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
19699   fi
19700
19701
19702
19703
19704   gl_threads_api=none
19705   LIBTHREAD=
19706   LTLIBTHREAD=
19707   LIBMULTITHREAD=
19708   LTLIBMULTITHREAD=
19709   if test "$gl_use_threads" != no; then
19710         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
19711 $as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
19712 if ${gl_cv_have_weak+:} false; then :
19713   $as_echo_n "(cached) " >&6
19714 else
19715   gl_cv_have_weak=no
19716               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h.  */
19718 extern void xyzzy ();
19719 #pragma weak xyzzy
19720 int
19721 main ()
19722 {
19723 xyzzy();
19724   ;
19725   return 0;
19726 }
19727 _ACEOF
19728 if ac_fn_c_try_link "$LINENO"; then :
19729   gl_cv_have_weak=maybe
19730 fi
19731 rm -f core conftest.err conftest.$ac_objext \
19732     conftest$ac_exeext conftest.$ac_ext
19733        if test $gl_cv_have_weak = maybe; then
19734                            if test "$cross_compiling" = yes; then :
19735                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h.  */
19737 #ifdef __ELF__
19738                Extensible Linking Format
19739                #endif
19740
19741 _ACEOF
19742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19743   $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
19744   gl_cv_have_weak="guessing yes"
19745 else
19746   gl_cv_have_weak="guessing no"
19747 fi
19748 rm -f conftest*
19749
19750
19751 else
19752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h.  */
19754
19755 #include <stdio.h>
19756 #pragma weak fputs
19757 int main ()
19758 {
19759   return (fputs == NULL);
19760 }
19761 _ACEOF
19762 if ac_fn_c_try_run "$LINENO"; then :
19763   gl_cv_have_weak=yes
19764 else
19765   gl_cv_have_weak=no
19766 fi
19767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19768   conftest.$ac_objext conftest.beam conftest.$ac_ext
19769 fi
19770
19771        fi
19772
19773 fi
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
19775 $as_echo "$gl_cv_have_weak" >&6; }
19776     if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
19777       # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
19778       # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
19779       ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
19780 if test "x$ac_cv_header_pthread_h" = xyes; then :
19781   gl_have_pthread_h=yes
19782 else
19783   gl_have_pthread_h=no
19784 fi
19785
19786
19787       if test "$gl_have_pthread_h" = yes; then
19788         # Other possible tests:
19789         #   -lpthreads (FSU threads, PCthreads)
19790         #   -lgthreads
19791         gl_have_pthread=
19792         # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
19793         # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
19794         # the second one only in libpthread, and lock.c needs it.
19795         #
19796         # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04
19797         # needs -pthread for some reason.  See:
19798         # http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00023.html
19799         save_LIBS=$LIBS
19800         for gl_pthread in '' '-pthread'; do
19801           LIBS="$LIBS $gl_pthread"
19802           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h.  */
19804 #include <pthread.h>
19805                  pthread_mutex_t m;
19806                  pthread_mutexattr_t ma;
19807
19808 int
19809 main ()
19810 {
19811 pthread_mutex_lock (&m);
19812                  pthread_mutexattr_init (&ma);
19813   ;
19814   return 0;
19815 }
19816 _ACEOF
19817 if ac_fn_c_try_link "$LINENO"; then :
19818   gl_have_pthread=yes
19819              LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread
19820              LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread
19821 fi
19822 rm -f core conftest.err conftest.$ac_objext \
19823     conftest$ac_exeext conftest.$ac_ext
19824           LIBS=$save_LIBS
19825           test -n "$gl_have_pthread" && break
19826         done
19827
19828         # Test for libpthread by looking for pthread_kill. (Not pthread_self,
19829         # since it is defined as a macro on OSF/1.)
19830         if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then
19831           # The program links fine without libpthread. But it may actually
19832           # need to link with libpthread in order to create multiple threads.
19833           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
19834 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
19835 if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
19836   $as_echo_n "(cached) " >&6
19837 else
19838   ac_check_lib_save_LIBS=$LIBS
19839 LIBS="-lpthread  $LIBS"
19840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h.  */
19842
19843 /* Override any GCC internal prototype to avoid an error.
19844    Use char because int might match the return type of a GCC
19845    builtin and then its argument prototype would still apply.  */
19846 #ifdef __cplusplus
19847 extern "C"
19848 #endif
19849 char pthread_kill ();
19850 int
19851 main ()
19852 {
19853 return pthread_kill ();
19854   ;
19855   return 0;
19856 }
19857 _ACEOF
19858 if ac_fn_c_try_link "$LINENO"; then :
19859   ac_cv_lib_pthread_pthread_kill=yes
19860 else
19861   ac_cv_lib_pthread_pthread_kill=no
19862 fi
19863 rm -f core conftest.err conftest.$ac_objext \
19864     conftest$ac_exeext conftest.$ac_ext
19865 LIBS=$ac_check_lib_save_LIBS
19866 fi
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
19868 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
19869 if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
19870   LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
19871              # On Solaris and HP-UX, most pthread functions exist also in libc.
19872              # Therefore pthread_in_use() needs to actually try to create a
19873              # thread: pthread_create from libc will fail, whereas
19874              # pthread_create will actually create a thread.
19875              case "$host_os" in
19876                solaris* | hpux*)
19877
19878 $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
19879
19880              esac
19881
19882 fi
19883
19884         elif test -z "$gl_have_pthread"; then
19885           # Some library is needed. Try libpthread and libc_r.
19886           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
19887 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
19888 if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
19889   $as_echo_n "(cached) " >&6
19890 else
19891   ac_check_lib_save_LIBS=$LIBS
19892 LIBS="-lpthread  $LIBS"
19893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h.  */
19895
19896 /* Override any GCC internal prototype to avoid an error.
19897    Use char because int might match the return type of a GCC
19898    builtin and then its argument prototype would still apply.  */
19899 #ifdef __cplusplus
19900 extern "C"
19901 #endif
19902 char pthread_kill ();
19903 int
19904 main ()
19905 {
19906 return pthread_kill ();
19907   ;
19908   return 0;
19909 }
19910 _ACEOF
19911 if ac_fn_c_try_link "$LINENO"; then :
19912   ac_cv_lib_pthread_pthread_kill=yes
19913 else
19914   ac_cv_lib_pthread_pthread_kill=no
19915 fi
19916 rm -f core conftest.err conftest.$ac_objext \
19917     conftest$ac_exeext conftest.$ac_ext
19918 LIBS=$ac_check_lib_save_LIBS
19919 fi
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
19921 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
19922 if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
19923   gl_have_pthread=yes
19924              LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
19925              LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
19926 fi
19927
19928           if test -z "$gl_have_pthread"; then
19929             # For FreeBSD 4.
19930             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
19931 $as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
19932 if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
19933   $as_echo_n "(cached) " >&6
19934 else
19935   ac_check_lib_save_LIBS=$LIBS
19936 LIBS="-lc_r  $LIBS"
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h.  */
19939
19940 /* Override any GCC internal prototype to avoid an error.
19941    Use char because int might match the return type of a GCC
19942    builtin and then its argument prototype would still apply.  */
19943 #ifdef __cplusplus
19944 extern "C"
19945 #endif
19946 char pthread_kill ();
19947 int
19948 main ()
19949 {
19950 return pthread_kill ();
19951   ;
19952   return 0;
19953 }
19954 _ACEOF
19955 if ac_fn_c_try_link "$LINENO"; then :
19956   ac_cv_lib_c_r_pthread_kill=yes
19957 else
19958   ac_cv_lib_c_r_pthread_kill=no
19959 fi
19960 rm -f core conftest.err conftest.$ac_objext \
19961     conftest$ac_exeext conftest.$ac_ext
19962 LIBS=$ac_check_lib_save_LIBS
19963 fi
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
19965 $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
19966 if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
19967   gl_have_pthread=yes
19968                LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
19969                LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
19970 fi
19971
19972           fi
19973         fi
19974         if test -n "$gl_have_pthread"; then
19975           gl_threads_api=posix
19976
19977 $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
19978
19979           if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
19980             if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
19981
19982 $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
19983
19984               LIBTHREAD=
19985               LTLIBTHREAD=
19986             fi
19987           fi
19988         fi
19989       fi
19990     fi
19991     if test -z "$gl_have_pthread"; then
19992       if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
19993         gl_have_solaristhread=
19994         gl_save_LIBS="$LIBS"
19995         LIBS="$LIBS -lthread"
19996         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997 /* end confdefs.h.  */
19998
19999 #include <thread.h>
20000 #include <synch.h>
20001
20002 int
20003 main ()
20004 {
20005 thr_self();
20006   ;
20007   return 0;
20008 }
20009 _ACEOF
20010 if ac_fn_c_try_link "$LINENO"; then :
20011   gl_have_solaristhread=yes
20012 fi
20013 rm -f core conftest.err conftest.$ac_objext \
20014     conftest$ac_exeext conftest.$ac_ext
20015         LIBS="$gl_save_LIBS"
20016         if test -n "$gl_have_solaristhread"; then
20017           gl_threads_api=solaris
20018           LIBTHREAD=-lthread
20019           LTLIBTHREAD=-lthread
20020           LIBMULTITHREAD="$LIBTHREAD"
20021           LTLIBMULTITHREAD="$LTLIBTHREAD"
20022
20023 $as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
20024
20025           if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
20026
20027 $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
20028
20029             LIBTHREAD=
20030             LTLIBTHREAD=
20031           fi
20032         fi
20033       fi
20034     fi
20035     if test "$gl_use_threads" = pth; then
20036       gl_save_CPPFLAGS="$CPPFLAGS"
20037
20038
20039
20040
20041
20042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
20043 $as_echo_n "checking how to link with libpth... " >&6; }
20044 if ${ac_cv_libpth_libs+:} false; then :
20045   $as_echo_n "(cached) " >&6
20046 else
20047
20048
20049
20050
20051
20052
20053
20054
20055     use_additional=yes
20056
20057   acl_save_prefix="$prefix"
20058   prefix="$acl_final_prefix"
20059   acl_save_exec_prefix="$exec_prefix"
20060   exec_prefix="$acl_final_exec_prefix"
20061
20062     eval additional_includedir=\"$includedir\"
20063     eval additional_libdir=\"$libdir\"
20064
20065   exec_prefix="$acl_save_exec_prefix"
20066   prefix="$acl_save_prefix"
20067
20068
20069 # Check whether --with-libpth-prefix was given.
20070 if test "${with_libpth_prefix+set}" = set; then :
20071   withval=$with_libpth_prefix;
20072     if test "X$withval" = "Xno"; then
20073       use_additional=no
20074     else
20075       if test "X$withval" = "X"; then
20076
20077   acl_save_prefix="$prefix"
20078   prefix="$acl_final_prefix"
20079   acl_save_exec_prefix="$exec_prefix"
20080   exec_prefix="$acl_final_exec_prefix"
20081
20082           eval additional_includedir=\"$includedir\"
20083           eval additional_libdir=\"$libdir\"
20084
20085   exec_prefix="$acl_save_exec_prefix"
20086   prefix="$acl_save_prefix"
20087
20088       else
20089         additional_includedir="$withval/include"
20090         additional_libdir="$withval/$acl_libdirstem"
20091         if test "$acl_libdirstem2" != "$acl_libdirstem" \
20092            && ! test -d "$withval/$acl_libdirstem"; then
20093           additional_libdir="$withval/$acl_libdirstem2"
20094         fi
20095       fi
20096     fi
20097
20098 fi
20099
20100       LIBPTH=
20101   LTLIBPTH=
20102   INCPTH=
20103   LIBPTH_PREFIX=
20104       HAVE_LIBPTH=
20105   rpathdirs=
20106   ltrpathdirs=
20107   names_already_handled=
20108   names_next_round='pth '
20109   while test -n "$names_next_round"; do
20110     names_this_round="$names_next_round"
20111     names_next_round=
20112     for name in $names_this_round; do
20113       already_handled=
20114       for n in $names_already_handled; do
20115         if test "$n" = "$name"; then
20116           already_handled=yes
20117           break
20118         fi
20119       done
20120       if test -z "$already_handled"; then
20121         names_already_handled="$names_already_handled $name"
20122                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20123         eval value=\"\$HAVE_LIB$uppername\"
20124         if test -n "$value"; then
20125           if test "$value" = yes; then
20126             eval value=\"\$LIB$uppername\"
20127             test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
20128             eval value=\"\$LTLIB$uppername\"
20129             test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
20130           else
20131                                     :
20132           fi
20133         else
20134                               found_dir=
20135           found_la=
20136           found_so=
20137           found_a=
20138           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
20139           if test -n "$acl_shlibext"; then
20140             shrext=".$acl_shlibext"             # typically: shrext=.so
20141           else
20142             shrext=
20143           fi
20144           if test $use_additional = yes; then
20145             dir="$additional_libdir"
20146                                     if test -n "$acl_shlibext"; then
20147               if test -f "$dir/$libname$shrext"; then
20148                 found_dir="$dir"
20149                 found_so="$dir/$libname$shrext"
20150               else
20151                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20152                   ver=`(cd "$dir" && \
20153                         for f in "$libname$shrext".*; do echo "$f"; done \
20154                         | sed -e "s,^$libname$shrext\\\\.,," \
20155                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20156                         | sed 1q ) 2>/dev/null`
20157                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20158                     found_dir="$dir"
20159                     found_so="$dir/$libname$shrext.$ver"
20160                   fi
20161                 else
20162                   eval library_names=\"$acl_library_names_spec\"
20163                   for f in $library_names; do
20164                     if test -f "$dir/$f"; then
20165                       found_dir="$dir"
20166                       found_so="$dir/$f"
20167                       break
20168                     fi
20169                   done
20170                 fi
20171               fi
20172             fi
20173                         if test "X$found_dir" = "X"; then
20174               if test -f "$dir/$libname.$acl_libext"; then
20175                 found_dir="$dir"
20176                 found_a="$dir/$libname.$acl_libext"
20177               fi
20178             fi
20179             if test "X$found_dir" != "X"; then
20180               if test -f "$dir/$libname.la"; then
20181                 found_la="$dir/$libname.la"
20182               fi
20183             fi
20184           fi
20185           if test "X$found_dir" = "X"; then
20186             for x in $LDFLAGS $LTLIBPTH; do
20187
20188   acl_save_prefix="$prefix"
20189   prefix="$acl_final_prefix"
20190   acl_save_exec_prefix="$exec_prefix"
20191   exec_prefix="$acl_final_exec_prefix"
20192   eval x=\"$x\"
20193   exec_prefix="$acl_save_exec_prefix"
20194   prefix="$acl_save_prefix"
20195
20196               case "$x" in
20197                 -L*)
20198                   dir=`echo "X$x" | sed -e 's/^X-L//'`
20199                                     if test -n "$acl_shlibext"; then
20200                     if test -f "$dir/$libname$shrext"; then
20201                       found_dir="$dir"
20202                       found_so="$dir/$libname$shrext"
20203                     else
20204                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20205                         ver=`(cd "$dir" && \
20206                               for f in "$libname$shrext".*; do echo "$f"; done \
20207                               | sed -e "s,^$libname$shrext\\\\.,," \
20208                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20209                               | sed 1q ) 2>/dev/null`
20210                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20211                           found_dir="$dir"
20212                           found_so="$dir/$libname$shrext.$ver"
20213                         fi
20214                       else
20215                         eval library_names=\"$acl_library_names_spec\"
20216                         for f in $library_names; do
20217                           if test -f "$dir/$f"; then
20218                             found_dir="$dir"
20219                             found_so="$dir/$f"
20220                             break
20221                           fi
20222                         done
20223                       fi
20224                     fi
20225                   fi
20226                                     if test "X$found_dir" = "X"; then
20227                     if test -f "$dir/$libname.$acl_libext"; then
20228                       found_dir="$dir"
20229                       found_a="$dir/$libname.$acl_libext"
20230                     fi
20231                   fi
20232                   if test "X$found_dir" != "X"; then
20233                     if test -f "$dir/$libname.la"; then
20234                       found_la="$dir/$libname.la"
20235                     fi
20236                   fi
20237                   ;;
20238               esac
20239               if test "X$found_dir" != "X"; then
20240                 break
20241               fi
20242             done
20243           fi
20244           if test "X$found_dir" != "X"; then
20245                         LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
20246             if test "X$found_so" != "X"; then
20247                                                         if test "$enable_rpath" = no \
20248                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20249                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20250                                 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
20251               else
20252                                                                                 haveit=
20253                 for x in $ltrpathdirs; do
20254                   if test "X$x" = "X$found_dir"; then
20255                     haveit=yes
20256                     break
20257                   fi
20258                 done
20259                 if test -z "$haveit"; then
20260                   ltrpathdirs="$ltrpathdirs $found_dir"
20261                 fi
20262                                 if test "$acl_hardcode_direct" = yes; then
20263                                                       LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
20264                 else
20265                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
20266                                                             LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
20267                                                             haveit=
20268                     for x in $rpathdirs; do
20269                       if test "X$x" = "X$found_dir"; then
20270                         haveit=yes
20271                         break
20272                       fi
20273                     done
20274                     if test -z "$haveit"; then
20275                       rpathdirs="$rpathdirs $found_dir"
20276                     fi
20277                   else
20278                                                                                 haveit=
20279                     for x in $LDFLAGS $LIBPTH; do
20280
20281   acl_save_prefix="$prefix"
20282   prefix="$acl_final_prefix"
20283   acl_save_exec_prefix="$exec_prefix"
20284   exec_prefix="$acl_final_exec_prefix"
20285   eval x=\"$x\"
20286   exec_prefix="$acl_save_exec_prefix"
20287   prefix="$acl_save_prefix"
20288
20289                       if test "X$x" = "X-L$found_dir"; then
20290                         haveit=yes
20291                         break
20292                       fi
20293                     done
20294                     if test -z "$haveit"; then
20295                       LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
20296                     fi
20297                     if test "$acl_hardcode_minus_L" != no; then
20298                                                                                         LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
20299                     else
20300                                                                                                                                                                                 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
20301                     fi
20302                   fi
20303                 fi
20304               fi
20305             else
20306               if test "X$found_a" != "X"; then
20307                                 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
20308               else
20309                                                 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
20310               fi
20311             fi
20312                         additional_includedir=
20313             case "$found_dir" in
20314               */$acl_libdirstem | */$acl_libdirstem/)
20315                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20316                 if test "$name" = 'pth'; then
20317                   LIBPTH_PREFIX="$basedir"
20318                 fi
20319                 additional_includedir="$basedir/include"
20320                 ;;
20321               */$acl_libdirstem2 | */$acl_libdirstem2/)
20322                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20323                 if test "$name" = 'pth'; then
20324                   LIBPTH_PREFIX="$basedir"
20325                 fi
20326                 additional_includedir="$basedir/include"
20327                 ;;
20328             esac
20329             if test "X$additional_includedir" != "X"; then
20330                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
20331                 haveit=
20332                 if test "X$additional_includedir" = "X/usr/local/include"; then
20333                   if test -n "$GCC"; then
20334                     case $host_os in
20335                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20336                     esac
20337                   fi
20338                 fi
20339                 if test -z "$haveit"; then
20340                   for x in $CPPFLAGS $INCPTH; do
20341
20342   acl_save_prefix="$prefix"
20343   prefix="$acl_final_prefix"
20344   acl_save_exec_prefix="$exec_prefix"
20345   exec_prefix="$acl_final_exec_prefix"
20346   eval x=\"$x\"
20347   exec_prefix="$acl_save_exec_prefix"
20348   prefix="$acl_save_prefix"
20349
20350                     if test "X$x" = "X-I$additional_includedir"; then
20351                       haveit=yes
20352                       break
20353                     fi
20354                   done
20355                   if test -z "$haveit"; then
20356                     if test -d "$additional_includedir"; then
20357                                             INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
20358                     fi
20359                   fi
20360                 fi
20361               fi
20362             fi
20363                         if test -n "$found_la"; then
20364                                                         save_libdir="$libdir"
20365               case "$found_la" in
20366                 */* | *\\*) . "$found_la" ;;
20367                 *) . "./$found_la" ;;
20368               esac
20369               libdir="$save_libdir"
20370                             for dep in $dependency_libs; do
20371                 case "$dep" in
20372                   -L*)
20373                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
20374                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20375                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20376                       haveit=
20377                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20378                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20379                         if test -n "$GCC"; then
20380                           case $host_os in
20381                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20382                           esac
20383                         fi
20384                       fi
20385                       if test -z "$haveit"; then
20386                         haveit=
20387                         for x in $LDFLAGS $LIBPTH; do
20388
20389   acl_save_prefix="$prefix"
20390   prefix="$acl_final_prefix"
20391   acl_save_exec_prefix="$exec_prefix"
20392   exec_prefix="$acl_final_exec_prefix"
20393   eval x=\"$x\"
20394   exec_prefix="$acl_save_exec_prefix"
20395   prefix="$acl_save_prefix"
20396
20397                           if test "X$x" = "X-L$additional_libdir"; then
20398                             haveit=yes
20399                             break
20400                           fi
20401                         done
20402                         if test -z "$haveit"; then
20403                           if test -d "$additional_libdir"; then
20404                                                         LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
20405                           fi
20406                         fi
20407                         haveit=
20408                         for x in $LDFLAGS $LTLIBPTH; do
20409
20410   acl_save_prefix="$prefix"
20411   prefix="$acl_final_prefix"
20412   acl_save_exec_prefix="$exec_prefix"
20413   exec_prefix="$acl_final_exec_prefix"
20414   eval x=\"$x\"
20415   exec_prefix="$acl_save_exec_prefix"
20416   prefix="$acl_save_prefix"
20417
20418                           if test "X$x" = "X-L$additional_libdir"; then
20419                             haveit=yes
20420                             break
20421                           fi
20422                         done
20423                         if test -z "$haveit"; then
20424                           if test -d "$additional_libdir"; then
20425                                                         LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
20426                           fi
20427                         fi
20428                       fi
20429                     fi
20430                     ;;
20431                   -R*)
20432                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
20433                     if test "$enable_rpath" != no; then
20434                                                                   haveit=
20435                       for x in $rpathdirs; do
20436                         if test "X$x" = "X$dir"; then
20437                           haveit=yes
20438                           break
20439                         fi
20440                       done
20441                       if test -z "$haveit"; then
20442                         rpathdirs="$rpathdirs $dir"
20443                       fi
20444                                                                   haveit=
20445                       for x in $ltrpathdirs; do
20446                         if test "X$x" = "X$dir"; then
20447                           haveit=yes
20448                           break
20449                         fi
20450                       done
20451                       if test -z "$haveit"; then
20452                         ltrpathdirs="$ltrpathdirs $dir"
20453                       fi
20454                     fi
20455                     ;;
20456                   -l*)
20457                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20458                     ;;
20459                   *.la)
20460                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20461                     ;;
20462                   *)
20463                                         LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
20464                     LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
20465                     ;;
20466                 esac
20467               done
20468             fi
20469           else
20470                                                             LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
20471             LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
20472           fi
20473         fi
20474       fi
20475     done
20476   done
20477   if test "X$rpathdirs" != "X"; then
20478     if test -n "$acl_hardcode_libdir_separator"; then
20479                         alldirs=
20480       for found_dir in $rpathdirs; do
20481         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20482       done
20483             acl_save_libdir="$libdir"
20484       libdir="$alldirs"
20485       eval flag=\"$acl_hardcode_libdir_flag_spec\"
20486       libdir="$acl_save_libdir"
20487       LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
20488     else
20489             for found_dir in $rpathdirs; do
20490         acl_save_libdir="$libdir"
20491         libdir="$found_dir"
20492         eval flag=\"$acl_hardcode_libdir_flag_spec\"
20493         libdir="$acl_save_libdir"
20494         LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
20495       done
20496     fi
20497   fi
20498   if test "X$ltrpathdirs" != "X"; then
20499             for found_dir in $ltrpathdirs; do
20500       LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
20501     done
20502   fi
20503
20504
20505
20506
20507
20508
20509     ac_cv_libpth_libs="$LIBPTH"
20510     ac_cv_libpth_ltlibs="$LTLIBPTH"
20511     ac_cv_libpth_cppflags="$INCPTH"
20512     ac_cv_libpth_prefix="$LIBPTH_PREFIX"
20513
20514 fi
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
20516 $as_echo "$ac_cv_libpth_libs" >&6; }
20517   LIBPTH="$ac_cv_libpth_libs"
20518   LTLIBPTH="$ac_cv_libpth_ltlibs"
20519   INCPTH="$ac_cv_libpth_cppflags"
20520   LIBPTH_PREFIX="$ac_cv_libpth_prefix"
20521
20522   for element in $INCPTH; do
20523     haveit=
20524     for x in $CPPFLAGS; do
20525
20526   acl_save_prefix="$prefix"
20527   prefix="$acl_final_prefix"
20528   acl_save_exec_prefix="$exec_prefix"
20529   exec_prefix="$acl_final_exec_prefix"
20530   eval x=\"$x\"
20531   exec_prefix="$acl_save_exec_prefix"
20532   prefix="$acl_save_prefix"
20533
20534       if test "X$x" = "X$element"; then
20535         haveit=yes
20536         break
20537       fi
20538     done
20539     if test -z "$haveit"; then
20540       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
20541     fi
20542   done
20543
20544
20545
20546
20547       HAVE_LIBPTH=yes
20548
20549
20550
20551       gl_have_pth=
20552       gl_save_LIBS="$LIBS"
20553       LIBS="$LIBS $LIBPTH"
20554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20555 /* end confdefs.h.  */
20556 #include <pth.h>
20557 int
20558 main ()
20559 {
20560 pth_self();
20561   ;
20562   return 0;
20563 }
20564 _ACEOF
20565 if ac_fn_c_try_link "$LINENO"; then :
20566   gl_have_pth=yes
20567 fi
20568 rm -f core conftest.err conftest.$ac_objext \
20569     conftest$ac_exeext conftest.$ac_ext
20570       LIBS="$gl_save_LIBS"
20571       if test -n "$gl_have_pth"; then
20572         gl_threads_api=pth
20573         LIBTHREAD="$LIBPTH"
20574         LTLIBTHREAD="$LTLIBPTH"
20575         LIBMULTITHREAD="$LIBTHREAD"
20576         LTLIBMULTITHREAD="$LTLIBTHREAD"
20577
20578 $as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
20579
20580         if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
20581           if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
20582
20583 $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
20584
20585             LIBTHREAD=
20586             LTLIBTHREAD=
20587           fi
20588         fi
20589       else
20590         CPPFLAGS="$gl_save_CPPFLAGS"
20591       fi
20592     fi
20593     if test -z "$gl_have_pthread"; then
20594       case "$gl_use_threads" in
20595         yes | windows | win32) # The 'win32' is for backward compatibility.
20596           if { case "$host_os" in
20597                  mingw*) true;;
20598                  *) false;;
20599                esac
20600              }; then
20601             gl_threads_api=windows
20602
20603 $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
20604
20605           fi
20606           ;;
20607       esac
20608     fi
20609   fi
20610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
20611 $as_echo_n "checking for multithread API to use... " >&6; }
20612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
20613 $as_echo "$gl_threads_api" >&6; }
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624   GNULIB__EXIT=0;
20625   GNULIB_ATOLL=0;
20626   GNULIB_CALLOC_POSIX=0;
20627   GNULIB_CANONICALIZE_FILE_NAME=0;
20628   GNULIB_GETLOADAVG=0;
20629   GNULIB_GETSUBOPT=0;
20630   GNULIB_GRANTPT=0;
20631   GNULIB_MALLOC_POSIX=0;
20632   GNULIB_MBTOWC=0;
20633   GNULIB_MKDTEMP=0;
20634   GNULIB_MKOSTEMP=0;
20635   GNULIB_MKOSTEMPS=0;
20636   GNULIB_MKSTEMP=0;
20637   GNULIB_MKSTEMPS=0;
20638   GNULIB_POSIX_OPENPT=0;
20639   GNULIB_PTSNAME=0;
20640   GNULIB_PTSNAME_R=0;
20641   GNULIB_PUTENV=0;
20642   GNULIB_QSORT_R=0;
20643   GNULIB_RANDOM=0;
20644   GNULIB_RANDOM_R=0;
20645   GNULIB_REALLOC_POSIX=0;
20646   GNULIB_REALPATH=0;
20647   GNULIB_RPMATCH=0;
20648   GNULIB_SECURE_GETENV=0;
20649   GNULIB_SETENV=0;
20650   GNULIB_STRTOD=0;
20651   GNULIB_STRTOLL=0;
20652   GNULIB_STRTOULL=0;
20653   GNULIB_SYSTEM_POSIX=0;
20654   GNULIB_UNLOCKPT=0;
20655   GNULIB_UNSETENV=0;
20656   GNULIB_WCTOMB=0;
20657     HAVE__EXIT=1;
20658   HAVE_ATOLL=1;
20659   HAVE_CANONICALIZE_FILE_NAME=1;
20660   HAVE_DECL_GETLOADAVG=1;
20661   HAVE_GETSUBOPT=1;
20662   HAVE_GRANTPT=1;
20663   HAVE_MKDTEMP=1;
20664   HAVE_MKOSTEMP=1;
20665   HAVE_MKOSTEMPS=1;
20666   HAVE_MKSTEMP=1;
20667   HAVE_MKSTEMPS=1;
20668   HAVE_POSIX_OPENPT=1;
20669   HAVE_PTSNAME=1;
20670   HAVE_PTSNAME_R=1;
20671   HAVE_QSORT_R=1;
20672   HAVE_RANDOM=1;
20673   HAVE_RANDOM_H=1;
20674   HAVE_RANDOM_R=1;
20675   HAVE_REALPATH=1;
20676   HAVE_RPMATCH=1;
20677   HAVE_SECURE_GETENV=1;
20678   HAVE_SETENV=1;
20679   HAVE_DECL_SETENV=1;
20680   HAVE_STRTOD=1;
20681   HAVE_STRTOLL=1;
20682   HAVE_STRTOULL=1;
20683   HAVE_STRUCT_RANDOM_DATA=1;
20684   HAVE_SYS_LOADAVG_H=0;
20685   HAVE_UNLOCKPT=1;
20686   HAVE_DECL_UNSETENV=1;
20687   REPLACE_CALLOC=0;
20688   REPLACE_CANONICALIZE_FILE_NAME=0;
20689   REPLACE_MALLOC=0;
20690   REPLACE_MBTOWC=0;
20691   REPLACE_MKSTEMP=0;
20692   REPLACE_PTSNAME=0;
20693   REPLACE_PTSNAME_R=0;
20694   REPLACE_PUTENV=0;
20695   REPLACE_QSORT_R=0;
20696   REPLACE_RANDOM_R=0;
20697   REPLACE_REALLOC=0;
20698   REPLACE_REALPATH=0;
20699   REPLACE_SETENV=0;
20700   REPLACE_STRTOD=0;
20701   REPLACE_UNSETENV=0;
20702   REPLACE_WCTOMB=0;
20703
20704
20705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
20706 $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
20707 if ${gl_cv_func_malloc_posix+:} false; then :
20708   $as_echo_n "(cached) " >&6
20709 else
20710
20711                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h.  */
20713
20714 int
20715 main ()
20716 {
20717 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
20718              choke me
20719              #endif
20720
20721   ;
20722   return 0;
20723 }
20724 _ACEOF
20725 if ac_fn_c_try_compile "$LINENO"; then :
20726   gl_cv_func_malloc_posix=yes
20727 else
20728   gl_cv_func_malloc_posix=no
20729 fi
20730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20731
20732 fi
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
20734 $as_echo "$gl_cv_func_malloc_posix" >&6; }
20735
20736
20737
20738       for ac_header in stdlib.h
20739 do :
20740   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
20741 if test "x$ac_cv_header_stdlib_h" = xyes; then :
20742   cat >>confdefs.h <<_ACEOF
20743 #define HAVE_STDLIB_H 1
20744 _ACEOF
20745
20746 fi
20747
20748 done
20749
20750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
20751 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
20752 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
20753   $as_echo_n "(cached) " >&6
20754 else
20755   if test "$cross_compiling" = yes; then :
20756   case "$host_os" in
20757           # Guess yes on platforms where we know the result.
20758           *-gnu* | freebsd* | netbsd* | openbsd* \
20759           | hpux* | solaris* | cygwin* | mingw*)
20760             ac_cv_func_malloc_0_nonnull=yes ;;
20761           # If we don't know, assume the worst.
20762           *) ac_cv_func_malloc_0_nonnull=no ;;
20763         esac
20764
20765 else
20766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h.  */
20768 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
20769             # include <stdlib.h>
20770             #else
20771             char *malloc ();
20772             #endif
20773
20774 int
20775 main ()
20776 {
20777 char *p = malloc (0);
20778             int result = !p;
20779             free (p);
20780             return result;
20781   ;
20782   return 0;
20783 }
20784
20785 _ACEOF
20786 if ac_fn_c_try_run "$LINENO"; then :
20787   ac_cv_func_malloc_0_nonnull=yes
20788 else
20789   ac_cv_func_malloc_0_nonnull=no
20790 fi
20791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20792   conftest.$ac_objext conftest.beam conftest.$ac_ext
20793 fi
20794
20795
20796 fi
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
20798 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
20799   if test $ac_cv_func_malloc_0_nonnull = yes; then :
20800   gl_cv_func_malloc_0_nonnull=1
20801 else
20802   gl_cv_func_malloc_0_nonnull=0
20803 fi
20804
20805
20806 cat >>confdefs.h <<_ACEOF
20807 #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
20808 _ACEOF
20809
20810
20811
20812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
20813 $as_echo_n "checking for unsigned long long int... " >&6; }
20814 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
20815   $as_echo_n "(cached) " >&6
20816 else
20817   ac_cv_type_unsigned_long_long_int=yes
20818      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
20819        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20820 /* end confdefs.h.  */
20821
20822   /* For now, do not test the preprocessor; as of 2007 there are too many
20823          implementations with broken preprocessors.  Perhaps this can
20824          be revisited in 2012.  In the meantime, code should not expect
20825          #if to work with literals wider than 32 bits.  */
20826       /* Test literals.  */
20827       long long int ll = 9223372036854775807ll;
20828       long long int nll = -9223372036854775807LL;
20829       unsigned long long int ull = 18446744073709551615ULL;
20830       /* Test constant expressions.   */
20831       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
20832                      ? 1 : -1)];
20833       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
20834                      ? 1 : -1)];
20835       int i = 63;
20836 int
20837 main ()
20838 {
20839 /* Test availability of runtime routines for shift and division.  */
20840       long long int llmax = 9223372036854775807ll;
20841       unsigned long long int ullmax = 18446744073709551615ull;
20842       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
20843               | (llmax / ll) | (llmax % ll)
20844               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
20845               | (ullmax / ull) | (ullmax % ull));
20846   ;
20847   return 0;
20848 }
20849
20850 _ACEOF
20851 if ac_fn_c_try_link "$LINENO"; then :
20852
20853 else
20854   ac_cv_type_unsigned_long_long_int=no
20855 fi
20856 rm -f core conftest.err conftest.$ac_objext \
20857     conftest$ac_exeext conftest.$ac_ext
20858      fi
20859 fi
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
20861 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
20862   if test $ac_cv_type_unsigned_long_long_int = yes; then
20863
20864 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
20865
20866   fi
20867
20868
20869
20870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
20871 $as_echo_n "checking for long long int... " >&6; }
20872 if ${ac_cv_type_long_long_int+:} false; then :
20873   $as_echo_n "(cached) " >&6
20874 else
20875   ac_cv_type_long_long_int=yes
20876       if test "x${ac_cv_prog_cc_c99-no}" = xno; then
20877         ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
20878         if test $ac_cv_type_long_long_int = yes; then
20879                                         if test "$cross_compiling" = yes; then :
20880   :
20881 else
20882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h.  */
20884 #include <limits.h>
20885                  #ifndef LLONG_MAX
20886                  # define HALF \
20887                           (1LL << (sizeof (long long int) * CHAR_BIT - 2))
20888                  # define LLONG_MAX (HALF - 1 + HALF)
20889                  #endif
20890 int
20891 main ()
20892 {
20893 long long int n = 1;
20894                  int i;
20895                  for (i = 0; ; i++)
20896                    {
20897                      long long int m = n << i;
20898                      if (m >> i != n)
20899                        return 1;
20900                      if (LLONG_MAX / 2 < m)
20901                        break;
20902                    }
20903                  return 0;
20904   ;
20905   return 0;
20906 }
20907 _ACEOF
20908 if ac_fn_c_try_run "$LINENO"; then :
20909
20910 else
20911   ac_cv_type_long_long_int=no
20912 fi
20913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20914   conftest.$ac_objext conftest.beam conftest.$ac_ext
20915 fi
20916
20917         fi
20918       fi
20919 fi
20920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
20921 $as_echo "$ac_cv_type_long_long_int" >&6; }
20922   if test $ac_cv_type_long_long_int = yes; then
20923
20924 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
20925
20926   fi
20927
20928
20929
20930
20931
20932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
20933 $as_echo_n "checking for mbstate_t... " >&6; }
20934 if ${ac_cv_type_mbstate_t+:} false; then :
20935   $as_echo_n "(cached) " >&6
20936 else
20937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h.  */
20939 $ac_includes_default
20940 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
20941    <wchar.h>.
20942    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
20943    included before <wchar.h>.  */
20944 #include <stddef.h>
20945 #include <stdio.h>
20946 #include <time.h>
20947 #include <wchar.h>
20948 int
20949 main ()
20950 {
20951 mbstate_t x; return sizeof x;
20952   ;
20953   return 0;
20954 }
20955 _ACEOF
20956 if ac_fn_c_try_compile "$LINENO"; then :
20957   ac_cv_type_mbstate_t=yes
20958 else
20959   ac_cv_type_mbstate_t=no
20960 fi
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20962 fi
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
20964 $as_echo "$ac_cv_type_mbstate_t" >&6; }
20965    if test $ac_cv_type_mbstate_t = yes; then
20966
20967 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
20968
20969    else
20970
20971 $as_echo "#define mbstate_t int" >>confdefs.h
20972
20973    fi
20974
20975
20976   GNULIB_BTOWC=0;
20977   GNULIB_WCTOB=0;
20978   GNULIB_MBSINIT=0;
20979   GNULIB_MBRTOWC=0;
20980   GNULIB_MBRLEN=0;
20981   GNULIB_MBSRTOWCS=0;
20982   GNULIB_MBSNRTOWCS=0;
20983   GNULIB_WCRTOMB=0;
20984   GNULIB_WCSRTOMBS=0;
20985   GNULIB_WCSNRTOMBS=0;
20986   GNULIB_WCWIDTH=0;
20987   GNULIB_WMEMCHR=0;
20988   GNULIB_WMEMCMP=0;
20989   GNULIB_WMEMCPY=0;
20990   GNULIB_WMEMMOVE=0;
20991   GNULIB_WMEMSET=0;
20992   GNULIB_WCSLEN=0;
20993   GNULIB_WCSNLEN=0;
20994   GNULIB_WCSCPY=0;
20995   GNULIB_WCPCPY=0;
20996   GNULIB_WCSNCPY=0;
20997   GNULIB_WCPNCPY=0;
20998   GNULIB_WCSCAT=0;
20999   GNULIB_WCSNCAT=0;
21000   GNULIB_WCSCMP=0;
21001   GNULIB_WCSNCMP=0;
21002   GNULIB_WCSCASECMP=0;
21003   GNULIB_WCSNCASECMP=0;
21004   GNULIB_WCSCOLL=0;
21005   GNULIB_WCSXFRM=0;
21006   GNULIB_WCSDUP=0;
21007   GNULIB_WCSCHR=0;
21008   GNULIB_WCSRCHR=0;
21009   GNULIB_WCSCSPN=0;
21010   GNULIB_WCSSPN=0;
21011   GNULIB_WCSPBRK=0;
21012   GNULIB_WCSSTR=0;
21013   GNULIB_WCSTOK=0;
21014   GNULIB_WCSWIDTH=0;
21015     HAVE_BTOWC=1;
21016   HAVE_MBSINIT=1;
21017   HAVE_MBRTOWC=1;
21018   HAVE_MBRLEN=1;
21019   HAVE_MBSRTOWCS=1;
21020   HAVE_MBSNRTOWCS=1;
21021   HAVE_WCRTOMB=1;
21022   HAVE_WCSRTOMBS=1;
21023   HAVE_WCSNRTOMBS=1;
21024   HAVE_WMEMCHR=1;
21025   HAVE_WMEMCMP=1;
21026   HAVE_WMEMCPY=1;
21027   HAVE_WMEMMOVE=1;
21028   HAVE_WMEMSET=1;
21029   HAVE_WCSLEN=1;
21030   HAVE_WCSNLEN=1;
21031   HAVE_WCSCPY=1;
21032   HAVE_WCPCPY=1;
21033   HAVE_WCSNCPY=1;
21034   HAVE_WCPNCPY=1;
21035   HAVE_WCSCAT=1;
21036   HAVE_WCSNCAT=1;
21037   HAVE_WCSCMP=1;
21038   HAVE_WCSNCMP=1;
21039   HAVE_WCSCASECMP=1;
21040   HAVE_WCSNCASECMP=1;
21041   HAVE_WCSCOLL=1;
21042   HAVE_WCSXFRM=1;
21043   HAVE_WCSDUP=1;
21044   HAVE_WCSCHR=1;
21045   HAVE_WCSRCHR=1;
21046   HAVE_WCSCSPN=1;
21047   HAVE_WCSSPN=1;
21048   HAVE_WCSPBRK=1;
21049   HAVE_WCSSTR=1;
21050   HAVE_WCSTOK=1;
21051   HAVE_WCSWIDTH=1;
21052   HAVE_DECL_WCTOB=1;
21053   HAVE_DECL_WCWIDTH=1;
21054   REPLACE_MBSTATE_T=0;
21055   REPLACE_BTOWC=0;
21056   REPLACE_WCTOB=0;
21057   REPLACE_MBSINIT=0;
21058   REPLACE_MBRTOWC=0;
21059   REPLACE_MBRLEN=0;
21060   REPLACE_MBSRTOWCS=0;
21061   REPLACE_MBSNRTOWCS=0;
21062   REPLACE_WCRTOMB=0;
21063   REPLACE_WCSRTOMBS=0;
21064   REPLACE_WCSNRTOMBS=0;
21065   REPLACE_WCWIDTH=0;
21066   REPLACE_WCSWIDTH=0;
21067
21068
21069
21070
21071
21072
21073
21074
21075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
21076 $as_echo_n "checking for a traditional japanese locale... " >&6; }
21077 if ${gt_cv_locale_ja+:} false; then :
21078   $as_echo_n "(cached) " >&6
21079 else
21080
21081     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21082 /* end confdefs.h.  */
21083
21084 #include <locale.h>
21085 #include <time.h>
21086 #if HAVE_LANGINFO_CODESET
21087 # include <langinfo.h>
21088 #endif
21089 #include <stdlib.h>
21090 #include <string.h>
21091 struct tm t;
21092 char buf[16];
21093 int main ()
21094 {
21095   const char *p;
21096   /* Check whether the given locale name is recognized by the system.  */
21097 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
21098   /* On native Windows, setlocale(category, "") looks at the system settings,
21099      not at the environment variables.  Also, when an encoding suffix such
21100      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
21101      category of the locale to "C".  */
21102   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
21103       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
21104     return 1;
21105 #else
21106   if (setlocale (LC_ALL, "") == NULL) return 1;
21107 #endif
21108   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
21109      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
21110      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
21111      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
21112      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
21113      some unit tests fail.
21114      On MirBSD 10, when an unsupported locale is specified, setlocale()
21115      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
21116 #if HAVE_LANGINFO_CODESET
21117   {
21118     const char *cs = nl_langinfo (CODESET);
21119     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
21120         || strcmp (cs, "UTF-8") == 0)
21121       return 1;
21122   }
21123 #endif
21124 #ifdef __CYGWIN__
21125   /* On Cygwin, avoid locale names without encoding suffix, because the
21126      locale_charset() function relies on the encoding suffix.  Note that
21127      LC_ALL is set on the command line.  */
21128   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
21129 #endif
21130   /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
21131      on Cygwin 1.5.x.  */
21132   if (MB_CUR_MAX == 1)
21133     return 1;
21134   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
21135      This excludes the UTF-8 encoding (except on MirBSD).  */
21136   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
21137   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
21138   for (p = buf; *p != '\0'; p++)
21139     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
21140       return 1;
21141   return 0;
21142 }
21143
21144 _ACEOF
21145     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
21146   (eval $ac_link) 2>&5
21147   ac_status=$?
21148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21149   test $ac_status = 0; } && test -s conftest$ac_exeext; then
21150       case "$host_os" in
21151         # Handle native Windows specially, because there setlocale() interprets
21152         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
21153         # "fr" or "fra" as "French" or "French_France.1252",
21154         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
21155         # "ja" as "Japanese" or "Japanese_Japan.932",
21156         # and similar.
21157         mingw*)
21158           # Note that on native Windows, the Japanese locale is
21159           # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
21160           # cannot use it here.
21161           gt_cv_locale_ja=none
21162           ;;
21163         *)
21164           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
21165           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
21166           # configure script would override the LC_ALL setting. Likewise for
21167           # LC_CTYPE, which is also set at the beginning of the configure script.
21168           # Test for the AIX locale name.
21169           if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21170             gt_cv_locale_ja=ja_JP
21171           else
21172             # Test for the locale name with explicit encoding suffix.
21173             if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21174               gt_cv_locale_ja=ja_JP.EUC-JP
21175             else
21176               # Test for the HP-UX, OSF/1, NetBSD locale name.
21177               if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21178                 gt_cv_locale_ja=ja_JP.eucJP
21179               else
21180                 # Test for the IRIX, FreeBSD locale name.
21181                 if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21182                   gt_cv_locale_ja=ja_JP.EUC
21183                 else
21184                   # Test for the Solaris 7 locale name.
21185                   if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21186                     gt_cv_locale_ja=ja
21187                   else
21188                     # Special test for NetBSD 1.6.
21189                     if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
21190                       gt_cv_locale_ja=ja_JP.eucJP
21191                     else
21192                       # None found.
21193                       gt_cv_locale_ja=none
21194                     fi
21195                   fi
21196                 fi
21197               fi
21198             fi
21199           fi
21200           ;;
21201       esac
21202     fi
21203     rm -fr conftest*
21204
21205 fi
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
21207 $as_echo "$gt_cv_locale_ja" >&6; }
21208   LOCALE_JA=$gt_cv_locale_ja
21209
21210
21211
21212
21213
21214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
21215 $as_echo_n "checking for a transitional chinese locale... " >&6; }
21216 if ${gt_cv_locale_zh_CN+:} false; then :
21217   $as_echo_n "(cached) " >&6
21218 else
21219
21220     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h.  */
21222
21223 #include <locale.h>
21224 #include <stdlib.h>
21225 #include <time.h>
21226 #if HAVE_LANGINFO_CODESET
21227 # include <langinfo.h>
21228 #endif
21229 #include <stdlib.h>
21230 #include <string.h>
21231 struct tm t;
21232 char buf[16];
21233 int main ()
21234 {
21235   const char *p;
21236   /* Check whether the given locale name is recognized by the system.  */
21237 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
21238   /* On native Windows, setlocale(category, "") looks at the system settings,
21239      not at the environment variables.  Also, when an encoding suffix such
21240      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
21241      category of the locale to "C".  */
21242   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
21243       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
21244     return 1;
21245 #else
21246   if (setlocale (LC_ALL, "") == NULL) return 1;
21247 #endif
21248   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
21249      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
21250      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
21251      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
21252      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
21253      some unit tests fail.
21254      On MirBSD 10, when an unsupported locale is specified, setlocale()
21255      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
21256 #if HAVE_LANGINFO_CODESET
21257   {
21258     const char *cs = nl_langinfo (CODESET);
21259     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
21260         || strcmp (cs, "UTF-8") == 0)
21261       return 1;
21262   }
21263 #endif
21264 #ifdef __CYGWIN__
21265   /* On Cygwin, avoid locale names without encoding suffix, because the
21266      locale_charset() function relies on the encoding suffix.  Note that
21267      LC_ALL is set on the command line.  */
21268   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
21269 #endif
21270   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
21271      This excludes the UTF-8 encoding (except on MirBSD).  */
21272   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
21273   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
21274   for (p = buf; *p != '\0'; p++)
21275     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
21276       return 1;
21277   /* Check whether a typical GB18030 multibyte sequence is recognized as a
21278      single wide character.  This excludes the GB2312 and GBK encodings.  */
21279   if (mblen ("\203\062\332\066", 5) != 4)
21280     return 1;
21281   return 0;
21282 }
21283
21284 _ACEOF
21285     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
21286   (eval $ac_link) 2>&5
21287   ac_status=$?
21288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21289   test $ac_status = 0; } && test -s conftest$ac_exeext; then
21290       case "$host_os" in
21291         # Handle native Windows specially, because there setlocale() interprets
21292         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
21293         # "fr" or "fra" as "French" or "French_France.1252",
21294         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
21295         # "ja" as "Japanese" or "Japanese_Japan.932",
21296         # and similar.
21297         mingw*)
21298           # Test for the hypothetical native Windows locale name.
21299           if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21300             gt_cv_locale_zh_CN=Chinese_China.54936
21301           else
21302             # None found.
21303             gt_cv_locale_zh_CN=none
21304           fi
21305           ;;
21306         solaris2.8)
21307           # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
21308           # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
21309           # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
21310           gt_cv_locale_zh_CN=none
21311           ;;
21312         *)
21313           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
21314           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
21315           # configure script would override the LC_ALL setting. Likewise for
21316           # LC_CTYPE, which is also set at the beginning of the configure script.
21317           # Test for the locale name without encoding suffix.
21318           if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21319             gt_cv_locale_zh_CN=zh_CN
21320           else
21321             # Test for the locale name with explicit encoding suffix.
21322             if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21323               gt_cv_locale_zh_CN=zh_CN.GB18030
21324             else
21325               # None found.
21326               gt_cv_locale_zh_CN=none
21327             fi
21328           fi
21329           ;;
21330       esac
21331     else
21332       # If there was a link error, due to mblen(), the system is so old that
21333       # it certainly doesn't have a chinese locale.
21334       gt_cv_locale_zh_CN=none
21335     fi
21336     rm -fr conftest*
21337
21338 fi
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
21340 $as_echo "$gt_cv_locale_zh_CN" >&6; }
21341   LOCALE_ZH_CN=$gt_cv_locale_zh_CN
21342
21343
21344
21345
21346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
21347 $as_echo_n "checking for a french Unicode locale... " >&6; }
21348 if ${gt_cv_locale_fr_utf8+:} false; then :
21349   $as_echo_n "(cached) " >&6
21350 else
21351
21352     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h.  */
21354
21355 #include <locale.h>
21356 #include <time.h>
21357 #if HAVE_LANGINFO_CODESET
21358 # include <langinfo.h>
21359 #endif
21360 #include <stdlib.h>
21361 #include <string.h>
21362 struct tm t;
21363 char buf[16];
21364 int main () {
21365   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
21366      imitates locale dependent behaviour by looking at the environment
21367      variables, and all locales use the UTF-8 encoding.  */
21368 #if !(defined __BEOS__ || defined __HAIKU__)
21369   /* Check whether the given locale name is recognized by the system.  */
21370 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
21371   /* On native Windows, setlocale(category, "") looks at the system settings,
21372      not at the environment variables.  Also, when an encoding suffix such
21373      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
21374      category of the locale to "C".  */
21375   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
21376       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
21377     return 1;
21378 # else
21379   if (setlocale (LC_ALL, "") == NULL) return 1;
21380 # endif
21381   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
21382      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
21383      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
21384      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
21385      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
21386      some unit tests fail.  */
21387 # if HAVE_LANGINFO_CODESET
21388   {
21389     const char *cs = nl_langinfo (CODESET);
21390     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
21391       return 1;
21392   }
21393 # endif
21394 # ifdef __CYGWIN__
21395   /* On Cygwin, avoid locale names without encoding suffix, because the
21396      locale_charset() function relies on the encoding suffix.  Note that
21397      LC_ALL is set on the command line.  */
21398   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
21399 # endif
21400   /* Check whether in the abbreviation of the second month, the second
21401      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
21402      two bytes long, with UTF-8 encoding.  */
21403   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
21404   if (strftime (buf, sizeof (buf), "%b", &t) < 4
21405       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
21406     return 1;
21407 #endif
21408 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
21409   /* Check whether the decimal separator is a comma.
21410      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
21411      are nl_langinfo(RADIXCHAR) are both ".".  */
21412   if (localeconv () ->decimal_point[0] != ',') return 1;
21413 #endif
21414   return 0;
21415 }
21416
21417 _ACEOF
21418     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
21419   (eval $ac_link) 2>&5
21420   ac_status=$?
21421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21422   test $ac_status = 0; } && test -s conftest$ac_exeext; then
21423       case "$host_os" in
21424         # Handle native Windows specially, because there setlocale() interprets
21425         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
21426         # "fr" or "fra" as "French" or "French_France.1252",
21427         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
21428         # "ja" as "Japanese" or "Japanese_Japan.932",
21429         # and similar.
21430         mingw*)
21431           # Test for the hypothetical native Windows locale name.
21432           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21433             gt_cv_locale_fr_utf8=French_France.65001
21434           else
21435             # None found.
21436             gt_cv_locale_fr_utf8=none
21437           fi
21438           ;;
21439         *)
21440           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
21441           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
21442           # configure script would override the LC_ALL setting. Likewise for
21443           # LC_CTYPE, which is also set at the beginning of the configure script.
21444           # Test for the usual locale name.
21445           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21446             gt_cv_locale_fr_utf8=fr_FR
21447           else
21448             # Test for the locale name with explicit encoding suffix.
21449             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21450               gt_cv_locale_fr_utf8=fr_FR.UTF-8
21451             else
21452               # Test for the Solaris 7 locale name.
21453               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
21454                 gt_cv_locale_fr_utf8=fr.UTF-8
21455               else
21456                 # None found.
21457                 gt_cv_locale_fr_utf8=none
21458               fi
21459             fi
21460           fi
21461           ;;
21462       esac
21463     fi
21464     rm -fr conftest*
21465
21466 fi
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
21468 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
21469   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
21470
21471
21472
21473   GNULIB_FFSL=0;
21474   GNULIB_FFSLL=0;
21475   GNULIB_MEMCHR=0;
21476   GNULIB_MEMMEM=0;
21477   GNULIB_MEMPCPY=0;
21478   GNULIB_MEMRCHR=0;
21479   GNULIB_RAWMEMCHR=0;
21480   GNULIB_STPCPY=0;
21481   GNULIB_STPNCPY=0;
21482   GNULIB_STRCHRNUL=0;
21483   GNULIB_STRDUP=0;
21484   GNULIB_STRNCAT=0;
21485   GNULIB_STRNDUP=0;
21486   GNULIB_STRNLEN=0;
21487   GNULIB_STRPBRK=0;
21488   GNULIB_STRSEP=0;
21489   GNULIB_STRSTR=0;
21490   GNULIB_STRCASESTR=0;
21491   GNULIB_STRTOK_R=0;
21492   GNULIB_MBSLEN=0;
21493   GNULIB_MBSNLEN=0;
21494   GNULIB_MBSCHR=0;
21495   GNULIB_MBSRCHR=0;
21496   GNULIB_MBSSTR=0;
21497   GNULIB_MBSCASECMP=0;
21498   GNULIB_MBSNCASECMP=0;
21499   GNULIB_MBSPCASECMP=0;
21500   GNULIB_MBSCASESTR=0;
21501   GNULIB_MBSCSPN=0;
21502   GNULIB_MBSPBRK=0;
21503   GNULIB_MBSSPN=0;
21504   GNULIB_MBSSEP=0;
21505   GNULIB_MBSTOK_R=0;
21506   GNULIB_STRERROR=0;
21507   GNULIB_STRERROR_R=0;
21508   GNULIB_STRSIGNAL=0;
21509   GNULIB_STRVERSCMP=0;
21510   HAVE_MBSLEN=0;
21511     HAVE_FFSL=1;
21512   HAVE_FFSLL=1;
21513   HAVE_MEMCHR=1;
21514   HAVE_DECL_MEMMEM=1;
21515   HAVE_MEMPCPY=1;
21516   HAVE_DECL_MEMRCHR=1;
21517   HAVE_RAWMEMCHR=1;
21518   HAVE_STPCPY=1;
21519   HAVE_STPNCPY=1;
21520   HAVE_STRCHRNUL=1;
21521   HAVE_DECL_STRDUP=1;
21522   HAVE_DECL_STRNDUP=1;
21523   HAVE_DECL_STRNLEN=1;
21524   HAVE_STRPBRK=1;
21525   HAVE_STRSEP=1;
21526   HAVE_STRCASESTR=1;
21527   HAVE_DECL_STRTOK_R=1;
21528   HAVE_DECL_STRERROR_R=1;
21529   HAVE_DECL_STRSIGNAL=1;
21530   HAVE_STRVERSCMP=1;
21531   REPLACE_MEMCHR=0;
21532   REPLACE_MEMMEM=0;
21533   REPLACE_STPNCPY=0;
21534   REPLACE_STRDUP=0;
21535   REPLACE_STRSTR=0;
21536   REPLACE_STRCASESTR=0;
21537   REPLACE_STRCHRNUL=0;
21538   REPLACE_STRERROR=0;
21539   REPLACE_STRERROR_R=0;
21540   REPLACE_STRNCAT=0;
21541   REPLACE_STRNDUP=0;
21542   REPLACE_STRNLEN=0;
21543   REPLACE_STRSIGNAL=0;
21544   REPLACE_STRTOK_R=0;
21545   UNDEFINE_STRTOK_R=0;
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
21556   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
21557   # irrelevant for anonymous mappings.
21558   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
21559 if test "x$ac_cv_func_mmap" = xyes; then :
21560   gl_have_mmap=yes
21561 else
21562   gl_have_mmap=no
21563 fi
21564
21565
21566   # Try to allow MAP_ANONYMOUS.
21567   gl_have_mmap_anonymous=no
21568   if test $gl_have_mmap = yes; then
21569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
21570 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
21571     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h.  */
21573
21574 #include <sys/mman.h>
21575 #ifdef MAP_ANONYMOUS
21576     I cannot identify this map
21577 #endif
21578
21579 _ACEOF
21580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21581   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
21582   gl_have_mmap_anonymous=yes
21583 fi
21584 rm -f conftest*
21585
21586     if test $gl_have_mmap_anonymous != yes; then
21587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588 /* end confdefs.h.  */
21589
21590 #include <sys/mman.h>
21591 #ifdef MAP_ANON
21592     I cannot identify this map
21593 #endif
21594
21595 _ACEOF
21596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21597   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
21598
21599 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
21600
21601          gl_have_mmap_anonymous=yes
21602 fi
21603 rm -f conftest*
21604
21605     fi
21606     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
21607 $as_echo "$gl_have_mmap_anonymous" >&6; }
21608     if test $gl_have_mmap_anonymous = yes; then
21609
21610 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
21611
21612     fi
21613   fi
21614
21615
21616
21617
21618
21619
21620   if test $HAVE_MEMCHR = 1; then
21621     # Detect platform-specific bugs in some versions of glibc:
21622     # memchr should not dereference anything with length 0
21623     #   http://bugzilla.redhat.com/499689
21624     # memchr should not dereference overestimated length after a match
21625     #   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
21626     #   http://sourceware.org/bugzilla/show_bug.cgi?id=10162
21627     # Assume that memchr works on platforms that lack mprotect.
21628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
21629 $as_echo_n "checking whether memchr works... " >&6; }
21630 if ${gl_cv_func_memchr_works+:} false; then :
21631   $as_echo_n "(cached) " >&6
21632 else
21633   if test "$cross_compiling" = yes; then :
21634          gl_cv_func_memchr_works="guessing no"
21635 else
21636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h.  */
21638
21639 #include <string.h>
21640 #if HAVE_SYS_MMAN_H
21641 # include <fcntl.h>
21642 # include <unistd.h>
21643 # include <sys/types.h>
21644 # include <sys/mman.h>
21645 # ifndef MAP_FILE
21646 #  define MAP_FILE 0
21647 # endif
21648 #endif
21649
21650 int
21651 main ()
21652 {
21653
21654   int result = 0;
21655   char *fence = NULL;
21656 #if HAVE_SYS_MMAN_H && HAVE_MPROTECT
21657 # if HAVE_MAP_ANONYMOUS
21658   const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
21659   const int fd = -1;
21660 # else /* !HAVE_MAP_ANONYMOUS */
21661   const int flags = MAP_FILE | MAP_PRIVATE;
21662   int fd = open ("/dev/zero", O_RDONLY, 0666);
21663   if (fd >= 0)
21664 # endif
21665     {
21666       int pagesize = getpagesize ();
21667       char *two_pages =
21668         (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
21669                        flags, fd, 0);
21670       if (two_pages != (char *)(-1)
21671           && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
21672         fence = two_pages + pagesize;
21673     }
21674 #endif
21675   if (fence)
21676     {
21677       if (memchr (fence, 0, 0))
21678         result |= 1;
21679       strcpy (fence - 9, "12345678");
21680       if (memchr (fence - 9, 0, 79) != fence - 1)
21681         result |= 2;
21682       if (memchr (fence - 1, 0, 3) != fence - 1)
21683         result |= 4;
21684     }
21685   return result;
21686
21687   ;
21688   return 0;
21689 }
21690 _ACEOF
21691 if ac_fn_c_try_run "$LINENO"; then :
21692   gl_cv_func_memchr_works=yes
21693 else
21694   gl_cv_func_memchr_works=no
21695 fi
21696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21697   conftest.$ac_objext conftest.beam conftest.$ac_ext
21698 fi
21699
21700 fi
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
21702 $as_echo "$gl_cv_func_memchr_works" >&6; }
21703     if test "$gl_cv_func_memchr_works" != yes; then
21704       REPLACE_MEMCHR=1
21705     fi
21706   fi
21707
21708
21709
21710
21711
21712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <limits.h> defines MIN and MAX" >&5
21713 $as_echo_n "checking whether <limits.h> defines MIN and MAX... " >&6; }
21714 if ${gl_cv_minmax_in_limits_h+:} false; then :
21715   $as_echo_n "(cached) " >&6
21716 else
21717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h.  */
21719 #include <limits.h>
21720             int x = MIN (42, 17);
21721 int
21722 main ()
21723 {
21724
21725   ;
21726   return 0;
21727 }
21728 _ACEOF
21729 if ac_fn_c_try_compile "$LINENO"; then :
21730   gl_cv_minmax_in_limits_h=yes
21731 else
21732   gl_cv_minmax_in_limits_h=no
21733 fi
21734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21735 fi
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_limits_h" >&5
21737 $as_echo "$gl_cv_minmax_in_limits_h" >&6; }
21738   if test $gl_cv_minmax_in_limits_h = yes; then
21739
21740 $as_echo "#define HAVE_MINMAX_IN_LIMITS_H 1" >>confdefs.h
21741
21742   fi
21743
21744
21745
21746
21747
21748
21749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/param.h> defines MIN and MAX" >&5
21750 $as_echo_n "checking whether <sys/param.h> defines MIN and MAX... " >&6; }
21751 if ${gl_cv_minmax_in_sys_param_h+:} false; then :
21752   $as_echo_n "(cached) " >&6
21753 else
21754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755 /* end confdefs.h.  */
21756 #include <sys/param.h>
21757             int x = MIN (42, 17);
21758 int
21759 main ()
21760 {
21761
21762   ;
21763   return 0;
21764 }
21765 _ACEOF
21766 if ac_fn_c_try_compile "$LINENO"; then :
21767   gl_cv_minmax_in_sys_param_h=yes
21768 else
21769   gl_cv_minmax_in_sys_param_h=no
21770 fi
21771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21772 fi
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_sys_param_h" >&5
21774 $as_echo "$gl_cv_minmax_in_sys_param_h" >&6; }
21775   if test $gl_cv_minmax_in_sys_param_h = yes; then
21776
21777 $as_echo "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h
21778
21779   fi
21780
21781
21782
21783
21784
21785     gl_cv_c_multiarch=no
21786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h.  */
21788 #ifndef __APPLE_CC__
21789          not a universal capable compiler
21790         #endif
21791         typedef int dummy;
21792
21793 _ACEOF
21794 if ac_fn_c_try_compile "$LINENO"; then :
21795
21796                arch=
21797      prev=
21798      for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
21799        if test -n "$prev"; then
21800          case $word in
21801            i?86 | x86_64 | ppc | ppc64)
21802              if test -z "$arch" || test "$arch" = "$word"; then
21803                arch="$word"
21804              else
21805                gl_cv_c_multiarch=yes
21806              fi
21807              ;;
21808          esac
21809          prev=
21810        else
21811          if test "x$word" = "x-arch"; then
21812            prev=arch
21813          fi
21814        fi
21815      done
21816
21817 fi
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819   if test $gl_cv_c_multiarch = yes; then
21820     APPLE_UNIVERSAL_BUILD=1
21821   else
21822     APPLE_UNIVERSAL_BUILD=0
21823   fi
21824
21825
21826
21827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5
21828 $as_echo_n "checking whether to activate relocatable installation... " >&6; }
21829   # Check whether --enable-relocatable was given.
21830 if test "${enable_relocatable+set}" = set; then :
21831   enableval=$enable_relocatable; if test "$enableval" != no; then
21832        RELOCATABLE=yes
21833      else
21834        RELOCATABLE=no
21835      fi
21836
21837 else
21838   RELOCATABLE=no
21839 fi
21840
21841
21842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5
21843 $as_echo "$RELOCATABLE" >&6; }
21844
21845
21846
21847     if test "X$prefix" = "XNONE"; then
21848     reloc_final_prefix="$ac_default_prefix"
21849   else
21850     reloc_final_prefix="$prefix"
21851   fi
21852
21853 cat >>confdefs.h <<_ACEOF
21854 #define INSTALLPREFIX "${reloc_final_prefix}"
21855 _ACEOF
21856
21857   if test $RELOCATABLE = yes; then
21858
21859 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
21860
21861   fi
21862
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
21864 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
21865 if ${ac_cv_header_stdbool_h+:} false; then :
21866   $as_echo_n "(cached) " >&6
21867 else
21868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h.  */
21870
21871              #include <stdbool.h>
21872
21873              #ifdef __cplusplus
21874               typedef bool Bool;
21875              #else
21876               typedef _Bool Bool;
21877               #ifndef bool
21878                "error: bool is not defined"
21879               #endif
21880               #ifndef false
21881                "error: false is not defined"
21882               #endif
21883               #if false
21884                "error: false is not 0"
21885               #endif
21886               #ifndef true
21887                "error: true is not defined"
21888               #endif
21889               #if true != 1
21890                "error: true is not 1"
21891               #endif
21892              #endif
21893
21894              #ifndef __bool_true_false_are_defined
21895               "error: __bool_true_false_are_defined is not defined"
21896              #endif
21897
21898              struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s;
21899
21900              char a[true == 1 ? 1 : -1];
21901              char b[false == 0 ? 1 : -1];
21902              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21903              char d[(bool) 0.5 == true ? 1 : -1];
21904              /* See body of main program for 'e'.  */
21905              char f[(Bool) 0.0 == false ? 1 : -1];
21906              char g[true];
21907              char h[sizeof (Bool)];
21908              char i[sizeof s.t];
21909              enum { j = false, k = true, l = false * true, m = true * 256 };
21910              /* The following fails for
21911                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
21912              Bool n[m];
21913              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21914              char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21915              /* Catch a bug in an HP-UX C compiler.  See
21916                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21917                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21918               */
21919              Bool q = true;
21920              Bool *pq = &q;
21921              bool *qq = &q;
21922
21923 int
21924 main ()
21925 {
21926
21927              bool e = &s;
21928              *pq |= q; *pq |= ! q;
21929              *qq |= q; *qq |= ! q;
21930              /* Refer to every declared value, to avoid compiler optimizations.  */
21931              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21932                      + !m + !n + !o + !p + !q + !pq + !qq);
21933
21934   ;
21935   return 0;
21936 }
21937 _ACEOF
21938 if ac_fn_c_try_compile "$LINENO"; then :
21939   ac_cv_header_stdbool_h=yes
21940 else
21941   ac_cv_header_stdbool_h=no
21942 fi
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 fi
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
21946 $as_echo "$ac_cv_header_stdbool_h" >&6; }
21947    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
21948 if test "x$ac_cv_type__Bool" = xyes; then :
21949
21950 cat >>confdefs.h <<_ACEOF
21951 #define HAVE__BOOL 1
21952 _ACEOF
21953
21954
21955 fi
21956
21957
21958
21959     REPLACE_NULL=0;
21960   HAVE_MAX_ALIGN_T=1;
21961   HAVE_WCHAR_T=1;
21962
21963
21964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
21965 $as_echo_n "checking for wchar_t... " >&6; }
21966 if ${gt_cv_c_wchar_t+:} false; then :
21967   $as_echo_n "(cached) " >&6
21968 else
21969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h.  */
21971 #include <stddef.h>
21972             wchar_t foo = (wchar_t)'\0';
21973 int
21974 main ()
21975 {
21976
21977   ;
21978   return 0;
21979 }
21980 _ACEOF
21981 if ac_fn_c_try_compile "$LINENO"; then :
21982   gt_cv_c_wchar_t=yes
21983 else
21984   gt_cv_c_wchar_t=no
21985 fi
21986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21987 fi
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
21989 $as_echo "$gt_cv_c_wchar_t" >&6; }
21990   if test $gt_cv_c_wchar_t = yes; then
21991
21992 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
21993
21994   fi
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005   if test $ac_cv_type_long_long_int = yes; then
22006     HAVE_LONG_LONG_INT=1
22007   else
22008     HAVE_LONG_LONG_INT=0
22009   fi
22010
22011
22012   if test $ac_cv_type_unsigned_long_long_int = yes; then
22013     HAVE_UNSIGNED_LONG_LONG_INT=1
22014   else
22015     HAVE_UNSIGNED_LONG_LONG_INT=0
22016   fi
22017
22018
22019
22020   if test $ac_cv_header_wchar_h = yes; then
22021     HAVE_WCHAR_H=1
22022   else
22023     HAVE_WCHAR_H=0
22024   fi
22025
22026
22027       if test $ac_cv_header_inttypes_h = yes; then
22028     HAVE_INTTYPES_H=1
22029   else
22030     HAVE_INTTYPES_H=0
22031   fi
22032
22033
22034       if test $ac_cv_header_sys_types_h = yes; then
22035     HAVE_SYS_TYPES_H=1
22036   else
22037     HAVE_SYS_TYPES_H=0
22038   fi
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050      if test $gl_cv_have_include_next = yes; then
22051        gl_cv_next_stdint_h='<'stdint.h'>'
22052      else
22053        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
22054 $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
22055 if ${gl_cv_next_stdint_h+:} false; then :
22056   $as_echo_n "(cached) " >&6
22057 else
22058
22059              if test $ac_cv_header_stdint_h = yes; then
22060
22061
22062
22063
22064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22065 /* end confdefs.h.  */
22066 #include <stdint.h>
22067 _ACEOF
22068                 case "$host_os" in
22069     aix*) gl_absname_cpp="$ac_cpp -C" ;;
22070     *)    gl_absname_cpp="$ac_cpp" ;;
22071   esac
22072
22073   case "$host_os" in
22074     mingw*)
22075                                           gl_dirsep_regex='[/\\]'
22076       ;;
22077     *)
22078       gl_dirsep_regex='\/'
22079       ;;
22080   esac
22081       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
22082   gl_header_literal_regex=`echo 'stdint.h' \
22083                            | sed -e "$gl_make_literal_regex_sed"`
22084   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
22085       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
22086       s|^/[^/]|//&|
22087       p
22088       q
22089     }'
22090
22091         gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
22092   sed -n "$gl_absolute_header_sed"`
22093
22094            gl_header=$gl_cv_absolute_stdint_h
22095            gl_cv_next_stdint_h='"'$gl_header'"'
22096           else
22097                gl_cv_next_stdint_h='<'stdint.h'>'
22098              fi
22099
22100
22101 fi
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
22103 $as_echo "$gl_cv_next_stdint_h" >&6; }
22104      fi
22105      NEXT_STDINT_H=$gl_cv_next_stdint_h
22106
22107      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
22108        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
22109        gl_next_as_first_directive='<'stdint.h'>'
22110      else
22111        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
22112        gl_next_as_first_directive=$gl_cv_next_stdint_h
22113      fi
22114      NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
22115
22116
22117
22118
22119   if test $ac_cv_header_stdint_h = yes; then
22120     HAVE_STDINT_H=1
22121   else
22122     HAVE_STDINT_H=0
22123   fi
22124
22125
22126     if test $ac_cv_header_stdint_h = yes; then
22127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
22128 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
22129 if ${gl_cv_header_working_stdint_h+:} false; then :
22130   $as_echo_n "(cached) " >&6
22131 else
22132   gl_cv_header_working_stdint_h=no
22133        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22134 /* end confdefs.h.  */
22135
22136
22137 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
22138 #define __STDC_CONSTANT_MACROS 1
22139 #define __STDC_LIMIT_MACROS 1
22140 #include <stdint.h>
22141 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>.  */
22142 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
22143 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
22144 #endif
22145
22146
22147   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22148      included before <wchar.h>.  */
22149   #include <stddef.h>
22150   #include <signal.h>
22151   #if HAVE_WCHAR_H
22152   # include <stdio.h>
22153   # include <time.h>
22154   # include <wchar.h>
22155   #endif
22156
22157
22158 #ifdef INT8_MAX
22159 int8_t a1 = INT8_MAX;
22160 int8_t a1min = INT8_MIN;
22161 #endif
22162 #ifdef INT16_MAX
22163 int16_t a2 = INT16_MAX;
22164 int16_t a2min = INT16_MIN;
22165 #endif
22166 #ifdef INT32_MAX
22167 int32_t a3 = INT32_MAX;
22168 int32_t a3min = INT32_MIN;
22169 #endif
22170 #ifdef INT64_MAX
22171 int64_t a4 = INT64_MAX;
22172 int64_t a4min = INT64_MIN;
22173 #endif
22174 #ifdef UINT8_MAX
22175 uint8_t b1 = UINT8_MAX;
22176 #else
22177 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
22178 #endif
22179 #ifdef UINT16_MAX
22180 uint16_t b2 = UINT16_MAX;
22181 #endif
22182 #ifdef UINT32_MAX
22183 uint32_t b3 = UINT32_MAX;
22184 #endif
22185 #ifdef UINT64_MAX
22186 uint64_t b4 = UINT64_MAX;
22187 #endif
22188 int_least8_t c1 = INT8_C (0x7f);
22189 int_least8_t c1max = INT_LEAST8_MAX;
22190 int_least8_t c1min = INT_LEAST8_MIN;
22191 int_least16_t c2 = INT16_C (0x7fff);
22192 int_least16_t c2max = INT_LEAST16_MAX;
22193 int_least16_t c2min = INT_LEAST16_MIN;
22194 int_least32_t c3 = INT32_C (0x7fffffff);
22195 int_least32_t c3max = INT_LEAST32_MAX;
22196 int_least32_t c3min = INT_LEAST32_MIN;
22197 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
22198 int_least64_t c4max = INT_LEAST64_MAX;
22199 int_least64_t c4min = INT_LEAST64_MIN;
22200 uint_least8_t d1 = UINT8_C (0xff);
22201 uint_least8_t d1max = UINT_LEAST8_MAX;
22202 uint_least16_t d2 = UINT16_C (0xffff);
22203 uint_least16_t d2max = UINT_LEAST16_MAX;
22204 uint_least32_t d3 = UINT32_C (0xffffffff);
22205 uint_least32_t d3max = UINT_LEAST32_MAX;
22206 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
22207 uint_least64_t d4max = UINT_LEAST64_MAX;
22208 int_fast8_t e1 = INT_FAST8_MAX;
22209 int_fast8_t e1min = INT_FAST8_MIN;
22210 int_fast16_t e2 = INT_FAST16_MAX;
22211 int_fast16_t e2min = INT_FAST16_MIN;
22212 int_fast32_t e3 = INT_FAST32_MAX;
22213 int_fast32_t e3min = INT_FAST32_MIN;
22214 int_fast64_t e4 = INT_FAST64_MAX;
22215 int_fast64_t e4min = INT_FAST64_MIN;
22216 uint_fast8_t f1 = UINT_FAST8_MAX;
22217 uint_fast16_t f2 = UINT_FAST16_MAX;
22218 uint_fast32_t f3 = UINT_FAST32_MAX;
22219 uint_fast64_t f4 = UINT_FAST64_MAX;
22220 #ifdef INTPTR_MAX
22221 intptr_t g = INTPTR_MAX;
22222 intptr_t gmin = INTPTR_MIN;
22223 #endif
22224 #ifdef UINTPTR_MAX
22225 uintptr_t h = UINTPTR_MAX;
22226 #endif
22227 intmax_t i = INTMAX_MAX;
22228 uintmax_t j = UINTMAX_MAX;
22229
22230 /* Check that SIZE_MAX has the correct type, if possible.  */
22231 #if 201112 <= __STDC_VERSION__
22232 int k = _Generic (SIZE_MAX, size_t: 0);
22233 #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
22234        || (0x5110 <= __SUNPRO_C && !__STDC__))
22235 extern size_t k;
22236 extern __typeof__ (SIZE_MAX) k;
22237 #endif
22238
22239 #include <limits.h> /* for CHAR_BIT */
22240 #define TYPE_MINIMUM(t) \
22241   ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
22242 #define TYPE_MAXIMUM(t) \
22243   ((t) ((t) 0 < (t) -1 \
22244         ? (t) -1 \
22245         : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
22246 struct s {
22247   int check_PTRDIFF:
22248       PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
22249       && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
22250       ? 1 : -1;
22251   /* Detect bug in FreeBSD 6.0 / ia64.  */
22252   int check_SIG_ATOMIC:
22253       SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
22254       && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
22255       ? 1 : -1;
22256   int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
22257   int check_WCHAR:
22258       WCHAR_MIN == TYPE_MINIMUM (wchar_t)
22259       && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
22260       ? 1 : -1;
22261   /* Detect bug in mingw.  */
22262   int check_WINT:
22263       WINT_MIN == TYPE_MINIMUM (wint_t)
22264       && WINT_MAX == TYPE_MAXIMUM (wint_t)
22265       ? 1 : -1;
22266
22267   /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others.  */
22268   int check_UINT8_C:
22269         (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
22270   int check_UINT16_C:
22271         (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
22272
22273   /* Detect bugs in OpenBSD 3.9 stdint.h.  */
22274 #ifdef UINT8_MAX
22275   int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
22276 #endif
22277 #ifdef UINT16_MAX
22278   int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
22279 #endif
22280 #ifdef UINT32_MAX
22281   int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
22282 #endif
22283 #ifdef UINT64_MAX
22284   int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
22285 #endif
22286   int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
22287   int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
22288   int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
22289   int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
22290   int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
22291   int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
22292   int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
22293   int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
22294   int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
22295   int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
22296   int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
22297 };
22298
22299 int
22300 main ()
22301 {
22302
22303   ;
22304   return 0;
22305 }
22306 _ACEOF
22307 if ac_fn_c_try_compile "$LINENO"; then :
22308                                                     if test "$cross_compiling" = yes; then :
22309                  gl_cv_header_working_stdint_h=yes
22310
22311 else
22312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22313 /* end confdefs.h.  */
22314
22315
22316 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
22317 #define __STDC_CONSTANT_MACROS 1
22318 #define __STDC_LIMIT_MACROS 1
22319 #include <stdint.h>
22320
22321
22322   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22323      included before <wchar.h>.  */
22324   #include <stddef.h>
22325   #include <signal.h>
22326   #if HAVE_WCHAR_H
22327   # include <stdio.h>
22328   # include <time.h>
22329   # include <wchar.h>
22330   #endif
22331
22332
22333 #include <stdio.h>
22334 #include <string.h>
22335 #define MVAL(macro) MVAL1(macro)
22336 #define MVAL1(expression) #expression
22337 static const char *macro_values[] =
22338   {
22339 #ifdef INT8_MAX
22340     MVAL (INT8_MAX),
22341 #endif
22342 #ifdef INT16_MAX
22343     MVAL (INT16_MAX),
22344 #endif
22345 #ifdef INT32_MAX
22346     MVAL (INT32_MAX),
22347 #endif
22348 #ifdef INT64_MAX
22349     MVAL (INT64_MAX),
22350 #endif
22351 #ifdef UINT8_MAX
22352     MVAL (UINT8_MAX),
22353 #endif
22354 #ifdef UINT16_MAX
22355     MVAL (UINT16_MAX),
22356 #endif
22357 #ifdef UINT32_MAX
22358     MVAL (UINT32_MAX),
22359 #endif
22360 #ifdef UINT64_MAX
22361     MVAL (UINT64_MAX),
22362 #endif
22363     NULL
22364   };
22365
22366 int
22367 main ()
22368 {
22369
22370   const char **mv;
22371   for (mv = macro_values; *mv != NULL; mv++)
22372     {
22373       const char *value = *mv;
22374       /* Test whether it looks like a cast expression.  */
22375       if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
22376           || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
22377           || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
22378           || strncmp (value, "((int)"/*)*/, 6) == 0
22379           || strncmp (value, "((signed short)"/*)*/, 15) == 0
22380           || strncmp (value, "((signed char)"/*)*/, 14) == 0)
22381         return mv - macro_values + 1;
22382     }
22383   return 0;
22384
22385   ;
22386   return 0;
22387 }
22388 _ACEOF
22389 if ac_fn_c_try_run "$LINENO"; then :
22390   gl_cv_header_working_stdint_h=yes
22391 fi
22392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22393   conftest.$ac_objext conftest.beam conftest.$ac_ext
22394 fi
22395
22396
22397 fi
22398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22399
22400 fi
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
22402 $as_echo "$gl_cv_header_working_stdint_h" >&6; }
22403   fi
22404
22405   HAVE_C99_STDINT_H=0
22406   HAVE_SYS_BITYPES_H=0
22407   HAVE_SYS_INTTYPES_H=0
22408   STDINT_H=stdint.h
22409   if test "$gl_cv_header_working_stdint_h" = yes; then
22410     HAVE_C99_STDINT_H=1
22411             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5
22412 $as_echo_n "checking whether stdint.h predates C++11... " >&6; }
22413 if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then :
22414   $as_echo_n "(cached) " >&6
22415 else
22416   gl_cv_header_stdint_predates_cxx11_h=yes
22417        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22418 /* end confdefs.h.  */
22419
22420
22421 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
22422 #include <stdint.h>
22423
22424
22425   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22426      included before <wchar.h>.  */
22427   #include <stddef.h>
22428   #include <signal.h>
22429   #if HAVE_WCHAR_H
22430   # include <stdio.h>
22431   # include <time.h>
22432   # include <wchar.h>
22433   #endif
22434
22435
22436 intmax_t im = INTMAX_MAX;
22437 int32_t i32 = INT32_C (0x7fffffff);
22438
22439 int
22440 main ()
22441 {
22442
22443   ;
22444   return 0;
22445 }
22446 _ACEOF
22447 if ac_fn_c_try_compile "$LINENO"; then :
22448   gl_cv_header_stdint_predates_cxx11_h=no
22449 fi
22450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22451 fi
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5
22453 $as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; }
22454
22455     if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then
22456
22457 $as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h
22458
22459
22460 $as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h
22461
22462     fi
22463     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5
22464 $as_echo_n "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; }
22465 if ${gl_cv_header_stdint_width+:} false; then :
22466   $as_echo_n "(cached) " >&6
22467 else
22468   gl_cv_header_stdint_width=no
22469        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22470 /* end confdefs.h.  */
22471
22472             /* Work if build is not clean.  */
22473             #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1
22474             #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
22475              #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
22476             #endif
22477             #include <stdint.h>
22478
22479   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22480      included before <wchar.h>.  */
22481   #include <stddef.h>
22482   #include <signal.h>
22483   #if HAVE_WCHAR_H
22484   # include <stdio.h>
22485   # include <time.h>
22486   # include <wchar.h>
22487   #endif
22488
22489             int iw = UINTMAX_WIDTH;
22490
22491 int
22492 main ()
22493 {
22494
22495   ;
22496   return 0;
22497 }
22498 _ACEOF
22499 if ac_fn_c_try_compile "$LINENO"; then :
22500   gl_cv_header_stdint_width=yes
22501 fi
22502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503 fi
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_width" >&5
22505 $as_echo "$gl_cv_header_stdint_width" >&6; }
22506     if test "$gl_cv_header_stdint_width" = yes; then
22507       STDINT_H=
22508     fi
22509   else
22510             for ac_header in sys/inttypes.h sys/bitypes.h
22511 do :
22512   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22513 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22514 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22515   cat >>confdefs.h <<_ACEOF
22516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22517 _ACEOF
22518
22519 fi
22520
22521 done
22522
22523     if test $ac_cv_header_sys_inttypes_h = yes; then
22524       HAVE_SYS_INTTYPES_H=1
22525     fi
22526     if test $ac_cv_header_sys_bitypes_h = yes; then
22527       HAVE_SYS_BITYPES_H=1
22528     fi
22529
22530
22531   if test $APPLE_UNIVERSAL_BUILD = 0; then
22532
22533
22534   for gltype in ptrdiff_t size_t ; do
22535     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
22536 $as_echo_n "checking for bit size of $gltype... " >&6; }
22537 if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
22538   $as_echo_n "(cached) " >&6
22539 else
22540   if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
22541   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22542      included before <wchar.h>.  */
22543   #include <stddef.h>
22544   #include <signal.h>
22545   #if HAVE_WCHAR_H
22546   # include <stdio.h>
22547   # include <time.h>
22548   # include <wchar.h>
22549   #endif
22550
22551 #include <limits.h>"; then :
22552
22553 else
22554   result=unknown
22555 fi
22556
22557        eval gl_cv_bitsizeof_${gltype}=\$result
22558
22559 fi
22560 eval ac_res=\$gl_cv_bitsizeof_${gltype}
22561                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22562 $as_echo "$ac_res" >&6; }
22563     eval result=\$gl_cv_bitsizeof_${gltype}
22564     if test $result = unknown; then
22565                                                 result=0
22566     fi
22567     GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
22568     cat >>confdefs.h <<_ACEOF
22569 #define BITSIZEOF_${GLTYPE} $result
22570 _ACEOF
22571
22572     eval BITSIZEOF_${GLTYPE}=\$result
22573   done
22574
22575
22576   fi
22577
22578
22579   for gltype in sig_atomic_t wchar_t wint_t ; do
22580     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
22581 $as_echo_n "checking for bit size of $gltype... " >&6; }
22582 if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
22583   $as_echo_n "(cached) " >&6
22584 else
22585   if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
22586   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22587      included before <wchar.h>.  */
22588   #include <stddef.h>
22589   #include <signal.h>
22590   #if HAVE_WCHAR_H
22591   # include <stdio.h>
22592   # include <time.h>
22593   # include <wchar.h>
22594   #endif
22595
22596 #include <limits.h>"; then :
22597
22598 else
22599   result=unknown
22600 fi
22601
22602        eval gl_cv_bitsizeof_${gltype}=\$result
22603
22604 fi
22605 eval ac_res=\$gl_cv_bitsizeof_${gltype}
22606                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22607 $as_echo "$ac_res" >&6; }
22608     eval result=\$gl_cv_bitsizeof_${gltype}
22609     if test $result = unknown; then
22610                                                 result=0
22611     fi
22612     GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
22613     cat >>confdefs.h <<_ACEOF
22614 #define BITSIZEOF_${GLTYPE} $result
22615 _ACEOF
22616
22617     eval BITSIZEOF_${GLTYPE}=\$result
22618   done
22619
22620
22621
22622
22623   for gltype in sig_atomic_t wchar_t wint_t ; do
22624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
22625 $as_echo_n "checking whether $gltype is signed... " >&6; }
22626 if eval \${gl_cv_type_${gltype}_signed+:} false; then :
22627   $as_echo_n "(cached) " >&6
22628 else
22629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h.  */
22631
22632   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22633      included before <wchar.h>.  */
22634   #include <stddef.h>
22635   #include <signal.h>
22636   #if HAVE_WCHAR_H
22637   # include <stdio.h>
22638   # include <time.h>
22639   # include <wchar.h>
22640   #endif
22641
22642             int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
22643 int
22644 main ()
22645 {
22646
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 if ac_fn_c_try_compile "$LINENO"; then :
22652   result=yes
22653 else
22654   result=no
22655 fi
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657        eval gl_cv_type_${gltype}_signed=\$result
22658
22659 fi
22660 eval ac_res=\$gl_cv_type_${gltype}_signed
22661                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22662 $as_echo "$ac_res" >&6; }
22663     eval result=\$gl_cv_type_${gltype}_signed
22664     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
22665     if test "$result" = yes; then
22666       cat >>confdefs.h <<_ACEOF
22667 #define HAVE_SIGNED_${GLTYPE} 1
22668 _ACEOF
22669
22670       eval HAVE_SIGNED_${GLTYPE}=1
22671     else
22672       eval HAVE_SIGNED_${GLTYPE}=0
22673     fi
22674   done
22675
22676
22677   gl_cv_type_ptrdiff_t_signed=yes
22678   gl_cv_type_size_t_signed=no
22679   if test $APPLE_UNIVERSAL_BUILD = 0; then
22680
22681
22682   for gltype in ptrdiff_t size_t ; do
22683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
22684 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
22685 if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
22686   $as_echo_n "(cached) " >&6
22687 else
22688   eval gl_cv_type_${gltype}_suffix=no
22689        eval result=\$gl_cv_type_${gltype}_signed
22690        if test "$result" = yes; then
22691          glsufu=
22692        else
22693          glsufu=u
22694        fi
22695        for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
22696          case $glsuf in
22697            '')  gltype1='int';;
22698            l)   gltype1='long int';;
22699            ll)  gltype1='long long int';;
22700            i64) gltype1='__int64';;
22701            u)   gltype1='unsigned int';;
22702            ul)  gltype1='unsigned long int';;
22703            ull) gltype1='unsigned long long int';;
22704            ui64)gltype1='unsigned __int64';;
22705          esac
22706          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22707 /* end confdefs.h.  */
22708
22709   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22710      included before <wchar.h>.  */
22711   #include <stddef.h>
22712   #include <signal.h>
22713   #if HAVE_WCHAR_H
22714   # include <stdio.h>
22715   # include <time.h>
22716   # include <wchar.h>
22717   #endif
22718
22719               extern $gltype foo;
22720               extern $gltype1 foo;
22721 int
22722 main ()
22723 {
22724
22725   ;
22726   return 0;
22727 }
22728 _ACEOF
22729 if ac_fn_c_try_compile "$LINENO"; then :
22730   eval gl_cv_type_${gltype}_suffix=\$glsuf
22731 fi
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733          eval result=\$gl_cv_type_${gltype}_suffix
22734          test "$result" != no && break
22735        done
22736 fi
22737 eval ac_res=\$gl_cv_type_${gltype}_suffix
22738                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22739 $as_echo "$ac_res" >&6; }
22740     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
22741     eval result=\$gl_cv_type_${gltype}_suffix
22742     test "$result" = no && result=
22743     eval ${GLTYPE}_SUFFIX=\$result
22744     cat >>confdefs.h <<_ACEOF
22745 #define ${GLTYPE}_SUFFIX $result
22746 _ACEOF
22747
22748   done
22749
22750
22751   fi
22752
22753
22754   for gltype in sig_atomic_t wchar_t wint_t ; do
22755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
22756 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
22757 if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
22758   $as_echo_n "(cached) " >&6
22759 else
22760   eval gl_cv_type_${gltype}_suffix=no
22761        eval result=\$gl_cv_type_${gltype}_signed
22762        if test "$result" = yes; then
22763          glsufu=
22764        else
22765          glsufu=u
22766        fi
22767        for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
22768          case $glsuf in
22769            '')  gltype1='int';;
22770            l)   gltype1='long int';;
22771            ll)  gltype1='long long int';;
22772            i64) gltype1='__int64';;
22773            u)   gltype1='unsigned int';;
22774            ul)  gltype1='unsigned long int';;
22775            ull) gltype1='unsigned long long int';;
22776            ui64)gltype1='unsigned __int64';;
22777          esac
22778          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h.  */
22780
22781   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
22782      included before <wchar.h>.  */
22783   #include <stddef.h>
22784   #include <signal.h>
22785   #if HAVE_WCHAR_H
22786   # include <stdio.h>
22787   # include <time.h>
22788   # include <wchar.h>
22789   #endif
22790
22791               extern $gltype foo;
22792               extern $gltype1 foo;
22793 int
22794 main ()
22795 {
22796
22797   ;
22798   return 0;
22799 }
22800 _ACEOF
22801 if ac_fn_c_try_compile "$LINENO"; then :
22802   eval gl_cv_type_${gltype}_suffix=\$glsuf
22803 fi
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805          eval result=\$gl_cv_type_${gltype}_suffix
22806          test "$result" != no && break
22807        done
22808 fi
22809 eval ac_res=\$gl_cv_type_${gltype}_suffix
22810                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22811 $as_echo "$ac_res" >&6; }
22812     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
22813     eval result=\$gl_cv_type_${gltype}_suffix
22814     test "$result" = no && result=
22815     eval ${GLTYPE}_SUFFIX=\$result
22816     cat >>confdefs.h <<_ACEOF
22817 #define ${GLTYPE}_SUFFIX $result
22818 _ACEOF
22819
22820   done
22821
22822
22823
22824           if test $BITSIZEOF_WINT_T -lt 32; then
22825     BITSIZEOF_WINT_T=32
22826   fi
22827
22828   fi
22829
22830   # The substitute stdint.h needs the substitute limit.h's _GL_INTEGER_WIDTH.
22831   LIMITS_H=limits.h
22832    if test -n "$LIMITS_H"; then
22833   GL_GENERATE_LIMITS_H_TRUE=
22834   GL_GENERATE_LIMITS_H_FALSE='#'
22835 else
22836   GL_GENERATE_LIMITS_H_TRUE='#'
22837   GL_GENERATE_LIMITS_H_FALSE=
22838 fi
22839
22840
22841
22842
22843
22844
22845    if test -n "$STDINT_H"; then
22846   GL_GENERATE_STDINT_H_TRUE=
22847   GL_GENERATE_STDINT_H_FALSE='#'
22848 else
22849   GL_GENERATE_STDINT_H_TRUE='#'
22850   GL_GENERATE_STDINT_H_FALSE=
22851 fi
22852
22853
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
22855 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
22856 if ${ac_cv_c_restrict+:} false; then :
22857   $as_echo_n "(cached) " >&6
22858 else
22859   ac_cv_c_restrict=no
22860    # The order here caters to the fact that C++ does not require restrict.
22861    for ac_kw in __restrict __restrict__ _Restrict restrict; do
22862      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22863 /* end confdefs.h.  */
22864 typedef int *int_ptr;
22865            int foo (int_ptr $ac_kw ip) { return ip[0]; }
22866            int bar (int [$ac_kw]); /* Catch GCC bug 14050.  */
22867            int bar (int ip[$ac_kw]) { return ip[0]; }
22868
22869 int
22870 main ()
22871 {
22872 int s[1];
22873            int *$ac_kw t = s;
22874            t[0] = 0;
22875            return foo (t) + bar (t);
22876
22877   ;
22878   return 0;
22879 }
22880 _ACEOF
22881 if ac_fn_c_try_compile "$LINENO"; then :
22882   ac_cv_c_restrict=$ac_kw
22883 fi
22884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885      test "$ac_cv_c_restrict" != no && break
22886    done
22887
22888 fi
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
22890 $as_echo "$ac_cv_c_restrict" >&6; }
22891
22892  case $ac_cv_c_restrict in
22893    restrict) ;;
22894    no) $as_echo "#define restrict /**/" >>confdefs.h
22895  ;;
22896    *)  cat >>confdefs.h <<_ACEOF
22897 #define restrict $ac_cv_c_restrict
22898 _ACEOF
22899  ;;
22900  esac
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913      if test $gl_cv_have_include_next = yes; then
22914        gl_cv_next_string_h='<'string.h'>'
22915      else
22916        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
22917 $as_echo_n "checking absolute name of <string.h>... " >&6; }
22918 if ${gl_cv_next_string_h+:} false; then :
22919   $as_echo_n "(cached) " >&6
22920 else
22921
22922
22923
22924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h.  */
22926 #include <string.h>
22927 _ACEOF
22928                 case "$host_os" in
22929     aix*) gl_absname_cpp="$ac_cpp -C" ;;
22930     *)    gl_absname_cpp="$ac_cpp" ;;
22931   esac
22932
22933   case "$host_os" in
22934     mingw*)
22935                                           gl_dirsep_regex='[/\\]'
22936       ;;
22937     *)
22938       gl_dirsep_regex='\/'
22939       ;;
22940   esac
22941       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
22942   gl_header_literal_regex=`echo 'string.h' \
22943                            | sed -e "$gl_make_literal_regex_sed"`
22944   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
22945       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
22946       s|^/[^/]|//&|
22947       p
22948       q
22949     }'
22950
22951         gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
22952   sed -n "$gl_absolute_header_sed"`
22953
22954            gl_header=$gl_cv_absolute_string_h
22955            gl_cv_next_string_h='"'$gl_header'"'
22956
22957
22958 fi
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
22960 $as_echo "$gl_cv_next_string_h" >&6; }
22961      fi
22962      NEXT_STRING_H=$gl_cv_next_string_h
22963
22964      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
22965        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
22966        gl_next_as_first_directive='<'string.h'>'
22967      else
22968        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
22969        gl_next_as_first_directive=$gl_cv_next_string_h
22970      fi
22971      NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
22972
22973
22974
22975
22976
22977
22978     for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul      strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r      strerror_r strsignal strverscmp; do
22979     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
22980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
22981 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
22982 if eval \${$as_gl_Symbol+:} false; then :
22983   $as_echo_n "(cached) " >&6
22984 else
22985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22986 /* end confdefs.h.  */
22987 #include <string.h>
22988
22989 int
22990 main ()
22991 {
22992 #undef $gl_func
22993   (void) $gl_func;
22994   ;
22995   return 0;
22996 }
22997 _ACEOF
22998 if ac_fn_c_try_compile "$LINENO"; then :
22999   eval "$as_gl_Symbol=yes"
23000 else
23001   eval "$as_gl_Symbol=no"
23002 fi
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 fi
23005 eval ac_res=\$$as_gl_Symbol
23006                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23007 $as_echo "$ac_res" >&6; }
23008     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
23009   cat >>confdefs.h <<_ACEOF
23010 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
23011 _ACEOF
23012
23013                      eval ac_cv_have_decl_$gl_func=yes
23014 fi
23015       done
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
23026   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
23027   # irrelevant for anonymous mappings.
23028   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
23029 if test "x$ac_cv_func_mmap" = xyes; then :
23030   gl_have_mmap=yes
23031 else
23032   gl_have_mmap=no
23033 fi
23034
23035
23036   # Try to allow MAP_ANONYMOUS.
23037   gl_have_mmap_anonymous=no
23038   if test $gl_have_mmap = yes; then
23039     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
23040 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
23041     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23042 /* end confdefs.h.  */
23043
23044 #include <sys/mman.h>
23045 #ifdef MAP_ANONYMOUS
23046     I cannot identify this map
23047 #endif
23048
23049 _ACEOF
23050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23051   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
23052   gl_have_mmap_anonymous=yes
23053 fi
23054 rm -f conftest*
23055
23056     if test $gl_have_mmap_anonymous != yes; then
23057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23058 /* end confdefs.h.  */
23059
23060 #include <sys/mman.h>
23061 #ifdef MAP_ANON
23062     I cannot identify this map
23063 #endif
23064
23065 _ACEOF
23066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23067   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
23068
23069 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
23070
23071          gl_have_mmap_anonymous=yes
23072 fi
23073 rm -f conftest*
23074
23075     fi
23076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
23077 $as_echo "$gl_have_mmap_anonymous" >&6; }
23078     if test $gl_have_mmap_anonymous = yes; then
23079
23080 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
23081
23082     fi
23083   fi
23084
23085
23086
23087
23088           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strncat works" >&5
23089 $as_echo_n "checking whether strncat works... " >&6; }
23090 if ${gl_cv_func_strncat_works+:} false; then :
23091   $as_echo_n "(cached) " >&6
23092 else
23093   if test "$cross_compiling" = yes; then :
23094
23095         case "$host_os" in
23096                     # Guess no on Solaris.
23097           solaris*) gl_cv_func_strncat_works="guessing no";;
23098                     # Guess yes otherwise.
23099           *)        gl_cv_func_strncat_works="guessing yes";;
23100         esac
23101
23102 else
23103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23104 /* end confdefs.h.  */
23105
23106 #include <string.h>
23107 #if HAVE_SYS_MMAN_H
23108 # include <fcntl.h>
23109 # include <unistd.h>
23110 # include <sys/types.h>
23111 # include <sys/mman.h>
23112 # ifndef MAP_FILE
23113 #  define MAP_FILE 0
23114 # endif
23115 #endif
23116
23117 int
23118 main ()
23119 {
23120
23121   char *fence = NULL;
23122 #if HAVE_SYS_MMAN_H && HAVE_MPROTECT
23123 # if HAVE_MAP_ANONYMOUS
23124   const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
23125   const int fd = -1;
23126 # else /* !HAVE_MAP_ANONYMOUS */
23127   const int flags = MAP_FILE | MAP_PRIVATE;
23128   int fd = open ("/dev/zero", O_RDONLY, 0666);
23129   if (fd >= 0)
23130 # endif
23131     {
23132       int pagesize = getpagesize ();
23133       char *two_pages =
23134         (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
23135                        flags, fd, 0);
23136       if (two_pages != (char *)(-1)
23137           && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
23138         fence = two_pages + pagesize;
23139     }
23140 #endif
23141   if (fence)
23142     {
23143       char dest[8];
23144
23145       dest[0] = '*';
23146       dest[1] = 'a';
23147       dest[2] = '\0';
23148       dest[3] = 'w';
23149       dest[4] = 'x';
23150       dest[5] = 'y';
23151       dest[6] = 'z';
23152
23153       *(fence - 3) = '7';
23154       *(fence - 2) = '2';
23155       *(fence - 1) = '9';
23156
23157       if (strncat (dest + 1, fence - 3, 3) != dest + 1)
23158         return 1;
23159       if (dest[0] != '*')
23160         return 2;
23161       if (dest[1] != 'a'
23162           || dest[2] != '7' || dest[3] != '2' || dest[4] != '9'
23163           || dest[5] != '\0')
23164         return 3;
23165       if (dest[6] != 'z')
23166         return 4;
23167     }
23168   return 0;
23169
23170   ;
23171   return 0;
23172 }
23173 _ACEOF
23174 if ac_fn_c_try_run "$LINENO"; then :
23175   gl_cv_func_strncat_works=yes
23176 else
23177   gl_cv_func_strncat_works=no
23178 fi
23179 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23180   conftest.$ac_objext conftest.beam conftest.$ac_ext
23181 fi
23182
23183
23184 fi
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strncat_works" >&5
23186 $as_echo "$gl_cv_func_strncat_works" >&6; }
23187   case "$gl_cv_func_strncat_works" in
23188     *yes) ;;
23189     *) REPLACE_STRNCAT=1 ;;
23190   esac
23191
23192
23193
23194
23195   if test "$gl_cv_func_memchr_works" != yes; then
23196     REPLACE_STRSTR=1
23197   else
23198         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
23199 $as_echo_n "checking whether strstr works... " >&6; }
23200 if ${gl_cv_func_strstr_works_always+:} false; then :
23201   $as_echo_n "(cached) " >&6
23202 else
23203   if test "$cross_compiling" = yes; then :
23204                                                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h.  */
23206
23207 #ifdef __GNU_LIBRARY__
23208  #include <features.h>
23209  #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
23210      || defined __UCLIBC__
23211   Lucky user
23212  #endif
23213 #elif defined __CYGWIN__
23214  #include <cygwin/version.h>
23215  #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
23216   Lucky user
23217  #endif
23218 #else
23219   Lucky user
23220 #endif
23221
23222 _ACEOF
23223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23224   $EGREP "Lucky user" >/dev/null 2>&1; then :
23225   gl_cv_func_strstr_works_always="guessing yes"
23226 else
23227   gl_cv_func_strstr_works_always="guessing no"
23228 fi
23229 rm -f conftest*
23230
23231
23232 else
23233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23234 /* end confdefs.h.  */
23235
23236 #include <string.h> /* for strstr */
23237 #define P "_EF_BF_BD"
23238 #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
23239 #define NEEDLE P P P P P
23240
23241 int
23242 main ()
23243 {
23244 return !!strstr (HAYSTACK, NEEDLE);
23245
23246   ;
23247   return 0;
23248 }
23249 _ACEOF
23250 if ac_fn_c_try_run "$LINENO"; then :
23251   gl_cv_func_strstr_works_always=yes
23252 else
23253   gl_cv_func_strstr_works_always=no
23254 fi
23255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23256   conftest.$ac_objext conftest.beam conftest.$ac_ext
23257 fi
23258
23259
23260 fi
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
23262 $as_echo "$gl_cv_func_strstr_works_always" >&6; }
23263     case "$gl_cv_func_strstr_works_always" in
23264       *yes) ;;
23265       *)
23266         REPLACE_STRSTR=1
23267         ;;
23268     esac
23269   fi
23270
23271
23272
23273 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
23274 if test "x$ac_cv_type_pid_t" = xyes; then :
23275
23276 else
23277
23278 cat >>confdefs.h <<_ACEOF
23279 #define pid_t int
23280 _ACEOF
23281
23282 fi
23283
23284 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
23285 if test "x$ac_cv_type_mode_t" = xyes; then :
23286
23287 else
23288
23289 cat >>confdefs.h <<_ACEOF
23290 #define mode_t int
23291 _ACEOF
23292
23293 fi
23294
23295
23296
23297     WINDOWS_64_BIT_OFF_T=0
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311      if test $gl_cv_have_include_next = yes; then
23312        gl_cv_next_sys_types_h='<'sys/types.h'>'
23313      else
23314        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
23315 $as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
23316 if ${gl_cv_next_sys_types_h+:} false; then :
23317   $as_echo_n "(cached) " >&6
23318 else
23319
23320
23321
23322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23323 /* end confdefs.h.  */
23324 #include <sys/types.h>
23325 _ACEOF
23326                 case "$host_os" in
23327     aix*) gl_absname_cpp="$ac_cpp -C" ;;
23328     *)    gl_absname_cpp="$ac_cpp" ;;
23329   esac
23330
23331   case "$host_os" in
23332     mingw*)
23333                                           gl_dirsep_regex='[/\\]'
23334       ;;
23335     *)
23336       gl_dirsep_regex='\/'
23337       ;;
23338   esac
23339       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
23340   gl_header_literal_regex=`echo 'sys/types.h' \
23341                            | sed -e "$gl_make_literal_regex_sed"`
23342   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
23343       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
23344       s|^/[^/]|//&|
23345       p
23346       q
23347     }'
23348
23349         gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23350   sed -n "$gl_absolute_header_sed"`
23351
23352            gl_header=$gl_cv_absolute_sys_types_h
23353            gl_cv_next_sys_types_h='"'$gl_header'"'
23354
23355
23356 fi
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
23358 $as_echo "$gl_cv_next_sys_types_h" >&6; }
23359      fi
23360      NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
23361
23362      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
23363        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
23364        gl_next_as_first_directive='<'sys/types.h'>'
23365      else
23366        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
23367        gl_next_as_first_directive=$gl_cv_next_sys_types_h
23368      fi
23369      NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387 gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
23388 i\
23389 0
23390 q
23391 '
23392 gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
23393 i\
23394 0
23395 q
23396 '
23397 gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;}
23398 i\
23399 0
23400 q
23401 '
23402
23403
23404   if test "$HAVE_LIBUNISTRING" = yes; then
23405     LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
23406     LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
23407     LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
23408   fi
23409
23410
23411   GNULIB_CHDIR=0;
23412   GNULIB_CHOWN=0;
23413   GNULIB_CLOSE=0;
23414   GNULIB_DUP=0;
23415   GNULIB_DUP2=0;
23416   GNULIB_DUP3=0;
23417   GNULIB_ENVIRON=0;
23418   GNULIB_EUIDACCESS=0;
23419   GNULIB_FACCESSAT=0;
23420   GNULIB_FCHDIR=0;
23421   GNULIB_FCHOWNAT=0;
23422   GNULIB_FDATASYNC=0;
23423   GNULIB_FSYNC=0;
23424   GNULIB_FTRUNCATE=0;
23425   GNULIB_GETCWD=0;
23426   GNULIB_GETDOMAINNAME=0;
23427   GNULIB_GETDTABLESIZE=0;
23428   GNULIB_GETGROUPS=0;
23429   GNULIB_GETHOSTNAME=0;
23430   GNULIB_GETLOGIN=0;
23431   GNULIB_GETLOGIN_R=0;
23432   GNULIB_GETPAGESIZE=0;
23433   GNULIB_GETUSERSHELL=0;
23434   GNULIB_GROUP_MEMBER=0;
23435   GNULIB_ISATTY=0;
23436   GNULIB_LCHOWN=0;
23437   GNULIB_LINK=0;
23438   GNULIB_LINKAT=0;
23439   GNULIB_LSEEK=0;
23440   GNULIB_PIPE=0;
23441   GNULIB_PIPE2=0;
23442   GNULIB_PREAD=0;
23443   GNULIB_PWRITE=0;
23444   GNULIB_READ=0;
23445   GNULIB_READLINK=0;
23446   GNULIB_READLINKAT=0;
23447   GNULIB_RMDIR=0;
23448   GNULIB_SETHOSTNAME=0;
23449   GNULIB_SLEEP=0;
23450   GNULIB_SYMLINK=0;
23451   GNULIB_SYMLINKAT=0;
23452   GNULIB_TTYNAME_R=0;
23453   GNULIB_UNISTD_H_NONBLOCKING=0;
23454   GNULIB_UNISTD_H_SIGPIPE=0;
23455   GNULIB_UNLINK=0;
23456   GNULIB_UNLINKAT=0;
23457   GNULIB_USLEEP=0;
23458   GNULIB_WRITE=0;
23459     HAVE_CHOWN=1;
23460   HAVE_DUP2=1;
23461   HAVE_DUP3=1;
23462   HAVE_EUIDACCESS=1;
23463   HAVE_FACCESSAT=1;
23464   HAVE_FCHDIR=1;
23465   HAVE_FCHOWNAT=1;
23466   HAVE_FDATASYNC=1;
23467   HAVE_FSYNC=1;
23468   HAVE_FTRUNCATE=1;
23469   HAVE_GETDTABLESIZE=1;
23470   HAVE_GETGROUPS=1;
23471   HAVE_GETHOSTNAME=1;
23472   HAVE_GETLOGIN=1;
23473   HAVE_GETPAGESIZE=1;
23474   HAVE_GROUP_MEMBER=1;
23475   HAVE_LCHOWN=1;
23476   HAVE_LINK=1;
23477   HAVE_LINKAT=1;
23478   HAVE_PIPE=1;
23479   HAVE_PIPE2=1;
23480   HAVE_PREAD=1;
23481   HAVE_PWRITE=1;
23482   HAVE_READLINK=1;
23483   HAVE_READLINKAT=1;
23484   HAVE_SETHOSTNAME=1;
23485   HAVE_SLEEP=1;
23486   HAVE_SYMLINK=1;
23487   HAVE_SYMLINKAT=1;
23488   HAVE_UNLINKAT=1;
23489   HAVE_USLEEP=1;
23490   HAVE_DECL_ENVIRON=1;
23491   HAVE_DECL_FCHDIR=1;
23492   HAVE_DECL_FDATASYNC=1;
23493   HAVE_DECL_GETDOMAINNAME=1;
23494   HAVE_DECL_GETLOGIN_R=1;
23495   HAVE_DECL_GETPAGESIZE=1;
23496   HAVE_DECL_GETUSERSHELL=1;
23497   HAVE_DECL_SETHOSTNAME=1;
23498   HAVE_DECL_TTYNAME_R=1;
23499   HAVE_OS_H=0;
23500   HAVE_SYS_PARAM_H=0;
23501   REPLACE_CHOWN=0;
23502   REPLACE_CLOSE=0;
23503   REPLACE_DUP=0;
23504   REPLACE_DUP2=0;
23505   REPLACE_FCHOWNAT=0;
23506   REPLACE_FTRUNCATE=0;
23507   REPLACE_GETCWD=0;
23508   REPLACE_GETDOMAINNAME=0;
23509   REPLACE_GETDTABLESIZE=0;
23510   REPLACE_GETLOGIN_R=0;
23511   REPLACE_GETGROUPS=0;
23512   REPLACE_GETPAGESIZE=0;
23513   REPLACE_ISATTY=0;
23514   REPLACE_LCHOWN=0;
23515   REPLACE_LINK=0;
23516   REPLACE_LINKAT=0;
23517   REPLACE_LSEEK=0;
23518   REPLACE_PREAD=0;
23519   REPLACE_PWRITE=0;
23520   REPLACE_READ=0;
23521   REPLACE_READLINK=0;
23522   REPLACE_READLINKAT=0;
23523   REPLACE_RMDIR=0;
23524   REPLACE_SLEEP=0;
23525   REPLACE_SYMLINK=0;
23526   REPLACE_SYMLINKAT=0;
23527   REPLACE_TTYNAME_R=0;
23528   REPLACE_UNLINK=0;
23529   REPLACE_UNLINKAT=0;
23530   REPLACE_USLEEP=0;
23531   REPLACE_WRITE=0;
23532   UNISTD_H_HAVE_WINSOCK2_H=0;
23533   UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
23534
23535
23536
23537
23538
23539
23540   if test $ac_cv_header_features_h = yes; then
23541     HAVE_FEATURES_H=1
23542   else
23543     HAVE_FEATURES_H=0
23544   fi
23545
23546
23547
23548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
23549 $as_echo_n "checking for inttypes.h... " >&6; }
23550 if ${gl_cv_header_inttypes_h+:} false; then :
23551   $as_echo_n "(cached) " >&6
23552 else
23553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23554 /* end confdefs.h.  */
23555
23556 #include <sys/types.h>
23557 #include <inttypes.h>
23558
23559 int
23560 main ()
23561 {
23562 uintmax_t i = (uintmax_t) -1; return !i;
23563   ;
23564   return 0;
23565 }
23566 _ACEOF
23567 if ac_fn_c_try_compile "$LINENO"; then :
23568   gl_cv_header_inttypes_h=yes
23569 else
23570   gl_cv_header_inttypes_h=no
23571 fi
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23573 fi
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
23575 $as_echo "$gl_cv_header_inttypes_h" >&6; }
23576   if test $gl_cv_header_inttypes_h = yes; then
23577
23578 cat >>confdefs.h <<_ACEOF
23579 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
23580 _ACEOF
23581
23582   fi
23583
23584
23585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
23586 $as_echo_n "checking for stdint.h... " >&6; }
23587 if ${gl_cv_header_stdint_h+:} false; then :
23588   $as_echo_n "(cached) " >&6
23589 else
23590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23591 /* end confdefs.h.  */
23592 #include <sys/types.h>
23593             #include <stdint.h>
23594 int
23595 main ()
23596 {
23597 uintmax_t i = (uintmax_t) -1; return !i;
23598   ;
23599   return 0;
23600 }
23601 _ACEOF
23602 if ac_fn_c_try_compile "$LINENO"; then :
23603   gl_cv_header_stdint_h=yes
23604 else
23605   gl_cv_header_stdint_h=no
23606 fi
23607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23608 fi
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
23610 $as_echo "$gl_cv_header_stdint_h" >&6; }
23611   if test $gl_cv_header_stdint_h = yes; then
23612
23613 cat >>confdefs.h <<_ACEOF
23614 #define HAVE_STDINT_H_WITH_UINTMAX 1
23615 _ACEOF
23616
23617   fi
23618
23619
23620
23621
23622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
23623 $as_echo_n "checking for intmax_t... " >&6; }
23624 if ${gt_cv_c_intmax_t+:} false; then :
23625   $as_echo_n "(cached) " >&6
23626 else
23627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h.  */
23629
23630 #include <stddef.h>
23631 #include <stdlib.h>
23632 #if HAVE_STDINT_H_WITH_UINTMAX
23633 #include <stdint.h>
23634 #endif
23635 #if HAVE_INTTYPES_H_WITH_UINTMAX
23636 #include <inttypes.h>
23637 #endif
23638
23639 int
23640 main ()
23641 {
23642 intmax_t x = -1; return !x;
23643   ;
23644   return 0;
23645 }
23646 _ACEOF
23647 if ac_fn_c_try_compile "$LINENO"; then :
23648   gt_cv_c_intmax_t=yes
23649 else
23650   gt_cv_c_intmax_t=no
23651 fi
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 fi
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
23655 $as_echo "$gt_cv_c_intmax_t" >&6; }
23656   if test $gt_cv_c_intmax_t = yes; then
23657
23658 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
23659
23660   else
23661
23662     test $ac_cv_type_long_long_int = yes \
23663       && ac_type='long long' \
23664       || ac_type='long'
23665
23666 cat >>confdefs.h <<_ACEOF
23667 #define intmax_t $ac_type
23668 _ACEOF
23669
23670   fi
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
23681 $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
23682 if ${gl_cv_func_snprintf_retval_c99+:} false; then :
23683   $as_echo_n "(cached) " >&6
23684 else
23685
23686       if test "$cross_compiling" = yes; then :
23687
23688          case "$host_os" in
23689                                  # Guess yes on glibc systems.
23690            *-gnu*)               gl_cv_func_snprintf_retval_c99="guessing yes";;
23691                                  # Guess yes on FreeBSD >= 5.
23692            freebsd[1-4].*)       gl_cv_func_snprintf_retval_c99="guessing no";;
23693            freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
23694                                  # Guess yes on Mac OS X >= 10.3.
23695            darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
23696            darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
23697                                  # Guess yes on OpenBSD >= 3.9.
23698            openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
23699                                  gl_cv_func_snprintf_retval_c99="guessing no";;
23700            openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
23701                                  # Guess yes on Solaris >= 2.10.
23702            solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
23703            solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
23704                                  # Guess yes on AIX >= 4.
23705            aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
23706            aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
23707                                  # Guess yes on NetBSD >= 3.
23708            netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
23709                                  gl_cv_func_snprintf_retval_c99="guessing no";;
23710            netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
23711                                  # Guess yes on BeOS.
23712            beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
23713                                  # If we don't know, assume the worst.
23714            *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
23715          esac
23716
23717 else
23718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23719 /* end confdefs.h.  */
23720
23721 #include <stdio.h>
23722 #include <string.h>
23723 #if HAVE_SNPRINTF
23724 # define my_snprintf snprintf
23725 #else
23726 # include <stdarg.h>
23727 static int my_snprintf (char *buf, int size, const char *format, ...)
23728 {
23729   va_list args;
23730   int ret;
23731   va_start (args, format);
23732   ret = vsnprintf (buf, size, format, args);
23733   va_end (args);
23734   return ret;
23735 }
23736 #endif
23737 static char buf[100];
23738 int main ()
23739 {
23740   strcpy (buf, "ABCDEF");
23741   if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7)
23742     return 1;
23743   if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7)
23744     return 2;
23745   if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
23746     return 3;
23747   return 0;
23748 }
23749 _ACEOF
23750 if ac_fn_c_try_run "$LINENO"; then :
23751   gl_cv_func_snprintf_retval_c99=yes
23752 else
23753   gl_cv_func_snprintf_retval_c99=no
23754 fi
23755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23756   conftest.$ac_objext conftest.beam conftest.$ac_ext
23757 fi
23758
23759
23760 fi
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
23762 $as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
23763
23764
23765
23766
23767
23768
23769   for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
23770 do :
23771   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23773 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23774   cat >>confdefs.h <<_ACEOF
23775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23776 _ACEOF
23777
23778 fi
23779 done
23780
23781       ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
23782 "
23783 if test "x$ac_cv_have_decl__snprintf" = xyes; then :
23784   ac_have_decl=1
23785 else
23786   ac_have_decl=0
23787 fi
23788
23789 cat >>confdefs.h <<_ACEOF
23790 #define HAVE_DECL__SNPRINTF $ac_have_decl
23791 _ACEOF
23792
23793
23794
23795   case "$gl_cv_func_snprintf_retval_c99" in
23796     *yes)
23797
23798 $as_echo "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
23799
23800       ;;
23801   esac
23802
23803
23804
23805      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5
23806 $as_echo_n "checking whether printf supports 'long double' arguments... " >&6; }
23807 if ${gl_cv_func_printf_long_double+:} false; then :
23808   $as_echo_n "(cached) " >&6
23809 else
23810
23811       if test "$cross_compiling" = yes; then :
23812
23813          case "$host_os" in
23814            beos*)        gl_cv_func_printf_long_double="guessing no";;
23815            mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
23816            *)            gl_cv_func_printf_long_double="guessing yes";;
23817          esac
23818
23819 else
23820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23821 /* end confdefs.h.  */
23822
23823 #include <stdio.h>
23824 #include <string.h>
23825 static char buf[10000];
23826 int main ()
23827 {
23828   int result = 0;
23829   buf[0] = '\0';
23830   if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
23831       || strcmp (buf, "1.750000 33") != 0)
23832     result |= 1;
23833   buf[0] = '\0';
23834   if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
23835       || strcmp (buf, "1.750000e+00 33") != 0)
23836     result |= 2;
23837   buf[0] = '\0';
23838   if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
23839       || strcmp (buf, "1.75 33") != 0)
23840     result |= 4;
23841   return result;
23842 }
23843 _ACEOF
23844 if ac_fn_c_try_run "$LINENO"; then :
23845   gl_cv_func_printf_long_double=yes
23846 else
23847   gl_cv_func_printf_long_double=no
23848 fi
23849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23850   conftest.$ac_objext conftest.beam conftest.$ac_ext
23851 fi
23852
23853
23854 fi
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_long_double" >&5
23856 $as_echo "$gl_cv_func_printf_long_double" >&6; }
23857
23858
23859
23860   case "$gl_cv_func_printf_long_double" in
23861     *yes)
23862       ;;
23863     *)
23864
23865 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
23866
23867       ;;
23868   esac
23869
23870
23871
23872      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5
23873 $as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; }
23874 if ${gl_cv_func_printf_infinite+:} false; then :
23875   $as_echo_n "(cached) " >&6
23876 else
23877
23878       if test "$cross_compiling" = yes; then :
23879
23880          case "$host_os" in
23881                                  # Guess yes on glibc systems.
23882            *-gnu*)               gl_cv_func_printf_infinite="guessing yes";;
23883                                  # Guess yes on FreeBSD >= 6.
23884            freebsd[1-5].*)       gl_cv_func_printf_infinite="guessing no";;
23885            freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
23886                                  # Guess yes on Mac OS X >= 10.3.
23887            darwin[1-6].*)        gl_cv_func_printf_infinite="guessing no";;
23888            darwin*)              gl_cv_func_printf_infinite="guessing yes";;
23889                                  # Guess yes on HP-UX >= 11.
23890            hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
23891            hpux*)                gl_cv_func_printf_infinite="guessing yes";;
23892                                  # Guess yes on NetBSD >= 3.
23893            netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
23894                                  gl_cv_func_printf_infinite="guessing no";;
23895            netbsd*)              gl_cv_func_printf_infinite="guessing yes";;
23896                                  # Guess yes on BeOS.
23897            beos*)                gl_cv_func_printf_infinite="guessing yes";;
23898                                  # If we don't know, assume the worst.
23899            *)                    gl_cv_func_printf_infinite="guessing no";;
23900          esac
23901
23902 else
23903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23904 /* end confdefs.h.  */
23905
23906 #include <stdio.h>
23907 #include <string.h>
23908 static int
23909 strisnan (const char *string, size_t start_index, size_t end_index)
23910 {
23911   if (start_index < end_index)
23912     {
23913       if (string[start_index] == '-')
23914         start_index++;
23915       if (start_index + 3 <= end_index
23916           && memcmp (string + start_index, "nan", 3) == 0)
23917         {
23918           start_index += 3;
23919           if (start_index == end_index
23920               || (string[start_index] == '(' && string[end_index - 1] == ')'))
23921             return 1;
23922         }
23923     }
23924   return 0;
23925 }
23926 static int
23927 have_minus_zero ()
23928 {
23929   static double plus_zero = 0.0;
23930   double minus_zero = - plus_zero;
23931   return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
23932 }
23933 static char buf[10000];
23934 static double zero = 0.0;
23935 int main ()
23936 {
23937   int result = 0;
23938   if (sprintf (buf, "%f", 1.0 / zero) < 0
23939       || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
23940     result |= 1;
23941   if (sprintf (buf, "%f", -1.0 / zero) < 0
23942       || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
23943     result |= 1;
23944   if (sprintf (buf, "%f", zero / zero) < 0
23945       || !strisnan (buf, 0, strlen (buf)))
23946     result |= 2;
23947   if (sprintf (buf, "%e", 1.0 / zero) < 0
23948       || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
23949     result |= 4;
23950   if (sprintf (buf, "%e", -1.0 / zero) < 0
23951       || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
23952     result |= 4;
23953   if (sprintf (buf, "%e", zero / zero) < 0
23954       || !strisnan (buf, 0, strlen (buf)))
23955     result |= 8;
23956   if (sprintf (buf, "%g", 1.0 / zero) < 0
23957       || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
23958     result |= 16;
23959   if (sprintf (buf, "%g", -1.0 / zero) < 0
23960       || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
23961     result |= 16;
23962   if (sprintf (buf, "%g", zero / zero) < 0
23963       || !strisnan (buf, 0, strlen (buf)))
23964     result |= 32;
23965   /* This test fails on HP-UX 10.20.  */
23966   if (have_minus_zero ())
23967     if (sprintf (buf, "%g", - zero) < 0
23968         || strcmp (buf, "-0") != 0)
23969     result |= 64;
23970   return result;
23971 }
23972 _ACEOF
23973 if ac_fn_c_try_run "$LINENO"; then :
23974   gl_cv_func_printf_infinite=yes
23975 else
23976   gl_cv_func_printf_infinite=no
23977 fi
23978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23979   conftest.$ac_objext conftest.beam conftest.$ac_ext
23980 fi
23981
23982
23983 fi
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite" >&5
23985 $as_echo "$gl_cv_func_printf_infinite" >&6; }
23986
23987
23988
23989
23990
23991
23992          if test -n "$gl_printf_safe"; then
23993
23994 $as_echo "#define CHECK_PRINTF_SAFE 1" >>confdefs.h
23995
23996   fi
23997   case "$gl_cv_func_printf_long_double" in
23998     *yes)
23999       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5
24000 $as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; }
24001 if ${gl_cv_func_printf_infinite_long_double+:} false; then :
24002   $as_echo_n "(cached) " >&6
24003 else
24004
24005           if test "$cross_compiling" = yes; then :
24006
24007              case "$host_cpu" in
24008                                      # Guess no on ia64, x86_64, i386.
24009                ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
24010                *)
24011                  case "$host_os" in
24012                                          # Guess yes on glibc systems.
24013                    *-gnu*)               gl_cv_func_printf_infinite_long_double="guessing yes";;
24014                                          # Guess yes on FreeBSD >= 6.
24015                    freebsd[1-5].*)       gl_cv_func_printf_infinite_long_double="guessing no";;
24016                    freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
24017                                          # Guess yes on HP-UX >= 11.
24018                    hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
24019                    hpux*)                gl_cv_func_printf_infinite_long_double="guessing yes";;
24020                                          # If we don't know, assume the worst.
24021                    *)                    gl_cv_func_printf_infinite_long_double="guessing no";;
24022                  esac
24023                  ;;
24024              esac
24025
24026 else
24027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h.  */
24029
24030
24031 #include <stdlib.h>
24032 #if defined __MACH__ && defined __APPLE__
24033 /* Avoid a crash on Mac OS X.  */
24034 #include <mach/mach.h>
24035 #include <mach/mach_error.h>
24036 #include <mach/thread_status.h>
24037 #include <mach/exception.h>
24038 #include <mach/task.h>
24039 #include <pthread.h>
24040 /* The exception port on which our thread listens.  */
24041 static mach_port_t our_exception_port;
24042 /* The main function of the thread listening for exceptions of type
24043    EXC_BAD_ACCESS.  */
24044 static void *
24045 mach_exception_thread (void *arg)
24046 {
24047   /* Buffer for a message to be received.  */
24048   struct {
24049     mach_msg_header_t head;
24050     mach_msg_body_t msgh_body;
24051     char data[1024];
24052   } msg;
24053   mach_msg_return_t retval;
24054   /* Wait for a message on the exception port.  */
24055   retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
24056                      our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
24057   if (retval != MACH_MSG_SUCCESS)
24058     abort ();
24059   exit (1);
24060 }
24061 static void
24062 nocrash_init (void)
24063 {
24064   mach_port_t self = mach_task_self ();
24065   /* Allocate a port on which the thread shall listen for exceptions.  */
24066   if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
24067       == KERN_SUCCESS) {
24068     /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
24069     if (mach_port_insert_right (self, our_exception_port, our_exception_port,
24070                                 MACH_MSG_TYPE_MAKE_SEND)
24071         == KERN_SUCCESS) {
24072       /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
24073          for us.  */
24074       exception_mask_t mask = EXC_MASK_BAD_ACCESS;
24075       /* Create the thread listening on the exception port.  */
24076       pthread_attr_t attr;
24077       pthread_t thread;
24078       if (pthread_attr_init (&attr) == 0
24079           && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
24080           && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
24081         pthread_attr_destroy (&attr);
24082         /* Replace the exception port info for these exceptions with our own.
24083            Note that we replace the exception port for the entire task, not only
24084            for a particular thread.  This has the effect that when our exception
24085            port gets the message, the thread specific exception port has already
24086            been asked, and we don't need to bother about it.
24087            See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
24088         task_set_exception_ports (self, mask, our_exception_port,
24089                                   EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
24090       }
24091     }
24092   }
24093 }
24094 #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
24095 /* Avoid a crash on native Windows.  */
24096 #define WIN32_LEAN_AND_MEAN
24097 #include <windows.h>
24098 #include <winerror.h>
24099 static LONG WINAPI
24100 exception_filter (EXCEPTION_POINTERS *ExceptionInfo)
24101 {
24102   switch (ExceptionInfo->ExceptionRecord->ExceptionCode)
24103     {
24104     case EXCEPTION_ACCESS_VIOLATION:
24105     case EXCEPTION_IN_PAGE_ERROR:
24106     case EXCEPTION_STACK_OVERFLOW:
24107     case EXCEPTION_GUARD_PAGE:
24108     case EXCEPTION_PRIV_INSTRUCTION:
24109     case EXCEPTION_ILLEGAL_INSTRUCTION:
24110     case EXCEPTION_DATATYPE_MISALIGNMENT:
24111     case EXCEPTION_ARRAY_BOUNDS_EXCEEDED:
24112     case EXCEPTION_NONCONTINUABLE_EXCEPTION:
24113       exit (1);
24114     }
24115   return EXCEPTION_CONTINUE_SEARCH;
24116 }
24117 static void
24118 nocrash_init (void)
24119 {
24120   SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter);
24121 }
24122 #else
24123 /* Avoid a crash on POSIX systems.  */
24124 #include <signal.h>
24125 #include <unistd.h>
24126 /* A POSIX signal handler.  */
24127 static void
24128 exception_handler (int sig)
24129 {
24130   _exit (1);
24131 }
24132 static void
24133 nocrash_init (void)
24134 {
24135 #ifdef SIGSEGV
24136   signal (SIGSEGV, exception_handler);
24137 #endif
24138 #ifdef SIGBUS
24139   signal (SIGBUS, exception_handler);
24140 #endif
24141 }
24142 #endif
24143
24144 #include <float.h>
24145 #include <stdio.h>
24146 #include <string.h>
24147 static int
24148 strisnan (const char *string, size_t start_index, size_t end_index)
24149 {
24150   if (start_index < end_index)
24151     {
24152       if (string[start_index] == '-')
24153         start_index++;
24154       if (start_index + 3 <= end_index
24155           && memcmp (string + start_index, "nan", 3) == 0)
24156         {
24157           start_index += 3;
24158           if (start_index == end_index
24159               || (string[start_index] == '(' && string[end_index - 1] == ')'))
24160             return 1;
24161         }
24162     }
24163   return 0;
24164 }
24165 static char buf[10000];
24166 static long double zeroL = 0.0L;
24167 int main ()
24168 {
24169   int result = 0;
24170   nocrash_init();
24171   if (sprintf (buf, "%Lf", 1.0L / zeroL) < 0
24172       || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
24173     result |= 1;
24174   if (sprintf (buf, "%Lf", -1.0L / zeroL) < 0
24175       || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
24176     result |= 1;
24177   if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
24178       || !strisnan (buf, 0, strlen (buf)))
24179     result |= 1;
24180   if (sprintf (buf, "%Le", 1.0L / zeroL) < 0
24181       || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
24182     result |= 1;
24183   if (sprintf (buf, "%Le", -1.0L / zeroL) < 0
24184       || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
24185     result |= 1;
24186   if (sprintf (buf, "%Le", zeroL / zeroL) < 0
24187       || !strisnan (buf, 0, strlen (buf)))
24188     result |= 1;
24189   if (sprintf (buf, "%Lg", 1.0L / zeroL) < 0
24190       || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
24191     result |= 1;
24192   if (sprintf (buf, "%Lg", -1.0L / zeroL) < 0
24193       || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
24194     result |= 1;
24195   if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
24196       || !strisnan (buf, 0, strlen (buf)))
24197     result |= 1;
24198 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
24199 /* Representation of an 80-bit 'long double' as an initializer for a sequence
24200    of 'unsigned int' words.  */
24201 # ifdef WORDS_BIGENDIAN
24202 #  define LDBL80_WORDS(exponent,manthi,mantlo) \
24203      { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
24204        ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16),   \
24205        (unsigned int) (mantlo) << 16                                        \
24206      }
24207 # else
24208 #  define LDBL80_WORDS(exponent,manthi,mantlo) \
24209      { mantlo, manthi, exponent }
24210 # endif
24211   { /* Quiet NaN.  */
24212     static union { unsigned int word[4]; long double value; } x =
24213       { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
24214     if (sprintf (buf, "%Lf", x.value) < 0
24215         || !strisnan (buf, 0, strlen (buf)))
24216       result |= 2;
24217     if (sprintf (buf, "%Le", x.value) < 0
24218         || !strisnan (buf, 0, strlen (buf)))
24219       result |= 2;
24220     if (sprintf (buf, "%Lg", x.value) < 0
24221         || !strisnan (buf, 0, strlen (buf)))
24222       result |= 2;
24223   }
24224   {
24225     /* Signalling NaN.  */
24226     static union { unsigned int word[4]; long double value; } x =
24227       { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
24228     if (sprintf (buf, "%Lf", x.value) < 0
24229         || !strisnan (buf, 0, strlen (buf)))
24230       result |= 2;
24231     if (sprintf (buf, "%Le", x.value) < 0
24232         || !strisnan (buf, 0, strlen (buf)))
24233       result |= 2;
24234     if (sprintf (buf, "%Lg", x.value) < 0
24235         || !strisnan (buf, 0, strlen (buf)))
24236       result |= 2;
24237   }
24238   { /* Pseudo-NaN.  */
24239     static union { unsigned int word[4]; long double value; } x =
24240       { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
24241     if (sprintf (buf, "%Lf", x.value) <= 0)
24242       result |= 4;
24243     if (sprintf (buf, "%Le", x.value) <= 0)
24244       result |= 4;
24245     if (sprintf (buf, "%Lg", x.value) <= 0)
24246       result |= 4;
24247   }
24248   { /* Pseudo-Infinity.  */
24249     static union { unsigned int word[4]; long double value; } x =
24250       { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
24251     if (sprintf (buf, "%Lf", x.value) <= 0)
24252       result |= 8;
24253     if (sprintf (buf, "%Le", x.value) <= 0)
24254       result |= 8;
24255     if (sprintf (buf, "%Lg", x.value) <= 0)
24256       result |= 8;
24257   }
24258   { /* Pseudo-Zero.  */
24259     static union { unsigned int word[4]; long double value; } x =
24260       { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
24261     if (sprintf (buf, "%Lf", x.value) <= 0)
24262       result |= 16;
24263     if (sprintf (buf, "%Le", x.value) <= 0)
24264       result |= 16;
24265     if (sprintf (buf, "%Lg", x.value) <= 0)
24266       result |= 16;
24267   }
24268   { /* Unnormalized number.  */
24269     static union { unsigned int word[4]; long double value; } x =
24270       { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
24271     if (sprintf (buf, "%Lf", x.value) <= 0)
24272       result |= 32;
24273     if (sprintf (buf, "%Le", x.value) <= 0)
24274       result |= 32;
24275     if (sprintf (buf, "%Lg", x.value) <= 0)
24276       result |= 32;
24277   }
24278   { /* Pseudo-Denormal.  */
24279     static union { unsigned int word[4]; long double value; } x =
24280       { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
24281     if (sprintf (buf, "%Lf", x.value) <= 0)
24282       result |= 64;
24283     if (sprintf (buf, "%Le", x.value) <= 0)
24284       result |= 64;
24285     if (sprintf (buf, "%Lg", x.value) <= 0)
24286       result |= 64;
24287   }
24288 #endif
24289   return result;
24290 }
24291 _ACEOF
24292 if ac_fn_c_try_run "$LINENO"; then :
24293   gl_cv_func_printf_infinite_long_double=yes
24294 else
24295   gl_cv_func_printf_infinite_long_double=no
24296 fi
24297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24298   conftest.$ac_objext conftest.beam conftest.$ac_ext
24299 fi
24300
24301
24302 fi
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite_long_double" >&5
24304 $as_echo "$gl_cv_func_printf_infinite_long_double" >&6; }
24305       ;;
24306     *)
24307       gl_cv_func_printf_infinite_long_double="irrelevant"
24308       ;;
24309   esac
24310
24311
24312
24313      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5
24314 $as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; }
24315 if ${gl_cv_func_printf_directive_a+:} false; then :
24316   $as_echo_n "(cached) " >&6
24317 else
24318
24319       if test "$cross_compiling" = yes; then :
24320
24321          case "$host_os" in
24322                                  # Guess yes on glibc >= 2.5 systems.
24323            *-gnu*)
24324              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24325 /* end confdefs.h.  */
24326
24327                #include <features.h>
24328                #ifdef __GNU_LIBRARY__
24329                 #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
24330                  BZ2908
24331                 #endif
24332                #endif
24333
24334 _ACEOF
24335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24336   $EGREP "BZ2908" >/dev/null 2>&1; then :
24337   gl_cv_func_printf_directive_a="guessing yes"
24338 else
24339   gl_cv_func_printf_directive_a="guessing no"
24340 fi
24341 rm -f conftest*
24342
24343              ;;
24344                                  # If we don't know, assume the worst.
24345            *)                    gl_cv_func_printf_directive_a="guessing no";;
24346          esac
24347
24348 else
24349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24350 /* end confdefs.h.  */
24351
24352 #include <stdio.h>
24353 #include <string.h>
24354 static char buf[100];
24355 static double zero = 0.0;
24356 int main ()
24357 {
24358   int result = 0;
24359   if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
24360       || (strcmp (buf, "0x1.922p+1 33") != 0
24361           && strcmp (buf, "0x3.244p+0 33") != 0
24362           && strcmp (buf, "0x6.488p-1 33") != 0
24363           && strcmp (buf, "0xc.91p-2 33") != 0))
24364     result |= 1;
24365   if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
24366       || (strcmp (buf, "-0X1.922P+1 33") != 0
24367           && strcmp (buf, "-0X3.244P+0 33") != 0
24368           && strcmp (buf, "-0X6.488P-1 33") != 0
24369           && strcmp (buf, "-0XC.91P-2 33") != 0))
24370     result |= 2;
24371   /* This catches a FreeBSD 6.1 bug: it doesn't round.  */
24372   if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
24373       || (strcmp (buf, "0x1.83p+0 33") != 0
24374           && strcmp (buf, "0x3.05p-1 33") != 0
24375           && strcmp (buf, "0x6.0ap-2 33") != 0
24376           && strcmp (buf, "0xc.14p-3 33") != 0))
24377     result |= 4;
24378   /* This catches a FreeBSD 6.1 bug.  See
24379      <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
24380   if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0
24381       || buf[0] == '0')
24382     result |= 8;
24383   /* This catches a Mac OS X 10.3.9 (Darwin 7.9) bug.  */
24384   if (sprintf (buf, "%.1a", 1.999) < 0
24385       || (strcmp (buf, "0x1.0p+1") != 0
24386           && strcmp (buf, "0x2.0p+0") != 0
24387           && strcmp (buf, "0x4.0p-1") != 0
24388           && strcmp (buf, "0x8.0p-2") != 0))
24389     result |= 16;
24390   /* This catches the same Mac OS X 10.3.9 (Darwin 7.9) bug and also a
24391      glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>.  */
24392   if (sprintf (buf, "%.1La", 1.999L) < 0
24393       || (strcmp (buf, "0x1.0p+1") != 0
24394           && strcmp (buf, "0x2.0p+0") != 0
24395           && strcmp (buf, "0x4.0p-1") != 0
24396           && strcmp (buf, "0x8.0p-2") != 0))
24397     result |= 32;
24398   return result;
24399 }
24400 _ACEOF
24401 if ac_fn_c_try_run "$LINENO"; then :
24402   gl_cv_func_printf_directive_a=yes
24403 else
24404   gl_cv_func_printf_directive_a=no
24405 fi
24406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24407   conftest.$ac_objext conftest.beam conftest.$ac_ext
24408 fi
24409
24410
24411 fi
24412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_a" >&5
24413 $as_echo "$gl_cv_func_printf_directive_a" >&6; }
24414
24415
24416
24417      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5
24418 $as_echo_n "checking whether printf supports the 'F' directive... " >&6; }
24419 if ${gl_cv_func_printf_directive_f+:} false; then :
24420   $as_echo_n "(cached) " >&6
24421 else
24422
24423       if test "$cross_compiling" = yes; then :
24424
24425          case "$host_os" in
24426                                  # Guess yes on glibc systems.
24427            *-gnu*)               gl_cv_func_printf_directive_f="guessing yes";;
24428                                  # Guess yes on FreeBSD >= 6.
24429            freebsd[1-5].*)       gl_cv_func_printf_directive_f="guessing no";;
24430            freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
24431                                  # Guess yes on Mac OS X >= 10.3.
24432            darwin[1-6].*)        gl_cv_func_printf_directive_f="guessing no";;
24433            darwin*)              gl_cv_func_printf_directive_f="guessing yes";;
24434                                  # Guess yes on Solaris >= 2.10.
24435            solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
24436            solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
24437                                  # If we don't know, assume the worst.
24438            *)                    gl_cv_func_printf_directive_f="guessing no";;
24439          esac
24440
24441 else
24442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24443 /* end confdefs.h.  */
24444
24445 #include <stdio.h>
24446 #include <string.h>
24447 static char buf[100];
24448 static double zero = 0.0;
24449 int main ()
24450 {
24451   int result = 0;
24452   if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
24453       || strcmp (buf, "1234567.000000 33") != 0)
24454     result |= 1;
24455   if (sprintf (buf, "%F", 1.0 / zero) < 0
24456       || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
24457     result |= 2;
24458   /* This catches a Cygwin 1.5.x bug.  */
24459   if (sprintf (buf, "%.F", 1234.0) < 0
24460       || strcmp (buf, "1234") != 0)
24461     result |= 4;
24462   return result;
24463 }
24464 _ACEOF
24465 if ac_fn_c_try_run "$LINENO"; then :
24466   gl_cv_func_printf_directive_f=yes
24467 else
24468   gl_cv_func_printf_directive_f=no
24469 fi
24470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24471   conftest.$ac_objext conftest.beam conftest.$ac_ext
24472 fi
24473
24474
24475 fi
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_f" >&5
24477 $as_echo "$gl_cv_func_printf_directive_f" >&6; }
24478
24479
24480
24481      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5
24482 $as_echo_n "checking whether printf supports the 'ls' directive... " >&6; }
24483 if ${gl_cv_func_printf_directive_ls+:} false; then :
24484   $as_echo_n "(cached) " >&6
24485 else
24486
24487       if test "$cross_compiling" = yes; then :
24488
24489          case "$host_os" in
24490            openbsd*)        gl_cv_func_printf_directive_ls="guessing no";;
24491            irix*)           gl_cv_func_printf_directive_ls="guessing no";;
24492            solaris*)        gl_cv_func_printf_directive_ls="guessing no";;
24493            cygwin*)         gl_cv_func_printf_directive_ls="guessing no";;
24494            beos* | haiku*)  gl_cv_func_printf_directive_ls="guessing no";;
24495            *)               gl_cv_func_printf_directive_ls="guessing yes";;
24496          esac
24497
24498 else
24499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24500 /* end confdefs.h.  */
24501
24502 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
24503    <wchar.h>.
24504    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
24505    included before <wchar.h>.  */
24506 #include <stddef.h>
24507 #include <stdio.h>
24508 #include <time.h>
24509 #include <wchar.h>
24510 #include <string.h>
24511 int main ()
24512 {
24513   int result = 0;
24514   char buf[100];
24515   /* Test whether %ls works at all.
24516      This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
24517      Cygwin 1.5.  */
24518   {
24519     static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
24520     buf[0] = '\0';
24521     if (sprintf (buf, "%ls", wstring) < 0
24522         || strcmp (buf, "abc") != 0)
24523       result |= 1;
24524   }
24525   /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
24526      assertion failure inside libc), but not on OpenBSD 4.0.  */
24527   {
24528     static const wchar_t wstring[] = { 'a', 0 };
24529     buf[0] = '\0';
24530     if (sprintf (buf, "%ls", wstring) < 0
24531         || strcmp (buf, "a") != 0)
24532       result |= 2;
24533   }
24534   /* Test whether precisions in %ls are supported as specified in ISO C 99
24535      section 7.19.6.1:
24536        "If a precision is specified, no more than that many bytes are written
24537         (including shift sequences, if any), and the array shall contain a
24538         null wide character if, to equal the multibyte character sequence
24539         length given by the precision, the function would need to access a
24540         wide character one past the end of the array."
24541      This test fails on Solaris 10.  */
24542   {
24543     static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
24544     buf[0] = '\0';
24545     if (sprintf (buf, "%.2ls", wstring) < 0
24546         || strcmp (buf, "ab") != 0)
24547       result |= 8;
24548   }
24549   return result;
24550 }
24551 _ACEOF
24552 if ac_fn_c_try_run "$LINENO"; then :
24553   gl_cv_func_printf_directive_ls=yes
24554 else
24555   gl_cv_func_printf_directive_ls=no
24556 fi
24557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24558   conftest.$ac_objext conftest.beam conftest.$ac_ext
24559 fi
24560
24561
24562 fi
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_ls" >&5
24564 $as_echo "$gl_cv_func_printf_directive_ls" >&6; }
24565
24566
24567
24568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5
24569 $as_echo_n "checking whether printf supports the grouping flag... " >&6; }
24570 if ${gl_cv_func_printf_flag_grouping+:} false; then :
24571   $as_echo_n "(cached) " >&6
24572 else
24573
24574       if test "$cross_compiling" = yes; then :
24575
24576          case "$host_os" in
24577            cygwin*)      gl_cv_func_printf_flag_grouping="guessing no";;
24578            netbsd*)      gl_cv_func_printf_flag_grouping="guessing no";;
24579            mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
24580            *)            gl_cv_func_printf_flag_grouping="guessing yes";;
24581          esac
24582
24583 else
24584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24585 /* end confdefs.h.  */
24586
24587 #include <stdio.h>
24588 #include <string.h>
24589 static char buf[100];
24590 int main ()
24591 {
24592   if (sprintf (buf, "%'d %d", 1234567, 99) < 0
24593       || buf[strlen (buf) - 1] != '9')
24594     return 1;
24595   return 0;
24596 }
24597 _ACEOF
24598 if ac_fn_c_try_run "$LINENO"; then :
24599   gl_cv_func_printf_flag_grouping=yes
24600 else
24601   gl_cv_func_printf_flag_grouping=no
24602 fi
24603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24604   conftest.$ac_objext conftest.beam conftest.$ac_ext
24605 fi
24606
24607
24608 fi
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_grouping" >&5
24610 $as_echo "$gl_cv_func_printf_flag_grouping" >&6; }
24611
24612
24613
24614      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5
24615 $as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; }
24616 if ${gl_cv_func_printf_flag_leftadjust+:} false; then :
24617   $as_echo_n "(cached) " >&6
24618 else
24619
24620       if test "$cross_compiling" = yes; then :
24621
24622          case "$host_os" in
24623                     # Guess yes on HP-UX 11.
24624            hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
24625                     # Guess no on HP-UX 10 and older.
24626            hpux*)   gl_cv_func_printf_flag_leftadjust="guessing no";;
24627                     # Guess yes otherwise.
24628            *)       gl_cv_func_printf_flag_leftadjust="guessing yes";;
24629          esac
24630
24631 else
24632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h.  */
24634
24635 #include <stdio.h>
24636 #include <string.h>
24637 static char buf[100];
24638 int main ()
24639 {
24640   /* Check that a '-' flag is not annihilated by a negative width.  */
24641   if (sprintf (buf, "a%-*sc", -3, "b") < 0
24642       || strcmp (buf, "ab  c") != 0)
24643     return 1;
24644   return 0;
24645 }
24646 _ACEOF
24647 if ac_fn_c_try_run "$LINENO"; then :
24648   gl_cv_func_printf_flag_leftadjust=yes
24649 else
24650   gl_cv_func_printf_flag_leftadjust=no
24651 fi
24652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24653   conftest.$ac_objext conftest.beam conftest.$ac_ext
24654 fi
24655
24656
24657 fi
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_leftadjust" >&5
24659 $as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; }
24660
24661
24662
24663      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5
24664 $as_echo_n "checking whether printf supports the zero flag correctly... " >&6; }
24665 if ${gl_cv_func_printf_flag_zero+:} false; then :
24666   $as_echo_n "(cached) " >&6
24667 else
24668
24669       if test "$cross_compiling" = yes; then :
24670
24671          case "$host_os" in
24672                    # Guess yes on glibc systems.
24673            *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
24674                    # Guess yes on BeOS.
24675            beos*)  gl_cv_func_printf_flag_zero="guessing yes";;
24676                    # If we don't know, assume the worst.
24677            *)      gl_cv_func_printf_flag_zero="guessing no";;
24678          esac
24679
24680 else
24681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24682 /* end confdefs.h.  */
24683
24684 #include <stdio.h>
24685 #include <string.h>
24686 static char buf[100];
24687 static double zero = 0.0;
24688 int main ()
24689 {
24690   if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0
24691       || (strcmp (buf, "       inf") != 0
24692           && strcmp (buf, "  infinity") != 0))
24693     return 1;
24694   return 0;
24695 }
24696 _ACEOF
24697 if ac_fn_c_try_run "$LINENO"; then :
24698   gl_cv_func_printf_flag_zero=yes
24699 else
24700   gl_cv_func_printf_flag_zero=no
24701 fi
24702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24703   conftest.$ac_objext conftest.beam conftest.$ac_ext
24704 fi
24705
24706
24707 fi
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_zero" >&5
24709 $as_echo "$gl_cv_func_printf_flag_zero" >&6; }
24710
24711
24712
24713      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5
24714 $as_echo_n "checking whether printf supports large precisions... " >&6; }
24715 if ${gl_cv_func_printf_precision+:} false; then :
24716   $as_echo_n "(cached) " >&6
24717 else
24718
24719       if test "$cross_compiling" = yes; then :
24720
24721          case "$host_os" in
24722            # Guess no only on Solaris, native Windows, and BeOS systems.
24723            solaris*)     gl_cv_func_printf_precision="guessing no" ;;
24724            mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
24725            beos*)        gl_cv_func_printf_precision="guessing no" ;;
24726            *)            gl_cv_func_printf_precision="guessing yes" ;;
24727          esac
24728
24729 else
24730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24731 /* end confdefs.h.  */
24732
24733 #include <stdio.h>
24734 #include <string.h>
24735 static char buf[5000];
24736 int main ()
24737 {
24738   int result = 0;
24739 #ifdef __BEOS__
24740   /* On BeOS, this would crash and show a dialog box.  Avoid the crash.  */
24741   return 1;
24742 #endif
24743   if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
24744     result |= 1;
24745   if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
24746     result |= 2;
24747   if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
24748       || buf[0] != '1')
24749     result |= 4;
24750   if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5
24751       || buf[0] != '1')
24752     result |= 4;
24753   return result;
24754 }
24755 _ACEOF
24756 if ac_fn_c_try_run "$LINENO"; then :
24757   gl_cv_func_printf_precision=yes
24758 else
24759   gl_cv_func_printf_precision=no
24760 fi
24761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24762   conftest.$ac_objext conftest.beam conftest.$ac_ext
24763 fi
24764
24765
24766 fi
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_precision" >&5
24768 $as_echo "$gl_cv_func_printf_precision" >&6; }
24769
24770
24771
24772
24773      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5
24774 $as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; }
24775 if ${gl_cv_func_printf_enomem+:} false; then :
24776   $as_echo_n "(cached) " >&6
24777 else
24778
24779       gl_cv_func_printf_enomem="guessing no"
24780       if test "$cross_compiling" = no; then
24781         if test $APPLE_UNIVERSAL_BUILD = 0; then
24782           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24783 /* end confdefs.h.  */
24784
24785
24786 #include <stdlib.h>
24787 #if defined __MACH__ && defined __APPLE__
24788 /* Avoid a crash on Mac OS X.  */
24789 #include <mach/mach.h>
24790 #include <mach/mach_error.h>
24791 #include <mach/thread_status.h>
24792 #include <mach/exception.h>
24793 #include <mach/task.h>
24794 #include <pthread.h>
24795 /* The exception port on which our thread listens.  */
24796 static mach_port_t our_exception_port;
24797 /* The main function of the thread listening for exceptions of type
24798    EXC_BAD_ACCESS.  */
24799 static void *
24800 mach_exception_thread (void *arg)
24801 {
24802   /* Buffer for a message to be received.  */
24803   struct {
24804     mach_msg_header_t head;
24805     mach_msg_body_t msgh_body;
24806     char data1024;
24807   } msg;
24808   mach_msg_return_t retval;
24809   /* Wait for a message on the exception port.  */
24810   retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
24811                      our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
24812   if (retval != MACH_MSG_SUCCESS)
24813     abort ();
24814   exit (1);
24815 }
24816 static void
24817 nocrash_init (void)
24818 {
24819   mach_port_t self = mach_task_self ();
24820   /* Allocate a port on which the thread shall listen for exceptions.  */
24821   if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
24822       == KERN_SUCCESS) {
24823     /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
24824     if (mach_port_insert_right (self, our_exception_port, our_exception_port,
24825                                 MACH_MSG_TYPE_MAKE_SEND)
24826         == KERN_SUCCESS) {
24827       /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
24828          for us.  */
24829       exception_mask_t mask = EXC_MASK_BAD_ACCESS;
24830       /* Create the thread listening on the exception port.  */
24831       pthread_attr_t attr;
24832       pthread_t thread;
24833       if (pthread_attr_init (&attr) == 0
24834           && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
24835           && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
24836         pthread_attr_destroy (&attr);
24837         /* Replace the exception port info for these exceptions with our own.
24838            Note that we replace the exception port for the entire task, not only
24839            for a particular thread.  This has the effect that when our exception
24840            port gets the message, the thread specific exception port has already
24841            been asked, and we don't need to bother about it.
24842            See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
24843         task_set_exception_ports (self, mask, our_exception_port,
24844                                   EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
24845       }
24846     }
24847   }
24848 }
24849 #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
24850 /* Avoid a crash on native Windows.  */
24851 #define WIN32_LEAN_AND_MEAN
24852 #include <windows.h>
24853 #include <winerror.h>
24854 static LONG WINAPI
24855 exception_filter (EXCEPTION_POINTERS *ExceptionInfo)
24856 {
24857   switch (ExceptionInfo->ExceptionRecord->ExceptionCode)
24858     {
24859     case EXCEPTION_ACCESS_VIOLATION:
24860     case EXCEPTION_IN_PAGE_ERROR:
24861     case EXCEPTION_STACK_OVERFLOW:
24862     case EXCEPTION_GUARD_PAGE:
24863     case EXCEPTION_PRIV_INSTRUCTION:
24864     case EXCEPTION_ILLEGAL_INSTRUCTION:
24865     case EXCEPTION_DATATYPE_MISALIGNMENT:
24866     case EXCEPTION_ARRAY_BOUNDS_EXCEEDED:
24867     case EXCEPTION_NONCONTINUABLE_EXCEPTION:
24868       exit (1);
24869     }
24870   return EXCEPTION_CONTINUE_SEARCH;
24871 }
24872 static void
24873 nocrash_init (void)
24874 {
24875   SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter);
24876 }
24877 #else
24878 /* Avoid a crash on POSIX systems.  */
24879 #include <signal.h>
24880 #include <unistd.h>
24881 /* A POSIX signal handler.  */
24882 static void
24883 exception_handler (int sig)
24884 {
24885   _exit (1);
24886 }
24887 static void
24888 nocrash_init (void)
24889 {
24890 #ifdef SIGSEGV
24891   signal (SIGSEGV, exception_handler);
24892 #endif
24893 #ifdef SIGBUS
24894   signal (SIGBUS, exception_handler);
24895 #endif
24896 }
24897 #endif
24898
24899 #include <stdio.h>
24900 #include <sys/types.h>
24901 #include <sys/time.h>
24902 #include <sys/resource.h>
24903 #include <errno.h>
24904 int main()
24905 {
24906   struct rlimit limit;
24907   int ret;
24908   nocrash_init ();
24909   /* Some printf implementations allocate temporary space with malloc.  */
24910   /* On BSD systems, malloc() is limited by RLIMIT_DATA.  */
24911 #ifdef RLIMIT_DATA
24912   if (getrlimit (RLIMIT_DATA, &limit) < 0)
24913     return 77;
24914   if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
24915     limit.rlim_max = 5000000;
24916   limit.rlim_cur = limit.rlim_max;
24917   if (setrlimit (RLIMIT_DATA, &limit) < 0)
24918     return 77;
24919 #endif
24920   /* On Linux systems, malloc() is limited by RLIMIT_AS.  */
24921 #ifdef RLIMIT_AS
24922   if (getrlimit (RLIMIT_AS, &limit) < 0)
24923     return 77;
24924   if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
24925     limit.rlim_max = 5000000;
24926   limit.rlim_cur = limit.rlim_max;
24927   if (setrlimit (RLIMIT_AS, &limit) < 0)
24928     return 77;
24929 #endif
24930   /* Some printf implementations allocate temporary space on the stack.  */
24931 #ifdef RLIMIT_STACK
24932   if (getrlimit (RLIMIT_STACK, &limit) < 0)
24933     return 77;
24934   if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
24935     limit.rlim_max = 5000000;
24936   limit.rlim_cur = limit.rlim_max;
24937   if (setrlimit (RLIMIT_STACK, &limit) < 0)
24938     return 77;
24939 #endif
24940   ret = printf ("%.5000000f", 1.0);
24941   return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
24942 }
24943
24944 _ACEOF
24945           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
24946   (eval $ac_link) 2>&5
24947   ac_status=$?
24948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24949   test $ac_status = 0; } && test -s conftest$ac_exeext; then
24950             (./conftest 2>&5
24951              result=$?
24952              $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $result" >&5
24953              if test $result != 0 && test $result != 77; then result=1; fi
24954              exit $result
24955             ) >/dev/null 2>/dev/null
24956             case $? in
24957               0) gl_cv_func_printf_enomem="yes" ;;
24958               77) gl_cv_func_printf_enomem="guessing no" ;;
24959               *) gl_cv_func_printf_enomem="no" ;;
24960             esac
24961           else
24962             gl_cv_func_printf_enomem="guessing no"
24963           fi
24964           rm -fr conftest*
24965         else
24966                                         gl_cv_func_printf_enomem="guessing no"
24967         fi
24968       fi
24969       if test "$gl_cv_func_printf_enomem" = "guessing no"; then
24970         case "$host_os" in
24971                     # Guess yes on glibc systems.
24972           *-gnu*)   gl_cv_func_printf_enomem="guessing yes";;
24973                     # Guess yes on Solaris.
24974           solaris*) gl_cv_func_printf_enomem="guessing yes";;
24975                     # Guess yes on AIX.
24976           aix*)     gl_cv_func_printf_enomem="guessing yes";;
24977                     # Guess yes on HP-UX/hppa.
24978           hpux*)    case "$host_cpu" in
24979                       hppa*) gl_cv_func_printf_enomem="guessing yes";;
24980                       *)     gl_cv_func_printf_enomem="guessing no";;
24981                     esac
24982                     ;;
24983                     # Guess yes on IRIX.
24984           irix*)    gl_cv_func_printf_enomem="guessing yes";;
24985                     # Guess yes on OSF/1.
24986           osf*)     gl_cv_func_printf_enomem="guessing yes";;
24987                     # Guess yes on BeOS.
24988           beos*)    gl_cv_func_printf_enomem="guessing yes";;
24989                     # Guess yes on Haiku.
24990           haiku*)   gl_cv_func_printf_enomem="guessing yes";;
24991                     # If we don't know, assume the worst.
24992           *)        gl_cv_func_printf_enomem="guessing no";;
24993         esac
24994       fi
24995
24996 fi
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5
24998 $as_echo "$gl_cv_func_printf_enomem" >&6; }
24999
25000
25001
25002
25003
25004
25005             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
25006 $as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
25007 if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
25008   $as_echo_n "(cached) " >&6
25009 else
25010   gl_cv_header_wchar_h_correct_inline=yes
25011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h.  */
25013
25014        #define wcstod renamed_wcstod
25015 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
25016    <wchar.h>.
25017    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
25018    included before <wchar.h>.  */
25019 #include <stddef.h>
25020 #include <stdio.h>
25021 #include <time.h>
25022 #include <wchar.h>
25023 extern int zero (void);
25024 int main () { return zero(); }
25025
25026 _ACEOF
25027                               save_ac_compile="$ac_compile"
25028      ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest1/`
25029      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
25030   (eval $ac_compile) 2>&5
25031   ac_status=$?
25032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25033   test $ac_status = 0; }; then
25034        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25035 /* end confdefs.h.  */
25036
25037          #define wcstod renamed_wcstod
25038 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
25039    <wchar.h>.
25040    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
25041    included before <wchar.h>.  */
25042 #include <stddef.h>
25043 #include <stdio.h>
25044 #include <time.h>
25045 #include <wchar.h>
25046 int zero (void) { return 0; }
25047
25048 _ACEOF
25049               ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest2/`
25050        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
25051   (eval $ac_compile) 2>&5
25052   ac_status=$?
25053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25054   test $ac_status = 0; }; then
25055          if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
25056            :
25057          else
25058            gl_cv_header_wchar_h_correct_inline=no
25059          fi
25060        fi
25061      fi
25062      ac_compile="$save_ac_compile"
25063      rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
25064
25065 fi
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
25067 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
25068   if test $gl_cv_header_wchar_h_correct_inline = no; then
25069     as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
25070 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
25071 C99 mode. You have four options:
25072   - Add the flag -fgnu89-inline to CC and reconfigure, or
25073   - Fix your include files, using parts of
25074     <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
25075   - Use a gcc version older than 4.3, or
25076   - Don't use the flags -std=c99 or -std=gnu99.
25077 Configuration aborted." "$LINENO" 5
25078   fi
25079
25080
25081
25082
25083
25084
25085
25086
25087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
25088 $as_echo_n "checking for a traditional french locale... " >&6; }
25089 if ${gt_cv_locale_fr+:} false; then :
25090   $as_echo_n "(cached) " >&6
25091 else
25092
25093     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25094 /* end confdefs.h.  */
25095
25096 #include <locale.h>
25097 #include <time.h>
25098 #if HAVE_LANGINFO_CODESET
25099 # include <langinfo.h>
25100 #endif
25101 #include <stdlib.h>
25102 #include <string.h>
25103 struct tm t;
25104 char buf[16];
25105 int main () {
25106   /* Check whether the given locale name is recognized by the system.  */
25107 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
25108   /* On native Windows, setlocale(category, "") looks at the system settings,
25109      not at the environment variables.  Also, when an encoding suffix such
25110      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
25111      category of the locale to "C".  */
25112   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
25113       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
25114     return 1;
25115 #else
25116   if (setlocale (LC_ALL, "") == NULL) return 1;
25117 #endif
25118   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
25119      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
25120      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
25121      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
25122      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
25123      some unit tests fail.
25124      On MirBSD 10, when an unsupported locale is specified, setlocale()
25125      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
25126 #if HAVE_LANGINFO_CODESET
25127   {
25128     const char *cs = nl_langinfo (CODESET);
25129     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
25130         || strcmp (cs, "UTF-8") == 0)
25131       return 1;
25132   }
25133 #endif
25134 #ifdef __CYGWIN__
25135   /* On Cygwin, avoid locale names without encoding suffix, because the
25136      locale_charset() function relies on the encoding suffix.  Note that
25137      LC_ALL is set on the command line.  */
25138   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
25139 #endif
25140   /* Check whether in the abbreviation of the second month, the second
25141      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
25142      one byte long. This excludes the UTF-8 encoding.  */
25143   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
25144   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
25145 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
25146   /* Check whether the decimal separator is a comma.
25147      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
25148      are nl_langinfo(RADIXCHAR) are both ".".  */
25149   if (localeconv () ->decimal_point[0] != ',') return 1;
25150 #endif
25151   return 0;
25152 }
25153
25154 _ACEOF
25155     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
25156   (eval $ac_link) 2>&5
25157   ac_status=$?
25158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25159   test $ac_status = 0; } && test -s conftest$ac_exeext; then
25160       case "$host_os" in
25161         # Handle native Windows specially, because there setlocale() interprets
25162         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
25163         # "fr" or "fra" as "French" or "French_France.1252",
25164         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
25165         # "ja" as "Japanese" or "Japanese_Japan.932",
25166         # and similar.
25167         mingw*)
25168           # Test for the native Windows locale name.
25169           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
25170             gt_cv_locale_fr=French_France.1252
25171           else
25172             # None found.
25173             gt_cv_locale_fr=none
25174           fi
25175           ;;
25176         *)
25177           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
25178           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
25179           # configure script would override the LC_ALL setting. Likewise for
25180           # LC_CTYPE, which is also set at the beginning of the configure script.
25181           # Test for the usual locale name.
25182           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
25183             gt_cv_locale_fr=fr_FR
25184           else
25185             # Test for the locale name with explicit encoding suffix.
25186             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
25187               gt_cv_locale_fr=fr_FR.ISO-8859-1
25188             else
25189               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
25190               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
25191                 gt_cv_locale_fr=fr_FR.ISO8859-1
25192               else
25193                 # Test for the HP-UX locale name.
25194                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
25195                   gt_cv_locale_fr=fr_FR.iso88591
25196                 else
25197                   # Test for the Solaris 7 locale name.
25198                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
25199                     gt_cv_locale_fr=fr
25200                   else
25201                     # None found.
25202                     gt_cv_locale_fr=none
25203                   fi
25204                 fi
25205               fi
25206             fi
25207           fi
25208           ;;
25209       esac
25210     fi
25211     rm -fr conftest*
25212
25213 fi
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
25215 $as_echo "$gt_cv_locale_fr" >&6; }
25216   LOCALE_FR=$gt_cv_locale_fr
25217
25218
25219
25220   GNULIB_ISBLANK=0;
25221     HAVE_ISBLANK=1;
25222
25223
25224
25225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
25226 $as_echo_n "checking whether // is distinct from /... " >&6; }
25227 if ${gl_cv_double_slash_root+:} false; then :
25228   $as_echo_n "(cached) " >&6
25229 else
25230    if test x"$cross_compiling" = xyes ; then
25231         # When cross-compiling, there is no way to tell whether // is special
25232         # short of a list of hosts.  However, the only known hosts to date
25233         # that have a distinct // are Apollo DomainOS (too old to port to),
25234         # Cygwin, and z/OS.  If anyone knows of another system for which // has
25235         # special semantics and is distinct from /, please report it to
25236         # <bug-gnulib@gnu.org>.
25237         case $host in
25238           *-cygwin | i370-ibm-openedition)
25239             gl_cv_double_slash_root=yes ;;
25240           *)
25241             # Be optimistic and assume that / and // are the same when we
25242             # don't know.
25243             gl_cv_double_slash_root='unknown, assuming no' ;;
25244         esac
25245       else
25246         set x `ls -di / // 2>/dev/null`
25247         if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
25248           gl_cv_double_slash_root=no
25249         else
25250           gl_cv_double_slash_root=yes
25251         fi
25252       fi
25253 fi
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
25255 $as_echo "$gl_cv_double_slash_root" >&6; }
25256   if test "$gl_cv_double_slash_root" = yes; then
25257
25258 $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
25259
25260   fi
25261
25262
25263
25264
25265
25266
25267
25268
25269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
25270 $as_echo_n "checking if environ is properly declared... " >&6; }
25271   if ${gt_cv_var_environ_declaration+:} false; then :
25272   $as_echo_n "(cached) " >&6
25273 else
25274
25275     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25276 /* end confdefs.h.  */
25277 #if HAVE_UNISTD_H
25278      #include <unistd.h>
25279      #endif
25280      /* mingw, BeOS, Haiku declare environ in <stdlib.h>, not in <unistd.h>.  */
25281      #include <stdlib.h>
25282
25283            extern struct { int foo; } environ;
25284 int
25285 main ()
25286 {
25287 environ.foo = 1;
25288   ;
25289   return 0;
25290 }
25291 _ACEOF
25292 if ac_fn_c_try_compile "$LINENO"; then :
25293   gt_cv_var_environ_declaration=no
25294 else
25295   gt_cv_var_environ_declaration=yes
25296 fi
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25298 fi
25299
25300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
25301 $as_echo "$gt_cv_var_environ_declaration" >&6; }
25302   if test $gt_cv_var_environ_declaration = yes; then
25303
25304 $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
25305
25306   fi
25307
25308
25309   if test $gt_cv_var_environ_declaration != yes; then
25310     HAVE_DECL_ENVIRON=0
25311   fi
25312
25313 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
25314 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
25315   ac_have_decl=1
25316 else
25317   ac_have_decl=0
25318 fi
25319
25320 cat >>confdefs.h <<_ACEOF
25321 #define HAVE_DECL_STRERROR_R $ac_have_decl
25322 _ACEOF
25323
25324 for ac_func in strerror_r
25325 do :
25326   ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
25327 if test "x$ac_cv_func_strerror_r" = xyes; then :
25328   cat >>confdefs.h <<_ACEOF
25329 #define HAVE_STRERROR_R 1
25330 _ACEOF
25331
25332 fi
25333 done
25334
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
25336 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
25337 if ${ac_cv_func_strerror_r_char_p+:} false; then :
25338   $as_echo_n "(cached) " >&6
25339 else
25340
25341     ac_cv_func_strerror_r_char_p=no
25342     if test $ac_cv_have_decl_strerror_r = yes; then
25343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25344 /* end confdefs.h.  */
25345 $ac_includes_default
25346 int
25347 main ()
25348 {
25349
25350           char buf[100];
25351           char x = *strerror_r (0, buf, sizeof buf);
25352           char *p = strerror_r (0, buf, sizeof buf);
25353           return !p || x;
25354
25355   ;
25356   return 0;
25357 }
25358 _ACEOF
25359 if ac_fn_c_try_compile "$LINENO"; then :
25360   ac_cv_func_strerror_r_char_p=yes
25361 fi
25362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25363     else
25364       # strerror_r is not declared.  Choose between
25365       # systems that have relatively inaccessible declarations for the
25366       # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
25367       # former has a strerror_r that returns char*, while the latter
25368       # has a strerror_r that returns `int'.
25369       # This test should segfault on the DEC system.
25370       if test "$cross_compiling" = yes; then :
25371   :
25372 else
25373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25374 /* end confdefs.h.  */
25375 $ac_includes_default
25376         extern char *strerror_r ();
25377 int
25378 main ()
25379 {
25380 char buf[100];
25381           char x = *strerror_r (0, buf, sizeof buf);
25382           return ! isalpha (x);
25383   ;
25384   return 0;
25385 }
25386 _ACEOF
25387 if ac_fn_c_try_run "$LINENO"; then :
25388   ac_cv_func_strerror_r_char_p=yes
25389 fi
25390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25391   conftest.$ac_objext conftest.beam conftest.$ac_ext
25392 fi
25393
25394     fi
25395
25396 fi
25397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
25398 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
25399 if test $ac_cv_func_strerror_r_char_p = yes; then
25400
25401 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
25402
25403 fi
25404
25405
25406   XGETTEXT_EXTRA_OPTIONS=
25407
25408
25409   GNULIB_DPRINTF=0;
25410   GNULIB_FCLOSE=0;
25411   GNULIB_FDOPEN=0;
25412   GNULIB_FFLUSH=0;
25413   GNULIB_FGETC=0;
25414   GNULIB_FGETS=0;
25415   GNULIB_FOPEN=0;
25416   GNULIB_FPRINTF=0;
25417   GNULIB_FPRINTF_POSIX=0;
25418   GNULIB_FPURGE=0;
25419   GNULIB_FPUTC=0;
25420   GNULIB_FPUTS=0;
25421   GNULIB_FREAD=0;
25422   GNULIB_FREOPEN=0;
25423   GNULIB_FSCANF=0;
25424   GNULIB_FSEEK=0;
25425   GNULIB_FSEEKO=0;
25426   GNULIB_FTELL=0;
25427   GNULIB_FTELLO=0;
25428   GNULIB_FWRITE=0;
25429   GNULIB_GETC=0;
25430   GNULIB_GETCHAR=0;
25431   GNULIB_GETDELIM=0;
25432   GNULIB_GETLINE=0;
25433   GNULIB_OBSTACK_PRINTF=0;
25434   GNULIB_OBSTACK_PRINTF_POSIX=0;
25435   GNULIB_PCLOSE=0;
25436   GNULIB_PERROR=0;
25437   GNULIB_POPEN=0;
25438   GNULIB_PRINTF=0;
25439   GNULIB_PRINTF_POSIX=0;
25440   GNULIB_PUTC=0;
25441   GNULIB_PUTCHAR=0;
25442   GNULIB_PUTS=0;
25443   GNULIB_REMOVE=0;
25444   GNULIB_RENAME=0;
25445   GNULIB_RENAMEAT=0;
25446   GNULIB_SCANF=0;
25447   GNULIB_SNPRINTF=0;
25448   GNULIB_SPRINTF_POSIX=0;
25449   GNULIB_STDIO_H_NONBLOCKING=0;
25450   GNULIB_STDIO_H_SIGPIPE=0;
25451   GNULIB_TMPFILE=0;
25452   GNULIB_VASPRINTF=0;
25453   GNULIB_VFSCANF=0;
25454   GNULIB_VSCANF=0;
25455   GNULIB_VDPRINTF=0;
25456   GNULIB_VFPRINTF=0;
25457   GNULIB_VFPRINTF_POSIX=0;
25458   GNULIB_VPRINTF=0;
25459   GNULIB_VPRINTF_POSIX=0;
25460   GNULIB_VSNPRINTF=0;
25461   GNULIB_VSPRINTF_POSIX=0;
25462     HAVE_DECL_FPURGE=1;
25463   HAVE_DECL_FSEEKO=1;
25464   HAVE_DECL_FTELLO=1;
25465   HAVE_DECL_GETDELIM=1;
25466   HAVE_DECL_GETLINE=1;
25467   HAVE_DECL_OBSTACK_PRINTF=1;
25468   HAVE_DECL_SNPRINTF=1;
25469   HAVE_DECL_VSNPRINTF=1;
25470   HAVE_DPRINTF=1;
25471   HAVE_FSEEKO=1;
25472   HAVE_FTELLO=1;
25473   HAVE_PCLOSE=1;
25474   HAVE_POPEN=1;
25475   HAVE_RENAMEAT=1;
25476   HAVE_VASPRINTF=1;
25477   HAVE_VDPRINTF=1;
25478   REPLACE_DPRINTF=0;
25479   REPLACE_FCLOSE=0;
25480   REPLACE_FDOPEN=0;
25481   REPLACE_FFLUSH=0;
25482   REPLACE_FOPEN=0;
25483   REPLACE_FPRINTF=0;
25484   REPLACE_FPURGE=0;
25485   REPLACE_FREOPEN=0;
25486   REPLACE_FSEEK=0;
25487   REPLACE_FSEEKO=0;
25488   REPLACE_FTELL=0;
25489   REPLACE_FTELLO=0;
25490   REPLACE_GETDELIM=0;
25491   REPLACE_GETLINE=0;
25492   REPLACE_OBSTACK_PRINTF=0;
25493   REPLACE_PERROR=0;
25494   REPLACE_POPEN=0;
25495   REPLACE_PRINTF=0;
25496   REPLACE_REMOVE=0;
25497   REPLACE_RENAME=0;
25498   REPLACE_RENAMEAT=0;
25499   REPLACE_SNPRINTF=0;
25500   REPLACE_SPRINTF=0;
25501   REPLACE_STDIO_READ_FUNCS=0;
25502   REPLACE_STDIO_WRITE_FUNCS=0;
25503   REPLACE_TMPFILE=0;
25504   REPLACE_VASPRINTF=0;
25505   REPLACE_VDPRINTF=0;
25506   REPLACE_VFPRINTF=0;
25507   REPLACE_VPRINTF=0;
25508   REPLACE_VSNPRINTF=0;
25509   REPLACE_VSPRINTF=0;
25510
25511
25512
25513
25514
25515   if test $ac_cv_func__set_invalid_parameter_handler = yes; then
25516     HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
25517
25518 $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
25519
25520   else
25521     HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
25522   fi
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532   GNULIB_IMAXABS=0;
25533   GNULIB_IMAXDIV=0;
25534   GNULIB_STRTOIMAX=0;
25535   GNULIB_STRTOUMAX=0;
25536     HAVE_DECL_IMAXABS=1;
25537   HAVE_DECL_IMAXDIV=1;
25538   HAVE_DECL_STRTOIMAX=1;
25539   HAVE_DECL_STRTOUMAX=1;
25540   REPLACE_STRTOIMAX=0;
25541   REPLACE_STRTOUMAX=0;
25542   INT32_MAX_LT_INTMAX_MAX=1;
25543   INT64_MAX_EQ_LONG_MAX='defined _LP64';
25544   PRI_MACROS_BROKEN=0;
25545   PRIPTR_PREFIX=__PRIPTR_PREFIX;
25546   UINT32_MAX_LT_UINTMAX_MAX=1;
25547   UINT64_MAX_EQ_ULONG_MAX='defined _LP64';
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563      if test $gl_cv_have_include_next = yes; then
25564        gl_cv_next_inttypes_h='<'inttypes.h'>'
25565      else
25566        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
25567 $as_echo_n "checking absolute name of <inttypes.h>... " >&6; }
25568 if ${gl_cv_next_inttypes_h+:} false; then :
25569   $as_echo_n "(cached) " >&6
25570 else
25571
25572              if test $ac_cv_header_inttypes_h = yes; then
25573
25574
25575
25576
25577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25578 /* end confdefs.h.  */
25579 #include <inttypes.h>
25580 _ACEOF
25581                 case "$host_os" in
25582     aix*) gl_absname_cpp="$ac_cpp -C" ;;
25583     *)    gl_absname_cpp="$ac_cpp" ;;
25584   esac
25585
25586   case "$host_os" in
25587     mingw*)
25588                                           gl_dirsep_regex='[/\\]'
25589       ;;
25590     *)
25591       gl_dirsep_regex='\/'
25592       ;;
25593   esac
25594       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
25595   gl_header_literal_regex=`echo 'inttypes.h' \
25596                            | sed -e "$gl_make_literal_regex_sed"`
25597   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
25598       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
25599       s|^/[^/]|//&|
25600       p
25601       q
25602     }'
25603
25604         gl_cv_absolute_inttypes_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
25605   sed -n "$gl_absolute_header_sed"`
25606
25607            gl_header=$gl_cv_absolute_inttypes_h
25608            gl_cv_next_inttypes_h='"'$gl_header'"'
25609           else
25610                gl_cv_next_inttypes_h='<'inttypes.h'>'
25611              fi
25612
25613
25614 fi
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5
25616 $as_echo "$gl_cv_next_inttypes_h" >&6; }
25617      fi
25618      NEXT_INTTYPES_H=$gl_cv_next_inttypes_h
25619
25620      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
25621        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
25622        gl_next_as_first_directive='<'inttypes.h'>'
25623      else
25624        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
25625        gl_next_as_first_directive=$gl_cv_next_inttypes_h
25626      fi
25627      NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive
25628
25629
25630
25631
25632
25633
25634
25635
25636     for gl_func in imaxabs imaxdiv strtoimax strtoumax; do
25637     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
25638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
25639 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
25640 if eval \${$as_gl_Symbol+:} false; then :
25641   $as_echo_n "(cached) " >&6
25642 else
25643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25644 /* end confdefs.h.  */
25645 #include <inttypes.h>
25646
25647 int
25648 main ()
25649 {
25650 #undef $gl_func
25651   (void) $gl_func;
25652   ;
25653   return 0;
25654 }
25655 _ACEOF
25656 if ac_fn_c_try_compile "$LINENO"; then :
25657   eval "$as_gl_Symbol=yes"
25658 else
25659   eval "$as_gl_Symbol=no"
25660 fi
25661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25662 fi
25663 eval ac_res=\$$as_gl_Symbol
25664                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25665 $as_echo "$ac_res" >&6; }
25666     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
25667   cat >>confdefs.h <<_ACEOF
25668 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
25669 _ACEOF
25670
25671                      eval ac_cv_have_decl_$gl_func=yes
25672 fi
25673       done
25674
25675
25676
25677   for ac_header in inttypes.h
25678 do :
25679   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
25680 if test "x$ac_cv_header_inttypes_h" = xyes; then :
25681   cat >>confdefs.h <<_ACEOF
25682 #define HAVE_INTTYPES_H 1
25683 _ACEOF
25684
25685 fi
25686
25687 done
25688
25689   if test $ac_cv_header_inttypes_h = yes; then
25690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
25691 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
25692 if ${gt_cv_inttypes_pri_broken+:} false; then :
25693   $as_echo_n "(cached) " >&6
25694 else
25695
25696         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25697 /* end confdefs.h.  */
25698
25699 #include <inttypes.h>
25700 #ifdef PRId32
25701 char *p = PRId32;
25702 #endif
25703
25704 int
25705 main ()
25706 {
25707
25708   ;
25709   return 0;
25710 }
25711 _ACEOF
25712 if ac_fn_c_try_compile "$LINENO"; then :
25713   gt_cv_inttypes_pri_broken=no
25714 else
25715   gt_cv_inttypes_pri_broken=yes
25716 fi
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718
25719 fi
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
25721 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
25722   fi
25723   if test "$gt_cv_inttypes_pri_broken" = yes; then
25724
25725 cat >>confdefs.h <<_ACEOF
25726 #define PRI_MACROS_BROKEN 1
25727 _ACEOF
25728
25729     PRI_MACROS_BROKEN=1
25730   else
25731     PRI_MACROS_BROKEN=0
25732   fi
25733
25734
25735
25736   GNULIB_LOCALECONV=0;
25737   GNULIB_SETLOCALE=0;
25738   GNULIB_DUPLOCALE=0;
25739     HAVE_DUPLOCALE=1;
25740   REPLACE_LOCALECONV=0;
25741   REPLACE_SETLOCALE=0;
25742   REPLACE_DUPLOCALE=0;
25743   REPLACE_STRUCT_LCONV=0;
25744
25745
25746
25747
25748
25749
25750
25751
25752 ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
25753 if test "x$ac_cv_have_decl_setenv" = xyes; then :
25754   ac_have_decl=1
25755 else
25756   ac_have_decl=0
25757 fi
25758
25759 cat >>confdefs.h <<_ACEOF
25760 #define HAVE_DECL_SETENV $ac_have_decl
25761 _ACEOF
25762
25763
25764
25765
25766
25767
25768   if test $ac_cv_have_decl_setenv = no; then
25769     HAVE_DECL_SETENV=0
25770   fi
25771
25772
25773
25774
25775
25776   for ac_header in search.h
25777 do :
25778   ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
25779 if test "x$ac_cv_header_search_h" = xyes; then :
25780   cat >>confdefs.h <<_ACEOF
25781 #define HAVE_SEARCH_H 1
25782 _ACEOF
25783
25784 fi
25785
25786 done
25787
25788   for ac_func in tsearch
25789 do :
25790   ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
25791 if test "x$ac_cv_func_tsearch" = xyes; then :
25792   cat >>confdefs.h <<_ACEOF
25793 #define HAVE_TSEARCH 1
25794 _ACEOF
25795
25796 fi
25797 done
25798
25799
25800
25801
25802      REPLACE_STRERROR_0=0
25803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
25804 $as_echo_n "checking whether strerror(0) succeeds... " >&6; }
25805 if ${gl_cv_func_strerror_0_works+:} false; then :
25806   $as_echo_n "(cached) " >&6
25807 else
25808   if test "$cross_compiling" = yes; then :
25809   case "$host_os" in
25810                  # Guess yes on glibc systems.
25811          *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
25812                  # If we don't know, assume the worst.
25813          *)      gl_cv_func_strerror_0_works="guessing no" ;;
25814        esac
25815
25816 else
25817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h.  */
25819 #include <string.h>
25820            #include <errno.h>
25821
25822 int
25823 main ()
25824 {
25825 int result = 0;
25826            char *str;
25827            errno = 0;
25828            str = strerror (0);
25829            if (!*str) result |= 1;
25830            if (errno) result |= 2;
25831            if (strstr (str, "nknown") || strstr (str, "ndefined"))
25832              result |= 4;
25833            return result;
25834   ;
25835   return 0;
25836 }
25837 _ACEOF
25838 if ac_fn_c_try_run "$LINENO"; then :
25839   gl_cv_func_strerror_0_works=yes
25840 else
25841   gl_cv_func_strerror_0_works=no
25842 fi
25843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25844   conftest.$ac_objext conftest.beam conftest.$ac_ext
25845 fi
25846
25847
25848 fi
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
25850 $as_echo "$gl_cv_func_strerror_0_works" >&6; }
25851   case "$gl_cv_func_strerror_0_works" in
25852     *yes) ;;
25853     *)
25854       REPLACE_STRERROR_0=1
25855
25856 $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
25857
25858       ;;
25859   esac
25860
25861
25862
25863 ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
25864 if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
25865   ac_have_decl=1
25866 else
25867   ac_have_decl=0
25868 fi
25869
25870 cat >>confdefs.h <<_ACEOF
25871 #define HAVE_DECL_UNSETENV $ac_have_decl
25872 _ACEOF
25873
25874
25875
25876
25877
25878
25879    if true; then
25880   GL_COND_LIBTOOL_TRUE=
25881   GL_COND_LIBTOOL_FALSE='#'
25882 else
25883   GL_COND_LIBTOOL_TRUE='#'
25884   GL_COND_LIBTOOL_FALSE=
25885 fi
25886
25887   gl_cond_libtool=true
25888   gl_m4_base='gnulib-m4'
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898   gl_source_base='lib'
25899
25900
25901   if test $ac_cv_func_alloca_works = no; then
25902     :
25903   fi
25904
25905   # Define an additional variable used in the Makefile substitution.
25906   if test $ac_cv_working_alloca_h = yes; then
25907     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
25908 $as_echo_n "checking for alloca as a compiler built-in... " >&6; }
25909 if ${gl_cv_rpl_alloca+:} false; then :
25910   $as_echo_n "(cached) " >&6
25911 else
25912
25913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25914 /* end confdefs.h.  */
25915
25916 #if defined __GNUC__ || defined _AIX || defined _MSC_VER
25917         Need own alloca
25918 #endif
25919
25920 _ACEOF
25921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25922   $EGREP "Need own alloca" >/dev/null 2>&1; then :
25923   gl_cv_rpl_alloca=yes
25924 else
25925   gl_cv_rpl_alloca=no
25926 fi
25927 rm -f conftest*
25928
25929
25930 fi
25931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
25932 $as_echo "$gl_cv_rpl_alloca" >&6; }
25933     if test $gl_cv_rpl_alloca = yes; then
25934
25935 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
25936
25937       ALLOCA_H=alloca.h
25938     else
25939                   ALLOCA_H=
25940     fi
25941   else
25942     ALLOCA_H=alloca.h
25943   fi
25944
25945    if test -n "$ALLOCA_H"; then
25946   GL_GENERATE_ALLOCA_H_TRUE=
25947   GL_GENERATE_ALLOCA_H_FALSE='#'
25948 else
25949   GL_GENERATE_ALLOCA_H_TRUE='#'
25950   GL_GENERATE_ALLOCA_H_FALSE=
25951 fi
25952
25953
25954
25955           if test "x$datarootdir" = x; then
25956     datarootdir='${datadir}'
25957
25958   fi
25959     if test "x$docdir" = x; then
25960     docdir='${datarootdir}/doc/${PACKAGE}'
25961
25962   fi
25963     if test "x$htmldir" = x; then
25964     htmldir='${docdir}'
25965
25966   fi
25967   if test "x$dvidir" = x; then
25968     dvidir='${docdir}'
25969
25970   fi
25971   if test "x$pdfdir" = x; then
25972     pdfdir='${docdir}'
25973
25974   fi
25975   if test "x$psdir" = x; then
25976     psdir='${docdir}'
25977
25978   fi
25979   if test "x$lispdir" = x; then
25980     lispdir='${datarootdir}/emacs/site-lisp'
25981
25982   fi
25983   if test "x$localedir" = x; then
25984     localedir='${datarootdir}/locale'
25985
25986   fi
25987     if test "x$runstatedir" = x; then
25988     runstatedir='${localstatedir}/run'
25989
25990   fi
25991
25992       pkglibexecdir='${libexecdir}/${PACKAGE}'
25993
25994
25995
25996
25997
25998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5
25999 $as_echo_n "checking for flexible array member... " >&6; }
26000 if ${ac_cv_c_flexmember+:} false; then :
26001   $as_echo_n "(cached) " >&6
26002 else
26003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26004 /* end confdefs.h.  */
26005 #include <stdlib.h>
26006             #include <stdio.h>
26007             #include <stddef.h>
26008             struct s { int n; double d[]; };
26009 int
26010 main ()
26011 {
26012 int m = getchar ();
26013             size_t nbytes = offsetof (struct s, d) + m * sizeof (double);
26014             nbytes += sizeof (struct s) - 1;
26015             nbytes -= nbytes % sizeof (struct s);
26016             struct s *p = malloc (nbytes);
26017             p->d[0] = 0.0;
26018             return p->d != (double *) NULL;
26019   ;
26020   return 0;
26021 }
26022 _ACEOF
26023 if ac_fn_c_try_compile "$LINENO"; then :
26024   ac_cv_c_flexmember=yes
26025 else
26026   ac_cv_c_flexmember=no
26027 fi
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26029 fi
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
26031 $as_echo "$ac_cv_c_flexmember" >&6; }
26032   if test $ac_cv_c_flexmember = yes; then
26033
26034 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
26035
26036   else
26037     $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
26038
26039   fi
26040
26041
26042
26043
26044   FLOAT_H=
26045   REPLACE_FLOAT_LDBL=0
26046   case "$host_os" in
26047     aix* | beos* | openbsd* | mirbsd* | irix*)
26048       FLOAT_H=float.h
26049       ;;
26050     freebsd*)
26051       case "$host_cpu" in
26052         i[34567]86 )
26053           FLOAT_H=float.h
26054           ;;
26055         x86_64 )
26056           # On x86_64 systems, the C compiler may still be generating
26057           # 32-bit code.
26058           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26059 /* end confdefs.h.  */
26060 #if defined __LP64__ || defined __x86_64__ || defined __amd64__
26061              yes
26062              #endif
26063 _ACEOF
26064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26065   $EGREP "yes" >/dev/null 2>&1; then :
26066
26067 else
26068   FLOAT_H=float.h
26069 fi
26070 rm -f conftest*
26071
26072           ;;
26073       esac
26074       ;;
26075     linux*)
26076       case "$host_cpu" in
26077         powerpc*)
26078           FLOAT_H=float.h
26079           ;;
26080       esac
26081       ;;
26082   esac
26083   case "$host_os" in
26084     aix* | freebsd* | linux*)
26085       if test -n "$FLOAT_H"; then
26086         REPLACE_FLOAT_LDBL=1
26087       fi
26088       ;;
26089   esac
26090
26091     REPLACE_ITOLD=0
26092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5
26093 $as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; }
26094 if ${gl_cv_func_itold_works+:} false; then :
26095   $as_echo_n "(cached) " >&6
26096 else
26097
26098       if test "$cross_compiling" = yes; then :
26099   case "$host" in
26100            sparc*-*-linux*)
26101              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h.  */
26103 #if defined __LP64__ || defined __arch64__
26104                 yes
26105                 #endif
26106 _ACEOF
26107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26108   $EGREP "yes" >/dev/null 2>&1; then :
26109   gl_cv_func_itold_works="guessing no"
26110 else
26111   gl_cv_func_itold_works="guessing yes"
26112 fi
26113 rm -f conftest*
26114
26115              ;;
26116            *) gl_cv_func_itold_works="guessing yes" ;;
26117          esac
26118
26119 else
26120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26121 /* end confdefs.h.  */
26122
26123 int i = -1;
26124 volatile long double ld;
26125 int main ()
26126 {
26127   ld += i * 1.0L;
26128   if (ld > 0)
26129     return 1;
26130   return 0;
26131 }
26132 _ACEOF
26133 if ac_fn_c_try_run "$LINENO"; then :
26134   gl_cv_func_itold_works=yes
26135 else
26136   gl_cv_func_itold_works=no
26137 fi
26138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26139   conftest.$ac_objext conftest.beam conftest.$ac_ext
26140 fi
26141
26142
26143 fi
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5
26145 $as_echo "$gl_cv_func_itold_works" >&6; }
26146   case "$gl_cv_func_itold_works" in
26147     *no)
26148       REPLACE_ITOLD=1
26149                   FLOAT_H=float.h
26150       ;;
26151   esac
26152
26153   if test -n "$FLOAT_H"; then
26154
26155
26156
26157
26158
26159
26160
26161
26162      if test $gl_cv_have_include_next = yes; then
26163        gl_cv_next_float_h='<'float.h'>'
26164      else
26165        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
26166 $as_echo_n "checking absolute name of <float.h>... " >&6; }
26167 if ${gl_cv_next_float_h+:} false; then :
26168   $as_echo_n "(cached) " >&6
26169 else
26170
26171
26172
26173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26174 /* end confdefs.h.  */
26175 #include <float.h>
26176 _ACEOF
26177                 case "$host_os" in
26178     aix*) gl_absname_cpp="$ac_cpp -C" ;;
26179     *)    gl_absname_cpp="$ac_cpp" ;;
26180   esac
26181
26182   case "$host_os" in
26183     mingw*)
26184                                           gl_dirsep_regex='[/\\]'
26185       ;;
26186     *)
26187       gl_dirsep_regex='\/'
26188       ;;
26189   esac
26190       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
26191   gl_header_literal_regex=`echo 'float.h' \
26192                            | sed -e "$gl_make_literal_regex_sed"`
26193   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
26194       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
26195       s|^/[^/]|//&|
26196       p
26197       q
26198     }'
26199
26200         gl_cv_absolute_float_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
26201   sed -n "$gl_absolute_header_sed"`
26202
26203            gl_header=$gl_cv_absolute_float_h
26204            gl_cv_next_float_h='"'$gl_header'"'
26205
26206
26207 fi
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
26209 $as_echo "$gl_cv_next_float_h" >&6; }
26210      fi
26211      NEXT_FLOAT_H=$gl_cv_next_float_h
26212
26213      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
26214        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
26215        gl_next_as_first_directive='<'float.h'>'
26216      else
26217        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
26218        gl_next_as_first_directive=$gl_cv_next_float_h
26219      fi
26220      NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive
26221
26222
26223
26224
26225   fi
26226
26227    if test -n "$FLOAT_H"; then
26228   GL_GENERATE_FLOAT_H_TRUE=
26229   GL_GENERATE_FLOAT_H_FALSE='#'
26230 else
26231   GL_GENERATE_FLOAT_H_TRUE='#'
26232   GL_GENERATE_FLOAT_H_FALSE=
26233 fi
26234
26235
26236
26237   if test $REPLACE_FLOAT_LDBL = 1; then
26238
26239
26240
26241
26242
26243
26244
26245
26246   gl_LIBOBJS="$gl_LIBOBJS float.$ac_objext"
26247
26248   fi
26249   if test $REPLACE_ITOLD = 1; then
26250
26251
26252
26253
26254
26255
26256
26257
26258   gl_LIBOBJS="$gl_LIBOBJS itold.$ac_objext"
26259
26260   fi
26261
26262
26263
26264   if test $gl_cv_func_frexp_no_libm = yes; then
26265
26266
26267
26268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
26269 $as_echo_n "checking whether frexp works... " >&6; }
26270 if ${gl_cv_func_frexp_works+:} false; then :
26271   $as_echo_n "(cached) " >&6
26272 else
26273
26274       if test "$cross_compiling" = yes; then :
26275   case "$host_os" in
26276            netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
26277            *)                        gl_cv_func_frexp_works="guessing yes";;
26278          esac
26279
26280 else
26281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h.  */
26283
26284 #include <float.h>
26285 #include <math.h>
26286 #include <string.h>
26287 #if HAVE_DECL_ALARM
26288 # include <signal.h>
26289 # include <unistd.h>
26290 #endif
26291 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
26292    ICC 10.0 has a bug when optimizing the expression -zero.
26293    The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
26294    to PowerPC on Mac OS X 10.5.  */
26295 #if defined __hpux || defined __sgi || defined __ICC
26296 static double
26297 compute_minus_zero (void)
26298 {
26299   return -DBL_MIN * DBL_MIN;
26300 }
26301 # define minus_zero compute_minus_zero ()
26302 #else
26303 double minus_zero = -0.0;
26304 #endif
26305 int main()
26306 {
26307   int result = 0;
26308   int i;
26309   volatile double x;
26310   double zero = 0.0;
26311 #if HAVE_DECL_ALARM
26312   /* NeXTstep 3.3 frexp() runs into an endless loop when called on an infinite
26313      number.  Let the test fail in this case.  */
26314   signal (SIGALRM, SIG_DFL);
26315   alarm (5);
26316 #endif
26317   /* Test on denormalized numbers.  */
26318   for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
26319     ;
26320   if (x > 0.0)
26321     {
26322       int exp;
26323       double y = frexp (x, &exp);
26324       /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
26325          On NetBSD: y = 0.75. Correct: y = 0.5.  */
26326       if (y != 0.5)
26327         result |= 1;
26328     }
26329   /* Test on infinite numbers.  */
26330   x = 1.0 / zero;
26331   {
26332     int exp;
26333     double y = frexp (x, &exp);
26334     if (y != x)
26335       result |= 2;
26336   }
26337   /* Test on negative zero.  */
26338   x = minus_zero;
26339   {
26340     int exp;
26341     double y = frexp (x, &exp);
26342     if (memcmp (&y, &x, sizeof x))
26343       result |= 4;
26344   }
26345   return result;
26346 }
26347 _ACEOF
26348 if ac_fn_c_try_run "$LINENO"; then :
26349   gl_cv_func_frexp_works=yes
26350 else
26351   gl_cv_func_frexp_works=no
26352 fi
26353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26354   conftest.$ac_objext conftest.beam conftest.$ac_ext
26355 fi
26356
26357
26358 fi
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
26360 $as_echo "$gl_cv_func_frexp_works" >&6; }
26361
26362     case "$gl_cv_func_frexp_works" in
26363       *yes) gl_func_frexp_no_libm=yes ;;
26364       *)    gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
26365     esac
26366   else
26367     gl_func_frexp_no_libm=no
26368         REPLACE_FREXP=1
26369   fi
26370   if test $gl_func_frexp_no_libm = yes; then
26371
26372 $as_echo "#define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
26373
26374   fi
26375
26376   if test $gl_func_frexp_no_libm != yes; then
26377
26378
26379
26380
26381
26382
26383
26384
26385   gl_LIBOBJS="$gl_LIBOBJS frexp.$ac_objext"
26386
26387   fi
26388
26389
26390
26391
26392
26393           GNULIB_FREXP=1
26394
26395
26396
26397
26398
26399 $as_echo "#define GNULIB_TEST_FREXP 1" >>confdefs.h
26400
26401
26402
26403
26404
26405
26406       ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
26407 "
26408 if test "x$ac_cv_have_decl_frexpl" = xyes; then :
26409
26410 else
26411   HAVE_DECL_FREXPL=0
26412 fi
26413
26414   if test $HAVE_DECL_FREXPL = 1; then
26415
26416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
26417 $as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
26418 if ${gl_cv_func_frexpl_no_libm+:} false; then :
26419   $as_echo_n "(cached) " >&6
26420 else
26421
26422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26423 /* end confdefs.h.  */
26424 #include <math.h>
26425              long double x;
26426 int
26427 main ()
26428 {
26429 int e; return frexpl (x, &e) > 0;
26430   ;
26431   return 0;
26432 }
26433 _ACEOF
26434 if ac_fn_c_try_link "$LINENO"; then :
26435   gl_cv_func_frexpl_no_libm=yes
26436 else
26437   gl_cv_func_frexpl_no_libm=no
26438 fi
26439 rm -f core conftest.err conftest.$ac_objext \
26440     conftest$ac_exeext conftest.$ac_ext
26441
26442 fi
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
26444 $as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
26445
26446     if test $gl_cv_func_frexpl_no_libm = yes; then
26447
26448
26449      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
26450 $as_echo_n "checking whether frexpl works... " >&6; }
26451 if ${gl_cv_func_frexpl_works+:} false; then :
26452   $as_echo_n "(cached) " >&6
26453 else
26454
26455       if test "$cross_compiling" = yes; then :
26456
26457          case "$host_os" in
26458            aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
26459               gl_cv_func_frexpl_works="guessing no";;
26460            *) gl_cv_func_frexpl_works="guessing yes";;
26461          esac
26462
26463 else
26464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26465 /* end confdefs.h.  */
26466
26467 #include <float.h>
26468 #include <math.h>
26469 /* Override the values of <float.h>, like done in float.in.h.  */
26470 #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
26471 # undef LDBL_MIN_EXP
26472 # define LDBL_MIN_EXP    (-16381)
26473 #endif
26474 #if defined __i386__ && defined __FreeBSD__
26475 # undef LDBL_MIN_EXP
26476 # define LDBL_MIN_EXP    (-16381)
26477 #endif
26478 #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
26479 # undef LDBL_MIN_EXP
26480 # define LDBL_MIN_EXP DBL_MIN_EXP
26481 #endif
26482 #if defined __sgi && (LDBL_MANT_DIG >= 106)
26483 # if defined __GNUC__
26484 #  undef LDBL_MIN_EXP
26485 #  define LDBL_MIN_EXP DBL_MIN_EXP
26486 # endif
26487 #endif
26488 extern
26489 #ifdef __cplusplus
26490 "C"
26491 #endif
26492 long double frexpl (long double, int *);
26493 int main()
26494 {
26495   int result = 0;
26496   volatile long double x;
26497   /* Test on finite numbers that fails on AIX 5.1.  */
26498   x = 16.0L;
26499   {
26500     int exp = -9999;
26501     frexpl (x, &exp);
26502     if (exp != 5)
26503       result |= 1;
26504   }
26505   /* Test on finite numbers that fails on Mac OS X 10.4, because its frexpl
26506      function returns an invalid (incorrectly normalized) value: it returns
26507                y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
26508      but the correct result is
26509           0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
26510   x = 1.01L;
26511   {
26512     int exp = -9999;
26513     long double y = frexpl (x, &exp);
26514     if (!(exp == 1 && y == 0.505L))
26515       result |= 2;
26516   }
26517   /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
26518      LDBL_MAX_EXP = 16384.
26519      In the loop end test, we test x against Infinity, rather than comparing
26520      i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
26521   {
26522     int i;
26523     for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
26524       {
26525         int exp = -9999;
26526         frexpl (x, &exp);
26527         if (exp != i)
26528           {
26529             result |= 4;
26530             break;
26531           }
26532       }
26533   }
26534   /* Test on denormalized numbers.  */
26535   {
26536     int i;
26537     for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
26538       ;
26539     if (x > 0.0L)
26540       {
26541         int exp;
26542         long double y = frexpl (x, &exp);
26543         /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
26544            exp = -16382, y = 0.5.  On Mac OS X 10.5: exp = -16384, y = 0.5.  */
26545         if (exp != LDBL_MIN_EXP - 1)
26546           result |= 8;
26547       }
26548   }
26549   /* Test on infinite numbers.  */
26550   x = 1.0L / 0.0L;
26551   {
26552     int exp;
26553     long double y = frexpl (x, &exp);
26554     if (y != x)
26555       result |= 16;
26556   }
26557   return result;
26558 }
26559 _ACEOF
26560 if ac_fn_c_try_run "$LINENO"; then :
26561   gl_cv_func_frexpl_works=yes
26562 else
26563   gl_cv_func_frexpl_works=no
26564 fi
26565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26566   conftest.$ac_objext conftest.beam conftest.$ac_ext
26567 fi
26568
26569
26570 fi
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
26572 $as_echo "$gl_cv_func_frexpl_works" >&6; }
26573
26574       case "$gl_cv_func_frexpl_works" in
26575         *yes) gl_func_frexpl_no_libm=yes ;;
26576         *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
26577       esac
26578     else
26579       gl_func_frexpl_no_libm=no
26580             REPLACE_FREXPL=1
26581     fi
26582     if test $gl_func_frexpl_no_libm = yes; then
26583
26584 $as_echo "#define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
26585
26586     fi
26587   fi
26588
26589   if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
26590
26591
26592
26593
26594
26595
26596
26597
26598   gl_LIBOBJS="$gl_LIBOBJS frexpl.$ac_objext"
26599
26600   fi
26601
26602
26603
26604
26605
26606           GNULIB_FREXPL=1
26607
26608
26609
26610
26611
26612 $as_echo "#define GNULIB_TEST_FREXPL 1" >>confdefs.h
26613
26614
26615
26616
26617
26618
26619   if test $ac_cv_func___fseterr = no; then
26620
26621
26622
26623
26624
26625
26626
26627
26628   gl_LIBOBJS="$gl_LIBOBJS fseterr.$ac_objext"
26629
26630   fi
26631
26632   :
26633
26634
26635
26636
26637
26638
26639
26640           GNULIB_ICONV=1
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657      if test $gl_cv_have_include_next = yes; then
26658        gl_cv_next_iconv_h='<'iconv.h'>'
26659      else
26660        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <iconv.h>" >&5
26661 $as_echo_n "checking absolute name of <iconv.h>... " >&6; }
26662 if ${gl_cv_next_iconv_h+:} false; then :
26663   $as_echo_n "(cached) " >&6
26664 else
26665
26666              if test $ac_cv_header_iconv_h = yes; then
26667
26668
26669
26670
26671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26672 /* end confdefs.h.  */
26673 #include <iconv.h>
26674 _ACEOF
26675                 case "$host_os" in
26676     aix*) gl_absname_cpp="$ac_cpp -C" ;;
26677     *)    gl_absname_cpp="$ac_cpp" ;;
26678   esac
26679
26680   case "$host_os" in
26681     mingw*)
26682                                           gl_dirsep_regex='[/\\]'
26683       ;;
26684     *)
26685       gl_dirsep_regex='\/'
26686       ;;
26687   esac
26688       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
26689   gl_header_literal_regex=`echo 'iconv.h' \
26690                            | sed -e "$gl_make_literal_regex_sed"`
26691   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
26692       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
26693       s|^/[^/]|//&|
26694       p
26695       q
26696     }'
26697
26698         gl_cv_absolute_iconv_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
26699   sed -n "$gl_absolute_header_sed"`
26700
26701            gl_header=$gl_cv_absolute_iconv_h
26702            gl_cv_next_iconv_h='"'$gl_header'"'
26703           else
26704                gl_cv_next_iconv_h='<'iconv.h'>'
26705              fi
26706
26707
26708 fi
26709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_iconv_h" >&5
26710 $as_echo "$gl_cv_next_iconv_h" >&6; }
26711      fi
26712      NEXT_ICONV_H=$gl_cv_next_iconv_h
26713
26714      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
26715        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
26716        gl_next_as_first_directive='<'iconv.h'>'
26717      else
26718        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
26719        gl_next_as_first_directive=$gl_cv_next_iconv_h
26720      fi
26721      NEXT_AS_FIRST_DIRECTIVE_ICONV_H=$gl_next_as_first_directive
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731   if test "$am_cv_func_iconv" = yes; then
26732
26733
26734   ICONV_H='iconv.h'
26735    if test -n "$ICONV_H"; then
26736   GL_GENERATE_ICONV_H_TRUE=
26737   GL_GENERATE_ICONV_H_FALSE='#'
26738 else
26739   GL_GENERATE_ICONV_H_TRUE='#'
26740   GL_GENERATE_ICONV_H_FALSE=
26741 fi
26742
26743
26744             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26745 /* end confdefs.h.  */
26746
26747       #include <iconv.h>
26748       #if defined _LIBICONV_VERSION || (defined __GLIBC__ && !defined __UCLIBC__)
26749        gnu_iconv
26750       #endif
26751
26752 _ACEOF
26753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26754   $EGREP "gnu_iconv" >/dev/null 2>&1; then :
26755   gl_func_iconv_gnu=yes
26756 else
26757   gl_func_iconv_gnu=no
26758 fi
26759 rm -f conftest*
26760
26761     if test $gl_func_iconv_gnu = no; then
26762       iconv_flavor=
26763       case "$host_os" in
26764         aix*)     iconv_flavor=ICONV_FLAVOR_AIX ;;
26765         irix*)    iconv_flavor=ICONV_FLAVOR_IRIX ;;
26766         hpux*)    iconv_flavor=ICONV_FLAVOR_HPUX ;;
26767         osf*)     iconv_flavor=ICONV_FLAVOR_OSF ;;
26768         solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;;
26769       esac
26770       if test -n "$iconv_flavor"; then
26771
26772 cat >>confdefs.h <<_ACEOF
26773 #define ICONV_FLAVOR $iconv_flavor
26774 _ACEOF
26775
26776
26777
26778
26779   ICONV_H='iconv.h'
26780    if test -n "$ICONV_H"; then
26781   GL_GENERATE_ICONV_H_TRUE=
26782   GL_GENERATE_ICONV_H_FALSE='#'
26783 else
26784   GL_GENERATE_ICONV_H_TRUE='#'
26785   GL_GENERATE_ICONV_H_FALSE=
26786 fi
26787
26788
26789   REPLACE_ICONV_OPEN=1
26790
26791       fi
26792     fi
26793
26794   fi
26795
26796   if test $REPLACE_ICONV_OPEN = 1; then
26797
26798
26799
26800
26801
26802
26803
26804
26805   gl_LIBOBJS="$gl_LIBOBJS iconv_open.$ac_objext"
26806
26807   fi
26808   if test $REPLACE_ICONV = 1; then
26809
26810
26811
26812
26813
26814
26815
26816
26817   gl_LIBOBJS="$gl_LIBOBJS iconv.$ac_objext"
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827   gl_LIBOBJS="$gl_LIBOBJS iconv_close.$ac_objext"
26828
26829   fi
26830
26831
26832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
26833 $as_echo_n "checking whether the compiler generally respects inline... " >&6; }
26834 if ${gl_cv_c_inline_effective+:} false; then :
26835   $as_echo_n "(cached) " >&6
26836 else
26837   if test $ac_cv_c_inline = no; then
26838        gl_cv_c_inline_effective=no
26839      else
26840                                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26841 /* end confdefs.h.  */
26842
26843 int
26844 main ()
26845 {
26846 #ifdef __NO_INLINE__
26847                #error "inline is not effective"
26848              #endif
26849   ;
26850   return 0;
26851 }
26852 _ACEOF
26853 if ac_fn_c_try_compile "$LINENO"; then :
26854   gl_cv_c_inline_effective=yes
26855 else
26856   gl_cv_c_inline_effective=no
26857 fi
26858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26859      fi
26860
26861 fi
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5
26863 $as_echo "$gl_cv_c_inline_effective" >&6; }
26864   if test $gl_cv_c_inline_effective = yes; then
26865
26866 $as_echo "#define HAVE_INLINE 1" >>confdefs.h
26867
26868   fi
26869
26870
26871
26872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5
26873 $as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; }
26874 if ${gl_cv_func_isnand_no_libm+:} false; then :
26875   $as_echo_n "(cached) " >&6
26876 else
26877
26878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h.  */
26880 #include <math.h>
26881              #if __GNUC__ >= 4
26882              # undef isnand
26883              # define isnand(x) __builtin_isnan ((double)(x))
26884              #else
26885              # undef isnand
26886              # define isnand(x) isnan ((double)(x))
26887              #endif
26888              double x;
26889 int
26890 main ()
26891 {
26892 return isnand (x);
26893   ;
26894   return 0;
26895 }
26896 _ACEOF
26897 if ac_fn_c_try_link "$LINENO"; then :
26898   gl_cv_func_isnand_no_libm=yes
26899 else
26900   gl_cv_func_isnand_no_libm=no
26901 fi
26902 rm -f core conftest.err conftest.$ac_objext \
26903     conftest$ac_exeext conftest.$ac_ext
26904
26905 fi
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5
26907 $as_echo "$gl_cv_func_isnand_no_libm" >&6; }
26908
26909   gl_func_isnand_no_libm=$gl_cv_func_isnand_no_libm
26910   if test $gl_cv_func_isnand_no_libm = yes; then
26911
26912 $as_echo "#define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h
26913
26914   fi
26915
26916   if test $gl_func_isnand_no_libm != yes; then
26917
26918
26919
26920
26921
26922
26923
26924
26925   gl_LIBOBJS="$gl_LIBOBJS isnand.$ac_objext"
26926
26927
26928
26929
26930   fi
26931
26932
26933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5
26934 $as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; }
26935 if ${gl_cv_func_isnanf_no_libm+:} false; then :
26936   $as_echo_n "(cached) " >&6
26937 else
26938
26939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26940 /* end confdefs.h.  */
26941 #include <math.h>
26942              #if __GNUC__ >= 4
26943              # undef isnanf
26944              # define isnanf(x) __builtin_isnanf ((float)(x))
26945              #elif defined isnan
26946              # undef isnanf
26947              # define isnanf(x) isnan ((float)(x))
26948              #endif
26949              float x;
26950 int
26951 main ()
26952 {
26953 return isnanf (x);
26954   ;
26955   return 0;
26956 }
26957 _ACEOF
26958 if ac_fn_c_try_link "$LINENO"; then :
26959   gl_cv_func_isnanf_no_libm=yes
26960 else
26961   gl_cv_func_isnanf_no_libm=no
26962 fi
26963 rm -f core conftest.err conftest.$ac_objext \
26964     conftest$ac_exeext conftest.$ac_ext
26965
26966 fi
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5
26968 $as_echo "$gl_cv_func_isnanf_no_libm" >&6; }
26969
26970   if test $gl_cv_func_isnanf_no_libm = yes; then
26971
26972
26973
26974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5
26975 $as_echo_n "checking whether isnan(float) works... " >&6; }
26976 if ${gl_cv_func_isnanf_works+:} false; then :
26977   $as_echo_n "(cached) " >&6
26978 else
26979
26980       if test "$cross_compiling" = yes; then :
26981   case "$host_os" in
26982            irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
26983            *)                gl_cv_func_isnanf_works="guessing yes";;
26984          esac
26985
26986 else
26987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26988 /* end confdefs.h.  */
26989
26990 #include <math.h>
26991 #if __GNUC__ >= 4
26992 # undef isnanf
26993 # define isnanf(x) __builtin_isnanf ((float)(x))
26994 #elif defined isnan
26995 # undef isnanf
26996 # define isnanf(x) isnan ((float)(x))
26997 #endif
26998 /* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0.  */
26999 #ifdef __DECC
27000 static float
27001 NaN ()
27002 {
27003   static float zero = 0.0f;
27004   return zero / zero;
27005 }
27006 #else
27007 # define NaN() (0.0f / 0.0f)
27008 #endif
27009 #define NWORDS \
27010   ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
27011 typedef union { unsigned int word[NWORDS]; float value; } memory_float;
27012 int main()
27013 {
27014   int result = 0;
27015
27016   if (isnanf (1.0f / 0.0f))
27017     result |= 1;
27018
27019   if (!isnanf (NaN ()))
27020     result |= 2;
27021
27022 #if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
27023   /* The isnanf function should be immune against changes in the sign bit and
27024      in the mantissa bits.  The xor operation twiddles a bit that can only be
27025      a sign bit or a mantissa bit.  */
27026   if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
27027     {
27028       memory_float m;
27029
27030       m.value = NaN ();
27031       /* Set the bits below the exponent to 01111...111.  */
27032       m.word[0] &= -1U << FLT_EXPBIT0_BIT;
27033       m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
27034       if (!isnanf (m.value))
27035         result |= 4;
27036     }
27037 #endif
27038
27039   return result;
27040 }
27041 _ACEOF
27042 if ac_fn_c_try_run "$LINENO"; then :
27043   gl_cv_func_isnanf_works=yes
27044 else
27045   gl_cv_func_isnanf_works=no
27046 fi
27047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27048   conftest.$ac_objext conftest.beam conftest.$ac_ext
27049 fi
27050
27051
27052 fi
27053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_works" >&5
27054 $as_echo "$gl_cv_func_isnanf_works" >&6; }
27055
27056   fi
27057   if test $gl_cv_func_isnanf_no_libm = yes \
27058      && { case "$gl_cv_func_isnanf_works" in
27059             *yes) true;;
27060             *) false;;
27061           esac
27062         }; then
27063     gl_func_isnanf_no_libm=yes
27064
27065 $as_echo "#define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h
27066
27067   else
27068     gl_func_isnanf_no_libm=no
27069   fi
27070
27071   if test $gl_func_isnanf_no_libm != yes; then
27072
27073
27074
27075
27076
27077
27078
27079
27080   gl_LIBOBJS="$gl_LIBOBJS isnanf.$ac_objext"
27081
27082
27083
27084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
27085 $as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
27086 if ${gl_cv_cc_float_expbit0+:} false; then :
27087   $as_echo_n "(cached) " >&6
27088 else
27089
27090       if test "$cross_compiling" = yes; then :
27091   gl_cv_cc_float_expbit0="word 0 bit 23"
27092 else
27093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27094 /* end confdefs.h.  */
27095
27096 #include <float.h>
27097 #include <stddef.h>
27098 #include <stdio.h>
27099 #include <string.h>
27100 #define NWORDS \
27101   ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
27102 typedef union { float value; unsigned int word[NWORDS]; } memory_float;
27103 static unsigned int ored_words[NWORDS];
27104 static unsigned int anded_words[NWORDS];
27105 static void add_to_ored_words (float x)
27106 {
27107   memory_float m;
27108   size_t i;
27109   /* Clear it first, in case
27110      sizeof (float) < sizeof (memory_float).  */
27111   memset (&m, 0, sizeof (memory_float));
27112   m.value = x;
27113   for (i = 0; i < NWORDS; i++)
27114     {
27115       ored_words[i] |= m.word[i];
27116       anded_words[i] &= m.word[i];
27117     }
27118 }
27119 int main ()
27120 {
27121   size_t j;
27122   FILE *fp = fopen ("conftest.out", "w");
27123   if (fp == NULL)
27124     return 1;
27125   for (j = 0; j < NWORDS; j++)
27126     anded_words[j] = ~ (unsigned int) 0;
27127   add_to_ored_words (0.25f);
27128   add_to_ored_words (0.5f);
27129   add_to_ored_words (1.0f);
27130   add_to_ored_words (2.0f);
27131   add_to_ored_words (4.0f);
27132   /* Remove bits that are common (e.g. if representation of the first mantissa
27133      bit is explicit).  */
27134   for (j = 0; j < NWORDS; j++)
27135     ored_words[j] &= ~anded_words[j];
27136   /* Now find the nonzero word.  */
27137   for (j = 0; j < NWORDS; j++)
27138     if (ored_words[j] != 0)
27139       break;
27140   if (j < NWORDS)
27141     {
27142       size_t i;
27143       for (i = j + 1; i < NWORDS; i++)
27144         if (ored_words[i] != 0)
27145           {
27146             fprintf (fp, "unknown");
27147             return (fclose (fp) != 0);
27148           }
27149       for (i = 0; ; i++)
27150         if ((ored_words[j] >> i) & 1)
27151           {
27152             fprintf (fp, "word %d bit %d", (int) j, (int) i);
27153             return (fclose (fp) != 0);
27154           }
27155     }
27156   fprintf (fp, "unknown");
27157   return (fclose (fp) != 0);
27158 }
27159
27160 _ACEOF
27161 if ac_fn_c_try_run "$LINENO"; then :
27162   gl_cv_cc_float_expbit0=`cat conftest.out`
27163 else
27164   gl_cv_cc_float_expbit0="unknown"
27165 fi
27166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27167   conftest.$ac_objext conftest.beam conftest.$ac_ext
27168 fi
27169
27170       rm -f conftest.out
27171
27172 fi
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
27174 $as_echo "$gl_cv_cc_float_expbit0" >&6; }
27175   case "$gl_cv_cc_float_expbit0" in
27176     word*bit*)
27177       word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
27178       bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
27179
27180 cat >>confdefs.h <<_ACEOF
27181 #define FLT_EXPBIT0_WORD $word
27182 _ACEOF
27183
27184
27185 cat >>confdefs.h <<_ACEOF
27186 #define FLT_EXPBIT0_BIT $bit
27187 _ACEOF
27188
27189       ;;
27190   esac
27191
27192
27193   fi
27194
27195
27196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5
27197 $as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; }
27198 if ${gl_cv_func_isnanl_no_libm+:} false; then :
27199   $as_echo_n "(cached) " >&6
27200 else
27201
27202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203 /* end confdefs.h.  */
27204 #include <math.h>
27205              #if __GNUC__ >= 4
27206              # undef isnanl
27207              # define isnanl(x) __builtin_isnanl ((long double)(x))
27208              #elif defined isnan
27209              # undef isnanl
27210              # define isnanl(x) isnan ((long double)(x))
27211              #endif
27212              long double x;
27213 int
27214 main ()
27215 {
27216 return isnanl (x);
27217   ;
27218   return 0;
27219 }
27220 _ACEOF
27221 if ac_fn_c_try_link "$LINENO"; then :
27222   gl_cv_func_isnanl_no_libm=yes
27223 else
27224   gl_cv_func_isnanl_no_libm=no
27225 fi
27226 rm -f core conftest.err conftest.$ac_objext \
27227     conftest$ac_exeext conftest.$ac_ext
27228
27229 fi
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5
27231 $as_echo "$gl_cv_func_isnanl_no_libm" >&6; }
27232
27233   gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
27234   if test $gl_func_isnanl_no_libm = yes; then
27235
27236
27237
27238
27239      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5
27240 $as_echo_n "checking whether isnanl works... " >&6; }
27241 if ${gl_cv_func_isnanl_works+:} false; then :
27242   $as_echo_n "(cached) " >&6
27243 else
27244
27245       if test "$cross_compiling" = yes; then :
27246   gl_cv_func_isnanl_works="guessing yes"
27247 else
27248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27249 /* end confdefs.h.  */
27250
27251 #include <float.h>
27252 #include <limits.h>
27253 #include <math.h>
27254 #if __GNUC__ >= 4
27255 # undef isnanl
27256 # define isnanl(x) __builtin_isnanl ((long double)(x))
27257 #elif defined isnan
27258 # undef isnanl
27259 # define isnanl(x) isnan ((long double)(x))
27260 #endif
27261 #define NWORDS \
27262   ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
27263 typedef union { unsigned int word[NWORDS]; long double value; }
27264         memory_long_double;
27265 /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
27266    runtime type conversion.  */
27267 #ifdef __sgi
27268 static long double NaNl ()
27269 {
27270   double zero = 0.0;
27271   return zero / zero;
27272 }
27273 #else
27274 # define NaNl() (0.0L / 0.0L)
27275 #endif
27276 int main ()
27277 {
27278   int result = 0;
27279
27280   if (!isnanl (NaNl ()))
27281     result |= 1;
27282
27283   {
27284     memory_long_double m;
27285     unsigned int i;
27286
27287     /* The isnanl function should be immune against changes in the sign bit and
27288        in the mantissa bits.  The xor operation twiddles a bit that can only be
27289        a sign bit or a mantissa bit (since the exponent never extends to
27290        bit 31).  */
27291     m.value = NaNl ();
27292     m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
27293     for (i = 0; i < NWORDS; i++)
27294       m.word[i] |= 1;
27295     if (!isnanl (m.value))
27296       result |= 1;
27297   }
27298
27299 #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
27300 /* Representation of an 80-bit 'long double' as an initializer for a sequence
27301    of 'unsigned int' words.  */
27302 # ifdef WORDS_BIGENDIAN
27303 #  define LDBL80_WORDS(exponent,manthi,mantlo) \
27304      { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
27305        ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16),   \
27306        (unsigned int) (mantlo) << 16                                        \
27307      }
27308 # else
27309 #  define LDBL80_WORDS(exponent,manthi,mantlo) \
27310      { mantlo, manthi, exponent }
27311 # endif
27312   { /* Quiet NaN.  */
27313     static memory_long_double x =
27314       { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
27315     if (!isnanl (x.value))
27316       result |= 2;
27317   }
27318   {
27319     /* Signalling NaN.  */
27320     static memory_long_double x =
27321       { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
27322     if (!isnanl (x.value))
27323       result |= 2;
27324   }
27325   /* isnanl should return something even for noncanonical values.  */
27326   { /* Pseudo-NaN.  */
27327     static memory_long_double x =
27328       { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
27329     if (isnanl (x.value) && !isnanl (x.value))
27330       result |= 4;
27331   }
27332   { /* Pseudo-Infinity.  */
27333     static memory_long_double x =
27334       { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
27335     if (isnanl (x.value) && !isnanl (x.value))
27336       result |= 8;
27337   }
27338   { /* Pseudo-Zero.  */
27339     static memory_long_double x =
27340       { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
27341     if (isnanl (x.value) && !isnanl (x.value))
27342       result |= 16;
27343   }
27344   { /* Unnormalized number.  */
27345     static memory_long_double x =
27346       { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
27347     if (isnanl (x.value) && !isnanl (x.value))
27348       result |= 32;
27349   }
27350   { /* Pseudo-Denormal.  */
27351     static memory_long_double x =
27352       { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
27353     if (isnanl (x.value) && !isnanl (x.value))
27354       result |= 64;
27355   }
27356 #endif
27357
27358   return result;
27359 }
27360 _ACEOF
27361 if ac_fn_c_try_run "$LINENO"; then :
27362   gl_cv_func_isnanl_works=yes
27363 else
27364   gl_cv_func_isnanl_works=no
27365 fi
27366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27367   conftest.$ac_objext conftest.beam conftest.$ac_ext
27368 fi
27369
27370
27371 fi
27372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5
27373 $as_echo "$gl_cv_func_isnanl_works" >&6; }
27374
27375     case "$gl_cv_func_isnanl_works" in
27376       *yes) ;;
27377       *)    gl_func_isnanl_no_libm=no ;;
27378     esac
27379   fi
27380   if test $gl_func_isnanl_no_libm = yes; then
27381
27382 $as_echo "#define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h
27383
27384   fi
27385
27386   if test $gl_func_isnanl_no_libm != yes; then
27387
27388
27389
27390
27391
27392
27393
27394
27395   gl_LIBOBJS="$gl_LIBOBJS isnanl.$ac_objext"
27396
27397
27398
27399
27400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
27401 $as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
27402 if ${gl_cv_cc_long_double_expbit0+:} false; then :
27403   $as_echo_n "(cached) " >&6
27404 else
27405
27406       if test "$cross_compiling" = yes; then :
27407
27408                               gl_cv_cc_long_double_expbit0="unknown"
27409
27410 else
27411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h.  */
27413
27414 #include <float.h>
27415 #include <stddef.h>
27416 #include <stdio.h>
27417 #include <string.h>
27418 #define NWORDS \
27419   ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
27420 typedef union { long double value; unsigned int word[NWORDS]; }
27421         memory_long_double;
27422 static unsigned int ored_words[NWORDS];
27423 static unsigned int anded_words[NWORDS];
27424 static void add_to_ored_words (long double x)
27425 {
27426   memory_long_double m;
27427   size_t i;
27428   /* Clear it first, in case
27429      sizeof (long double) < sizeof (memory_long_double).  */
27430   memset (&m, 0, sizeof (memory_long_double));
27431   m.value = x;
27432   for (i = 0; i < NWORDS; i++)
27433     {
27434       ored_words[i] |= m.word[i];
27435       anded_words[i] &= m.word[i];
27436     }
27437 }
27438 int main ()
27439 {
27440   size_t j;
27441   FILE *fp = fopen ("conftest.out", "w");
27442   if (fp == NULL)
27443     return 1;
27444   for (j = 0; j < NWORDS; j++)
27445     anded_words[j] = ~ (unsigned int) 0;
27446   add_to_ored_words (0.25L);
27447   add_to_ored_words (0.5L);
27448   add_to_ored_words (1.0L);
27449   add_to_ored_words (2.0L);
27450   add_to_ored_words (4.0L);
27451   /* Remove bits that are common (e.g. if representation of the first mantissa
27452      bit is explicit).  */
27453   for (j = 0; j < NWORDS; j++)
27454     ored_words[j] &= ~anded_words[j];
27455   /* Now find the nonzero word.  */
27456   for (j = 0; j < NWORDS; j++)
27457     if (ored_words[j] != 0)
27458       break;
27459   if (j < NWORDS)
27460     {
27461       size_t i;
27462       for (i = j + 1; i < NWORDS; i++)
27463         if (ored_words[i] != 0)
27464           {
27465             fprintf (fp, "unknown");
27466             return (fclose (fp) != 0);
27467           }
27468       for (i = 0; ; i++)
27469         if ((ored_words[j] >> i) & 1)
27470           {
27471             fprintf (fp, "word %d bit %d", (int) j, (int) i);
27472             return (fclose (fp) != 0);
27473           }
27474     }
27475   fprintf (fp, "unknown");
27476   return (fclose (fp) != 0);
27477 }
27478
27479 _ACEOF
27480 if ac_fn_c_try_run "$LINENO"; then :
27481   gl_cv_cc_long_double_expbit0=`cat conftest.out`
27482 else
27483   gl_cv_cc_long_double_expbit0="unknown"
27484 fi
27485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27486   conftest.$ac_objext conftest.beam conftest.$ac_ext
27487 fi
27488
27489       rm -f conftest.out
27490
27491 fi
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
27493 $as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
27494   case "$gl_cv_cc_long_double_expbit0" in
27495     word*bit*)
27496       word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
27497       bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
27498
27499 cat >>confdefs.h <<_ACEOF
27500 #define LDBL_EXPBIT0_WORD $word
27501 _ACEOF
27502
27503
27504 cat >>confdefs.h <<_ACEOF
27505 #define LDBL_EXPBIT0_BIT $bit
27506 _ACEOF
27507
27508       ;;
27509   esac
27510
27511
27512
27513   fi
27514
27515
27516
27517
27518
27519   ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "
27520 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
27521    <wchar.h>.
27522    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
27523    before <wchar.h>.  */
27524 #include <stddef.h>
27525 #include <stdio.h>
27526 #include <time.h>
27527 #include <wchar.h>
27528 #include <wctype.h>
27529
27530 "
27531 if test "x$ac_cv_have_decl_iswblank" = xyes; then :
27532   ac_have_decl=1
27533 else
27534   ac_have_decl=0
27535 fi
27536
27537 cat >>confdefs.h <<_ACEOF
27538 #define HAVE_DECL_ISWBLANK $ac_have_decl
27539 _ACEOF
27540
27541   if test $ac_cv_func_iswblank = no; then
27542     HAVE_ISWBLANK=0
27543     if test $ac_cv_have_decl_iswblank = yes; then
27544       REPLACE_ISWBLANK=1
27545     fi
27546   fi
27547   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
27548         :
27549   else
27550     if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
27551             :
27552     fi
27553   fi
27554
27555
27556   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
27557     :
27558   else
27559     if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
27560
27561
27562
27563
27564
27565
27566
27567
27568   gl_LIBOBJS="$gl_LIBOBJS iswblank.$ac_objext"
27569
27570     fi
27571   fi
27572
27573
27574
27575
27576
27577           GNULIB_ISWBLANK=1
27578
27579
27580
27581
27582
27583 $as_echo "#define GNULIB_TEST_ISWBLANK 1" >>confdefs.h
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601      if test $gl_cv_have_include_next = yes; then
27602        gl_cv_next_langinfo_h='<'langinfo.h'>'
27603      else
27604        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
27605 $as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
27606 if ${gl_cv_next_langinfo_h+:} false; then :
27607   $as_echo_n "(cached) " >&6
27608 else
27609
27610              if test $ac_cv_header_langinfo_h = yes; then
27611
27612
27613
27614
27615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27616 /* end confdefs.h.  */
27617 #include <langinfo.h>
27618 _ACEOF
27619                 case "$host_os" in
27620     aix*) gl_absname_cpp="$ac_cpp -C" ;;
27621     *)    gl_absname_cpp="$ac_cpp" ;;
27622   esac
27623
27624   case "$host_os" in
27625     mingw*)
27626                                           gl_dirsep_regex='[/\\]'
27627       ;;
27628     *)
27629       gl_dirsep_regex='\/'
27630       ;;
27631   esac
27632       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
27633   gl_header_literal_regex=`echo 'langinfo.h' \
27634                            | sed -e "$gl_make_literal_regex_sed"`
27635   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
27636       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
27637       s|^/[^/]|//&|
27638       p
27639       q
27640     }'
27641
27642         gl_cv_absolute_langinfo_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
27643   sed -n "$gl_absolute_header_sed"`
27644
27645            gl_header=$gl_cv_absolute_langinfo_h
27646            gl_cv_next_langinfo_h='"'$gl_header'"'
27647           else
27648                gl_cv_next_langinfo_h='<'langinfo.h'>'
27649              fi
27650
27651
27652 fi
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5
27654 $as_echo "$gl_cv_next_langinfo_h" >&6; }
27655      fi
27656      NEXT_LANGINFO_H=$gl_cv_next_langinfo_h
27657
27658      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
27659        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
27660        gl_next_as_first_directive='<'langinfo.h'>'
27661      else
27662        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
27663        gl_next_as_first_directive=$gl_cv_next_langinfo_h
27664      fi
27665      NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive
27666
27667
27668
27669
27670
27671     HAVE_LANGINFO_CODESET=0
27672   HAVE_LANGINFO_T_FMT_AMPM=0
27673   HAVE_LANGINFO_ERA=0
27674   HAVE_LANGINFO_YESEXPR=0
27675
27676   if test $ac_cv_header_langinfo_h = yes; then
27677     HAVE_LANGINFO_H=1
27678             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
27679 $as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
27680 if ${gl_cv_header_langinfo_codeset+:} false; then :
27681   $as_echo_n "(cached) " >&6
27682 else
27683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27684 /* end confdefs.h.  */
27685 #include <langinfo.h>
27686 int a = CODESET;
27687
27688 int
27689 main ()
27690 {
27691
27692   ;
27693   return 0;
27694 }
27695 _ACEOF
27696 if ac_fn_c_try_compile "$LINENO"; then :
27697   gl_cv_header_langinfo_codeset=yes
27698 else
27699   gl_cv_header_langinfo_codeset=no
27700 fi
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27702
27703 fi
27704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5
27705 $as_echo "$gl_cv_header_langinfo_codeset" >&6; }
27706     if test $gl_cv_header_langinfo_codeset = yes; then
27707       HAVE_LANGINFO_CODESET=1
27708     fi
27709     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
27710 $as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
27711 if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
27712   $as_echo_n "(cached) " >&6
27713 else
27714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27715 /* end confdefs.h.  */
27716 #include <langinfo.h>
27717 int a = T_FMT_AMPM;
27718
27719 int
27720 main ()
27721 {
27722
27723   ;
27724   return 0;
27725 }
27726 _ACEOF
27727 if ac_fn_c_try_compile "$LINENO"; then :
27728   gl_cv_header_langinfo_t_fmt_ampm=yes
27729 else
27730   gl_cv_header_langinfo_t_fmt_ampm=no
27731 fi
27732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733
27734 fi
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5
27736 $as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; }
27737     if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
27738       HAVE_LANGINFO_T_FMT_AMPM=1
27739     fi
27740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
27741 $as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
27742 if ${gl_cv_header_langinfo_era+:} false; then :
27743   $as_echo_n "(cached) " >&6
27744 else
27745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27746 /* end confdefs.h.  */
27747 #include <langinfo.h>
27748 int a = ERA;
27749
27750 int
27751 main ()
27752 {
27753
27754   ;
27755   return 0;
27756 }
27757 _ACEOF
27758 if ac_fn_c_try_compile "$LINENO"; then :
27759   gl_cv_header_langinfo_era=yes
27760 else
27761   gl_cv_header_langinfo_era=no
27762 fi
27763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27764
27765 fi
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5
27767 $as_echo "$gl_cv_header_langinfo_era" >&6; }
27768     if test $gl_cv_header_langinfo_era = yes; then
27769       HAVE_LANGINFO_ERA=1
27770     fi
27771     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
27772 $as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
27773 if ${gl_cv_header_langinfo_yesexpr+:} false; then :
27774   $as_echo_n "(cached) " >&6
27775 else
27776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27777 /* end confdefs.h.  */
27778 #include <langinfo.h>
27779 int a = YESEXPR;
27780
27781 int
27782 main ()
27783 {
27784
27785   ;
27786   return 0;
27787 }
27788 _ACEOF
27789 if ac_fn_c_try_compile "$LINENO"; then :
27790   gl_cv_header_langinfo_yesexpr=yes
27791 else
27792   gl_cv_header_langinfo_yesexpr=no
27793 fi
27794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27795
27796 fi
27797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5
27798 $as_echo "$gl_cv_header_langinfo_yesexpr" >&6; }
27799     if test $gl_cv_header_langinfo_yesexpr = yes; then
27800       HAVE_LANGINFO_YESEXPR=1
27801     fi
27802   else
27803     HAVE_LANGINFO_H=0
27804   fi
27805
27806
27807
27808
27809
27810
27811
27812     for gl_func in nl_langinfo; do
27813     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
27814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
27815 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
27816 if eval \${$as_gl_Symbol+:} false; then :
27817   $as_echo_n "(cached) " >&6
27818 else
27819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27820 /* end confdefs.h.  */
27821 #include <langinfo.h>
27822
27823 int
27824 main ()
27825 {
27826 #undef $gl_func
27827   (void) $gl_func;
27828   ;
27829   return 0;
27830 }
27831 _ACEOF
27832 if ac_fn_c_try_compile "$LINENO"; then :
27833   eval "$as_gl_Symbol=yes"
27834 else
27835   eval "$as_gl_Symbol=no"
27836 fi
27837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27838 fi
27839 eval ac_res=\$$as_gl_Symbol
27840                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27841 $as_echo "$ac_res" >&6; }
27842     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
27843   cat >>confdefs.h <<_ACEOF
27844 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
27845 _ACEOF
27846
27847                      eval ac_cv_have_decl_$gl_func=yes
27848 fi
27849       done
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861   LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
27862
27863
27864
27865
27866   for ac_func in setlocale uselocale
27867 do :
27868   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
27871   cat >>confdefs.h <<_ACEOF
27872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27873 _ACEOF
27874
27875 fi
27876 done
27877
27878       if test $ac_cv_func_uselocale = yes; then
27879     for ac_func in getlocalename_l
27880 do :
27881   ac_fn_c_check_func "$LINENO" "getlocalename_l" "ac_cv_func_getlocalename_l"
27882 if test "x$ac_cv_func_getlocalename_l" = xyes; then :
27883   cat >>confdefs.h <<_ACEOF
27884 #define HAVE_GETLOCALENAME_L 1
27885 _ACEOF
27886
27887 fi
27888 done
27889
27890   fi
27891
27892
27893
27894   if test "$gl_threads_api" = posix; then
27895     # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
27896     # pthread_rwlock_* functions.
27897     ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
27898 "
27899 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
27900
27901 $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
27902
27903 fi
27904
27905     # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
27906     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27907 /* end confdefs.h.  */
27908
27909       #include <pthread.h>
27910 int
27911 main ()
27912 {
27913
27914 #if __FreeBSD__ == 4
27915 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
27916 #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
27917        && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
27918 error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
27919 #else
27920 int x = (int)PTHREAD_MUTEX_RECURSIVE;
27921 return !x;
27922 #endif
27923
27924   ;
27925   return 0;
27926 }
27927 _ACEOF
27928 if ac_fn_c_try_compile "$LINENO"; then :
27929
27930 $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
27931
27932 fi
27933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27934   fi
27935   :
27936
27937
27938
27939 cat >>confdefs.h <<_ACEOF
27940 #define GNULIB_LOCK 1
27941 _ACEOF
27942
27943
27944
27945
27946
27947   if test $gl_cv_func_malloc_posix = yes; then
27948
27949 $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
27950
27951   else
27952     REPLACE_MALLOC=1
27953   fi
27954
27955   if test $REPLACE_MALLOC = 1; then
27956
27957
27958
27959
27960
27961
27962
27963
27964   gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
27965
27966   fi
27967
27968
27969
27970
27971
27972           GNULIB_MALLOC_POSIX=1
27973
27974
27975
27976
27977
27978 $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997      if test $gl_cv_have_include_next = yes; then
27998        gl_cv_next_math_h='<'math.h'>'
27999      else
28000        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <math.h>" >&5
28001 $as_echo_n "checking absolute name of <math.h>... " >&6; }
28002 if ${gl_cv_next_math_h+:} false; then :
28003   $as_echo_n "(cached) " >&6
28004 else
28005
28006              if test $ac_cv_header_math_h = yes; then
28007
28008
28009
28010
28011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28012 /* end confdefs.h.  */
28013 #include <math.h>
28014 _ACEOF
28015                 case "$host_os" in
28016     aix*) gl_absname_cpp="$ac_cpp -C" ;;
28017     *)    gl_absname_cpp="$ac_cpp" ;;
28018   esac
28019
28020   case "$host_os" in
28021     mingw*)
28022                                           gl_dirsep_regex='[/\\]'
28023       ;;
28024     *)
28025       gl_dirsep_regex='\/'
28026       ;;
28027   esac
28028       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
28029   gl_header_literal_regex=`echo 'math.h' \
28030                            | sed -e "$gl_make_literal_regex_sed"`
28031   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
28032       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
28033       s|^/[^/]|//&|
28034       p
28035       q
28036     }'
28037
28038         gl_cv_absolute_math_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
28039   sed -n "$gl_absolute_header_sed"`
28040
28041            gl_header=$gl_cv_absolute_math_h
28042            gl_cv_next_math_h='"'$gl_header'"'
28043           else
28044                gl_cv_next_math_h='<'math.h'>'
28045              fi
28046
28047
28048 fi
28049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5
28050 $as_echo "$gl_cv_next_math_h" >&6; }
28051      fi
28052      NEXT_MATH_H=$gl_cv_next_math_h
28053
28054      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
28055        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
28056        gl_next_as_first_directive='<'math.h'>'
28057      else
28058        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
28059        gl_next_as_first_directive=$gl_cv_next_math_h
28060      fi
28061      NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive
28062
28063
28064
28065
28066
28067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5
28068 $as_echo_n "checking whether NAN macro works... " >&6; }
28069 if ${gl_cv_header_math_nan_works+:} false; then :
28070   $as_echo_n "(cached) " >&6
28071 else
28072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h.  */
28074 #include <math.h>
28075 int
28076 main ()
28077 {
28078 /* Solaris 10 has a broken definition of NAN.  Other platforms
28079         fail to provide NAN, or provide it only in C99 mode; this
28080         test only needs to fail when NAN is provided but wrong.  */
28081          float f = 1.0f;
28082 #ifdef NAN
28083          f = NAN;
28084 #endif
28085          return f == 0;
28086   ;
28087   return 0;
28088 }
28089 _ACEOF
28090 if ac_fn_c_try_compile "$LINENO"; then :
28091   gl_cv_header_math_nan_works=yes
28092 else
28093   gl_cv_header_math_nan_works=no
28094 fi
28095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28096 fi
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5
28098 $as_echo "$gl_cv_header_math_nan_works" >&6; }
28099   if test $gl_cv_header_math_nan_works = no; then
28100     REPLACE_NAN=1
28101   fi
28102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5
28103 $as_echo_n "checking whether HUGE_VAL works... " >&6; }
28104 if ${gl_cv_header_math_huge_val_works+:} false; then :
28105   $as_echo_n "(cached) " >&6
28106 else
28107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28108 /* end confdefs.h.  */
28109 #include <math.h>
28110 int
28111 main ()
28112 {
28113 /* Solaris 10 has a broken definition of HUGE_VAL.  */
28114          double d = HUGE_VAL;
28115          return d == 0;
28116   ;
28117   return 0;
28118 }
28119 _ACEOF
28120 if ac_fn_c_try_compile "$LINENO"; then :
28121   gl_cv_header_math_huge_val_works=yes
28122 else
28123   gl_cv_header_math_huge_val_works=no
28124 fi
28125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28126 fi
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5
28128 $as_echo "$gl_cv_header_math_huge_val_works" >&6; }
28129   if test $gl_cv_header_math_huge_val_works = no; then
28130     REPLACE_HUGE_VAL=1
28131   fi
28132
28133
28134     for gl_func in acosf acosl asinf asinl atanf atanl      cbrt cbrtf cbrtl ceilf ceill copysign copysignf copysignl cosf cosl coshf      expf expl exp2 exp2f exp2l expm1 expm1f expm1l      fabsf fabsl floorf floorl fma fmaf fmal      fmod fmodf fmodl frexpf frexpl hypotf hypotl      ilogb ilogbf ilogbl      ldexpf ldexpl      log logf logl log10 log10f log10l log1p log1pf log1pl log2 log2f log2l      logb logbf logbl      modf modff modfl powf      remainder remainderf remainderl      rint rintf rintl round roundf roundl sinf sinl sinhf sqrtf sqrtl      tanf tanl tanhf trunc truncf truncl; do
28135     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
28136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
28137 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
28138 if eval \${$as_gl_Symbol+:} false; then :
28139   $as_echo_n "(cached) " >&6
28140 else
28141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h.  */
28143 #include <math.h>
28144 int
28145 main ()
28146 {
28147 #undef $gl_func
28148   (void) $gl_func;
28149   ;
28150   return 0;
28151 }
28152 _ACEOF
28153 if ac_fn_c_try_compile "$LINENO"; then :
28154   eval "$as_gl_Symbol=yes"
28155 else
28156   eval "$as_gl_Symbol=no"
28157 fi
28158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28159 fi
28160 eval ac_res=\$$as_gl_Symbol
28161                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
28162 $as_echo "$ac_res" >&6; }
28163     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
28164   cat >>confdefs.h <<_ACEOF
28165 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
28166 _ACEOF
28167
28168                      eval ac_cv_have_decl_$gl_func=yes
28169 fi
28170       done
28171
28172
28173
28174
28175
28176
28177
28178   :
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
28191
28192
28193
28194      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
28195 $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
28196 if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
28197   $as_echo_n "(cached) " >&6
28198 else
28199
28200                   case "$host_os" in
28201                      # Guess no on AIX and OSF/1.
28202         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
28203                      # Guess yes otherwise.
28204         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
28205       esac
28206       if test $LOCALE_JA != none; then
28207         if test "$cross_compiling" = yes; then :
28208   :
28209 else
28210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28211 /* end confdefs.h.  */
28212
28213 #include <locale.h>
28214 #include <string.h>
28215 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28216    <wchar.h>.
28217    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28218    included before <wchar.h>.  */
28219 #include <stddef.h>
28220 #include <stdio.h>
28221 #include <time.h>
28222 #include <wchar.h>
28223 int main ()
28224 {
28225   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
28226     {
28227       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
28228       mbstate_t state;
28229       wchar_t wc;
28230
28231       memset (&state, '\0', sizeof (mbstate_t));
28232       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
28233         if (mbsinit (&state))
28234           return 2;
28235     }
28236   return 0;
28237 }
28238 _ACEOF
28239 if ac_fn_c_try_run "$LINENO"; then :
28240   gl_cv_func_mbrtowc_incomplete_state=yes
28241 else
28242   gl_cv_func_mbrtowc_incomplete_state=no
28243 fi
28244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28245   conftest.$ac_objext conftest.beam conftest.$ac_ext
28246 fi
28247
28248       fi
28249
28250 fi
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
28252 $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
28253
28254
28255
28256
28257      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
28258 $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
28259 if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
28260   $as_echo_n "(cached) " >&6
28261 else
28262
28263                   case "$host_os" in
28264                     # Guess no on Solaris 8.
28265         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
28266                     # Guess yes otherwise.
28267         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
28268       esac
28269       if test $LOCALE_ZH_CN != none; then
28270         if test "$cross_compiling" = yes; then :
28271   :
28272 else
28273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h.  */
28275
28276 #include <locale.h>
28277 #include <stdlib.h>
28278 #include <string.h>
28279 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28280    <wchar.h>.
28281    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28282    included before <wchar.h>.  */
28283 #include <stddef.h>
28284 #include <stdio.h>
28285 #include <time.h>
28286 #include <wchar.h>
28287 int main ()
28288 {
28289   /* This fails on Solaris 8:
28290      mbrtowc returns 2, and sets wc to 0x00F0.
28291      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
28292   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
28293     {
28294       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
28295       mbstate_t state;
28296       wchar_t wc;
28297
28298       memset (&state, '\0', sizeof (mbstate_t));
28299       if (mbrtowc (&wc, input + 3, 6, &state) != 4
28300           && mbtowc (&wc, input + 3, 6) == 4)
28301         return 2;
28302     }
28303   return 0;
28304 }
28305 _ACEOF
28306 if ac_fn_c_try_run "$LINENO"; then :
28307   gl_cv_func_mbrtowc_sanitycheck=yes
28308 else
28309   gl_cv_func_mbrtowc_sanitycheck=no
28310 fi
28311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28312   conftest.$ac_objext conftest.beam conftest.$ac_ext
28313 fi
28314
28315       fi
28316
28317 fi
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
28319 $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
28320
28321     REPLACE_MBSTATE_T=0
28322     case "$gl_cv_func_mbrtowc_incomplete_state" in
28323       *yes) ;;
28324       *) REPLACE_MBSTATE_T=1 ;;
28325     esac
28326     case "$gl_cv_func_mbrtowc_sanitycheck" in
28327       *yes) ;;
28328       *) REPLACE_MBSTATE_T=1 ;;
28329     esac
28330   else
28331     REPLACE_MBSTATE_T=1
28332   fi
28333
28334
28335
28336   if test $ac_cv_func_mbrtowc = no; then
28337     HAVE_MBRTOWC=0
28338     ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
28339 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28340    <wchar.h>.
28341    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28342    included before <wchar.h>.  */
28343 #include <stddef.h>
28344 #include <stdio.h>
28345 #include <time.h>
28346 #include <wchar.h>
28347
28348 "
28349 if test "x$ac_cv_have_decl_mbrtowc" = xyes; then :
28350   ac_have_decl=1
28351 else
28352   ac_have_decl=0
28353 fi
28354
28355 cat >>confdefs.h <<_ACEOF
28356 #define HAVE_DECL_MBRTOWC $ac_have_decl
28357 _ACEOF
28358
28359     if test $ac_cv_have_decl_mbrtowc = yes; then
28360                         REPLACE_MBRTOWC=1
28361     fi
28362   else
28363     if test $REPLACE_MBSTATE_T = 1; then
28364       REPLACE_MBRTOWC=1
28365     else
28366
28367
28368
28369      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
28370 $as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
28371 if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
28372   $as_echo_n "(cached) " >&6
28373 else
28374
28375                   case "$host_os" in
28376                   # Guess no on Solaris.
28377         solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
28378                   # Guess yes otherwise.
28379         *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
28380       esac
28381       if test $LOCALE_FR_UTF8 != none; then
28382         if test "$cross_compiling" = yes; then :
28383   :
28384 else
28385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28386 /* end confdefs.h.  */
28387
28388 #include <locale.h>
28389 #include <stdlib.h>
28390 #include <string.h>
28391 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28392    <wchar.h>.
28393    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28394    included before <wchar.h>.  */
28395 #include <stddef.h>
28396 #include <stdio.h>
28397 #include <time.h>
28398 #include <wchar.h>
28399 int main ()
28400 {
28401   int result = 0;
28402
28403   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
28404     {
28405       char input[] = "\303\237er";
28406       mbstate_t state;
28407       wchar_t wc;
28408       size_t ret;
28409
28410       memset (&state, '\0', sizeof (mbstate_t));
28411       wc = (wchar_t) 0xBADFACE;
28412       ret = mbrtowc (&wc, input, 5, &state);
28413       if (ret != 2)
28414         result |= 1;
28415       if (!mbsinit (&state))
28416         result |= 2;
28417
28418       memset (&state, '\0', sizeof (mbstate_t));
28419       ret = mbrtowc (NULL, input, 5, &state);
28420       if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
28421         result |= 4;
28422       if (!mbsinit (&state))
28423         result |= 8;
28424     }
28425   return result;
28426 }
28427 _ACEOF
28428 if ac_fn_c_try_run "$LINENO"; then :
28429   gl_cv_func_mbrtowc_null_arg1=yes
28430 else
28431   gl_cv_func_mbrtowc_null_arg1=no
28432 fi
28433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28434   conftest.$ac_objext conftest.beam conftest.$ac_ext
28435 fi
28436
28437       fi
28438
28439 fi
28440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
28441 $as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
28442
28443
28444
28445
28446      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
28447 $as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
28448 if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
28449   $as_echo_n "(cached) " >&6
28450 else
28451
28452                   case "$host_os" in
28453               # Guess no on OSF/1.
28454         osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
28455               # Guess yes otherwise.
28456         *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
28457       esac
28458       if test $LOCALE_FR_UTF8 != none; then
28459         if test "$cross_compiling" = yes; then :
28460   :
28461 else
28462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28463 /* end confdefs.h.  */
28464
28465 #include <locale.h>
28466 #include <string.h>
28467 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28468    <wchar.h>.
28469    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28470    included before <wchar.h>.  */
28471 #include <stddef.h>
28472 #include <stdio.h>
28473 #include <time.h>
28474 #include <wchar.h>
28475 int main ()
28476 {
28477   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
28478     {
28479       mbstate_t state;
28480       wchar_t wc;
28481       int ret;
28482
28483       memset (&state, '\0', sizeof (mbstate_t));
28484       wc = (wchar_t) 0xBADFACE;
28485       mbrtowc (&wc, NULL, 5, &state);
28486       /* Check that wc was not modified.  */
28487       if (wc != (wchar_t) 0xBADFACE)
28488         return 2;
28489     }
28490   return 0;
28491 }
28492 _ACEOF
28493 if ac_fn_c_try_run "$LINENO"; then :
28494   gl_cv_func_mbrtowc_null_arg2=yes
28495 else
28496   gl_cv_func_mbrtowc_null_arg2=no
28497 fi
28498 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28499   conftest.$ac_objext conftest.beam conftest.$ac_ext
28500 fi
28501
28502       fi
28503
28504 fi
28505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
28506 $as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
28507
28508
28509
28510
28511
28512
28513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
28514 $as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
28515 if ${gl_cv_func_mbrtowc_retval+:} false; then :
28516   $as_echo_n "(cached) " >&6
28517 else
28518
28519                   case "$host_os" in
28520                                    # Guess no on HP-UX, Solaris, native Windows.
28521         hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
28522                                    # Guess yes otherwise.
28523         *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
28524       esac
28525       if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
28526          || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
28527         if test "$cross_compiling" = yes; then :
28528   :
28529 else
28530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28531 /* end confdefs.h.  */
28532
28533 #include <locale.h>
28534 #include <string.h>
28535 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28536    <wchar.h>.
28537    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28538    included before <wchar.h>.  */
28539 #include <stddef.h>
28540 #include <stdio.h>
28541 #include <time.h>
28542 #include <wchar.h>
28543 int main ()
28544 {
28545   int result = 0;
28546   int found_some_locale = 0;
28547   /* This fails on Solaris.  */
28548   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
28549     {
28550       char input[] = "B\303\274\303\237er"; /* "Büßer" */
28551       mbstate_t state;
28552       wchar_t wc;
28553
28554       memset (&state, '\0', sizeof (mbstate_t));
28555       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
28556         {
28557           input[1] = '\0';
28558           if (mbrtowc (&wc, input + 2, 5, &state) != 1)
28559             result |= 1;
28560         }
28561       found_some_locale = 1;
28562     }
28563   /* This fails on HP-UX 11.11.  */
28564   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
28565     {
28566       char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
28567       mbstate_t state;
28568       wchar_t wc;
28569
28570       memset (&state, '\0', sizeof (mbstate_t));
28571       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
28572         {
28573           input[1] = '\0';
28574           if (mbrtowc (&wc, input + 2, 5, &state) != 2)
28575             result |= 2;
28576         }
28577       found_some_locale = 1;
28578     }
28579   /* This fails on native Windows.  */
28580   if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
28581     {
28582       char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
28583       mbstate_t state;
28584       wchar_t wc;
28585
28586       memset (&state, '\0', sizeof (mbstate_t));
28587       if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
28588         {
28589           input[3] = '\0';
28590           if (mbrtowc (&wc, input + 4, 4, &state) != 1)
28591             result |= 4;
28592         }
28593       found_some_locale = 1;
28594     }
28595   if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
28596     {
28597       char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
28598       mbstate_t state;
28599       wchar_t wc;
28600
28601       memset (&state, '\0', sizeof (mbstate_t));
28602       if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
28603         {
28604           input[3] = '\0';
28605           if (mbrtowc (&wc, input + 4, 4, &state) != 1)
28606             result |= 8;
28607         }
28608       found_some_locale = 1;
28609     }
28610   if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
28611     {
28612       char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
28613       mbstate_t state;
28614       wchar_t wc;
28615
28616       memset (&state, '\0', sizeof (mbstate_t));
28617       if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
28618         {
28619           input[3] = '\0';
28620           if (mbrtowc (&wc, input + 4, 4, &state) != 1)
28621             result |= 16;
28622         }
28623       found_some_locale = 1;
28624     }
28625   return (found_some_locale ? result : 77);
28626 }
28627 _ACEOF
28628 if ac_fn_c_try_run "$LINENO"; then :
28629   gl_cv_func_mbrtowc_retval=yes
28630 else
28631   if test $? != 77; then
28632              gl_cv_func_mbrtowc_retval=no
28633            fi
28634
28635 fi
28636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28637   conftest.$ac_objext conftest.beam conftest.$ac_ext
28638 fi
28639
28640       fi
28641
28642 fi
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
28644 $as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
28645
28646
28647
28648
28649      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
28650 $as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
28651 if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
28652   $as_echo_n "(cached) " >&6
28653 else
28654
28655                   case "$host_os" in
28656                        # Guess no on Solaris 8 and 9.
28657         solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
28658                        # Guess yes otherwise.
28659         *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
28660       esac
28661       if test $LOCALE_ZH_CN != none; then
28662         if test "$cross_compiling" = yes; then :
28663   :
28664 else
28665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28666 /* end confdefs.h.  */
28667
28668 #include <locale.h>
28669 #include <string.h>
28670 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28671    <wchar.h>.
28672    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28673    included before <wchar.h>.  */
28674 #include <stddef.h>
28675 #include <stdio.h>
28676 #include <time.h>
28677 #include <wchar.h>
28678 int main ()
28679 {
28680   /* This fails on Solaris 8 and 9.  */
28681   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
28682     {
28683       mbstate_t state;
28684       wchar_t wc;
28685
28686       memset (&state, '\0', sizeof (mbstate_t));
28687       if (mbrtowc (&wc, "", 1, &state) != 0)
28688         return 2;
28689     }
28690   return 0;
28691 }
28692 _ACEOF
28693 if ac_fn_c_try_run "$LINENO"; then :
28694   gl_cv_func_mbrtowc_nul_retval=yes
28695 else
28696   gl_cv_func_mbrtowc_nul_retval=no
28697 fi
28698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28699   conftest.$ac_objext conftest.beam conftest.$ac_ext
28700 fi
28701
28702       fi
28703
28704 fi
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
28706 $as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
28707
28708
28709
28710      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5
28711 $as_echo_n "checking whether mbrtowc works on empty input... " >&6; }
28712 if ${gl_cv_func_mbrtowc_empty_input+:} false; then :
28713   $as_echo_n "(cached) " >&6
28714 else
28715
28716                   case "$host_os" in
28717                      # Guess no on AIX and glibc systems.
28718         aix* | *-gnu*)
28719                     gl_cv_func_mbrtowc_empty_input="guessing no" ;;
28720         *)          gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
28721       esac
28722       if test "$cross_compiling" = yes; then :
28723   :
28724 else
28725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28726 /* end confdefs.h.  */
28727
28728            #include <wchar.h>
28729            static wchar_t wc;
28730            static mbstate_t mbs;
28731            int
28732            main (void)
28733            {
28734              return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2;
28735            }
28736 _ACEOF
28737 if ac_fn_c_try_run "$LINENO"; then :
28738   gl_cv_func_mbrtowc_empty_input=yes
28739 else
28740   gl_cv_func_mbrtowc_empty_input=no
28741 fi
28742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28743   conftest.$ac_objext conftest.beam conftest.$ac_ext
28744 fi
28745
28746
28747 fi
28748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5
28749 $as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; }
28750
28751
28752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5
28753 $as_echo_n "checking whether the C locale is free of encoding errors... " >&6; }
28754 if ${gl_cv_C_locale_sans_EILSEQ+:} false; then :
28755   $as_echo_n "(cached) " >&6
28756 else
28757
28758                gl_cv_C_locale_sans_EILSEQ="guessing no"
28759
28760      if test "$cross_compiling" = yes; then :
28761   :
28762 else
28763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h.  */
28765 #include <limits.h>
28766             #include <locale.h>
28767             #include <wchar.h>
28768
28769 int
28770 main ()
28771 {
28772
28773             int i;
28774             char *locale = setlocale (LC_ALL, "C");
28775             if (! locale)
28776               return 2;
28777             for (i = CHAR_MIN; i <= CHAR_MAX; i++)
28778               {
28779                 char c = i;
28780                 wchar_t wc;
28781                 mbstate_t mbs = { 0, };
28782                 size_t ss = mbrtowc (&wc, &c, 1, &mbs);
28783                 if (1 < ss)
28784                   return 3;
28785               }
28786             return 0;
28787
28788   ;
28789   return 0;
28790 }
28791 _ACEOF
28792 if ac_fn_c_try_run "$LINENO"; then :
28793   gl_cv_C_locale_sans_EILSEQ=yes
28794 else
28795   gl_cv_C_locale_sans_EILSEQ=no
28796 fi
28797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28798   conftest.$ac_objext conftest.beam conftest.$ac_ext
28799 fi
28800
28801 fi
28802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_C_locale_sans_EILSEQ" >&5
28803 $as_echo "$gl_cv_C_locale_sans_EILSEQ" >&6; }
28804
28805       case "$gl_cv_func_mbrtowc_null_arg1" in
28806         *yes) ;;
28807         *)
28808 $as_echo "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
28809
28810            REPLACE_MBRTOWC=1
28811            ;;
28812       esac
28813       case "$gl_cv_func_mbrtowc_null_arg2" in
28814         *yes) ;;
28815         *)
28816 $as_echo "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
28817
28818            REPLACE_MBRTOWC=1
28819            ;;
28820       esac
28821       case "$gl_cv_func_mbrtowc_retval" in
28822         *yes) ;;
28823         *)
28824 $as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
28825
28826            REPLACE_MBRTOWC=1
28827            ;;
28828       esac
28829       case "$gl_cv_func_mbrtowc_nul_retval" in
28830         *yes) ;;
28831         *)
28832 $as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
28833
28834            REPLACE_MBRTOWC=1
28835            ;;
28836       esac
28837       case "$gl_cv_func_mbrtowc_empty_input" in
28838         *yes) ;;
28839         *)
28840 $as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
28841
28842            REPLACE_MBRTOWC=1
28843            ;;
28844       esac
28845       case $gl_cv_C_locale_sans_EILSEQ in
28846         *yes) ;;
28847         *)
28848 $as_echo "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h
28849
28850            REPLACE_MBRTOWC=1
28851            ;;
28852       esac
28853     fi
28854   fi
28855
28856   if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
28857
28858
28859
28860
28861
28862
28863
28864
28865   gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext"
28866
28867
28868   :
28869
28870   fi
28871
28872
28873
28874
28875
28876           GNULIB_MBRTOWC=1
28877
28878
28879
28880
28881
28882 $as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
28898
28899
28900
28901      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
28902 $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
28903 if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
28904   $as_echo_n "(cached) " >&6
28905 else
28906
28907                   case "$host_os" in
28908                      # Guess no on AIX and OSF/1.
28909         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
28910                      # Guess yes otherwise.
28911         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
28912       esac
28913       if test $LOCALE_JA != none; then
28914         if test "$cross_compiling" = yes; then :
28915   :
28916 else
28917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28918 /* end confdefs.h.  */
28919
28920 #include <locale.h>
28921 #include <string.h>
28922 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28923    <wchar.h>.
28924    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28925    included before <wchar.h>.  */
28926 #include <stddef.h>
28927 #include <stdio.h>
28928 #include <time.h>
28929 #include <wchar.h>
28930 int main ()
28931 {
28932   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
28933     {
28934       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
28935       mbstate_t state;
28936       wchar_t wc;
28937
28938       memset (&state, '\0', sizeof (mbstate_t));
28939       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
28940         if (mbsinit (&state))
28941           return 2;
28942     }
28943   return 0;
28944 }
28945 _ACEOF
28946 if ac_fn_c_try_run "$LINENO"; then :
28947   gl_cv_func_mbrtowc_incomplete_state=yes
28948 else
28949   gl_cv_func_mbrtowc_incomplete_state=no
28950 fi
28951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28952   conftest.$ac_objext conftest.beam conftest.$ac_ext
28953 fi
28954
28955       fi
28956
28957 fi
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
28959 $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
28960
28961
28962
28963
28964      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
28965 $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
28966 if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
28967   $as_echo_n "(cached) " >&6
28968 else
28969
28970                   case "$host_os" in
28971                     # Guess no on Solaris 8.
28972         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
28973                     # Guess yes otherwise.
28974         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
28975       esac
28976       if test $LOCALE_ZH_CN != none; then
28977         if test "$cross_compiling" = yes; then :
28978   :
28979 else
28980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28981 /* end confdefs.h.  */
28982
28983 #include <locale.h>
28984 #include <stdlib.h>
28985 #include <string.h>
28986 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
28987    <wchar.h>.
28988    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
28989    included before <wchar.h>.  */
28990 #include <stddef.h>
28991 #include <stdio.h>
28992 #include <time.h>
28993 #include <wchar.h>
28994 int main ()
28995 {
28996   /* This fails on Solaris 8:
28997      mbrtowc returns 2, and sets wc to 0x00F0.
28998      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
28999   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
29000     {
29001       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
29002       mbstate_t state;
29003       wchar_t wc;
29004
29005       memset (&state, '\0', sizeof (mbstate_t));
29006       if (mbrtowc (&wc, input + 3, 6, &state) != 4
29007           && mbtowc (&wc, input + 3, 6) == 4)
29008         return 2;
29009     }
29010   return 0;
29011 }
29012 _ACEOF
29013 if ac_fn_c_try_run "$LINENO"; then :
29014   gl_cv_func_mbrtowc_sanitycheck=yes
29015 else
29016   gl_cv_func_mbrtowc_sanitycheck=no
29017 fi
29018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29019   conftest.$ac_objext conftest.beam conftest.$ac_ext
29020 fi
29021
29022       fi
29023
29024 fi
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
29026 $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
29027
29028     REPLACE_MBSTATE_T=0
29029     case "$gl_cv_func_mbrtowc_incomplete_state" in
29030       *yes) ;;
29031       *) REPLACE_MBSTATE_T=1 ;;
29032     esac
29033     case "$gl_cv_func_mbrtowc_sanitycheck" in
29034       *yes) ;;
29035       *) REPLACE_MBSTATE_T=1 ;;
29036     esac
29037   else
29038     REPLACE_MBSTATE_T=1
29039   fi
29040
29041
29042
29043   if test $ac_cv_func_mbsinit = no; then
29044     HAVE_MBSINIT=0
29045     ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" "
29046 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
29047    <wchar.h>.
29048    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
29049    included before <wchar.h>.  */
29050 #include <stddef.h>
29051 #include <stdio.h>
29052 #include <time.h>
29053 #include <wchar.h>
29054
29055 "
29056 if test "x$ac_cv_have_decl_mbsinit" = xyes; then :
29057   ac_have_decl=1
29058 else
29059   ac_have_decl=0
29060 fi
29061
29062 cat >>confdefs.h <<_ACEOF
29063 #define HAVE_DECL_MBSINIT $ac_have_decl
29064 _ACEOF
29065
29066     if test $ac_cv_have_decl_mbsinit = yes; then
29067                         REPLACE_MBSINIT=1
29068     fi
29069   else
29070     if test $REPLACE_MBSTATE_T = 1; then
29071       REPLACE_MBSINIT=1
29072     else
29073                         case "$host_os" in
29074         mingw*) REPLACE_MBSINIT=1 ;;
29075       esac
29076     fi
29077   fi
29078
29079   if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
29080
29081
29082
29083
29084
29085
29086
29087
29088   gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext"
29089
29090
29091   :
29092
29093   fi
29094
29095
29096
29097
29098
29099           GNULIB_MBSINIT=1
29100
29101
29102
29103
29104
29105 $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h
29106
29107
29108
29109
29110
29111
29112
29113
29114           GNULIB_MBSNLEN=1
29115
29116
29117
29118
29119
29120 $as_echo "#define GNULIB_TEST_MBSNLEN 1" >>confdefs.h
29121
29122
29123
29124
29125   if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
29126
29127
29128
29129
29130
29131
29132
29133
29134   gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
29135
29136
29137   for ac_header in bp-sym.h
29138 do :
29139   ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
29140 if test "x$ac_cv_header_bp_sym_h" = xyes; then :
29141   cat >>confdefs.h <<_ACEOF
29142 #define HAVE_BP_SYM_H 1
29143 _ACEOF
29144
29145 fi
29146
29147 done
29148
29149
29150   fi
29151
29152
29153
29154
29155
29156           GNULIB_MEMCHR=1
29157
29158
29159
29160
29161
29162 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172   if test $gl_cv_func_frexp_no_libm = yes; then
29173
29174
29175
29176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
29177 $as_echo_n "checking whether frexp works... " >&6; }
29178 if ${gl_cv_func_frexp_works+:} false; then :
29179   $as_echo_n "(cached) " >&6
29180 else
29181
29182       if test "$cross_compiling" = yes; then :
29183   case "$host_os" in
29184            netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
29185            *)                        gl_cv_func_frexp_works="guessing yes";;
29186          esac
29187
29188 else
29189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h.  */
29191
29192 #include <float.h>
29193 #include <math.h>
29194 #include <string.h>
29195 #if HAVE_DECL_ALARM
29196 # include <signal.h>
29197 # include <unistd.h>
29198 #endif
29199 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
29200    ICC 10.0 has a bug when optimizing the expression -zero.
29201    The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
29202    to PowerPC on Mac OS X 10.5.  */
29203 #if defined __hpux || defined __sgi || defined __ICC
29204 static double
29205 compute_minus_zero (void)
29206 {
29207   return -DBL_MIN * DBL_MIN;
29208 }
29209 # define minus_zero compute_minus_zero ()
29210 #else
29211 double minus_zero = -0.0;
29212 #endif
29213 int main()
29214 {
29215   int result = 0;
29216   int i;
29217   volatile double x;
29218   double zero = 0.0;
29219 #if HAVE_DECL_ALARM
29220   /* NeXTstep 3.3 frexp() runs into an endless loop when called on an infinite
29221      number.  Let the test fail in this case.  */
29222   signal (SIGALRM, SIG_DFL);
29223   alarm (5);
29224 #endif
29225   /* Test on denormalized numbers.  */
29226   for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
29227     ;
29228   if (x > 0.0)
29229     {
29230       int exp;
29231       double y = frexp (x, &exp);
29232       /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
29233          On NetBSD: y = 0.75. Correct: y = 0.5.  */
29234       if (y != 0.5)
29235         result |= 1;
29236     }
29237   /* Test on infinite numbers.  */
29238   x = 1.0 / zero;
29239   {
29240     int exp;
29241     double y = frexp (x, &exp);
29242     if (y != x)
29243       result |= 2;
29244   }
29245   /* Test on negative zero.  */
29246   x = minus_zero;
29247   {
29248     int exp;
29249     double y = frexp (x, &exp);
29250     if (memcmp (&y, &x, sizeof x))
29251       result |= 4;
29252   }
29253   return result;
29254 }
29255 _ACEOF
29256 if ac_fn_c_try_run "$LINENO"; then :
29257   gl_cv_func_frexp_works=yes
29258 else
29259   gl_cv_func_frexp_works=no
29260 fi
29261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29262   conftest.$ac_objext conftest.beam conftest.$ac_ext
29263 fi
29264
29265
29266 fi
29267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
29268 $as_echo "$gl_cv_func_frexp_works" >&6; }
29269
29270     case "$gl_cv_func_frexp_works" in
29271       *yes)
29272
29273 $as_echo "#define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
29274
29275         ;;
29276     esac
29277   fi
29278
29279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5
29280 $as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; }
29281 if ${gl_cv_func_ldexp_no_libm+:} false; then :
29282   $as_echo_n "(cached) " >&6
29283 else
29284
29285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29286 /* end confdefs.h.  */
29287 #include <math.h>
29288              double x;
29289              int y;
29290 int
29291 main ()
29292 {
29293 return ldexp (x, y) < 1;
29294   ;
29295   return 0;
29296 }
29297 _ACEOF
29298 if ac_fn_c_try_link "$LINENO"; then :
29299   gl_cv_func_ldexp_no_libm=yes
29300 else
29301   gl_cv_func_ldexp_no_libm=no
29302 fi
29303 rm -f core conftest.err conftest.$ac_objext \
29304     conftest$ac_exeext conftest.$ac_ext
29305
29306 fi
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
29308 $as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
29309   if test $gl_cv_func_ldexp_no_libm = yes; then
29310
29311 $as_echo "#define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
29312
29313   fi
29314
29315
29316
29317
29318
29319
29320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
29321 $as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
29322 if ${gl_cv_func_frexpl_no_libm+:} false; then :
29323   $as_echo_n "(cached) " >&6
29324 else
29325
29326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29327 /* end confdefs.h.  */
29328 #include <math.h>
29329              long double x;
29330 int
29331 main ()
29332 {
29333 int e; return frexpl (x, &e) > 0;
29334   ;
29335   return 0;
29336 }
29337 _ACEOF
29338 if ac_fn_c_try_link "$LINENO"; then :
29339   gl_cv_func_frexpl_no_libm=yes
29340 else
29341   gl_cv_func_frexpl_no_libm=no
29342 fi
29343 rm -f core conftest.err conftest.$ac_objext \
29344     conftest$ac_exeext conftest.$ac_ext
29345
29346 fi
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
29348 $as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
29349
29350   if test $gl_cv_func_frexpl_no_libm = yes; then
29351
29352
29353      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
29354 $as_echo_n "checking whether frexpl works... " >&6; }
29355 if ${gl_cv_func_frexpl_works+:} false; then :
29356   $as_echo_n "(cached) " >&6
29357 else
29358
29359       if test "$cross_compiling" = yes; then :
29360
29361          case "$host_os" in
29362            aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
29363               gl_cv_func_frexpl_works="guessing no";;
29364            *) gl_cv_func_frexpl_works="guessing yes";;
29365          esac
29366
29367 else
29368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h.  */
29370
29371 #include <float.h>
29372 #include <math.h>
29373 /* Override the values of <float.h>, like done in float.in.h.  */
29374 #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
29375 # undef LDBL_MIN_EXP
29376 # define LDBL_MIN_EXP    (-16381)
29377 #endif
29378 #if defined __i386__ && defined __FreeBSD__
29379 # undef LDBL_MIN_EXP
29380 # define LDBL_MIN_EXP    (-16381)
29381 #endif
29382 #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
29383 # undef LDBL_MIN_EXP
29384 # define LDBL_MIN_EXP DBL_MIN_EXP
29385 #endif
29386 #if defined __sgi && (LDBL_MANT_DIG >= 106)
29387 # if defined __GNUC__
29388 #  undef LDBL_MIN_EXP
29389 #  define LDBL_MIN_EXP DBL_MIN_EXP
29390 # endif
29391 #endif
29392 extern
29393 #ifdef __cplusplus
29394 "C"
29395 #endif
29396 long double frexpl (long double, int *);
29397 int main()
29398 {
29399   int result = 0;
29400   volatile long double x;
29401   /* Test on finite numbers that fails on AIX 5.1.  */
29402   x = 16.0L;
29403   {
29404     int exp = -9999;
29405     frexpl (x, &exp);
29406     if (exp != 5)
29407       result |= 1;
29408   }
29409   /* Test on finite numbers that fails on Mac OS X 10.4, because its frexpl
29410      function returns an invalid (incorrectly normalized) value: it returns
29411                y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
29412      but the correct result is
29413           0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
29414   x = 1.01L;
29415   {
29416     int exp = -9999;
29417     long double y = frexpl (x, &exp);
29418     if (!(exp == 1 && y == 0.505L))
29419       result |= 2;
29420   }
29421   /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
29422      LDBL_MAX_EXP = 16384.
29423      In the loop end test, we test x against Infinity, rather than comparing
29424      i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
29425   {
29426     int i;
29427     for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
29428       {
29429         int exp = -9999;
29430         frexpl (x, &exp);
29431         if (exp != i)
29432           {
29433             result |= 4;
29434             break;
29435           }
29436       }
29437   }
29438   /* Test on denormalized numbers.  */
29439   {
29440     int i;
29441     for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
29442       ;
29443     if (x > 0.0L)
29444       {
29445         int exp;
29446         long double y = frexpl (x, &exp);
29447         /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
29448            exp = -16382, y = 0.5.  On Mac OS X 10.5: exp = -16384, y = 0.5.  */
29449         if (exp != LDBL_MIN_EXP - 1)
29450           result |= 8;
29451       }
29452   }
29453   /* Test on infinite numbers.  */
29454   x = 1.0L / 0.0L;
29455   {
29456     int exp;
29457     long double y = frexpl (x, &exp);
29458     if (y != x)
29459       result |= 16;
29460   }
29461   return result;
29462 }
29463 _ACEOF
29464 if ac_fn_c_try_run "$LINENO"; then :
29465   gl_cv_func_frexpl_works=yes
29466 else
29467   gl_cv_func_frexpl_works=no
29468 fi
29469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29470   conftest.$ac_objext conftest.beam conftest.$ac_ext
29471 fi
29472
29473
29474 fi
29475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
29476 $as_echo "$gl_cv_func_frexpl_works" >&6; }
29477
29478     case "$gl_cv_func_frexpl_works" in
29479       *yes) gl_func_frexpl_no_libm=yes ;;
29480       *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
29481     esac
29482   else
29483     gl_func_frexpl_no_libm=no
29484         REPLACE_FREXPL=1
29485   fi
29486   if test $gl_func_frexpl_no_libm = yes; then
29487
29488 $as_echo "#define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
29489
29490             ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
29491 "
29492 if test "x$ac_cv_have_decl_frexpl" = xyes; then :
29493
29494 else
29495   HAVE_DECL_FREXPL=0
29496 fi
29497
29498   fi
29499
29500
29501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5
29502 $as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; }
29503 if ${gl_cv_func_ldexpl_no_libm+:} false; then :
29504   $as_echo_n "(cached) " >&6
29505 else
29506
29507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h.  */
29509 #include <math.h>
29510              long double x;
29511 int
29512 main ()
29513 {
29514 return ldexpl (x, -1) > 0;
29515   ;
29516   return 0;
29517 }
29518 _ACEOF
29519 if ac_fn_c_try_link "$LINENO"; then :
29520   gl_cv_func_ldexpl_no_libm=yes
29521 else
29522   gl_cv_func_ldexpl_no_libm=no
29523 fi
29524 rm -f core conftest.err conftest.$ac_objext \
29525     conftest$ac_exeext conftest.$ac_ext
29526
29527 fi
29528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5
29529 $as_echo "$gl_cv_func_ldexpl_no_libm" >&6; }
29530
29531   if test $gl_cv_func_ldexpl_no_libm = yes; then
29532
29533
29534      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5
29535 $as_echo_n "checking whether ldexpl works... " >&6; }
29536 if ${gl_cv_func_ldexpl_works+:} false; then :
29537   $as_echo_n "(cached) " >&6
29538 else
29539
29540       if test "$cross_compiling" = yes; then :
29541
29542          case "$host_os" in
29543            aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
29544            *)               gl_cv_func_ldexpl_works="guessing yes";;
29545          esac
29546
29547 else
29548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29549 /* end confdefs.h.  */
29550
29551 #include <math.h>
29552 extern
29553 #ifdef __cplusplus
29554 "C"
29555 #endif
29556 long double ldexpl (long double, int);
29557 int main()
29558 {
29559   int result = 0;
29560   {
29561     volatile long double x = 1.0;
29562     volatile long double y = ldexpl (x, -1);
29563     if (y != 0.5L)
29564       result |= 1;
29565   }
29566   {
29567     volatile long double x = 1.73205L;
29568     volatile long double y = ldexpl (x, 0);
29569     if (y != x)
29570       result |= 2;
29571   }
29572   return result;
29573 }
29574 _ACEOF
29575 if ac_fn_c_try_run "$LINENO"; then :
29576   gl_cv_func_ldexpl_works=yes
29577 else
29578   gl_cv_func_ldexpl_works=no
29579 fi
29580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29581   conftest.$ac_objext conftest.beam conftest.$ac_ext
29582 fi
29583
29584
29585 fi
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5
29587 $as_echo "$gl_cv_func_ldexpl_works" >&6; }
29588
29589     case "$gl_cv_func_ldexpl_works" in
29590       *yes)
29591
29592 $as_echo "#define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h
29593
29594                         ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include <math.h>
29595 "
29596 if test "x$ac_cv_have_decl_ldexpl" = xyes; then :
29597
29598 else
29599   HAVE_DECL_LDEXPL=0
29600 fi
29601
29602         ;;
29603     esac
29604   fi
29605
29606
29607
29608
29609
29610
29611
29612      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5
29613 $as_echo_n "checking for signbit macro... " >&6; }
29614 if ${gl_cv_func_signbit+:} false; then :
29615   $as_echo_n "(cached) " >&6
29616 else
29617
29618       if test "$cross_compiling" = yes; then :
29619   case "$host_os" in
29620                    # Guess yes on glibc systems.
29621            *-gnu*) gl_cv_func_signbit="guessing yes" ;;
29622                    # If we don't know, assume the worst.
29623            *)      gl_cv_func_signbit="guessing no" ;;
29624          esac
29625
29626 else
29627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h.  */
29629
29630 #include <math.h>
29631 /* If signbit is defined as a function, don't use it, since calling it for
29632    'float' or 'long double' arguments would involve conversions.
29633    If signbit is not declared at all but exists as a library function, don't
29634    use it, since the prototype may not match.
29635    If signbit is not declared at all but exists as a compiler built-in, don't
29636    use it, since it's preferable to use __builtin_signbit* (no warnings,
29637    no conversions).  */
29638 #ifndef signbit
29639 # error "signbit should be a macro"
29640 #endif
29641 #include <string.h>
29642
29643 /* Global variables.
29644    Needed because GCC 4 constant-folds __builtin_signbitl (literal)
29645    but cannot constant-fold            __builtin_signbitl (variable).  */
29646 float vf;
29647 double vd;
29648 long double vl;
29649 int main ()
29650 {
29651 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
29652    So we use -p0f and -p0d instead.  */
29653 float p0f = 0.0f;
29654 float m0f = -p0f;
29655 double p0d = 0.0;
29656 double m0d = -p0d;
29657 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
29658    So we use another constant expression instead.
29659    But that expression does not work on other platforms, such as when
29660    cross-compiling to PowerPC on Mac OS X 10.5.  */
29661 long double p0l = 0.0L;
29662 #if defined __hpux || defined __sgi
29663 long double m0l = -LDBL_MIN * LDBL_MIN;
29664 #else
29665 long double m0l = -p0l;
29666 #endif
29667   int result = 0;
29668   if (signbit (vf)) /* link check */
29669     vf++;
29670   {
29671     float plus_inf = 1.0f / p0f;
29672     float minus_inf = -1.0f / p0f;
29673     if (!(!signbit (255.0f)
29674           && signbit (-255.0f)
29675           && !signbit (p0f)
29676           && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
29677           && !signbit (plus_inf)
29678           && signbit (minus_inf)))
29679       result |= 1;
29680   }
29681   if (signbit (vd)) /* link check */
29682     vd++;
29683   {
29684     double plus_inf = 1.0 / p0d;
29685     double minus_inf = -1.0 / p0d;
29686     if (!(!signbit (255.0)
29687           && signbit (-255.0)
29688           && !signbit (p0d)
29689           && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
29690           && !signbit (plus_inf)
29691           && signbit (minus_inf)))
29692       result |= 2;
29693   }
29694   if (signbit (vl)) /* link check */
29695     vl++;
29696   {
29697     long double plus_inf = 1.0L / p0l;
29698     long double minus_inf = -1.0L / p0l;
29699     if (signbit (255.0L))
29700       result |= 4;
29701     if (!signbit (-255.0L))
29702       result |= 4;
29703     if (signbit (p0l))
29704       result |= 8;
29705     if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
29706       result |= 16;
29707     if (signbit (plus_inf))
29708       result |= 32;
29709     if (!signbit (minus_inf))
29710       result |= 64;
29711   }
29712   return result;
29713 }
29714
29715
29716 _ACEOF
29717 if ac_fn_c_try_run "$LINENO"; then :
29718   gl_cv_func_signbit=yes
29719 else
29720   gl_cv_func_signbit=no
29721 fi
29722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29723   conftest.$ac_objext conftest.beam conftest.$ac_ext
29724 fi
29725
29726
29727 fi
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit" >&5
29729 $as_echo "$gl_cv_func_signbit" >&6; }
29730           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5
29731 $as_echo_n "checking for signbit compiler built-ins... " >&6; }
29732 if ${gl_cv_func_signbit_gcc+:} false; then :
29733   $as_echo_n "(cached) " >&6
29734 else
29735
29736       if test "$cross_compiling" = yes; then :
29737   case "$host_os" in
29738                    # Guess yes on glibc systems.
29739            *-gnu*) gl_cv_func_signbit_gcc="guessing yes" ;;
29740                    # If we don't know, assume the worst.
29741            *)      gl_cv_func_signbit_gcc="guessing no" ;;
29742          esac
29743
29744 else
29745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29746 /* end confdefs.h.  */
29747
29748 #if __GNUC__ >= 4
29749 # define signbit(x) \
29750    (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
29751     sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
29752     __builtin_signbitf (x))
29753 #else
29754 # error "signbit should be three compiler built-ins"
29755 #endif
29756 #include <string.h>
29757
29758 /* Global variables.
29759    Needed because GCC 4 constant-folds __builtin_signbitl (literal)
29760    but cannot constant-fold            __builtin_signbitl (variable).  */
29761 float vf;
29762 double vd;
29763 long double vl;
29764 int main ()
29765 {
29766 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
29767    So we use -p0f and -p0d instead.  */
29768 float p0f = 0.0f;
29769 float m0f = -p0f;
29770 double p0d = 0.0;
29771 double m0d = -p0d;
29772 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
29773    So we use another constant expression instead.
29774    But that expression does not work on other platforms, such as when
29775    cross-compiling to PowerPC on Mac OS X 10.5.  */
29776 long double p0l = 0.0L;
29777 #if defined __hpux || defined __sgi
29778 long double m0l = -LDBL_MIN * LDBL_MIN;
29779 #else
29780 long double m0l = -p0l;
29781 #endif
29782   int result = 0;
29783   if (signbit (vf)) /* link check */
29784     vf++;
29785   {
29786     float plus_inf = 1.0f / p0f;
29787     float minus_inf = -1.0f / p0f;
29788     if (!(!signbit (255.0f)
29789           && signbit (-255.0f)
29790           && !signbit (p0f)
29791           && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
29792           && !signbit (plus_inf)
29793           && signbit (minus_inf)))
29794       result |= 1;
29795   }
29796   if (signbit (vd)) /* link check */
29797     vd++;
29798   {
29799     double plus_inf = 1.0 / p0d;
29800     double minus_inf = -1.0 / p0d;
29801     if (!(!signbit (255.0)
29802           && signbit (-255.0)
29803           && !signbit (p0d)
29804           && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
29805           && !signbit (plus_inf)
29806           && signbit (minus_inf)))
29807       result |= 2;
29808   }
29809   if (signbit (vl)) /* link check */
29810     vl++;
29811   {
29812     long double plus_inf = 1.0L / p0l;
29813     long double minus_inf = -1.0L / p0l;
29814     if (signbit (255.0L))
29815       result |= 4;
29816     if (!signbit (-255.0L))
29817       result |= 4;
29818     if (signbit (p0l))
29819       result |= 8;
29820     if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
29821       result |= 16;
29822     if (signbit (plus_inf))
29823       result |= 32;
29824     if (!signbit (minus_inf))
29825       result |= 64;
29826   }
29827   return result;
29828 }
29829
29830
29831 _ACEOF
29832 if ac_fn_c_try_run "$LINENO"; then :
29833   gl_cv_func_signbit_gcc=yes
29834 else
29835   gl_cv_func_signbit_gcc=no
29836 fi
29837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29838   conftest.$ac_objext conftest.beam conftest.$ac_ext
29839 fi
29840
29841
29842 fi
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit_gcc" >&5
29844 $as_echo "$gl_cv_func_signbit_gcc" >&6; }
29845       case "$gl_cv_func_signbit_gcc" in
29846     *yes)
29847       REPLACE_SIGNBIT_USING_GCC=1
29848       ;;
29849     *)
29850       case "$gl_cv_func_signbit" in
29851         *yes) ;;
29852         *)
29853                     REPLACE_SIGNBIT=1
29854
29855
29856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5
29857 $as_echo_n "checking where to find the sign bit in a 'float'... " >&6; }
29858 if ${gl_cv_cc_float_signbit+:} false; then :
29859   $as_echo_n "(cached) " >&6
29860 else
29861
29862       if test "$cross_compiling" = yes; then :
29863
29864                               gl_cv_cc_float_signbit="unknown"
29865
29866 else
29867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29868 /* end confdefs.h.  */
29869
29870 #include <stddef.h>
29871 #include <stdio.h>
29872 #define NWORDS \
29873   ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
29874 typedef union { float value; unsigned int word[NWORDS]; }
29875         memory_float;
29876 static memory_float plus = { 1.0f };
29877 static memory_float minus = { -1.0f };
29878 int main ()
29879 {
29880   size_t j, k, i;
29881   unsigned int m;
29882   FILE *fp = fopen ("conftest.out", "w");
29883   if (fp == NULL)
29884     return 1;
29885   /* Find the different bit.  */
29886   k = 0; m = 0;
29887   for (j = 0; j < NWORDS; j++)
29888     {
29889       unsigned int x = plus.word[j] ^ minus.word[j];
29890       if ((x & (x - 1)) || (x && m))
29891         {
29892           /* More than one bit difference.  */
29893           fprintf (fp, "unknown");
29894           return 2;
29895         }
29896       if (x)
29897         {
29898           k = j;
29899           m = x;
29900         }
29901     }
29902   if (m == 0)
29903     {
29904       /* No difference.  */
29905       fprintf (fp, "unknown");
29906       return 3;
29907     }
29908   /* Now m = plus.word[k] ^ ~minus.word[k].  */
29909   if (plus.word[k] & ~minus.word[k])
29910     {
29911       /* Oh? The sign bit is set in the positive and cleared in the negative
29912          numbers?  */
29913       fprintf (fp, "unknown");
29914       return 4;
29915     }
29916   for (i = 0; ; i++)
29917     if ((m >> i) & 1)
29918       break;
29919   fprintf (fp, "word %d bit %d", (int) k, (int) i);
29920   if (fclose (fp) != 0)
29921     return 5;
29922   return 0;
29923 }
29924
29925 _ACEOF
29926 if ac_fn_c_try_run "$LINENO"; then :
29927   gl_cv_cc_float_signbit=`cat conftest.out`
29928 else
29929   gl_cv_cc_float_signbit="unknown"
29930 fi
29931 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29932   conftest.$ac_objext conftest.beam conftest.$ac_ext
29933 fi
29934
29935       rm -f conftest.out
29936
29937 fi
29938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5
29939 $as_echo "$gl_cv_cc_float_signbit" >&6; }
29940   case "$gl_cv_cc_float_signbit" in
29941     word*bit*)
29942       word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
29943       bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'`
29944
29945 cat >>confdefs.h <<_ACEOF
29946 #define FLT_SIGNBIT_WORD $word
29947 _ACEOF
29948
29949
29950 cat >>confdefs.h <<_ACEOF
29951 #define FLT_SIGNBIT_BIT $bit
29952 _ACEOF
29953
29954       ;;
29955   esac
29956
29957
29958
29959
29960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5
29961 $as_echo_n "checking where to find the sign bit in a 'double'... " >&6; }
29962 if ${gl_cv_cc_double_signbit+:} false; then :
29963   $as_echo_n "(cached) " >&6
29964 else
29965
29966       if test "$cross_compiling" = yes; then :
29967
29968                               gl_cv_cc_double_signbit="unknown"
29969
29970 else
29971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h.  */
29973
29974 #include <stddef.h>
29975 #include <stdio.h>
29976 #define NWORDS \
29977   ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
29978 typedef union { double value; unsigned int word[NWORDS]; }
29979         memory_float;
29980 static memory_float plus = { 1.0 };
29981 static memory_float minus = { -1.0 };
29982 int main ()
29983 {
29984   size_t j, k, i;
29985   unsigned int m;
29986   FILE *fp = fopen ("conftest.out", "w");
29987   if (fp == NULL)
29988     return 1;
29989   /* Find the different bit.  */
29990   k = 0; m = 0;
29991   for (j = 0; j < NWORDS; j++)
29992     {
29993       unsigned int x = plus.word[j] ^ minus.word[j];
29994       if ((x & (x - 1)) || (x && m))
29995         {
29996           /* More than one bit difference.  */
29997           fprintf (fp, "unknown");
29998           return 2;
29999         }
30000       if (x)
30001         {
30002           k = j;
30003           m = x;
30004         }
30005     }
30006   if (m == 0)
30007     {
30008       /* No difference.  */
30009       fprintf (fp, "unknown");
30010       return 3;
30011     }
30012   /* Now m = plus.word[k] ^ ~minus.word[k].  */
30013   if (plus.word[k] & ~minus.word[k])
30014     {
30015       /* Oh? The sign bit is set in the positive and cleared in the negative
30016          numbers?  */
30017       fprintf (fp, "unknown");
30018       return 4;
30019     }
30020   for (i = 0; ; i++)
30021     if ((m >> i) & 1)
30022       break;
30023   fprintf (fp, "word %d bit %d", (int) k, (int) i);
30024   if (fclose (fp) != 0)
30025     return 5;
30026   return 0;
30027 }
30028
30029 _ACEOF
30030 if ac_fn_c_try_run "$LINENO"; then :
30031   gl_cv_cc_double_signbit=`cat conftest.out`
30032 else
30033   gl_cv_cc_double_signbit="unknown"
30034 fi
30035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30036   conftest.$ac_objext conftest.beam conftest.$ac_ext
30037 fi
30038
30039       rm -f conftest.out
30040
30041 fi
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5
30043 $as_echo "$gl_cv_cc_double_signbit" >&6; }
30044   case "$gl_cv_cc_double_signbit" in
30045     word*bit*)
30046       word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
30047       bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'`
30048
30049 cat >>confdefs.h <<_ACEOF
30050 #define DBL_SIGNBIT_WORD $word
30051 _ACEOF
30052
30053
30054 cat >>confdefs.h <<_ACEOF
30055 #define DBL_SIGNBIT_BIT $bit
30056 _ACEOF
30057
30058       ;;
30059   esac
30060
30061
30062
30063
30064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5
30065 $as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; }
30066 if ${gl_cv_cc_long_double_signbit+:} false; then :
30067   $as_echo_n "(cached) " >&6
30068 else
30069
30070       if test "$cross_compiling" = yes; then :
30071
30072                               gl_cv_cc_long_double_signbit="unknown"
30073
30074 else
30075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30076 /* end confdefs.h.  */
30077
30078 #include <stddef.h>
30079 #include <stdio.h>
30080 #define NWORDS \
30081   ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
30082 typedef union { long double value; unsigned int word[NWORDS]; }
30083         memory_float;
30084 static memory_float plus = { 1.0L };
30085 static memory_float minus = { -1.0L };
30086 int main ()
30087 {
30088   size_t j, k, i;
30089   unsigned int m;
30090   FILE *fp = fopen ("conftest.out", "w");
30091   if (fp == NULL)
30092     return 1;
30093   /* Find the different bit.  */
30094   k = 0; m = 0;
30095   for (j = 0; j < NWORDS; j++)
30096     {
30097       unsigned int x = plus.word[j] ^ minus.word[j];
30098       if ((x & (x - 1)) || (x && m))
30099         {
30100           /* More than one bit difference.  */
30101           fprintf (fp, "unknown");
30102           return 2;
30103         }
30104       if (x)
30105         {
30106           k = j;
30107           m = x;
30108         }
30109     }
30110   if (m == 0)
30111     {
30112       /* No difference.  */
30113       fprintf (fp, "unknown");
30114       return 3;
30115     }
30116   /* Now m = plus.word[k] ^ ~minus.word[k].  */
30117   if (plus.word[k] & ~minus.word[k])
30118     {
30119       /* Oh? The sign bit is set in the positive and cleared in the negative
30120          numbers?  */
30121       fprintf (fp, "unknown");
30122       return 4;
30123     }
30124   for (i = 0; ; i++)
30125     if ((m >> i) & 1)
30126       break;
30127   fprintf (fp, "word %d bit %d", (int) k, (int) i);
30128   if (fclose (fp) != 0)
30129     return 5;
30130   return 0;
30131 }
30132
30133 _ACEOF
30134 if ac_fn_c_try_run "$LINENO"; then :
30135   gl_cv_cc_long_double_signbit=`cat conftest.out`
30136 else
30137   gl_cv_cc_long_double_signbit="unknown"
30138 fi
30139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30140   conftest.$ac_objext conftest.beam conftest.$ac_ext
30141 fi
30142
30143       rm -f conftest.out
30144
30145 fi
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5
30147 $as_echo "$gl_cv_cc_long_double_signbit" >&6; }
30148   case "$gl_cv_cc_long_double_signbit" in
30149     word*bit*)
30150       word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
30151       bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'`
30152
30153 cat >>confdefs.h <<_ACEOF
30154 #define LDBL_SIGNBIT_WORD $word
30155 _ACEOF
30156
30157
30158 cat >>confdefs.h <<_ACEOF
30159 #define LDBL_SIGNBIT_BIT $bit
30160 _ACEOF
30161
30162       ;;
30163   esac
30164
30165
30166           if test "$gl_cv_cc_float_signbit" = unknown; then
30167                         ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include <math.h>
30168 "
30169 if test "x$ac_cv_have_decl_copysignf" = xyes; then :
30170   ac_have_decl=1
30171 else
30172   ac_have_decl=0
30173 fi
30174
30175 cat >>confdefs.h <<_ACEOF
30176 #define HAVE_DECL_COPYSIGNF $ac_have_decl
30177 _ACEOF
30178
30179             if test "$ac_cv_have_decl_copysignf" = yes; then
30180                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5
30181 $as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; }
30182 if ${gl_cv_func_copysignf_no_libm+:} false; then :
30183   $as_echo_n "(cached) " >&6
30184 else
30185
30186                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30187 /* end confdefs.h.  */
30188 #include <math.h>
30189                          float x, y;
30190 int
30191 main ()
30192 {
30193 return copysignf (x, y) < 0;
30194   ;
30195   return 0;
30196 }
30197 _ACEOF
30198 if ac_fn_c_try_link "$LINENO"; then :
30199   gl_cv_func_copysignf_no_libm=yes
30200 else
30201   gl_cv_func_copysignf_no_libm=no
30202 fi
30203 rm -f core conftest.err conftest.$ac_objext \
30204     conftest$ac_exeext conftest.$ac_ext
30205
30206 fi
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5
30208 $as_echo "$gl_cv_func_copysignf_no_libm" >&6; }
30209               if test $gl_cv_func_copysignf_no_libm = yes; then
30210
30211 $as_echo "#define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h
30212
30213               fi
30214             fi
30215           fi
30216           if test "$gl_cv_cc_double_signbit" = unknown; then
30217                         ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include <math.h>
30218 "
30219 if test "x$ac_cv_have_decl_copysign" = xyes; then :
30220   ac_have_decl=1
30221 else
30222   ac_have_decl=0
30223 fi
30224
30225 cat >>confdefs.h <<_ACEOF
30226 #define HAVE_DECL_COPYSIGN $ac_have_decl
30227 _ACEOF
30228
30229             if test "$ac_cv_have_decl_copysign" = yes; then
30230                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5
30231 $as_echo_n "checking whether copysign can be used without linking with libm... " >&6; }
30232 if ${gl_cv_func_copysign_no_libm+:} false; then :
30233   $as_echo_n "(cached) " >&6
30234 else
30235
30236                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h.  */
30238 #include <math.h>
30239                          double x, y;
30240 int
30241 main ()
30242 {
30243 return copysign (x, y) < 0;
30244   ;
30245   return 0;
30246 }
30247 _ACEOF
30248 if ac_fn_c_try_link "$LINENO"; then :
30249   gl_cv_func_copysign_no_libm=yes
30250 else
30251   gl_cv_func_copysign_no_libm=no
30252 fi
30253 rm -f core conftest.err conftest.$ac_objext \
30254     conftest$ac_exeext conftest.$ac_ext
30255
30256 fi
30257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5
30258 $as_echo "$gl_cv_func_copysign_no_libm" >&6; }
30259               if test $gl_cv_func_copysign_no_libm = yes; then
30260
30261 $as_echo "#define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h
30262
30263               fi
30264             fi
30265           fi
30266           if test "$gl_cv_cc_long_double_signbit" = unknown; then
30267                         ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include <math.h>
30268 "
30269 if test "x$ac_cv_have_decl_copysignl" = xyes; then :
30270   ac_have_decl=1
30271 else
30272   ac_have_decl=0
30273 fi
30274
30275 cat >>confdefs.h <<_ACEOF
30276 #define HAVE_DECL_COPYSIGNL $ac_have_decl
30277 _ACEOF
30278
30279             if test "$ac_cv_have_decl_copysignl" = yes; then
30280                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5
30281 $as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; }
30282 if ${gl_cv_func_copysignl_no_libm+:} false; then :
30283   $as_echo_n "(cached) " >&6
30284 else
30285
30286                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30287 /* end confdefs.h.  */
30288 #include <math.h>
30289                          long double x, y;
30290 int
30291 main ()
30292 {
30293 return copysignl (x, y) < 0;
30294   ;
30295   return 0;
30296 }
30297 _ACEOF
30298 if ac_fn_c_try_link "$LINENO"; then :
30299   gl_cv_func_copysignl_no_libm=yes
30300 else
30301   gl_cv_func_copysignl_no_libm=no
30302 fi
30303 rm -f core conftest.err conftest.$ac_objext \
30304     conftest$ac_exeext conftest.$ac_ext
30305
30306 fi
30307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5
30308 $as_echo "$gl_cv_func_copysignl_no_libm" >&6; }
30309               if test $gl_cv_func_copysignl_no_libm = yes; then
30310
30311 $as_echo "#define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h
30312
30313               fi
30314             fi
30315           fi
30316           ;;
30317       esac
30318       ;;
30319   esac
30320
30321   if test $REPLACE_SIGNBIT = 1; then
30322
30323
30324
30325
30326
30327
30328
30329
30330   gl_LIBOBJS="$gl_LIBOBJS signbitf.$ac_objext"
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340   gl_LIBOBJS="$gl_LIBOBJS signbitd.$ac_objext"
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350   gl_LIBOBJS="$gl_LIBOBJS signbitl.$ac_objext"
30351
30352   fi
30353
30354
30355
30356
30357
30358           GNULIB_SIGNBIT=1
30359
30360
30361
30362
30363
30364 $as_echo "#define GNULIB_TEST_SIGNBIT 1" >>confdefs.h
30365
30366
30367
30368
30369   for ac_header in stdint.h
30370 do :
30371   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
30372 if test "x$ac_cv_header_stdint_h" = xyes; then :
30373   cat >>confdefs.h <<_ACEOF
30374 #define HAVE_STDINT_H 1
30375 _ACEOF
30376
30377 fi
30378
30379 done
30380
30381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
30382 $as_echo_n "checking for SIZE_MAX... " >&6; }
30383 if ${gl_cv_size_max+:} false; then :
30384   $as_echo_n "(cached) " >&6
30385 else
30386
30387     gl_cv_size_max=
30388     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30389 /* end confdefs.h.  */
30390
30391 #include <limits.h>
30392 #if HAVE_STDINT_H
30393 #include <stdint.h>
30394 #endif
30395 #ifdef SIZE_MAX
30396 Found it
30397 #endif
30398
30399 _ACEOF
30400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30401   $EGREP "Found it" >/dev/null 2>&1; then :
30402   gl_cv_size_max=yes
30403 fi
30404 rm -f conftest*
30405
30406     if test -z "$gl_cv_size_max"; then
30407                         if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
30408 #include <limits.h>"; then :
30409
30410 else
30411   size_t_bits_minus_1=
30412 fi
30413
30414       if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
30415
30416 else
30417   fits_in_uint=
30418 fi
30419
30420       if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
30421         if test $fits_in_uint = 1; then
30422                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h.  */
30424 #include <stddef.h>
30425                  extern size_t foo;
30426                  extern unsigned long foo;
30427
30428 int
30429 main ()
30430 {
30431
30432   ;
30433   return 0;
30434 }
30435 _ACEOF
30436 if ac_fn_c_try_compile "$LINENO"; then :
30437   fits_in_uint=0
30438 fi
30439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30440         fi
30441                                 if test $fits_in_uint = 1; then
30442           gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
30443         else
30444           gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
30445         fi
30446       else
30447                 gl_cv_size_max='((size_t)~(size_t)0)'
30448       fi
30449     fi
30450
30451 fi
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
30453 $as_echo "$gl_cv_size_max" >&6; }
30454   if test "$gl_cv_size_max" != yes; then
30455
30456 cat >>confdefs.h <<_ACEOF
30457 #define SIZE_MAX $gl_cv_size_max
30458 _ACEOF
30459
30460   fi
30461
30462
30463
30464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
30465 $as_echo_n "checking for ssize_t... " >&6; }
30466 if ${gt_cv_ssize_t+:} false; then :
30467   $as_echo_n "(cached) " >&6
30468 else
30469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30470 /* end confdefs.h.  */
30471 #include <sys/types.h>
30472 int
30473 main ()
30474 {
30475 int x = sizeof (ssize_t *) + sizeof (ssize_t);
30476             return !x;
30477   ;
30478   return 0;
30479 }
30480 _ACEOF
30481 if ac_fn_c_try_compile "$LINENO"; then :
30482   gt_cv_ssize_t=yes
30483 else
30484   gt_cv_ssize_t=no
30485 fi
30486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30487 fi
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
30489 $as_echo "$gt_cv_ssize_t" >&6; }
30490   if test $gt_cv_ssize_t = no; then
30491
30492 $as_echo "#define ssize_t int" >>confdefs.h
30493
30494   fi
30495
30496
30497
30498
30499   # Define two additional variables used in the Makefile substitution.
30500
30501   if test "$ac_cv_header_stdbool_h" = yes; then
30502     STDBOOL_H=''
30503   else
30504     STDBOOL_H='stdbool.h'
30505   fi
30506
30507    if test -n "$STDBOOL_H"; then
30508   GL_GENERATE_STDBOOL_H_TRUE=
30509   GL_GENERATE_STDBOOL_H_FALSE='#'
30510 else
30511   GL_GENERATE_STDBOOL_H_TRUE='#'
30512   GL_GENERATE_STDBOOL_H_FALSE=
30513 fi
30514
30515
30516   if test "$ac_cv_type__Bool" = yes; then
30517     HAVE__BOOL=1
30518   else
30519     HAVE__BOOL=0
30520   fi
30521
30522
30523
30524
30525
30526   STDDEF_H=
30527   ac_fn_c_check_type "$LINENO" "max_align_t" "ac_cv_type_max_align_t" "#include <stddef.h>
30528
30529 "
30530 if test "x$ac_cv_type_max_align_t" = xyes; then :
30531
30532 else
30533   HAVE_MAX_ALIGN_T=0; STDDEF_H=stddef.h
30534 fi
30535
30536   if test $gt_cv_c_wchar_t = no; then
30537     HAVE_WCHAR_T=0
30538     STDDEF_H=stddef.h
30539   fi
30540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
30541 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
30542 if ${gl_cv_decl_null_works+:} false; then :
30543   $as_echo_n "(cached) " >&6
30544 else
30545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h.  */
30547 #include <stddef.h>
30548       int test[2 * (sizeof NULL == sizeof (void *)) -1];
30549
30550 int
30551 main ()
30552 {
30553
30554   ;
30555   return 0;
30556 }
30557 _ACEOF
30558 if ac_fn_c_try_compile "$LINENO"; then :
30559   gl_cv_decl_null_works=yes
30560 else
30561   gl_cv_decl_null_works=no
30562 fi
30563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30564 fi
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
30566 $as_echo "$gl_cv_decl_null_works" >&6; }
30567   if test $gl_cv_decl_null_works = no; then
30568     REPLACE_NULL=1
30569     STDDEF_H=stddef.h
30570   fi
30571
30572    if test -n "$STDDEF_H"; then
30573   GL_GENERATE_STDDEF_H_TRUE=
30574   GL_GENERATE_STDDEF_H_FALSE='#'
30575 else
30576   GL_GENERATE_STDDEF_H_TRUE='#'
30577   GL_GENERATE_STDDEF_H_FALSE=
30578 fi
30579
30580   if test -n "$STDDEF_H"; then
30581
30582
30583
30584
30585
30586
30587
30588
30589      if test $gl_cv_have_include_next = yes; then
30590        gl_cv_next_stddef_h='<'stddef.h'>'
30591      else
30592        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
30593 $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
30594 if ${gl_cv_next_stddef_h+:} false; then :
30595   $as_echo_n "(cached) " >&6
30596 else
30597
30598
30599
30600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h.  */
30602 #include <stddef.h>
30603 _ACEOF
30604                 case "$host_os" in
30605     aix*) gl_absname_cpp="$ac_cpp -C" ;;
30606     *)    gl_absname_cpp="$ac_cpp" ;;
30607   esac
30608
30609   case "$host_os" in
30610     mingw*)
30611                                           gl_dirsep_regex='[/\\]'
30612       ;;
30613     *)
30614       gl_dirsep_regex='\/'
30615       ;;
30616   esac
30617       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
30618   gl_header_literal_regex=`echo 'stddef.h' \
30619                            | sed -e "$gl_make_literal_regex_sed"`
30620   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
30621       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
30622       s|^/[^/]|//&|
30623       p
30624       q
30625     }'
30626
30627         gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
30628   sed -n "$gl_absolute_header_sed"`
30629
30630            gl_header=$gl_cv_absolute_stddef_h
30631            gl_cv_next_stddef_h='"'$gl_header'"'
30632
30633
30634 fi
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
30636 $as_echo "$gl_cv_next_stddef_h" >&6; }
30637      fi
30638      NEXT_STDDEF_H=$gl_cv_next_stddef_h
30639
30640      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
30641        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
30642        gl_next_as_first_directive='<'stddef.h'>'
30643      else
30644        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
30645        gl_next_as_first_directive=$gl_cv_next_stddef_h
30646      fi
30647      NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
30648
30649
30650
30651
30652   fi
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665      if test $gl_cv_have_include_next = yes; then
30666        gl_cv_next_stdlib_h='<'stdlib.h'>'
30667      else
30668        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
30669 $as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
30670 if ${gl_cv_next_stdlib_h+:} false; then :
30671   $as_echo_n "(cached) " >&6
30672 else
30673
30674
30675
30676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h.  */
30678 #include <stdlib.h>
30679 _ACEOF
30680                 case "$host_os" in
30681     aix*) gl_absname_cpp="$ac_cpp -C" ;;
30682     *)    gl_absname_cpp="$ac_cpp" ;;
30683   esac
30684
30685   case "$host_os" in
30686     mingw*)
30687                                           gl_dirsep_regex='[/\\]'
30688       ;;
30689     *)
30690       gl_dirsep_regex='\/'
30691       ;;
30692   esac
30693       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
30694   gl_header_literal_regex=`echo 'stdlib.h' \
30695                            | sed -e "$gl_make_literal_regex_sed"`
30696   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
30697       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
30698       s|^/[^/]|//&|
30699       p
30700       q
30701     }'
30702
30703         gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
30704   sed -n "$gl_absolute_header_sed"`
30705
30706            gl_header=$gl_cv_absolute_stdlib_h
30707            gl_cv_next_stdlib_h='"'$gl_header'"'
30708
30709
30710 fi
30711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
30712 $as_echo "$gl_cv_next_stdlib_h" >&6; }
30713      fi
30714      NEXT_STDLIB_H=$gl_cv_next_stdlib_h
30715
30716      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
30717        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
30718        gl_next_as_first_directive='<'stdlib.h'>'
30719      else
30720        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
30721        gl_next_as_first_directive=$gl_cv_next_stdlib_h
30722      fi
30723      NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
30724
30725
30726
30727
30728
30729
30730     for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt     initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps     posix_openpt ptsname ptsname_r qsort_r random random_r realpath rpmatch     secure_getenv setenv setstate setstate_r srandom srandom_r     strtod strtoll strtoull unlockpt unsetenv; do
30731     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
30732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
30733 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
30734 if eval \${$as_gl_Symbol+:} false; then :
30735   $as_echo_n "(cached) " >&6
30736 else
30737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30738 /* end confdefs.h.  */
30739 #include <stdlib.h>
30740 #if HAVE_SYS_LOADAVG_H
30741 # include <sys/loadavg.h>
30742 #endif
30743 #if HAVE_RANDOM_H
30744 # include <random.h>
30745 #endif
30746
30747 int
30748 main ()
30749 {
30750 #undef $gl_func
30751   (void) $gl_func;
30752   ;
30753   return 0;
30754 }
30755 _ACEOF
30756 if ac_fn_c_try_compile "$LINENO"; then :
30757   eval "$as_gl_Symbol=yes"
30758 else
30759   eval "$as_gl_Symbol=no"
30760 fi
30761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30762 fi
30763 eval ac_res=\$$as_gl_Symbol
30764                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30765 $as_echo "$ac_res" >&6; }
30766     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
30767   cat >>confdefs.h <<_ACEOF
30768 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
30769 _ACEOF
30770
30771                      eval ac_cv_have_decl_$gl_func=yes
30772 fi
30773       done
30774
30775
30776   if test $gl_cond_libtool = false; then
30777     gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
30778     gl_libdeps="$gl_libdeps $LIBICONV"
30779   fi
30780
30781
30782
30783
30784   if test $REPLACE_STRNCAT = 1; then
30785
30786
30787
30788
30789
30790
30791
30792
30793   gl_LIBOBJS="$gl_LIBOBJS strncat.$ac_objext"
30794
30795
30796   :
30797
30798   fi
30799
30800
30801
30802
30803
30804           GNULIB_STRNCAT=1
30805
30806
30807
30808
30809
30810 $as_echo "#define GNULIB_TEST_STRNCAT 1" >>confdefs.h
30811
30812
30813
30814
30815
30816   if test $REPLACE_STRSTR = 0; then
30817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5
30818 $as_echo_n "checking whether strstr works in linear time... " >&6; }
30819 if ${gl_cv_func_strstr_linear+:} false; then :
30820   $as_echo_n "(cached) " >&6
30821 else
30822   if test "$cross_compiling" = yes; then :
30823                              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30824 /* end confdefs.h.  */
30825
30826 #include <features.h>
30827 #ifdef __GNU_LIBRARY__
30828  #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
30829      && !(defined __i386__ || defined __x86_64__) \
30830      && !defined __UCLIBC__
30831   Lucky user
30832  #endif
30833 #endif
30834 #ifdef __CYGWIN__
30835  #include <cygwin/version.h>
30836  #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
30837   Lucky user
30838  #endif
30839 #endif
30840
30841 _ACEOF
30842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30843   $EGREP "Lucky user" >/dev/null 2>&1; then :
30844   gl_cv_func_strstr_linear="guessing yes"
30845 else
30846   gl_cv_func_strstr_linear="guessing no"
30847 fi
30848 rm -f conftest*
30849
30850
30851 else
30852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30853 /* end confdefs.h.  */
30854
30855 #ifdef __MVS__
30856 /* z/OS does not deliver signals while strstr() is running (thanks to
30857    restrictions on its LE runtime), which prevents us from limiting the
30858    running time of this test.  */
30859 # error "This test does not work properly on z/OS"
30860 #endif
30861 #include <signal.h> /* for signal */
30862 #include <string.h> /* for strstr */
30863 #include <stdlib.h> /* for malloc */
30864 #include <unistd.h> /* for alarm */
30865 static void quit (int sig) { _exit (sig + 128); }
30866
30867 int
30868 main ()
30869 {
30870
30871     int result = 0;
30872     size_t m = 1000000;
30873     char *haystack = (char *) malloc (2 * m + 2);
30874     char *needle = (char *) malloc (m + 2);
30875     /* Failure to compile this test due to missing alarm is okay,
30876        since all such platforms (mingw) also have quadratic strstr.  */
30877     signal (SIGALRM, quit);
30878     alarm (5);
30879     /* Check for quadratic performance.  */
30880     if (haystack && needle)
30881       {
30882         memset (haystack, 'A', 2 * m);
30883         haystack[2 * m] = 'B';
30884         haystack[2 * m + 1] = 0;
30885         memset (needle, 'A', m);
30886         needle[m] = 'B';
30887         needle[m + 1] = 0;
30888         if (!strstr (haystack, needle))
30889           result |= 1;
30890       }
30891     return result;
30892
30893   ;
30894   return 0;
30895 }
30896 _ACEOF
30897 if ac_fn_c_try_run "$LINENO"; then :
30898   gl_cv_func_strstr_linear=yes
30899 else
30900   gl_cv_func_strstr_linear=no
30901 fi
30902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30903   conftest.$ac_objext conftest.beam conftest.$ac_ext
30904 fi
30905
30906
30907 fi
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_linear" >&5
30909 $as_echo "$gl_cv_func_strstr_linear" >&6; }
30910     case "$gl_cv_func_strstr_linear" in
30911       *yes) ;;
30912       *)
30913         REPLACE_STRSTR=1
30914         ;;
30915     esac
30916   fi
30917
30918   if test $REPLACE_STRSTR = 1; then
30919
30920
30921
30922
30923
30924
30925
30926
30927   gl_LIBOBJS="$gl_LIBOBJS strstr.$ac_objext"
30928
30929   fi
30930
30931
30932
30933   if test "$gl_cv_func_memchr_works" != yes; then
30934     REPLACE_STRSTR=1
30935   else
30936         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
30937 $as_echo_n "checking whether strstr works... " >&6; }
30938 if ${gl_cv_func_strstr_works_always+:} false; then :
30939   $as_echo_n "(cached) " >&6
30940 else
30941   if test "$cross_compiling" = yes; then :
30942                                                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30943 /* end confdefs.h.  */
30944
30945 #ifdef __GNU_LIBRARY__
30946  #include <features.h>
30947  #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
30948      || defined __UCLIBC__
30949   Lucky user
30950  #endif
30951 #elif defined __CYGWIN__
30952  #include <cygwin/version.h>
30953  #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
30954   Lucky user
30955  #endif
30956 #else
30957   Lucky user
30958 #endif
30959
30960 _ACEOF
30961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30962   $EGREP "Lucky user" >/dev/null 2>&1; then :
30963   gl_cv_func_strstr_works_always="guessing yes"
30964 else
30965   gl_cv_func_strstr_works_always="guessing no"
30966 fi
30967 rm -f conftest*
30968
30969
30970 else
30971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h.  */
30973
30974 #include <string.h> /* for strstr */
30975 #define P "_EF_BF_BD"
30976 #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
30977 #define NEEDLE P P P P P
30978
30979 int
30980 main ()
30981 {
30982 return !!strstr (HAYSTACK, NEEDLE);
30983
30984   ;
30985   return 0;
30986 }
30987 _ACEOF
30988 if ac_fn_c_try_run "$LINENO"; then :
30989   gl_cv_func_strstr_works_always=yes
30990 else
30991   gl_cv_func_strstr_works_always=no
30992 fi
30993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30994   conftest.$ac_objext conftest.beam conftest.$ac_ext
30995 fi
30996
30997
30998 fi
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
31000 $as_echo "$gl_cv_func_strstr_works_always" >&6; }
31001     case "$gl_cv_func_strstr_works_always" in
31002       *yes) ;;
31003       *)
31004         REPLACE_STRSTR=1
31005         ;;
31006     esac
31007   fi
31008
31009   if test $REPLACE_STRSTR = 1; then
31010
31011
31012
31013
31014
31015
31016
31017
31018   gl_LIBOBJS="$gl_LIBOBJS strstr.$ac_objext"
31019
31020   fi
31021
31022
31023
31024
31025
31026           GNULIB_STRSTR=1
31027
31028
31029
31030
31031
31032 $as_echo "#define GNULIB_TEST_STRSTR 1" >>confdefs.h
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044       if  { test "$HAVE_LIBUNISTRING" != yes \
31045     || {
31046
31047
31048
31049             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31050             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31051                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31052                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31053                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
31054                          }
31055                     }
31056                }
31057
31058
31059
31060
31061        }
31062   }; then
31063     LIBUNISTRING_UNICASE_H='unicase.h'
31064   else
31065     LIBUNISTRING_UNICASE_H=
31066   fi
31067
31068
31069
31070
31071
31072        if  { test "$HAVE_LIBUNISTRING" != yes \
31073     || {
31074
31075
31076
31077             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31078             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31079                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31080                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31081                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 1
31082                          }
31083                     }
31084                }
31085
31086
31087
31088
31089        }
31090   }; then
31091   LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_TRUE=
31092   LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_FALSE='#'
31093 else
31094   LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_TRUE='#'
31095   LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_FALSE=
31096 fi
31097
31098
31099
31100
31101        if  { test "$HAVE_LIBUNISTRING" != yes \
31102     || {
31103
31104
31105
31106             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31107             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31108                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31109                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31110                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 1
31111                          }
31112                     }
31113                }
31114
31115
31116
31117
31118        }
31119   }; then
31120   LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_TRUE=
31121   LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_FALSE='#'
31122 else
31123   LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_TRUE='#'
31124   LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_FALSE=
31125 fi
31126
31127
31128
31129
31130
31131        if  { test "$HAVE_LIBUNISTRING" != yes \
31132     || {
31133
31134
31135
31136             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31137             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31138                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31139                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31140                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
31141                          }
31142                     }
31143                }
31144
31145
31146
31147
31148        }
31149   }; then
31150   LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_TRUE=
31151   LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_FALSE='#'
31152 else
31153   LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_TRUE='#'
31154   LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_FALSE=
31155 fi
31156
31157
31158
31159
31160        if  { test "$HAVE_LIBUNISTRING" != yes \
31161     || {
31162
31163
31164
31165             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31166             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31167                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31168                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31169                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31170                          }
31171                     }
31172                }
31173
31174
31175
31176
31177        }
31178   }; then
31179   LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE=
31180   LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE='#'
31181 else
31182   LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE='#'
31183   LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE=
31184 fi
31185
31186
31187
31188
31189        if  { test "$HAVE_LIBUNISTRING" != yes \
31190     || {
31191
31192
31193
31194             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31195             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31196                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31197                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31198                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31199                          }
31200                     }
31201                }
31202
31203
31204
31205
31206        }
31207   }; then
31208   LIBUNISTRING_COMPILE_UNICASE_TOTITLE_TRUE=
31209   LIBUNISTRING_COMPILE_UNICASE_TOTITLE_FALSE='#'
31210 else
31211   LIBUNISTRING_COMPILE_UNICASE_TOTITLE_TRUE='#'
31212   LIBUNISTRING_COMPILE_UNICASE_TOTITLE_FALSE=
31213 fi
31214
31215
31216
31217
31218        if  { test "$HAVE_LIBUNISTRING" != yes \
31219     || {
31220
31221
31222
31223             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31224             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31225                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31226                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31227                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31228                          }
31229                     }
31230                }
31231
31232
31233
31234
31235        }
31236   }; then
31237   LIBUNISTRING_COMPILE_UNICASE_TOUPPER_TRUE=
31238   LIBUNISTRING_COMPILE_UNICASE_TOUPPER_FALSE='#'
31239 else
31240   LIBUNISTRING_COMPILE_UNICASE_TOUPPER_TRUE='#'
31241   LIBUNISTRING_COMPILE_UNICASE_TOUPPER_FALSE=
31242 fi
31243
31244
31245
31246
31247        if  { test "$HAVE_LIBUNISTRING" != yes \
31248     || {
31249
31250
31251
31252             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31253             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31254                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31255                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31256                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31257                          }
31258                     }
31259                }
31260
31261
31262
31263
31264        }
31265   }; then
31266   LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_TRUE=
31267   LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_FALSE='#'
31268 else
31269   LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_TRUE='#'
31270   LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_FALSE=
31271 fi
31272
31273
31274
31275
31276        if  { test "$HAVE_LIBUNISTRING" != yes \
31277     || {
31278
31279
31280
31281             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31282             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31283                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31284                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31285                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31286                          }
31287                     }
31288                }
31289
31290
31291
31292
31293        }
31294   }; then
31295   LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_TRUE=
31296   LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_FALSE='#'
31297 else
31298   LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_TRUE='#'
31299   LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_FALSE=
31300 fi
31301
31302
31303
31304
31305        if  { test "$HAVE_LIBUNISTRING" != yes \
31306     || {
31307
31308
31309
31310             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31311             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31312                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31313                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31314                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31315                          }
31316                     }
31317                }
31318
31319
31320
31321
31322        }
31323   }; then
31324   LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_TRUE=
31325   LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_FALSE='#'
31326 else
31327   LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_TRUE='#'
31328   LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_FALSE=
31329 fi
31330
31331
31332
31333
31334        if  { test "$HAVE_LIBUNISTRING" != yes \
31335     || {
31336
31337
31338
31339             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31340             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31341                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31342                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31343                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31344                          }
31345                     }
31346                }
31347
31348
31349
31350
31351        }
31352   }; then
31353   LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_TRUE=
31354   LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_FALSE='#'
31355 else
31356   LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_TRUE='#'
31357   LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_FALSE=
31358 fi
31359
31360
31361
31362
31363        if  { test "$HAVE_LIBUNISTRING" != yes \
31364     || {
31365
31366
31367
31368             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31369             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31370                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31371                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31372                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31373                          }
31374                     }
31375                }
31376
31377
31378
31379
31380        }
31381   }; then
31382   LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_TRUE=
31383   LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_FALSE='#'
31384 else
31385   LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_TRUE='#'
31386   LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_FALSE=
31387 fi
31388
31389
31390
31391
31392        if  { test "$HAVE_LIBUNISTRING" != yes \
31393     || {
31394
31395
31396
31397             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31398             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31399                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31400                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31401                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31402                          }
31403                     }
31404                }
31405
31406
31407
31408
31409        }
31410   }; then
31411   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_TRUE=
31412   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_FALSE='#'
31413 else
31414   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_TRUE='#'
31415   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_FALSE=
31416 fi
31417
31418
31419
31420
31421        if  { test "$HAVE_LIBUNISTRING" != yes \
31422     || {
31423
31424
31425
31426             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31427             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31428                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31429                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31430                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31431                          }
31432                     }
31433                }
31434
31435
31436
31437
31438        }
31439   }; then
31440   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_TRUE=
31441   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_FALSE='#'
31442 else
31443   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_TRUE='#'
31444   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_FALSE=
31445 fi
31446
31447
31448
31449
31450        if  { test "$HAVE_LIBUNISTRING" != yes \
31451     || {
31452
31453
31454
31455             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31456             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31457                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31458                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31459                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31460                          }
31461                     }
31462                }
31463
31464
31465
31466
31467        }
31468   }; then
31469   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_TRUE=
31470   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_FALSE='#'
31471 else
31472   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_TRUE='#'
31473   LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_FALSE=
31474 fi
31475
31476
31477
31478
31479        if  { test "$HAVE_LIBUNISTRING" != yes \
31480     || {
31481
31482
31483
31484             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31485             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31486                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31487                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31488                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31489                          }
31490                     }
31491                }
31492
31493
31494
31495
31496        }
31497   }; then
31498   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_TRUE=
31499   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_FALSE='#'
31500 else
31501   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_TRUE='#'
31502   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_FALSE=
31503 fi
31504
31505
31506
31507
31508        if  { test "$HAVE_LIBUNISTRING" != yes \
31509     || {
31510
31511
31512
31513             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31514             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31515                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31516                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31517                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31518                          }
31519                     }
31520                }
31521
31522
31523
31524
31525        }
31526   }; then
31527   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_TRUE=
31528   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_FALSE='#'
31529 else
31530   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_TRUE='#'
31531   LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_FALSE=
31532 fi
31533
31534
31535
31536
31537        if  { test "$HAVE_LIBUNISTRING" != yes \
31538     || {
31539
31540
31541
31542             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31543             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31544                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31545                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31546                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31547                          }
31548                     }
31549                }
31550
31551
31552
31553
31554        }
31555   }; then
31556   LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_TRUE=
31557   LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_FALSE='#'
31558 else
31559   LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_TRUE='#'
31560   LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_FALSE=
31561 fi
31562
31563
31564
31565
31566        if  { test "$HAVE_LIBUNISTRING" != yes \
31567     || {
31568
31569
31570
31571             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31572             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31573                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31574                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31575                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31576                          }
31577                     }
31578                }
31579
31580
31581
31582
31583        }
31584   }; then
31585   LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_TRUE=
31586   LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_FALSE='#'
31587 else
31588   LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_TRUE='#'
31589   LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_FALSE=
31590 fi
31591
31592
31593
31594
31595        if  { test "$HAVE_LIBUNISTRING" != yes \
31596     || {
31597
31598
31599
31600             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31601             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31602                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31603                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31604                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31605                          }
31606                     }
31607                }
31608
31609
31610
31611
31612        }
31613   }; then
31614   LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_TRUE=
31615   LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_FALSE='#'
31616 else
31617   LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_TRUE='#'
31618   LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_FALSE=
31619 fi
31620
31621
31622
31623
31624        if  { test "$HAVE_LIBUNISTRING" != yes \
31625     || {
31626
31627
31628
31629             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31630             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31631                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31632                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31633                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31634                          }
31635                     }
31636                }
31637
31638
31639
31640
31641        }
31642   }; then
31643   LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_TRUE=
31644   LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_FALSE='#'
31645 else
31646   LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_TRUE='#'
31647   LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_FALSE=
31648 fi
31649
31650
31651
31652
31653        if  { test "$HAVE_LIBUNISTRING" != yes \
31654     || {
31655
31656
31657
31658             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31659             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31660                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31661                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31662                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31663                          }
31664                     }
31665                }
31666
31667
31668
31669
31670        }
31671   }; then
31672   LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_TRUE=
31673   LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_FALSE='#'
31674 else
31675   LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_TRUE='#'
31676   LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_FALSE=
31677 fi
31678
31679
31680
31681
31682        if  { test "$HAVE_LIBUNISTRING" != yes \
31683     || {
31684
31685
31686
31687             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31688             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31689                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31690                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31691                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31692                          }
31693                     }
31694                }
31695
31696
31697
31698
31699        }
31700   }; then
31701   LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_TRUE=
31702   LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_FALSE='#'
31703 else
31704   LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_TRUE='#'
31705   LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_FALSE=
31706 fi
31707
31708
31709
31710
31711        if  { test "$HAVE_LIBUNISTRING" != yes \
31712     || {
31713
31714
31715
31716             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31717             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31718                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31719                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31720                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31721                          }
31722                     }
31723                }
31724
31725
31726
31727
31728        }
31729   }; then
31730   LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_TRUE=
31731   LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_FALSE='#'
31732 else
31733   LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_TRUE='#'
31734   LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_FALSE=
31735 fi
31736
31737
31738
31739
31740        if  { test "$HAVE_LIBUNISTRING" != yes \
31741     || {
31742
31743
31744
31745             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31746             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31747                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31748                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31749                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31750                          }
31751                     }
31752                }
31753
31754
31755
31756
31757        }
31758   }; then
31759   LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_TRUE=
31760   LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_FALSE='#'
31761 else
31762   LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_TRUE='#'
31763   LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_FALSE=
31764 fi
31765
31766
31767
31768
31769        if  { test "$HAVE_LIBUNISTRING" != yes \
31770     || {
31771
31772
31773
31774             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31775             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31776                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31777                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31778                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31779                          }
31780                     }
31781                }
31782
31783
31784
31785
31786        }
31787   }; then
31788   LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_TRUE=
31789   LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_FALSE='#'
31790 else
31791   LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_TRUE='#'
31792   LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_FALSE=
31793 fi
31794
31795
31796
31797
31798        if  { test "$HAVE_LIBUNISTRING" != yes \
31799     || {
31800
31801
31802
31803             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31804             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31805                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31806                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31807                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31808                          }
31809                     }
31810                }
31811
31812
31813
31814
31815        }
31816   }; then
31817   LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_TRUE=
31818   LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_FALSE='#'
31819 else
31820   LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_TRUE='#'
31821   LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_FALSE=
31822 fi
31823
31824
31825
31826
31827        if  { test "$HAVE_LIBUNISTRING" != yes \
31828     || {
31829
31830
31831
31832             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31833             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31834                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31835                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31836                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31837                          }
31838                     }
31839                }
31840
31841
31842
31843
31844        }
31845   }; then
31846   LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_TRUE=
31847   LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_FALSE='#'
31848 else
31849   LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_TRUE='#'
31850   LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_FALSE=
31851 fi
31852
31853
31854
31855
31856        if  { test "$HAVE_LIBUNISTRING" != yes \
31857     || {
31858
31859
31860
31861             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31862             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31863                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31864                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31865                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31866                          }
31867                     }
31868                }
31869
31870
31871
31872
31873        }
31874   }; then
31875   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_TRUE=
31876   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_FALSE='#'
31877 else
31878   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_TRUE='#'
31879   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_FALSE=
31880 fi
31881
31882
31883
31884
31885        if  { test "$HAVE_LIBUNISTRING" != yes \
31886     || {
31887
31888
31889
31890             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31891             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31892                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31893                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31894                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31895                          }
31896                     }
31897                }
31898
31899
31900
31901
31902        }
31903   }; then
31904   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_TRUE=
31905   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_FALSE='#'
31906 else
31907   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_TRUE='#'
31908   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_FALSE=
31909 fi
31910
31911
31912
31913
31914        if  { test "$HAVE_LIBUNISTRING" != yes \
31915     || {
31916
31917
31918
31919             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31920             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31921                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31922                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31923                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31924                          }
31925                     }
31926                }
31927
31928
31929
31930
31931        }
31932   }; then
31933   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_TRUE=
31934   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_FALSE='#'
31935 else
31936   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_TRUE='#'
31937   LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_FALSE=
31938 fi
31939
31940
31941
31942
31943        if  { test "$HAVE_LIBUNISTRING" != yes \
31944     || {
31945
31946
31947
31948             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31949             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31950                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31951                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31952                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31953                          }
31954                     }
31955                }
31956
31957
31958
31959
31960        }
31961   }; then
31962   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_TRUE=
31963   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_FALSE='#'
31964 else
31965   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_TRUE='#'
31966   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_FALSE=
31967 fi
31968
31969
31970
31971
31972        if  { test "$HAVE_LIBUNISTRING" != yes \
31973     || {
31974
31975
31976
31977             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
31978             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
31979                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
31980                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
31981                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
31982                          }
31983                     }
31984                }
31985
31986
31987
31988
31989        }
31990   }; then
31991   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_TRUE=
31992   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_FALSE='#'
31993 else
31994   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_TRUE='#'
31995   LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_FALSE=
31996 fi
31997
31998
31999
32000
32001        if  { test "$HAVE_LIBUNISTRING" != yes \
32002     || {
32003
32004
32005
32006             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32007             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32008                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32009                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32010                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32011                          }
32012                     }
32013                }
32014
32015
32016
32017
32018        }
32019   }; then
32020   LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_TRUE=
32021   LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_FALSE='#'
32022 else
32023   LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_TRUE='#'
32024   LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_FALSE=
32025 fi
32026
32027
32028
32029
32030        if  { test "$HAVE_LIBUNISTRING" != yes \
32031     || {
32032
32033
32034
32035             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32036             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32037                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32038                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32039                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32040                          }
32041                     }
32042                }
32043
32044
32045
32046
32047        }
32048   }; then
32049   LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_TRUE=
32050   LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_FALSE='#'
32051 else
32052   LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_TRUE='#'
32053   LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_FALSE=
32054 fi
32055
32056
32057
32058
32059        if  { test "$HAVE_LIBUNISTRING" != yes \
32060     || {
32061
32062
32063
32064             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32065             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32066                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32067                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32068                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32069                          }
32070                     }
32071                }
32072
32073
32074
32075
32076        }
32077   }; then
32078   LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_TRUE=
32079   LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_FALSE='#'
32080 else
32081   LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_TRUE='#'
32082   LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_FALSE=
32083 fi
32084
32085
32086
32087
32088        if  { test "$HAVE_LIBUNISTRING" != yes \
32089     || {
32090
32091
32092
32093             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32094             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32095                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32096                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32097                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32098                          }
32099                     }
32100                }
32101
32102
32103
32104
32105        }
32106   }; then
32107   LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_TRUE=
32108   LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_FALSE='#'
32109 else
32110   LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_TRUE='#'
32111   LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_FALSE=
32112 fi
32113
32114
32115
32116
32117        if  { test "$HAVE_LIBUNISTRING" != yes \
32118     || {
32119
32120
32121
32122             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32123             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32124                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32125                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32126                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32127                          }
32128                     }
32129                }
32130
32131
32132
32133
32134        }
32135   }; then
32136   LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_TRUE=
32137   LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_FALSE='#'
32138 else
32139   LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_TRUE='#'
32140   LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_FALSE=
32141 fi
32142
32143
32144
32145
32146        if  { test "$HAVE_LIBUNISTRING" != yes \
32147     || {
32148
32149
32150
32151             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32152             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32153                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32154                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32155                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32156                          }
32157                     }
32158                }
32159
32160
32161
32162
32163        }
32164   }; then
32165   LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_TRUE=
32166   LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_FALSE='#'
32167 else
32168   LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_TRUE='#'
32169   LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_FALSE=
32170 fi
32171
32172
32173
32174
32175        if  { test "$HAVE_LIBUNISTRING" != yes \
32176     || {
32177
32178
32179
32180             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32181             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32182                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32183                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32184                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32185                          }
32186                     }
32187                }
32188
32189
32190
32191
32192        }
32193   }; then
32194   LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_TRUE=
32195   LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_FALSE='#'
32196 else
32197   LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_TRUE='#'
32198   LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_FALSE=
32199 fi
32200
32201
32202
32203
32204        if  { test "$HAVE_LIBUNISTRING" != yes \
32205     || {
32206
32207
32208
32209             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32210             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32211                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32212                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32213                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32214                          }
32215                     }
32216                }
32217
32218
32219
32220
32221        }
32222   }; then
32223   LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_TRUE=
32224   LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_FALSE='#'
32225 else
32226   LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_TRUE='#'
32227   LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_FALSE=
32228 fi
32229
32230
32231
32232
32233        if  { test "$HAVE_LIBUNISTRING" != yes \
32234     || {
32235
32236
32237
32238             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32239             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32240                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32241                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32242                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32243                          }
32244                     }
32245                }
32246
32247
32248
32249
32250        }
32251   }; then
32252   LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_TRUE=
32253   LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_FALSE='#'
32254 else
32255   LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_TRUE='#'
32256   LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_FALSE=
32257 fi
32258
32259
32260
32261
32262        if  { test "$HAVE_LIBUNISTRING" != yes \
32263     || {
32264
32265
32266
32267             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32268             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32269                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32270                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32271                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32272                          }
32273                     }
32274                }
32275
32276
32277
32278
32279        }
32280   }; then
32281   LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_TRUE=
32282   LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_FALSE='#'
32283 else
32284   LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_TRUE='#'
32285   LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_FALSE=
32286 fi
32287
32288
32289
32290
32291        if  { test "$HAVE_LIBUNISTRING" != yes \
32292     || {
32293
32294
32295
32296             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32297             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32298                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32299                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32300                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32301                          }
32302                     }
32303                }
32304
32305
32306
32307
32308        }
32309   }; then
32310   LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_TRUE=
32311   LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_FALSE='#'
32312 else
32313   LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_TRUE='#'
32314   LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_FALSE=
32315 fi
32316
32317
32318
32319
32320        if  { test "$HAVE_LIBUNISTRING" != yes \
32321     || {
32322
32323
32324
32325             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32326             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32327                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32328                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32329                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32330                          }
32331                     }
32332                }
32333
32334
32335
32336
32337        }
32338   }; then
32339   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_TRUE=
32340   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_FALSE='#'
32341 else
32342   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_TRUE='#'
32343   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_FALSE=
32344 fi
32345
32346
32347
32348
32349        if  { test "$HAVE_LIBUNISTRING" != yes \
32350     || {
32351
32352
32353
32354             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32355             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32356                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32357                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32358                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32359                          }
32360                     }
32361                }
32362
32363
32364
32365
32366        }
32367   }; then
32368   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_TRUE=
32369   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_FALSE='#'
32370 else
32371   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_TRUE='#'
32372   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_FALSE=
32373 fi
32374
32375
32376
32377
32378        if  { test "$HAVE_LIBUNISTRING" != yes \
32379     || {
32380
32381
32382
32383             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32384             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32385                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32386                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32387                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32388                          }
32389                     }
32390                }
32391
32392
32393
32394
32395        }
32396   }; then
32397   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_TRUE=
32398   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_FALSE='#'
32399 else
32400   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_TRUE='#'
32401   LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_FALSE=
32402 fi
32403
32404
32405
32406
32407        if  { test "$HAVE_LIBUNISTRING" != yes \
32408     || {
32409
32410
32411
32412             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32413             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32414                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32415                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32416                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32417                          }
32418                     }
32419                }
32420
32421
32422
32423
32424        }
32425   }; then
32426   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_TRUE=
32427   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_FALSE='#'
32428 else
32429   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_TRUE='#'
32430   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_FALSE=
32431 fi
32432
32433
32434
32435
32436        if  { test "$HAVE_LIBUNISTRING" != yes \
32437     || {
32438
32439
32440
32441             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32442             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32443                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32444                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32445                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32446                          }
32447                     }
32448                }
32449
32450
32451
32452
32453        }
32454   }; then
32455   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_TRUE=
32456   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_FALSE='#'
32457 else
32458   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_TRUE='#'
32459   LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_FALSE=
32460 fi
32461
32462
32463
32464
32465        if  { test "$HAVE_LIBUNISTRING" != yes \
32466     || {
32467
32468
32469
32470             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32471             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32472                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32473                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32474                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32475                          }
32476                     }
32477                }
32478
32479
32480
32481
32482        }
32483   }; then
32484   LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_TRUE=
32485   LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_FALSE='#'
32486 else
32487   LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_TRUE='#'
32488   LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_FALSE=
32489 fi
32490
32491
32492
32493
32494        if  { test "$HAVE_LIBUNISTRING" != yes \
32495     || {
32496
32497
32498
32499             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32500             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32501                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32502                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32503                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32504                          }
32505                     }
32506                }
32507
32508
32509
32510
32511        }
32512   }; then
32513   LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_TRUE=
32514   LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_FALSE='#'
32515 else
32516   LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_TRUE='#'
32517   LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_FALSE=
32518 fi
32519
32520
32521
32522
32523        if  { test "$HAVE_LIBUNISTRING" != yes \
32524     || {
32525
32526
32527
32528             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32529             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32530                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32531                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32532                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32533                          }
32534                     }
32535                }
32536
32537
32538
32539
32540        }
32541   }; then
32542   LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_TRUE=
32543   LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_FALSE='#'
32544 else
32545   LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_TRUE='#'
32546   LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_FALSE=
32547 fi
32548
32549
32550
32551
32552        if  { test "$HAVE_LIBUNISTRING" != yes \
32553     || {
32554
32555
32556
32557             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32558             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32559                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32560                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32561                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32562                          }
32563                     }
32564                }
32565
32566
32567
32568
32569        }
32570   }; then
32571   LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_TRUE=
32572   LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_FALSE='#'
32573 else
32574   LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_TRUE='#'
32575   LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_FALSE=
32576 fi
32577
32578
32579
32580
32581        if  { test "$HAVE_LIBUNISTRING" != yes \
32582     || {
32583
32584
32585
32586             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32587             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32588                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32589                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32590                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32591                          }
32592                     }
32593                }
32594
32595
32596
32597
32598        }
32599   }; then
32600   LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_TRUE=
32601   LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_FALSE='#'
32602 else
32603   LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_TRUE='#'
32604   LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_FALSE=
32605 fi
32606
32607
32608
32609
32610        if  { test "$HAVE_LIBUNISTRING" != yes \
32611     || {
32612
32613
32614
32615             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32616             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32617                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32618                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32619                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32620                          }
32621                     }
32622                }
32623
32624
32625
32626
32627        }
32628   }; then
32629   LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_TRUE=
32630   LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_FALSE='#'
32631 else
32632   LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_TRUE='#'
32633   LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_FALSE=
32634 fi
32635
32636
32637
32638
32639        if  { test "$HAVE_LIBUNISTRING" != yes \
32640     || {
32641
32642
32643
32644             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32645             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32646                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32647                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32648                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32649                          }
32650                     }
32651                }
32652
32653
32654
32655
32656        }
32657   }; then
32658   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_TRUE=
32659   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_FALSE='#'
32660 else
32661   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_TRUE='#'
32662   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_FALSE=
32663 fi
32664
32665
32666
32667
32668        if  { test "$HAVE_LIBUNISTRING" != yes \
32669     || {
32670
32671
32672
32673             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32674             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32675                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32676                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32677                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32678                          }
32679                     }
32680                }
32681
32682
32683
32684
32685        }
32686   }; then
32687   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_TRUE=
32688   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_FALSE='#'
32689 else
32690   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_TRUE='#'
32691   LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_FALSE=
32692 fi
32693
32694
32695
32696
32697        if  { test "$HAVE_LIBUNISTRING" != yes \
32698     || {
32699
32700
32701
32702             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32703             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32704                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32705                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32706                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
32707                          }
32708                     }
32709                }
32710
32711
32712
32713
32714        }
32715   }; then
32716   LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_TRUE=
32717   LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_FALSE='#'
32718 else
32719   LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_TRUE='#'
32720   LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_FALSE=
32721 fi
32722
32723
32724
32725
32726       if  { test "$HAVE_LIBUNISTRING" != yes \
32727     || {
32728
32729
32730
32731             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32732             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32733                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32734                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32735                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
32736                          }
32737                     }
32738                }
32739
32740
32741
32742
32743        }
32744   }; then
32745     LIBUNISTRING_UNICONV_H='uniconv.h'
32746   else
32747     LIBUNISTRING_UNICONV_H=
32748   fi
32749
32750
32751
32752
32753
32754        if  { test "$HAVE_LIBUNISTRING" != yes \
32755     || {
32756
32757
32758
32759             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32760             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32761                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32762                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32763                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32764                          }
32765                     }
32766                }
32767
32768
32769
32770
32771        }
32772   }; then
32773   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_TRUE=
32774   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_FALSE='#'
32775 else
32776   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_TRUE='#'
32777   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_FALSE=
32778 fi
32779
32780
32781
32782
32783
32784        if  { test "$HAVE_LIBUNISTRING" != yes \
32785     || {
32786
32787
32788
32789             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32790             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32791                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32792                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32793                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32794                          }
32795                     }
32796                }
32797
32798
32799
32800
32801        }
32802   }; then
32803   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_TRUE=
32804   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_FALSE='#'
32805 else
32806   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_TRUE='#'
32807   LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_FALSE=
32808 fi
32809
32810
32811
32812
32813        if  { test "$HAVE_LIBUNISTRING" != yes \
32814     || {
32815
32816
32817
32818             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32819             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32820                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32821                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32822                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32823                          }
32824                     }
32825                }
32826
32827
32828
32829
32830        }
32831   }; then
32832   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_TRUE=
32833   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_FALSE='#'
32834 else
32835   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_TRUE='#'
32836   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_FALSE=
32837 fi
32838
32839
32840
32841
32842        if  { test "$HAVE_LIBUNISTRING" != yes \
32843     || {
32844
32845
32846
32847             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32848             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32849                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32850                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32851                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32852                          }
32853                     }
32854                }
32855
32856
32857
32858
32859        }
32860   }; then
32861   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_TRUE=
32862   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_FALSE='#'
32863 else
32864   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_TRUE='#'
32865   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_FALSE=
32866 fi
32867
32868
32869
32870
32871
32872        if  { test "$HAVE_LIBUNISTRING" != yes \
32873     || {
32874
32875
32876
32877             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32878             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32879                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32880                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32881                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32882                          }
32883                     }
32884                }
32885
32886
32887
32888
32889        }
32890   }; then
32891   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_TRUE=
32892   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_FALSE='#'
32893 else
32894   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_TRUE='#'
32895   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_FALSE=
32896 fi
32897
32898
32899
32900
32901        if  { test "$HAVE_LIBUNISTRING" != yes \
32902     || {
32903
32904
32905
32906             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32907             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32908                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32909                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32910                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32911                          }
32912                     }
32913                }
32914
32915
32916
32917
32918        }
32919   }; then
32920   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_TRUE=
32921   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_FALSE='#'
32922 else
32923   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_TRUE='#'
32924   LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_FALSE=
32925 fi
32926
32927
32928
32929
32930        if  { test "$HAVE_LIBUNISTRING" != yes \
32931     || {
32932
32933
32934
32935             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32936             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32937                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32938                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32939                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32940                          }
32941                     }
32942                }
32943
32944
32945
32946
32947        }
32948   }; then
32949   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_TRUE=
32950   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_FALSE='#'
32951 else
32952   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_TRUE='#'
32953   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_FALSE=
32954 fi
32955
32956
32957
32958
32959        if  { test "$HAVE_LIBUNISTRING" != yes \
32960     || {
32961
32962
32963
32964             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32965             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32966                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32967                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32968                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32969                          }
32970                     }
32971                }
32972
32973
32974
32975
32976        }
32977   }; then
32978   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_TRUE=
32979   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_FALSE='#'
32980 else
32981   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_TRUE='#'
32982   LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_FALSE=
32983 fi
32984
32985
32986
32987
32988        if  { test "$HAVE_LIBUNISTRING" != yes \
32989     || {
32990
32991
32992
32993             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
32994             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
32995                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
32996                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
32997                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
32998                          }
32999                     }
33000                }
33001
33002
33003
33004
33005        }
33006   }; then
33007   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_TRUE=
33008   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_FALSE='#'
33009 else
33010   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_TRUE='#'
33011   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_FALSE=
33012 fi
33013
33014
33015
33016
33017        if  { test "$HAVE_LIBUNISTRING" != yes \
33018     || {
33019
33020
33021
33022             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33023             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33024                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33025                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33026                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33027                          }
33028                     }
33029                }
33030
33031
33032
33033
33034        }
33035   }; then
33036   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_TRUE=
33037   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_FALSE='#'
33038 else
33039   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_TRUE='#'
33040   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_FALSE=
33041 fi
33042
33043
33044
33045
33046        if  { test "$HAVE_LIBUNISTRING" != yes \
33047     || {
33048
33049
33050
33051             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33052             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33053                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33054                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33055                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33056                          }
33057                     }
33058                }
33059
33060
33061
33062
33063        }
33064   }; then
33065   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_TRUE=
33066   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_FALSE='#'
33067 else
33068   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_TRUE='#'
33069   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_FALSE=
33070 fi
33071
33072
33073
33074
33075        if  { test "$HAVE_LIBUNISTRING" != yes \
33076     || {
33077
33078
33079
33080             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33081             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33082                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33083                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33084                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33085                          }
33086                     }
33087                }
33088
33089
33090
33091
33092        }
33093   }; then
33094   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_TRUE=
33095   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_FALSE='#'
33096 else
33097   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_TRUE='#'
33098   LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_FALSE=
33099 fi
33100
33101
33102
33103
33104        if  { test "$HAVE_LIBUNISTRING" != yes \
33105     || {
33106
33107
33108
33109             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33110             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33111                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33112                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33113                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33114                          }
33115                     }
33116                }
33117
33118
33119
33120
33121        }
33122   }; then
33123   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_TRUE=
33124   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_FALSE='#'
33125 else
33126   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_TRUE='#'
33127   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_FALSE=
33128 fi
33129
33130
33131
33132
33133        if  { test "$HAVE_LIBUNISTRING" != yes \
33134     || {
33135
33136
33137
33138             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33139             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33140                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33141                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33142                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33143                          }
33144                     }
33145                }
33146
33147
33148
33149
33150        }
33151   }; then
33152   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_TRUE=
33153   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_FALSE='#'
33154 else
33155   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_TRUE='#'
33156   LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_FALSE=
33157 fi
33158
33159
33160
33161
33162        if  { test "$HAVE_LIBUNISTRING" != yes \
33163     || {
33164
33165
33166
33167             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33168             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33169                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33170                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33171                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33172                          }
33173                     }
33174                }
33175
33176
33177
33178
33179        }
33180   }; then
33181   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_TRUE=
33182   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_FALSE='#'
33183 else
33184   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_TRUE='#'
33185   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_FALSE=
33186 fi
33187
33188
33189
33190
33191        if  { test "$HAVE_LIBUNISTRING" != yes \
33192     || {
33193
33194
33195
33196             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33197             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33198                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33199                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33200                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33201                          }
33202                     }
33203                }
33204
33205
33206
33207
33208        }
33209   }; then
33210   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_TRUE=
33211   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_FALSE='#'
33212 else
33213   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_TRUE='#'
33214   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_FALSE=
33215 fi
33216
33217
33218
33219
33220        if  { test "$HAVE_LIBUNISTRING" != yes \
33221     || {
33222
33223
33224
33225             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33226             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33227                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33228                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33229                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33230                          }
33231                     }
33232                }
33233
33234
33235
33236
33237        }
33238   }; then
33239   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_TRUE=
33240   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_FALSE='#'
33241 else
33242   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_TRUE='#'
33243   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_FALSE=
33244 fi
33245
33246
33247
33248
33249        if  { test "$HAVE_LIBUNISTRING" != yes \
33250     || {
33251
33252
33253
33254             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33255             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33256                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33257                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33258                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
33259                          }
33260                     }
33261                }
33262
33263
33264
33265
33266        }
33267   }; then
33268   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_TRUE=
33269   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_FALSE='#'
33270 else
33271   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_TRUE='#'
33272   LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_FALSE=
33273 fi
33274
33275
33276
33277
33278       if  { test "$HAVE_LIBUNISTRING" != yes \
33279     || {
33280
33281
33282
33283             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33284             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33285                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33286                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33287                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
33288                          }
33289                     }
33290                }
33291
33292
33293
33294
33295        }
33296   }; then
33297     LIBUNISTRING_UNICTYPE_H='unictype.h'
33298   else
33299     LIBUNISTRING_UNICTYPE_H=
33300   fi
33301
33302
33303
33304
33305        if  { test "$HAVE_LIBUNISTRING" != yes \
33306     || {
33307
33308
33309
33310             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33311             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33312                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33313                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33314                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
33315                          }
33316                     }
33317                }
33318
33319
33320
33321
33322        }
33323   }; then
33324   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_TRUE=
33325   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_FALSE='#'
33326 else
33327   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_TRUE='#'
33328   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_FALSE=
33329 fi
33330
33331
33332
33333
33334        if  { test "$HAVE_LIBUNISTRING" != yes \
33335     || {
33336
33337
33338
33339             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33340             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33341                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33342                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33343                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
33344                          }
33345                     }
33346                }
33347
33348
33349
33350
33351        }
33352   }; then
33353   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_TRUE=
33354   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_FALSE='#'
33355 else
33356   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_TRUE='#'
33357   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_FALSE=
33358 fi
33359
33360
33361
33362
33363        if  { test "$HAVE_LIBUNISTRING" != yes \
33364     || {
33365
33366
33367
33368             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33369             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33370                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33371                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33372                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
33373                          }
33374                     }
33375                }
33376
33377
33378
33379
33380        }
33381   }; then
33382   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_TRUE=
33383   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_FALSE='#'
33384 else
33385   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_TRUE='#'
33386   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_FALSE=
33387 fi
33388
33389
33390
33391
33392        if  { test "$HAVE_LIBUNISTRING" != yes \
33393     || {
33394
33395
33396
33397             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33398             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33399                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33400                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33401                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33402                          }
33403                     }
33404                }
33405
33406
33407
33408
33409        }
33410   }; then
33411   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_TRUE=
33412   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_FALSE='#'
33413 else
33414   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_TRUE='#'
33415   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_FALSE=
33416 fi
33417
33418
33419
33420
33421        if  { test "$HAVE_LIBUNISTRING" != yes \
33422     || {
33423
33424
33425
33426             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33427             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33428                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33429                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33430                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33431                          }
33432                     }
33433                }
33434
33435
33436
33437
33438        }
33439   }; then
33440   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_TRUE=
33441   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_FALSE='#'
33442 else
33443   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_TRUE='#'
33444   LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_FALSE=
33445 fi
33446
33447
33448
33449
33450        if  { test "$HAVE_LIBUNISTRING" != yes \
33451     || {
33452
33453
33454
33455             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33456             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33457                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33458                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33459                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33460                          }
33461                     }
33462                }
33463
33464
33465
33466
33467        }
33468   }; then
33469   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_TRUE=
33470   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_FALSE='#'
33471 else
33472   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_TRUE='#'
33473   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_FALSE=
33474 fi
33475
33476
33477
33478
33479        if  { test "$HAVE_LIBUNISTRING" != yes \
33480     || {
33481
33482
33483
33484             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33485             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33486                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33487                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33488                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
33489                          }
33490                     }
33491                }
33492
33493
33494
33495
33496        }
33497   }; then
33498   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_TRUE=
33499   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_FALSE='#'
33500 else
33501   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_TRUE='#'
33502   LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_FALSE=
33503 fi
33504
33505
33506
33507
33508        if  { test "$HAVE_LIBUNISTRING" != yes \
33509     || {
33510
33511
33512
33513             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33514             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33515                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33516                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33517                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33518                          }
33519                     }
33520                }
33521
33522
33523
33524
33525        }
33526   }; then
33527   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_TRUE=
33528   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_FALSE='#'
33529 else
33530   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_TRUE='#'
33531   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_FALSE=
33532 fi
33533
33534
33535
33536
33537        if  { test "$HAVE_LIBUNISTRING" != yes \
33538     || {
33539
33540
33541
33542             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33543             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33544                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33545                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33546                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33547                          }
33548                     }
33549                }
33550
33551
33552
33553
33554        }
33555   }; then
33556   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_TRUE=
33557   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_FALSE='#'
33558 else
33559   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_TRUE='#'
33560   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_FALSE=
33561 fi
33562
33563
33564
33565
33566        if  { test "$HAVE_LIBUNISTRING" != yes \
33567     || {
33568
33569
33570
33571             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33572             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33573                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33574                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33575                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33576                          }
33577                     }
33578                }
33579
33580
33581
33582
33583        }
33584   }; then
33585   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_TRUE=
33586   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_FALSE='#'
33587 else
33588   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_TRUE='#'
33589   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_FALSE=
33590 fi
33591
33592
33593
33594
33595        if  { test "$HAVE_LIBUNISTRING" != yes \
33596     || {
33597
33598
33599
33600             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33601             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33602                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33603                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33604                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33605                          }
33606                     }
33607                }
33608
33609
33610
33611
33612        }
33613   }; then
33614   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_TRUE=
33615   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_FALSE='#'
33616 else
33617   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_TRUE='#'
33618   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_FALSE=
33619 fi
33620
33621
33622
33623
33624        if  { test "$HAVE_LIBUNISTRING" != yes \
33625     || {
33626
33627
33628
33629             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33630             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33631                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33632                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33633                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33634                          }
33635                     }
33636                }
33637
33638
33639
33640
33641        }
33642   }; then
33643   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_TRUE=
33644   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_FALSE='#'
33645 else
33646   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_TRUE='#'
33647   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_FALSE=
33648 fi
33649
33650
33651
33652
33653        if  { test "$HAVE_LIBUNISTRING" != yes \
33654     || {
33655
33656
33657
33658             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33659             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33660                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33661                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33662                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33663                          }
33664                     }
33665                }
33666
33667
33668
33669
33670        }
33671   }; then
33672   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_TRUE=
33673   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_FALSE='#'
33674 else
33675   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_TRUE='#'
33676   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_FALSE=
33677 fi
33678
33679
33680
33681
33682        if  { test "$HAVE_LIBUNISTRING" != yes \
33683     || {
33684
33685
33686
33687             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33688             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33689                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33690                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33691                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33692                          }
33693                     }
33694                }
33695
33696
33697
33698
33699        }
33700   }; then
33701   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_TRUE=
33702   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_FALSE='#'
33703 else
33704   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_TRUE='#'
33705   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_FALSE=
33706 fi
33707
33708
33709
33710
33711        if  { test "$HAVE_LIBUNISTRING" != yes \
33712     || {
33713
33714
33715
33716             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33717             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33718                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33719                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33720                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33721                          }
33722                     }
33723                }
33724
33725
33726
33727
33728        }
33729   }; then
33730   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_TRUE=
33731   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_FALSE='#'
33732 else
33733   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_TRUE='#'
33734   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_FALSE=
33735 fi
33736
33737
33738
33739
33740        if  { test "$HAVE_LIBUNISTRING" != yes \
33741     || {
33742
33743
33744
33745             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33746             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33747                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33748                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33749                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33750                          }
33751                     }
33752                }
33753
33754
33755
33756
33757        }
33758   }; then
33759   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_TRUE=
33760   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_FALSE='#'
33761 else
33762   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_TRUE='#'
33763   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_FALSE=
33764 fi
33765
33766
33767
33768
33769        if  { test "$HAVE_LIBUNISTRING" != yes \
33770     || {
33771
33772
33773
33774             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33775             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33776                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33777                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33778                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33779                          }
33780                     }
33781                }
33782
33783
33784
33785
33786        }
33787   }; then
33788   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_TRUE=
33789   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_FALSE='#'
33790 else
33791   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_TRUE='#'
33792   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_FALSE=
33793 fi
33794
33795
33796
33797
33798        if  { test "$HAVE_LIBUNISTRING" != yes \
33799     || {
33800
33801
33802
33803             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33804             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33805                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33806                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33807                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33808                          }
33809                     }
33810                }
33811
33812
33813
33814
33815        }
33816   }; then
33817   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_TRUE=
33818   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_FALSE='#'
33819 else
33820   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_TRUE='#'
33821   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_FALSE=
33822 fi
33823
33824
33825
33826
33827        if  { test "$HAVE_LIBUNISTRING" != yes \
33828     || {
33829
33830
33831
33832             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33833             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33834                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33835                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33836                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33837                          }
33838                     }
33839                }
33840
33841
33842
33843
33844        }
33845   }; then
33846   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_TRUE=
33847   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_FALSE='#'
33848 else
33849   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_TRUE='#'
33850   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_FALSE=
33851 fi
33852
33853
33854
33855
33856        if  { test "$HAVE_LIBUNISTRING" != yes \
33857     || {
33858
33859
33860
33861             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33862             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33863                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33864                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33865                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33866                          }
33867                     }
33868                }
33869
33870
33871
33872
33873        }
33874   }; then
33875   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_TRUE=
33876   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_FALSE='#'
33877 else
33878   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_TRUE='#'
33879   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_FALSE=
33880 fi
33881
33882
33883
33884
33885        if  { test "$HAVE_LIBUNISTRING" != yes \
33886     || {
33887
33888
33889
33890             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33891             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33892                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33893                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33894                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33895                          }
33896                     }
33897                }
33898
33899
33900
33901
33902        }
33903   }; then
33904   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_TRUE=
33905   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_FALSE='#'
33906 else
33907   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_TRUE='#'
33908   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_FALSE=
33909 fi
33910
33911
33912
33913
33914        if  { test "$HAVE_LIBUNISTRING" != yes \
33915     || {
33916
33917
33918
33919             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33920             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33921                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33922                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33923                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33924                          }
33925                     }
33926                }
33927
33928
33929
33930
33931        }
33932   }; then
33933   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_TRUE=
33934   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_FALSE='#'
33935 else
33936   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_TRUE='#'
33937   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_FALSE=
33938 fi
33939
33940
33941
33942
33943        if  { test "$HAVE_LIBUNISTRING" != yes \
33944     || {
33945
33946
33947
33948             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33949             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33950                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33951                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33952                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33953                          }
33954                     }
33955                }
33956
33957
33958
33959
33960        }
33961   }; then
33962   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_TRUE=
33963   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_FALSE='#'
33964 else
33965   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_TRUE='#'
33966   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_FALSE=
33967 fi
33968
33969
33970
33971
33972        if  { test "$HAVE_LIBUNISTRING" != yes \
33973     || {
33974
33975
33976
33977             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
33978             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
33979                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
33980                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
33981                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
33982                          }
33983                     }
33984                }
33985
33986
33987
33988
33989        }
33990   }; then
33991   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_TRUE=
33992   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_FALSE='#'
33993 else
33994   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_TRUE='#'
33995   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_FALSE=
33996 fi
33997
33998
33999
34000
34001        if  { test "$HAVE_LIBUNISTRING" != yes \
34002     || {
34003
34004
34005
34006             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34007             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34008                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34009                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34010                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34011                          }
34012                     }
34013                }
34014
34015
34016
34017
34018        }
34019   }; then
34020   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_TRUE=
34021   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_FALSE='#'
34022 else
34023   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_TRUE='#'
34024   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_FALSE=
34025 fi
34026
34027
34028
34029
34030        if  { test "$HAVE_LIBUNISTRING" != yes \
34031     || {
34032
34033
34034
34035             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34036             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34037                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34038                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34039                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34040                          }
34041                     }
34042                }
34043
34044
34045
34046
34047        }
34048   }; then
34049   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_TRUE=
34050   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_FALSE='#'
34051 else
34052   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_TRUE='#'
34053   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_FALSE=
34054 fi
34055
34056
34057
34058
34059        if  { test "$HAVE_LIBUNISTRING" != yes \
34060     || {
34061
34062
34063
34064             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34065             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34066                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34067                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34068                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34069                          }
34070                     }
34071                }
34072
34073
34074
34075
34076        }
34077   }; then
34078   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_TRUE=
34079   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_FALSE='#'
34080 else
34081   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_TRUE='#'
34082   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_FALSE=
34083 fi
34084
34085
34086
34087
34088        if  { test "$HAVE_LIBUNISTRING" != yes \
34089     || {
34090
34091
34092
34093             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34094             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34095                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34096                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34097                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34098                          }
34099                     }
34100                }
34101
34102
34103
34104
34105        }
34106   }; then
34107   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_TRUE=
34108   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_FALSE='#'
34109 else
34110   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_TRUE='#'
34111   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_FALSE=
34112 fi
34113
34114
34115
34116
34117        if  { test "$HAVE_LIBUNISTRING" != yes \
34118     || {
34119
34120
34121
34122             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34123             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34124                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34125                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34126                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34127                          }
34128                     }
34129                }
34130
34131
34132
34133
34134        }
34135   }; then
34136   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_TRUE=
34137   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_FALSE='#'
34138 else
34139   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_TRUE='#'
34140   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_FALSE=
34141 fi
34142
34143
34144
34145
34146        if  { test "$HAVE_LIBUNISTRING" != yes \
34147     || {
34148
34149
34150
34151             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34152             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34153                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34154                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34155                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34156                          }
34157                     }
34158                }
34159
34160
34161
34162
34163        }
34164   }; then
34165   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_TRUE=
34166   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_FALSE='#'
34167 else
34168   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_TRUE='#'
34169   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_FALSE=
34170 fi
34171
34172
34173
34174
34175        if  { test "$HAVE_LIBUNISTRING" != yes \
34176     || {
34177
34178
34179
34180             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34181             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34182                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34183                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34184                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34185                          }
34186                     }
34187                }
34188
34189
34190
34191
34192        }
34193   }; then
34194   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_TRUE=
34195   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_FALSE='#'
34196 else
34197   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_TRUE='#'
34198   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_FALSE=
34199 fi
34200
34201
34202
34203
34204        if  { test "$HAVE_LIBUNISTRING" != yes \
34205     || {
34206
34207
34208
34209             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34210             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34211                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34212                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34213                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34214                          }
34215                     }
34216                }
34217
34218
34219
34220
34221        }
34222   }; then
34223   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_TRUE=
34224   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_FALSE='#'
34225 else
34226   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_TRUE='#'
34227   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_FALSE=
34228 fi
34229
34230
34231
34232
34233        if  { test "$HAVE_LIBUNISTRING" != yes \
34234     || {
34235
34236
34237
34238             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34239             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34240                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34241                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34242                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34243                          }
34244                     }
34245                }
34246
34247
34248
34249
34250        }
34251   }; then
34252   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_TRUE=
34253   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_FALSE='#'
34254 else
34255   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_TRUE='#'
34256   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_FALSE=
34257 fi
34258
34259
34260
34261
34262        if  { test "$HAVE_LIBUNISTRING" != yes \
34263     || {
34264
34265
34266
34267             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34268             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34269                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34270                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34271                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34272                          }
34273                     }
34274                }
34275
34276
34277
34278
34279        }
34280   }; then
34281   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_TRUE=
34282   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_FALSE='#'
34283 else
34284   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_TRUE='#'
34285   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_FALSE=
34286 fi
34287
34288
34289
34290
34291        if  { test "$HAVE_LIBUNISTRING" != yes \
34292     || {
34293
34294
34295
34296             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34297             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34298                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34299                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34300                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34301                          }
34302                     }
34303                }
34304
34305
34306
34307
34308        }
34309   }; then
34310   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_TRUE=
34311   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_FALSE='#'
34312 else
34313   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_TRUE='#'
34314   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_FALSE=
34315 fi
34316
34317
34318
34319
34320        if  { test "$HAVE_LIBUNISTRING" != yes \
34321     || {
34322
34323
34324
34325             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34326             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34327                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34328                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34329                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34330                          }
34331                     }
34332                }
34333
34334
34335
34336
34337        }
34338   }; then
34339   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_TRUE=
34340   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_FALSE='#'
34341 else
34342   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_TRUE='#'
34343   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_FALSE=
34344 fi
34345
34346
34347
34348
34349        if  { test "$HAVE_LIBUNISTRING" != yes \
34350     || {
34351
34352
34353
34354             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34355             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34356                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34357                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34358                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34359                          }
34360                     }
34361                }
34362
34363
34364
34365
34366        }
34367   }; then
34368   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_TRUE=
34369   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_FALSE='#'
34370 else
34371   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_TRUE='#'
34372   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_FALSE=
34373 fi
34374
34375
34376
34377
34378        if  { test "$HAVE_LIBUNISTRING" != yes \
34379     || {
34380
34381
34382
34383             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34384             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34385                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34386                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34387                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34388                          }
34389                     }
34390                }
34391
34392
34393
34394
34395        }
34396   }; then
34397   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_TRUE=
34398   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_FALSE='#'
34399 else
34400   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_TRUE='#'
34401   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_FALSE=
34402 fi
34403
34404
34405
34406
34407        if  { test "$HAVE_LIBUNISTRING" != yes \
34408     || {
34409
34410
34411
34412             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34413             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34414                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34415                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34416                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34417                          }
34418                     }
34419                }
34420
34421
34422
34423
34424        }
34425   }; then
34426   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_TRUE=
34427   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_FALSE='#'
34428 else
34429   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_TRUE='#'
34430   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_FALSE=
34431 fi
34432
34433
34434
34435
34436        if  { test "$HAVE_LIBUNISTRING" != yes \
34437     || {
34438
34439
34440
34441             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34442             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34443                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34444                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34445                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34446                          }
34447                     }
34448                }
34449
34450
34451
34452
34453        }
34454   }; then
34455   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_TRUE=
34456   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_FALSE='#'
34457 else
34458   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_TRUE='#'
34459   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_FALSE=
34460 fi
34461
34462
34463
34464
34465        if  { test "$HAVE_LIBUNISTRING" != yes \
34466     || {
34467
34468
34469
34470             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34471             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34472                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34473                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34474                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34475                          }
34476                     }
34477                }
34478
34479
34480
34481
34482        }
34483   }; then
34484   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_TRUE=
34485   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_FALSE='#'
34486 else
34487   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_TRUE='#'
34488   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_FALSE=
34489 fi
34490
34491
34492
34493
34494        if  { test "$HAVE_LIBUNISTRING" != yes \
34495     || {
34496
34497
34498
34499             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34500             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34501                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34502                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34503                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34504                          }
34505                     }
34506                }
34507
34508
34509
34510
34511        }
34512   }; then
34513   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_TRUE=
34514   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_FALSE='#'
34515 else
34516   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_TRUE='#'
34517   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_FALSE=
34518 fi
34519
34520
34521
34522
34523        if  { test "$HAVE_LIBUNISTRING" != yes \
34524     || {
34525
34526
34527
34528             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34529             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34530                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34531                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34532                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34533                          }
34534                     }
34535                }
34536
34537
34538
34539
34540        }
34541   }; then
34542   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_TRUE=
34543   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_FALSE='#'
34544 else
34545   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_TRUE='#'
34546   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_FALSE=
34547 fi
34548
34549
34550
34551
34552        if  { test "$HAVE_LIBUNISTRING" != yes \
34553     || {
34554
34555
34556
34557             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34558             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34559                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34560                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34561                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34562                          }
34563                     }
34564                }
34565
34566
34567
34568
34569        }
34570   }; then
34571   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_TRUE=
34572   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_FALSE='#'
34573 else
34574   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_TRUE='#'
34575   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_FALSE=
34576 fi
34577
34578
34579
34580
34581        if  { test "$HAVE_LIBUNISTRING" != yes \
34582     || {
34583
34584
34585
34586             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34587             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34588                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34589                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34590                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34591                          }
34592                     }
34593                }
34594
34595
34596
34597
34598        }
34599   }; then
34600   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_TRUE=
34601   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_FALSE='#'
34602 else
34603   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_TRUE='#'
34604   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_FALSE=
34605 fi
34606
34607
34608
34609
34610        if  { test "$HAVE_LIBUNISTRING" != yes \
34611     || {
34612
34613
34614
34615             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34616             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34617                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34618                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34619                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34620                          }
34621                     }
34622                }
34623
34624
34625
34626
34627        }
34628   }; then
34629   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_TRUE=
34630   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_FALSE='#'
34631 else
34632   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_TRUE='#'
34633   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_FALSE=
34634 fi
34635
34636
34637
34638
34639        if  { test "$HAVE_LIBUNISTRING" != yes \
34640     || {
34641
34642
34643
34644             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34645             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34646                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34647                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34648                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34649                          }
34650                     }
34651                }
34652
34653
34654
34655
34656        }
34657   }; then
34658   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_TRUE=
34659   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_FALSE='#'
34660 else
34661   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_TRUE='#'
34662   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_FALSE=
34663 fi
34664
34665
34666
34667
34668        if  { test "$HAVE_LIBUNISTRING" != yes \
34669     || {
34670
34671
34672
34673             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34674             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34675                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34676                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34677                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34678                          }
34679                     }
34680                }
34681
34682
34683
34684
34685        }
34686   }; then
34687   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_TRUE=
34688   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_FALSE='#'
34689 else
34690   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_TRUE='#'
34691   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_FALSE=
34692 fi
34693
34694
34695
34696
34697        if  { test "$HAVE_LIBUNISTRING" != yes \
34698     || {
34699
34700
34701
34702             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34703             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34704                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34705                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34706                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
34707                          }
34708                     }
34709                }
34710
34711
34712
34713
34714        }
34715   }; then
34716   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_TRUE=
34717   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_FALSE='#'
34718 else
34719   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_TRUE='#'
34720   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_FALSE=
34721 fi
34722
34723
34724
34725
34726        if  { test "$HAVE_LIBUNISTRING" != yes \
34727     || {
34728
34729
34730
34731             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34732             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34733                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34734                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34735                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
34736                          }
34737                     }
34738                }
34739
34740
34741
34742
34743        }
34744   }; then
34745   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_TRUE=
34746   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_FALSE='#'
34747 else
34748   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_TRUE='#'
34749   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_FALSE=
34750 fi
34751
34752
34753
34754
34755        if  { test "$HAVE_LIBUNISTRING" != yes \
34756     || {
34757
34758
34759
34760             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34761             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34762                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34763                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34764                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
34765                          }
34766                     }
34767                }
34768
34769
34770
34771
34772        }
34773   }; then
34774   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_TRUE=
34775   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_FALSE='#'
34776 else
34777   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_TRUE='#'
34778   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_FALSE=
34779 fi
34780
34781
34782
34783
34784
34785        if  { test "$HAVE_LIBUNISTRING" != yes \
34786     || {
34787
34788
34789
34790             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34791             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34792                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34793                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34794                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34795                          }
34796                     }
34797                }
34798
34799
34800
34801
34802        }
34803   }; then
34804   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_TRUE=
34805   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_FALSE='#'
34806 else
34807   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_TRUE='#'
34808   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_FALSE=
34809 fi
34810
34811
34812
34813
34814        if  { test "$HAVE_LIBUNISTRING" != yes \
34815     || {
34816
34817
34818
34819             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34820             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34821                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34822                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34823                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34824                          }
34825                     }
34826                }
34827
34828
34829
34830
34831        }
34832   }; then
34833   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_TRUE=
34834   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_FALSE='#'
34835 else
34836   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_TRUE='#'
34837   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_FALSE=
34838 fi
34839
34840
34841
34842
34843
34844        if  { test "$HAVE_LIBUNISTRING" != yes \
34845     || {
34846
34847
34848
34849             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34850             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34851                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34852                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34853                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
34854                          }
34855                     }
34856                }
34857
34858
34859
34860
34861        }
34862   }; then
34863   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_TRUE=
34864   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_FALSE='#'
34865 else
34866   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_TRUE='#'
34867   LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_FALSE=
34868 fi
34869
34870
34871
34872
34873        if  { test "$HAVE_LIBUNISTRING" != yes \
34874     || {
34875
34876
34877
34878             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34879             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34880                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34881                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34882                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
34883                          }
34884                     }
34885                }
34886
34887
34888
34889
34890        }
34891   }; then
34892   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_TRUE=
34893   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_FALSE='#'
34894 else
34895   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_TRUE='#'
34896   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_FALSE=
34897 fi
34898
34899
34900
34901
34902        if  { test "$HAVE_LIBUNISTRING" != yes \
34903     || {
34904
34905
34906
34907             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34908             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34909                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34910                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34911                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
34912                          }
34913                     }
34914                }
34915
34916
34917
34918
34919        }
34920   }; then
34921   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_TRUE=
34922   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_FALSE='#'
34923 else
34924   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_TRUE='#'
34925   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_FALSE=
34926 fi
34927
34928
34929
34930
34931        if  { test "$HAVE_LIBUNISTRING" != yes \
34932     || {
34933
34934
34935
34936             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34937             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34938                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34939                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34940                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
34941                          }
34942                     }
34943                }
34944
34945
34946
34947
34948        }
34949   }; then
34950   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_TRUE=
34951   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_FALSE='#'
34952 else
34953   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_TRUE='#'
34954   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_FALSE=
34955 fi
34956
34957
34958
34959
34960        if  { test "$HAVE_LIBUNISTRING" != yes \
34961     || {
34962
34963
34964
34965             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34966             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34967                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34968                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34969                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
34970                          }
34971                     }
34972                }
34973
34974
34975
34976
34977        }
34978   }; then
34979   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_TRUE=
34980   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_FALSE='#'
34981 else
34982   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_TRUE='#'
34983   LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_FALSE=
34984 fi
34985
34986
34987
34988
34989
34990        if  { test "$HAVE_LIBUNISTRING" != yes \
34991     || {
34992
34993
34994
34995             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
34996             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
34997                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
34998                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
34999                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35000                          }
35001                     }
35002                }
35003
35004
35005
35006
35007        }
35008   }; then
35009   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE=
35010   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE='#'
35011 else
35012   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE='#'
35013   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE=
35014 fi
35015
35016
35017
35018
35019
35020        if  { test "$HAVE_LIBUNISTRING" != yes \
35021     || {
35022
35023
35024
35025             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35026             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35027                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35028                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35029                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35030                          }
35031                     }
35032                }
35033
35034
35035
35036
35037        }
35038   }; then
35039   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE=
35040   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE='#'
35041 else
35042   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE='#'
35043   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE=
35044 fi
35045
35046
35047
35048
35049
35050        if  { test "$HAVE_LIBUNISTRING" != yes \
35051     || {
35052
35053
35054
35055             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35056             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35057                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35058                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35059                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35060                          }
35061                     }
35062                }
35063
35064
35065
35066
35067        }
35068   }; then
35069   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE=
35070   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE='#'
35071 else
35072   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE='#'
35073   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE=
35074 fi
35075
35076
35077
35078
35079
35080        if  { test "$HAVE_LIBUNISTRING" != yes \
35081     || {
35082
35083
35084
35085             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35086             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35087                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35088                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35089                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35090                          }
35091                     }
35092                }
35093
35094
35095
35096
35097        }
35098   }; then
35099   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE=
35100   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE='#'
35101 else
35102   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE='#'
35103   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE=
35104 fi
35105
35106
35107
35108
35109
35110        if  { test "$HAVE_LIBUNISTRING" != yes \
35111     || {
35112
35113
35114
35115             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35116             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35117                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35118                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35119                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35120                          }
35121                     }
35122                }
35123
35124
35125
35126
35127        }
35128   }; then
35129   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE=
35130   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE='#'
35131 else
35132   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE='#'
35133   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE=
35134 fi
35135
35136
35137
35138
35139
35140        if  { test "$HAVE_LIBUNISTRING" != yes \
35141     || {
35142
35143
35144
35145             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35146             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35147                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35148                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35149                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35150                          }
35151                     }
35152                }
35153
35154
35155
35156
35157        }
35158   }; then
35159   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE=
35160   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE='#'
35161 else
35162   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE='#'
35163   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE=
35164 fi
35165
35166
35167
35168
35169
35170        if  { test "$HAVE_LIBUNISTRING" != yes \
35171     || {
35172
35173
35174
35175             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35176             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35177                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35178                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35179                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35180                          }
35181                     }
35182                }
35183
35184
35185
35186
35187        }
35188   }; then
35189   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE=
35190   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE='#'
35191 else
35192   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE='#'
35193   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE=
35194 fi
35195
35196
35197
35198
35199
35200        if  { test "$HAVE_LIBUNISTRING" != yes \
35201     || {
35202
35203
35204
35205             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35206             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35207                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35208                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35209                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35210                          }
35211                     }
35212                }
35213
35214
35215
35216
35217        }
35218   }; then
35219   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE=
35220   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE='#'
35221 else
35222   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE='#'
35223   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE=
35224 fi
35225
35226
35227
35228
35229
35230        if  { test "$HAVE_LIBUNISTRING" != yes \
35231     || {
35232
35233
35234
35235             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35236             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35237                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35238                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35239                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35240                          }
35241                     }
35242                }
35243
35244
35245
35246
35247        }
35248   }; then
35249   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE=
35250   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE='#'
35251 else
35252   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE='#'
35253   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE=
35254 fi
35255
35256
35257
35258
35259
35260        if  { test "$HAVE_LIBUNISTRING" != yes \
35261     || {
35262
35263
35264
35265             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35266             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35267                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35268                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35269                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35270                          }
35271                     }
35272                }
35273
35274
35275
35276
35277        }
35278   }; then
35279   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE=
35280   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE='#'
35281 else
35282   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE='#'
35283   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE=
35284 fi
35285
35286
35287
35288
35289
35290        if  { test "$HAVE_LIBUNISTRING" != yes \
35291     || {
35292
35293
35294
35295             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35296             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35297                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35298                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35299                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35300                          }
35301                     }
35302                }
35303
35304
35305
35306
35307        }
35308   }; then
35309   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE=
35310   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE='#'
35311 else
35312   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE='#'
35313   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE=
35314 fi
35315
35316
35317
35318
35319
35320        if  { test "$HAVE_LIBUNISTRING" != yes \
35321     || {
35322
35323
35324
35325             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35326             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35327                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35328                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35329                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35330                          }
35331                     }
35332                }
35333
35334
35335
35336
35337        }
35338   }; then
35339   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE=
35340   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE='#'
35341 else
35342   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE='#'
35343   LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE=
35344 fi
35345
35346
35347
35348
35349        if  { test "$HAVE_LIBUNISTRING" != yes \
35350     || {
35351
35352
35353
35354             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35355             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35356                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35357                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35358                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35359                          }
35360                     }
35361                }
35362
35363
35364
35365
35366        }
35367   }; then
35368   LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_TRUE=
35369   LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_FALSE='#'
35370 else
35371   LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_TRUE='#'
35372   LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_FALSE=
35373 fi
35374
35375
35376
35377
35378        if  { test "$HAVE_LIBUNISTRING" != yes \
35379     || {
35380
35381
35382
35383             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35384             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35385                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35386                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35387                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35388                          }
35389                     }
35390                }
35391
35392
35393
35394
35395        }
35396   }; then
35397   LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_TRUE=
35398   LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_FALSE='#'
35399 else
35400   LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_TRUE='#'
35401   LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_FALSE=
35402 fi
35403
35404
35405
35406
35407        if  { test "$HAVE_LIBUNISTRING" != yes \
35408     || {
35409
35410
35411
35412             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35413             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35414                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35415                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35416                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
35417                          }
35418                     }
35419                }
35420
35421
35422
35423
35424        }
35425   }; then
35426   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_TRUE=
35427   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_FALSE='#'
35428 else
35429   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_TRUE='#'
35430   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_FALSE=
35431 fi
35432
35433
35434
35435
35436        if  { test "$HAVE_LIBUNISTRING" != yes \
35437     || {
35438
35439
35440
35441             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35442             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35443                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35444                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35445                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
35446                          }
35447                     }
35448                }
35449
35450
35451
35452
35453        }
35454   }; then
35455   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_TRUE=
35456   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_FALSE='#'
35457 else
35458   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_TRUE='#'
35459   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_FALSE=
35460 fi
35461
35462
35463
35464
35465        if  { test "$HAVE_LIBUNISTRING" != yes \
35466     || {
35467
35468
35469
35470             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35471             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35472                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35473                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35474                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35475                          }
35476                     }
35477                }
35478
35479
35480
35481
35482        }
35483   }; then
35484   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_TRUE=
35485   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_FALSE='#'
35486 else
35487   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_TRUE='#'
35488   LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_FALSE=
35489 fi
35490
35491
35492
35493
35494        if  { test "$HAVE_LIBUNISTRING" != yes \
35495     || {
35496
35497
35498
35499             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35500             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35501                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35502                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35503                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
35504                          }
35505                     }
35506                }
35507
35508
35509
35510
35511        }
35512   }; then
35513   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_TRUE=
35514   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_FALSE='#'
35515 else
35516   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_TRUE='#'
35517   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_FALSE=
35518 fi
35519
35520
35521
35522
35523        if  { test "$HAVE_LIBUNISTRING" != yes \
35524     || {
35525
35526
35527
35528             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35529             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35530                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35531                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35532                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
35533                          }
35534                     }
35535                }
35536
35537
35538
35539
35540        }
35541   }; then
35542   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_TRUE=
35543   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_FALSE='#'
35544 else
35545   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_TRUE='#'
35546   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_FALSE=
35547 fi
35548
35549
35550
35551
35552        if  { test "$HAVE_LIBUNISTRING" != yes \
35553     || {
35554
35555
35556
35557             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35558             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35559                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35560                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35561                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
35562                          }
35563                     }
35564                }
35565
35566
35567
35568
35569        }
35570   }; then
35571   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_TRUE=
35572   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_FALSE='#'
35573 else
35574   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_TRUE='#'
35575   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_FALSE=
35576 fi
35577
35578
35579
35580
35581        if  { test "$HAVE_LIBUNISTRING" != yes \
35582     || {
35583
35584
35585
35586             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35587             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35588                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35589                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35590                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35591                          }
35592                     }
35593                }
35594
35595
35596
35597
35598        }
35599   }; then
35600   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_TRUE=
35601   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_FALSE='#'
35602 else
35603   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_TRUE='#'
35604   LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_FALSE=
35605 fi
35606
35607
35608
35609
35610        if  { test "$HAVE_LIBUNISTRING" != yes \
35611     || {
35612
35613
35614
35615             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35616             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35617                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35618                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35619                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35620                          }
35621                     }
35622                }
35623
35624
35625
35626
35627        }
35628   }; then
35629   LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_TRUE=
35630   LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_FALSE='#'
35631 else
35632   LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_TRUE='#'
35633   LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_FALSE=
35634 fi
35635
35636
35637
35638
35639        if  { test "$HAVE_LIBUNISTRING" != yes \
35640     || {
35641
35642
35643
35644             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35645             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35646                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35647                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35648                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35649                          }
35650                     }
35651                }
35652
35653
35654
35655
35656        }
35657   }; then
35658   LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_TRUE=
35659   LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_FALSE='#'
35660 else
35661   LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_TRUE='#'
35662   LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_FALSE=
35663 fi
35664
35665
35666
35667
35668
35669        if  { test "$HAVE_LIBUNISTRING" != yes \
35670     || {
35671
35672
35673
35674             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35675             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35676                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35677                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35678                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35679                          }
35680                     }
35681                }
35682
35683
35684
35685
35686        }
35687   }; then
35688   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_TRUE=
35689   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_FALSE='#'
35690 else
35691   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_TRUE='#'
35692   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_FALSE=
35693 fi
35694
35695
35696
35697
35698
35699        if  { test "$HAVE_LIBUNISTRING" != yes \
35700     || {
35701
35702
35703
35704             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35705             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35706                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35707                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35708                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35709                          }
35710                     }
35711                }
35712
35713
35714
35715
35716        }
35717   }; then
35718   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_TRUE=
35719   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_FALSE='#'
35720 else
35721   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_TRUE='#'
35722   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_FALSE=
35723 fi
35724
35725
35726
35727
35728
35729        if  { test "$HAVE_LIBUNISTRING" != yes \
35730     || {
35731
35732
35733
35734             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35735             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35736                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35737                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35738                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35739                          }
35740                     }
35741                }
35742
35743
35744
35745
35746        }
35747   }; then
35748   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_TRUE=
35749   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_FALSE='#'
35750 else
35751   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_TRUE='#'
35752   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_FALSE=
35753 fi
35754
35755
35756
35757
35758
35759        if  { test "$HAVE_LIBUNISTRING" != yes \
35760     || {
35761
35762
35763
35764             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35765             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35766                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35767                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35768                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35769                          }
35770                     }
35771                }
35772
35773
35774
35775
35776        }
35777   }; then
35778   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_TRUE=
35779   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_FALSE='#'
35780 else
35781   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_TRUE='#'
35782   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_FALSE=
35783 fi
35784
35785
35786
35787
35788
35789        if  { test "$HAVE_LIBUNISTRING" != yes \
35790     || {
35791
35792
35793
35794             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35795             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35796                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35797                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35798                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35799                          }
35800                     }
35801                }
35802
35803
35804
35805
35806        }
35807   }; then
35808   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_TRUE=
35809   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_FALSE='#'
35810 else
35811   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_TRUE='#'
35812   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_FALSE=
35813 fi
35814
35815
35816
35817
35818
35819        if  { test "$HAVE_LIBUNISTRING" != yes \
35820     || {
35821
35822
35823
35824             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35825             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35826                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35827                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35828                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35829                          }
35830                     }
35831                }
35832
35833
35834
35835
35836        }
35837   }; then
35838   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_TRUE=
35839   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_FALSE='#'
35840 else
35841   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_TRUE='#'
35842   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_FALSE=
35843 fi
35844
35845
35846
35847
35848
35849        if  { test "$HAVE_LIBUNISTRING" != yes \
35850     || {
35851
35852
35853
35854             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35855             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35856                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35857                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35858                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35859                          }
35860                     }
35861                }
35862
35863
35864
35865
35866        }
35867   }; then
35868   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_TRUE=
35869   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_FALSE='#'
35870 else
35871   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_TRUE='#'
35872   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_FALSE=
35873 fi
35874
35875
35876
35877
35878
35879        if  { test "$HAVE_LIBUNISTRING" != yes \
35880     || {
35881
35882
35883
35884             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35885             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35886                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35887                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35888                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35889                          }
35890                     }
35891                }
35892
35893
35894
35895
35896        }
35897   }; then
35898   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_TRUE=
35899   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_FALSE='#'
35900 else
35901   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_TRUE='#'
35902   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_FALSE=
35903 fi
35904
35905
35906
35907
35908
35909        if  { test "$HAVE_LIBUNISTRING" != yes \
35910     || {
35911
35912
35913
35914             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35915             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35916                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35917                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35918                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35919                          }
35920                     }
35921                }
35922
35923
35924
35925
35926        }
35927   }; then
35928   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_TRUE=
35929   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_FALSE='#'
35930 else
35931   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_TRUE='#'
35932   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_FALSE=
35933 fi
35934
35935
35936
35937
35938
35939        if  { test "$HAVE_LIBUNISTRING" != yes \
35940     || {
35941
35942
35943
35944             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35945             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35946                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35947                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35948                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35949                          }
35950                     }
35951                }
35952
35953
35954
35955
35956        }
35957   }; then
35958   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_TRUE=
35959   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_FALSE='#'
35960 else
35961   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_TRUE='#'
35962   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_FALSE=
35963 fi
35964
35965
35966
35967
35968
35969        if  { test "$HAVE_LIBUNISTRING" != yes \
35970     || {
35971
35972
35973
35974             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
35975             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
35976                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
35977                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
35978                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
35979                          }
35980                     }
35981                }
35982
35983
35984
35985
35986        }
35987   }; then
35988   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_TRUE=
35989   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_FALSE='#'
35990 else
35991   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_TRUE='#'
35992   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_FALSE=
35993 fi
35994
35995
35996
35997
35998
35999        if  { test "$HAVE_LIBUNISTRING" != yes \
36000     || {
36001
36002
36003
36004             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36005             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36006                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36007                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36008                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36009                          }
36010                     }
36011                }
36012
36013
36014
36015
36016        }
36017   }; then
36018   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_TRUE=
36019   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_FALSE='#'
36020 else
36021   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_TRUE='#'
36022   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_FALSE=
36023 fi
36024
36025
36026
36027
36028
36029        if  { test "$HAVE_LIBUNISTRING" != yes \
36030     || {
36031
36032
36033
36034             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36035             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36036                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36037                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36038                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36039                          }
36040                     }
36041                }
36042
36043
36044
36045
36046        }
36047   }; then
36048   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_TRUE=
36049   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_FALSE='#'
36050 else
36051   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_TRUE='#'
36052   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_FALSE=
36053 fi
36054
36055
36056
36057
36058
36059        if  { test "$HAVE_LIBUNISTRING" != yes \
36060     || {
36061
36062
36063
36064             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36065             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36066                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36067                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36068                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36069                          }
36070                     }
36071                }
36072
36073
36074
36075
36076        }
36077   }; then
36078   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_TRUE=
36079   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_FALSE='#'
36080 else
36081   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_TRUE='#'
36082   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_FALSE=
36083 fi
36084
36085
36086
36087
36088
36089        if  { test "$HAVE_LIBUNISTRING" != yes \
36090     || {
36091
36092
36093
36094             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36095             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36096                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36097                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36098                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36099                          }
36100                     }
36101                }
36102
36103
36104
36105
36106        }
36107   }; then
36108   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_TRUE=
36109   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_FALSE='#'
36110 else
36111   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_TRUE='#'
36112   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_FALSE=
36113 fi
36114
36115
36116
36117
36118
36119        if  { test "$HAVE_LIBUNISTRING" != yes \
36120     || {
36121
36122
36123
36124             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36125             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36126                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36127                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36128                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36129                          }
36130                     }
36131                }
36132
36133
36134
36135
36136        }
36137   }; then
36138   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_TRUE=
36139   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_FALSE='#'
36140 else
36141   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_TRUE='#'
36142   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_FALSE=
36143 fi
36144
36145
36146
36147
36148
36149        if  { test "$HAVE_LIBUNISTRING" != yes \
36150     || {
36151
36152
36153
36154             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36155             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36156                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36157                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36158                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36159                          }
36160                     }
36161                }
36162
36163
36164
36165
36166        }
36167   }; then
36168   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_TRUE=
36169   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_FALSE='#'
36170 else
36171   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_TRUE='#'
36172   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_FALSE=
36173 fi
36174
36175
36176
36177
36178
36179        if  { test "$HAVE_LIBUNISTRING" != yes \
36180     || {
36181
36182
36183
36184             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36185             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36186                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36187                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36188                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36189                          }
36190                     }
36191                }
36192
36193
36194
36195
36196        }
36197   }; then
36198   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_TRUE=
36199   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_FALSE='#'
36200 else
36201   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_TRUE='#'
36202   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_FALSE=
36203 fi
36204
36205
36206
36207
36208
36209        if  { test "$HAVE_LIBUNISTRING" != yes \
36210     || {
36211
36212
36213
36214             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36215             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36216                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36217                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36218                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36219                          }
36220                     }
36221                }
36222
36223
36224
36225
36226        }
36227   }; then
36228   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_TRUE=
36229   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_FALSE='#'
36230 else
36231   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_TRUE='#'
36232   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_FALSE=
36233 fi
36234
36235
36236
36237
36238        if  { test "$HAVE_LIBUNISTRING" != yes \
36239     || {
36240
36241
36242
36243             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36244             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36245                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36246                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36247                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36248                          }
36249                     }
36250                }
36251
36252
36253
36254
36255        }
36256   }; then
36257   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_TRUE=
36258   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_FALSE='#'
36259 else
36260   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_TRUE='#'
36261   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_FALSE=
36262 fi
36263
36264
36265
36266
36267
36268        if  { test "$HAVE_LIBUNISTRING" != yes \
36269     || {
36270
36271
36272
36273             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36274             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36275                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36276                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36277                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36278                          }
36279                     }
36280                }
36281
36282
36283
36284
36285        }
36286   }; then
36287   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_TRUE=
36288   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_FALSE='#'
36289 else
36290   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_TRUE='#'
36291   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_FALSE=
36292 fi
36293
36294
36295
36296
36297
36298        if  { test "$HAVE_LIBUNISTRING" != yes \
36299     || {
36300
36301
36302
36303             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36304             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36305                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36306                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36307                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36308                          }
36309                     }
36310                }
36311
36312
36313
36314
36315        }
36316   }; then
36317   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_TRUE=
36318   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_FALSE='#'
36319 else
36320   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_TRUE='#'
36321   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_FALSE=
36322 fi
36323
36324
36325
36326
36327
36328        if  { test "$HAVE_LIBUNISTRING" != yes \
36329     || {
36330
36331
36332
36333             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36334             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36335                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36336                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36337                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36338                          }
36339                     }
36340                }
36341
36342
36343
36344
36345        }
36346   }; then
36347   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_TRUE=
36348   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_FALSE='#'
36349 else
36350   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_TRUE='#'
36351   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_FALSE=
36352 fi
36353
36354
36355
36356
36357
36358        if  { test "$HAVE_LIBUNISTRING" != yes \
36359     || {
36360
36361
36362
36363             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36364             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36365                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36366                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36367                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36368                          }
36369                     }
36370                }
36371
36372
36373
36374
36375        }
36376   }; then
36377   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_TRUE=
36378   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_FALSE='#'
36379 else
36380   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_TRUE='#'
36381   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_FALSE=
36382 fi
36383
36384
36385
36386
36387
36388        if  { test "$HAVE_LIBUNISTRING" != yes \
36389     || {
36390
36391
36392
36393             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36394             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36395                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36396                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36397                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36398                          }
36399                     }
36400                }
36401
36402
36403
36404
36405        }
36406   }; then
36407   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_TRUE=
36408   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_FALSE='#'
36409 else
36410   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_TRUE='#'
36411   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_FALSE=
36412 fi
36413
36414
36415
36416
36417
36418        if  { test "$HAVE_LIBUNISTRING" != yes \
36419     || {
36420
36421
36422
36423             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36424             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36425                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36426                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36427                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36428                          }
36429                     }
36430                }
36431
36432
36433
36434
36435        }
36436   }; then
36437   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_TRUE=
36438   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_FALSE='#'
36439 else
36440   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_TRUE='#'
36441   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_FALSE=
36442 fi
36443
36444
36445
36446
36447
36448        if  { test "$HAVE_LIBUNISTRING" != yes \
36449     || {
36450
36451
36452
36453             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36454             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36455                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36456                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36457                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36458                          }
36459                     }
36460                }
36461
36462
36463
36464
36465        }
36466   }; then
36467   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_TRUE=
36468   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_FALSE='#'
36469 else
36470   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_TRUE='#'
36471   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_FALSE=
36472 fi
36473
36474
36475
36476
36477
36478        if  { test "$HAVE_LIBUNISTRING" != yes \
36479     || {
36480
36481
36482
36483             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36484             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36485                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36486                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36487                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36488                          }
36489                     }
36490                }
36491
36492
36493
36494
36495        }
36496   }; then
36497   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_TRUE=
36498   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_FALSE='#'
36499 else
36500   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_TRUE='#'
36501   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_FALSE=
36502 fi
36503
36504
36505
36506
36507
36508        if  { test "$HAVE_LIBUNISTRING" != yes \
36509     || {
36510
36511
36512
36513             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36514             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36515                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36516                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36517                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36518                          }
36519                     }
36520                }
36521
36522
36523
36524
36525        }
36526   }; then
36527   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_TRUE=
36528   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_FALSE='#'
36529 else
36530   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_TRUE='#'
36531   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_FALSE=
36532 fi
36533
36534
36535
36536
36537
36538        if  { test "$HAVE_LIBUNISTRING" != yes \
36539     || {
36540
36541
36542
36543             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36544             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36545                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36546                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36547                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36548                          }
36549                     }
36550                }
36551
36552
36553
36554
36555        }
36556   }; then
36557   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_TRUE=
36558   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_FALSE='#'
36559 else
36560   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_TRUE='#'
36561   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_FALSE=
36562 fi
36563
36564
36565
36566
36567
36568        if  { test "$HAVE_LIBUNISTRING" != yes \
36569     || {
36570
36571
36572
36573             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36574             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36575                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36576                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36577                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36578                          }
36579                     }
36580                }
36581
36582
36583
36584
36585        }
36586   }; then
36587   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_TRUE=
36588   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_FALSE='#'
36589 else
36590   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_TRUE='#'
36591   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_FALSE=
36592 fi
36593
36594
36595
36596
36597
36598        if  { test "$HAVE_LIBUNISTRING" != yes \
36599     || {
36600
36601
36602
36603             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36604             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36605                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36606                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36607                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36608                          }
36609                     }
36610                }
36611
36612
36613
36614
36615        }
36616   }; then
36617   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_TRUE=
36618   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_FALSE='#'
36619 else
36620   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_TRUE='#'
36621   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_FALSE=
36622 fi
36623
36624
36625
36626
36627
36628        if  { test "$HAVE_LIBUNISTRING" != yes \
36629     || {
36630
36631
36632
36633             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36634             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36635                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36636                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36637                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36638                          }
36639                     }
36640                }
36641
36642
36643
36644
36645        }
36646   }; then
36647   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_TRUE=
36648   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_FALSE='#'
36649 else
36650   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_TRUE='#'
36651   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_FALSE=
36652 fi
36653
36654
36655
36656
36657
36658        if  { test "$HAVE_LIBUNISTRING" != yes \
36659     || {
36660
36661
36662
36663             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36664             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36665                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36666                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36667                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36668                          }
36669                     }
36670                }
36671
36672
36673
36674
36675        }
36676   }; then
36677   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_TRUE=
36678   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_FALSE='#'
36679 else
36680   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_TRUE='#'
36681   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_FALSE=
36682 fi
36683
36684
36685
36686
36687
36688        if  { test "$HAVE_LIBUNISTRING" != yes \
36689     || {
36690
36691
36692
36693             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36694             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36695                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36696                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36697                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36698                          }
36699                     }
36700                }
36701
36702
36703
36704
36705        }
36706   }; then
36707   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_TRUE=
36708   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_FALSE='#'
36709 else
36710   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_TRUE='#'
36711   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_FALSE=
36712 fi
36713
36714
36715
36716
36717
36718        if  { test "$HAVE_LIBUNISTRING" != yes \
36719     || {
36720
36721
36722
36723             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36724             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36725                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36726                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36727                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36728                          }
36729                     }
36730                }
36731
36732
36733
36734
36735        }
36736   }; then
36737   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_TRUE=
36738   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_FALSE='#'
36739 else
36740   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_TRUE='#'
36741   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_FALSE=
36742 fi
36743
36744
36745
36746
36747
36748        if  { test "$HAVE_LIBUNISTRING" != yes \
36749     || {
36750
36751
36752
36753             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36754             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36755                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36756                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36757                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36758                          }
36759                     }
36760                }
36761
36762
36763
36764
36765        }
36766   }; then
36767   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_TRUE=
36768   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_FALSE='#'
36769 else
36770   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_TRUE='#'
36771   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_FALSE=
36772 fi
36773
36774
36775
36776
36777
36778        if  { test "$HAVE_LIBUNISTRING" != yes \
36779     || {
36780
36781
36782
36783             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36784             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36785                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36786                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36787                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36788                          }
36789                     }
36790                }
36791
36792
36793
36794
36795        }
36796   }; then
36797   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_TRUE=
36798   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_FALSE='#'
36799 else
36800   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_TRUE='#'
36801   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_FALSE=
36802 fi
36803
36804
36805
36806
36807
36808        if  { test "$HAVE_LIBUNISTRING" != yes \
36809     || {
36810
36811
36812
36813             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36814             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36815                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36816                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36817                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36818                          }
36819                     }
36820                }
36821
36822
36823
36824
36825        }
36826   }; then
36827   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_TRUE=
36828   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_FALSE='#'
36829 else
36830   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_TRUE='#'
36831   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_FALSE=
36832 fi
36833
36834
36835
36836
36837
36838        if  { test "$HAVE_LIBUNISTRING" != yes \
36839     || {
36840
36841
36842
36843             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36844             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36845                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36846                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36847                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36848                          }
36849                     }
36850                }
36851
36852
36853
36854
36855        }
36856   }; then
36857   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_TRUE=
36858   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_FALSE='#'
36859 else
36860   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_TRUE='#'
36861   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_FALSE=
36862 fi
36863
36864
36865
36866
36867
36868        if  { test "$HAVE_LIBUNISTRING" != yes \
36869     || {
36870
36871
36872
36873             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36874             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36875                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36876                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36877                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36878                          }
36879                     }
36880                }
36881
36882
36883
36884
36885        }
36886   }; then
36887   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_TRUE=
36888   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_FALSE='#'
36889 else
36890   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_TRUE='#'
36891   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_FALSE=
36892 fi
36893
36894
36895
36896
36897
36898        if  { test "$HAVE_LIBUNISTRING" != yes \
36899     || {
36900
36901
36902
36903             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36904             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36905                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36906                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36907                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36908                          }
36909                     }
36910                }
36911
36912
36913
36914
36915        }
36916   }; then
36917   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_TRUE=
36918   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_FALSE='#'
36919 else
36920   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_TRUE='#'
36921   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_FALSE=
36922 fi
36923
36924
36925
36926
36927
36928        if  { test "$HAVE_LIBUNISTRING" != yes \
36929     || {
36930
36931
36932
36933             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36934             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36935                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36936                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36937                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36938                          }
36939                     }
36940                }
36941
36942
36943
36944
36945        }
36946   }; then
36947   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_TRUE=
36948   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_FALSE='#'
36949 else
36950   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_TRUE='#'
36951   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_FALSE=
36952 fi
36953
36954
36955
36956
36957
36958        if  { test "$HAVE_LIBUNISTRING" != yes \
36959     || {
36960
36961
36962
36963             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36964             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36965                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36966                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36967                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36968                          }
36969                     }
36970                }
36971
36972
36973
36974
36975        }
36976   }; then
36977   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_TRUE=
36978   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_FALSE='#'
36979 else
36980   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_TRUE='#'
36981   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_FALSE=
36982 fi
36983
36984
36985
36986
36987
36988        if  { test "$HAVE_LIBUNISTRING" != yes \
36989     || {
36990
36991
36992
36993             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
36994             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
36995                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
36996                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
36997                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
36998                          }
36999                     }
37000                }
37001
37002
37003
37004
37005        }
37006   }; then
37007   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_TRUE=
37008   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_FALSE='#'
37009 else
37010   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_TRUE='#'
37011   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_FALSE=
37012 fi
37013
37014
37015
37016
37017
37018        if  { test "$HAVE_LIBUNISTRING" != yes \
37019     || {
37020
37021
37022
37023             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37024             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37025                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37026                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37027                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37028                          }
37029                     }
37030                }
37031
37032
37033
37034
37035        }
37036   }; then
37037   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_TRUE=
37038   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_FALSE='#'
37039 else
37040   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_TRUE='#'
37041   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_FALSE=
37042 fi
37043
37044
37045
37046
37047
37048        if  { test "$HAVE_LIBUNISTRING" != yes \
37049     || {
37050
37051
37052
37053             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37054             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37055                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37056                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37057                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37058                          }
37059                     }
37060                }
37061
37062
37063
37064
37065        }
37066   }; then
37067   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_TRUE=
37068   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_FALSE='#'
37069 else
37070   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_TRUE='#'
37071   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_FALSE=
37072 fi
37073
37074
37075
37076
37077
37078        if  { test "$HAVE_LIBUNISTRING" != yes \
37079     || {
37080
37081
37082
37083             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37084             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37085                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37086                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37087                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37088                          }
37089                     }
37090                }
37091
37092
37093
37094
37095        }
37096   }; then
37097   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_TRUE=
37098   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_FALSE='#'
37099 else
37100   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_TRUE='#'
37101   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_FALSE=
37102 fi
37103
37104
37105
37106
37107
37108        if  { test "$HAVE_LIBUNISTRING" != yes \
37109     || {
37110
37111
37112
37113             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37114             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37115                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37116                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37117                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37118                          }
37119                     }
37120                }
37121
37122
37123
37124
37125        }
37126   }; then
37127   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_TRUE=
37128   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_FALSE='#'
37129 else
37130   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_TRUE='#'
37131   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_FALSE=
37132 fi
37133
37134
37135
37136
37137
37138        if  { test "$HAVE_LIBUNISTRING" != yes \
37139     || {
37140
37141
37142
37143             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37144             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37145                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37146                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37147                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37148                          }
37149                     }
37150                }
37151
37152
37153
37154
37155        }
37156   }; then
37157   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_TRUE=
37158   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_FALSE='#'
37159 else
37160   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_TRUE='#'
37161   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_FALSE=
37162 fi
37163
37164
37165
37166
37167
37168        if  { test "$HAVE_LIBUNISTRING" != yes \
37169     || {
37170
37171
37172
37173             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37174             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37175                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37176                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37177                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37178                          }
37179                     }
37180                }
37181
37182
37183
37184
37185        }
37186   }; then
37187   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_TRUE=
37188   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_FALSE='#'
37189 else
37190   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_TRUE='#'
37191   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_FALSE=
37192 fi
37193
37194
37195
37196
37197
37198        if  { test "$HAVE_LIBUNISTRING" != yes \
37199     || {
37200
37201
37202
37203             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37204             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37205                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37206                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37207                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37208                          }
37209                     }
37210                }
37211
37212
37213
37214
37215        }
37216   }; then
37217   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_TRUE=
37218   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_FALSE='#'
37219 else
37220   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_TRUE='#'
37221   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_FALSE=
37222 fi
37223
37224
37225
37226
37227
37228        if  { test "$HAVE_LIBUNISTRING" != yes \
37229     || {
37230
37231
37232
37233             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37234             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37235                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37236                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37237                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37238                          }
37239                     }
37240                }
37241
37242
37243
37244
37245        }
37246   }; then
37247   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_TRUE=
37248   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_FALSE='#'
37249 else
37250   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_TRUE='#'
37251   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_FALSE=
37252 fi
37253
37254
37255
37256
37257
37258        if  { test "$HAVE_LIBUNISTRING" != yes \
37259     || {
37260
37261
37262
37263             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37264             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37265                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37266                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37267                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37268                          }
37269                     }
37270                }
37271
37272
37273
37274
37275        }
37276   }; then
37277   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_TRUE=
37278   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_FALSE='#'
37279 else
37280   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_TRUE='#'
37281   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_FALSE=
37282 fi
37283
37284
37285
37286
37287
37288        if  { test "$HAVE_LIBUNISTRING" != yes \
37289     || {
37290
37291
37292
37293             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37294             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37295                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37296                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37297                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37298                          }
37299                     }
37300                }
37301
37302
37303
37304
37305        }
37306   }; then
37307   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_TRUE=
37308   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_FALSE='#'
37309 else
37310   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_TRUE='#'
37311   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_FALSE=
37312 fi
37313
37314
37315
37316
37317
37318        if  { test "$HAVE_LIBUNISTRING" != yes \
37319     || {
37320
37321
37322
37323             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37324             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37325                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37326                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37327                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37328                          }
37329                     }
37330                }
37331
37332
37333
37334
37335        }
37336   }; then
37337   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_TRUE=
37338   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_FALSE='#'
37339 else
37340   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_TRUE='#'
37341   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_FALSE=
37342 fi
37343
37344
37345
37346
37347
37348        if  { test "$HAVE_LIBUNISTRING" != yes \
37349     || {
37350
37351
37352
37353             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37354             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37355                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37356                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37357                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37358                          }
37359                     }
37360                }
37361
37362
37363
37364
37365        }
37366   }; then
37367   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_TRUE=
37368   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_FALSE='#'
37369 else
37370   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_TRUE='#'
37371   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_FALSE=
37372 fi
37373
37374
37375
37376
37377
37378        if  { test "$HAVE_LIBUNISTRING" != yes \
37379     || {
37380
37381
37382
37383             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37384             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37385                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37386                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37387                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37388                          }
37389                     }
37390                }
37391
37392
37393
37394
37395        }
37396   }; then
37397   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_TRUE=
37398   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_FALSE='#'
37399 else
37400   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_TRUE='#'
37401   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_FALSE=
37402 fi
37403
37404
37405
37406
37407
37408        if  { test "$HAVE_LIBUNISTRING" != yes \
37409     || {
37410
37411
37412
37413             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37414             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37415                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37416                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37417                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37418                          }
37419                     }
37420                }
37421
37422
37423
37424
37425        }
37426   }; then
37427   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_TRUE=
37428   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_FALSE='#'
37429 else
37430   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_TRUE='#'
37431   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_FALSE=
37432 fi
37433
37434
37435
37436
37437
37438        if  { test "$HAVE_LIBUNISTRING" != yes \
37439     || {
37440
37441
37442
37443             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37444             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37445                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37446                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37447                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37448                          }
37449                     }
37450                }
37451
37452
37453
37454
37455        }
37456   }; then
37457   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_TRUE=
37458   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_FALSE='#'
37459 else
37460   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_TRUE='#'
37461   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_FALSE=
37462 fi
37463
37464
37465
37466
37467
37468        if  { test "$HAVE_LIBUNISTRING" != yes \
37469     || {
37470
37471
37472
37473             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37474             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37475                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37476                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37477                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37478                          }
37479                     }
37480                }
37481
37482
37483
37484
37485        }
37486   }; then
37487   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_TRUE=
37488   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_FALSE='#'
37489 else
37490   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_TRUE='#'
37491   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_FALSE=
37492 fi
37493
37494
37495
37496
37497
37498        if  { test "$HAVE_LIBUNISTRING" != yes \
37499     || {
37500
37501
37502
37503             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37504             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37505                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37506                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37507                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37508                          }
37509                     }
37510                }
37511
37512
37513
37514
37515        }
37516   }; then
37517   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_TRUE=
37518   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_FALSE='#'
37519 else
37520   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_TRUE='#'
37521   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_FALSE=
37522 fi
37523
37524
37525
37526
37527
37528        if  { test "$HAVE_LIBUNISTRING" != yes \
37529     || {
37530
37531
37532
37533             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37534             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37535                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37536                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37537                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37538                          }
37539                     }
37540                }
37541
37542
37543
37544
37545        }
37546   }; then
37547   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_TRUE=
37548   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_FALSE='#'
37549 else
37550   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_TRUE='#'
37551   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_FALSE=
37552 fi
37553
37554
37555
37556
37557
37558        if  { test "$HAVE_LIBUNISTRING" != yes \
37559     || {
37560
37561
37562
37563             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37564             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37565                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37566                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37567                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37568                          }
37569                     }
37570                }
37571
37572
37573
37574
37575        }
37576   }; then
37577   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_TRUE=
37578   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_FALSE='#'
37579 else
37580   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_TRUE='#'
37581   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_FALSE=
37582 fi
37583
37584
37585
37586
37587
37588        if  { test "$HAVE_LIBUNISTRING" != yes \
37589     || {
37590
37591
37592
37593             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37594             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37595                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37596                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37597                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37598                          }
37599                     }
37600                }
37601
37602
37603
37604
37605        }
37606   }; then
37607   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_TRUE=
37608   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_FALSE='#'
37609 else
37610   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_TRUE='#'
37611   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_FALSE=
37612 fi
37613
37614
37615
37616
37617
37618        if  { test "$HAVE_LIBUNISTRING" != yes \
37619     || {
37620
37621
37622
37623             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37624             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37625                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37626                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37627                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37628                          }
37629                     }
37630                }
37631
37632
37633
37634
37635        }
37636   }; then
37637   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_TRUE=
37638   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_FALSE='#'
37639 else
37640   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_TRUE='#'
37641   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_FALSE=
37642 fi
37643
37644
37645
37646
37647
37648        if  { test "$HAVE_LIBUNISTRING" != yes \
37649     || {
37650
37651
37652
37653             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37654             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37655                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37656                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37657                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37658                          }
37659                     }
37660                }
37661
37662
37663
37664
37665        }
37666   }; then
37667   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_TRUE=
37668   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_FALSE='#'
37669 else
37670   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_TRUE='#'
37671   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_FALSE=
37672 fi
37673
37674
37675
37676
37677
37678        if  { test "$HAVE_LIBUNISTRING" != yes \
37679     || {
37680
37681
37682
37683             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37684             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37685                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37686                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37687                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37688                          }
37689                     }
37690                }
37691
37692
37693
37694
37695        }
37696   }; then
37697   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_TRUE=
37698   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_FALSE='#'
37699 else
37700   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_TRUE='#'
37701   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_FALSE=
37702 fi
37703
37704
37705
37706
37707
37708        if  { test "$HAVE_LIBUNISTRING" != yes \
37709     || {
37710
37711
37712
37713             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37714             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37715                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37716                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37717                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37718                          }
37719                     }
37720                }
37721
37722
37723
37724
37725        }
37726   }; then
37727   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_TRUE=
37728   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_FALSE='#'
37729 else
37730   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_TRUE='#'
37731   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_FALSE=
37732 fi
37733
37734
37735
37736
37737
37738        if  { test "$HAVE_LIBUNISTRING" != yes \
37739     || {
37740
37741
37742
37743             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37744             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37745                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37746                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37747                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37748                          }
37749                     }
37750                }
37751
37752
37753
37754
37755        }
37756   }; then
37757   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_TRUE=
37758   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_FALSE='#'
37759 else
37760   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_TRUE='#'
37761   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_FALSE=
37762 fi
37763
37764
37765
37766
37767
37768        if  { test "$HAVE_LIBUNISTRING" != yes \
37769     || {
37770
37771
37772
37773             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37774             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37775                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37776                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37777                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37778                          }
37779                     }
37780                }
37781
37782
37783
37784
37785        }
37786   }; then
37787   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_TRUE=
37788   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_FALSE='#'
37789 else
37790   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_TRUE='#'
37791   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_FALSE=
37792 fi
37793
37794
37795
37796
37797
37798        if  { test "$HAVE_LIBUNISTRING" != yes \
37799     || {
37800
37801
37802
37803             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37804             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37805                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37806                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37807                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37808                          }
37809                     }
37810                }
37811
37812
37813
37814
37815        }
37816   }; then
37817   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_TRUE=
37818   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_FALSE='#'
37819 else
37820   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_TRUE='#'
37821   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_FALSE=
37822 fi
37823
37824
37825
37826
37827
37828        if  { test "$HAVE_LIBUNISTRING" != yes \
37829     || {
37830
37831
37832
37833             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37834             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37835                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37836                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37837                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37838                          }
37839                     }
37840                }
37841
37842
37843
37844
37845        }
37846   }; then
37847   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_TRUE=
37848   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_FALSE='#'
37849 else
37850   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_TRUE='#'
37851   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_FALSE=
37852 fi
37853
37854
37855
37856
37857
37858        if  { test "$HAVE_LIBUNISTRING" != yes \
37859     || {
37860
37861
37862
37863             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37864             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37865                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37866                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37867                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37868                          }
37869                     }
37870                }
37871
37872
37873
37874
37875        }
37876   }; then
37877   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_TRUE=
37878   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_FALSE='#'
37879 else
37880   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_TRUE='#'
37881   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_FALSE=
37882 fi
37883
37884
37885
37886
37887
37888        if  { test "$HAVE_LIBUNISTRING" != yes \
37889     || {
37890
37891
37892
37893             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37894             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37895                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37896                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37897                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37898                          }
37899                     }
37900                }
37901
37902
37903
37904
37905        }
37906   }; then
37907   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_TRUE=
37908   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_FALSE='#'
37909 else
37910   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_TRUE='#'
37911   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_FALSE=
37912 fi
37913
37914
37915
37916
37917
37918        if  { test "$HAVE_LIBUNISTRING" != yes \
37919     || {
37920
37921
37922
37923             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37924             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37925                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37926                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37927                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37928                          }
37929                     }
37930                }
37931
37932
37933
37934
37935        }
37936   }; then
37937   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_TRUE=
37938   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_FALSE='#'
37939 else
37940   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_TRUE='#'
37941   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_FALSE=
37942 fi
37943
37944
37945
37946
37947
37948        if  { test "$HAVE_LIBUNISTRING" != yes \
37949     || {
37950
37951
37952
37953             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37954             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37955                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37956                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37957                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37958                          }
37959                     }
37960                }
37961
37962
37963
37964
37965        }
37966   }; then
37967   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_TRUE=
37968   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_FALSE='#'
37969 else
37970   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_TRUE='#'
37971   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_FALSE=
37972 fi
37973
37974
37975
37976
37977
37978        if  { test "$HAVE_LIBUNISTRING" != yes \
37979     || {
37980
37981
37982
37983             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
37984             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
37985                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
37986                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
37987                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
37988                          }
37989                     }
37990                }
37991
37992
37993
37994
37995        }
37996   }; then
37997   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_TRUE=
37998   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_FALSE='#'
37999 else
38000   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_TRUE='#'
38001   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_FALSE=
38002 fi
38003
38004
38005
38006
38007        if  { test "$HAVE_LIBUNISTRING" != yes \
38008     || {
38009
38010
38011
38012             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38013             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38014                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38015                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38016                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
38017                          }
38018                     }
38019                }
38020
38021
38022
38023
38024        }
38025   }; then
38026   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_TRUE=
38027   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_FALSE='#'
38028 else
38029   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_TRUE='#'
38030   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_FALSE=
38031 fi
38032
38033
38034
38035
38036
38037        if  { test "$HAVE_LIBUNISTRING" != yes \
38038     || {
38039
38040
38041
38042             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38043             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38044                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38045                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38046                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38047                          }
38048                     }
38049                }
38050
38051
38052
38053
38054        }
38055   }; then
38056   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_TRUE=
38057   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_FALSE='#'
38058 else
38059   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_TRUE='#'
38060   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_FALSE=
38061 fi
38062
38063
38064
38065
38066
38067        if  { test "$HAVE_LIBUNISTRING" != yes \
38068     || {
38069
38070
38071
38072             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38073             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38074                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38075                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38076                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38077                          }
38078                     }
38079                }
38080
38081
38082
38083
38084        }
38085   }; then
38086   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_TRUE=
38087   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_FALSE='#'
38088 else
38089   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_TRUE='#'
38090   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_FALSE=
38091 fi
38092
38093
38094
38095
38096
38097        if  { test "$HAVE_LIBUNISTRING" != yes \
38098     || {
38099
38100
38101
38102             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38103             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38104                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38105                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38106                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38107                          }
38108                     }
38109                }
38110
38111
38112
38113
38114        }
38115   }; then
38116   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_TRUE=
38117   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_FALSE='#'
38118 else
38119   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_TRUE='#'
38120   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_FALSE=
38121 fi
38122
38123
38124
38125
38126
38127        if  { test "$HAVE_LIBUNISTRING" != yes \
38128     || {
38129
38130
38131
38132             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38133             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38134                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38135                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38136                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38137                          }
38138                     }
38139                }
38140
38141
38142
38143
38144        }
38145   }; then
38146   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_TRUE=
38147   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_FALSE='#'
38148 else
38149   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_TRUE='#'
38150   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_FALSE=
38151 fi
38152
38153
38154
38155
38156
38157        if  { test "$HAVE_LIBUNISTRING" != yes \
38158     || {
38159
38160
38161
38162             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38163             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38164                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38165                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38166                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38167                          }
38168                     }
38169                }
38170
38171
38172
38173
38174        }
38175   }; then
38176   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_TRUE=
38177   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_FALSE='#'
38178 else
38179   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_TRUE='#'
38180   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_FALSE=
38181 fi
38182
38183
38184
38185
38186
38187        if  { test "$HAVE_LIBUNISTRING" != yes \
38188     || {
38189
38190
38191
38192             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38193             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38194                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38195                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38196                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38197                          }
38198                     }
38199                }
38200
38201
38202
38203
38204        }
38205   }; then
38206   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_TRUE=
38207   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_FALSE='#'
38208 else
38209   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_TRUE='#'
38210   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_FALSE=
38211 fi
38212
38213
38214
38215
38216
38217        if  { test "$HAVE_LIBUNISTRING" != yes \
38218     || {
38219
38220
38221
38222             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38223             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38224                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38225                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38226                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38227                          }
38228                     }
38229                }
38230
38231
38232
38233
38234        }
38235   }; then
38236   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_TRUE=
38237   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_FALSE='#'
38238 else
38239   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_TRUE='#'
38240   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_FALSE=
38241 fi
38242
38243
38244
38245
38246
38247        if  { test "$HAVE_LIBUNISTRING" != yes \
38248     || {
38249
38250
38251
38252             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38253             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38254                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38255                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38256                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38257                          }
38258                     }
38259                }
38260
38261
38262
38263
38264        }
38265   }; then
38266   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_TRUE=
38267   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_FALSE='#'
38268 else
38269   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_TRUE='#'
38270   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_FALSE=
38271 fi
38272
38273
38274
38275
38276
38277        if  { test "$HAVE_LIBUNISTRING" != yes \
38278     || {
38279
38280
38281
38282             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38283             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38284                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38285                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38286                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38287                          }
38288                     }
38289                }
38290
38291
38292
38293
38294        }
38295   }; then
38296   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_TRUE=
38297   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_FALSE='#'
38298 else
38299   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_TRUE='#'
38300   LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_FALSE=
38301 fi
38302
38303
38304
38305
38306        if  { test "$HAVE_LIBUNISTRING" != yes \
38307     || {
38308
38309
38310
38311             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38312             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38313                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38314                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38315                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38316                          }
38317                     }
38318                }
38319
38320
38321
38322
38323        }
38324   }; then
38325   LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_TRUE=
38326   LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_FALSE='#'
38327 else
38328   LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_TRUE='#'
38329   LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_FALSE=
38330 fi
38331
38332
38333
38334
38335
38336        if  { test "$HAVE_LIBUNISTRING" != yes \
38337     || {
38338
38339
38340
38341             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38342             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38343                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38344                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38345                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38346                          }
38347                     }
38348                }
38349
38350
38351
38352
38353        }
38354   }; then
38355   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_TRUE=
38356   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_FALSE='#'
38357 else
38358   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_TRUE='#'
38359   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_FALSE=
38360 fi
38361
38362
38363
38364
38365        if  { test "$HAVE_LIBUNISTRING" != yes \
38366     || {
38367
38368
38369
38370             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38371             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38372                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38373                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38374                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
38375                          }
38376                     }
38377                }
38378
38379
38380
38381
38382        }
38383   }; then
38384   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_TRUE=
38385   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_FALSE='#'
38386 else
38387   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_TRUE='#'
38388   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_FALSE=
38389 fi
38390
38391
38392
38393
38394
38395        if  { test "$HAVE_LIBUNISTRING" != yes \
38396     || {
38397
38398
38399
38400             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38401             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38402                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38403                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38404                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38405                          }
38406                     }
38407                }
38408
38409
38410
38411
38412        }
38413   }; then
38414   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_TRUE=
38415   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_FALSE='#'
38416 else
38417   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_TRUE='#'
38418   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_FALSE=
38419 fi
38420
38421
38422
38423
38424        if  { test "$HAVE_LIBUNISTRING" != yes \
38425     || {
38426
38427
38428
38429             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38430             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38431                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38432                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38433                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
38434                          }
38435                     }
38436                }
38437
38438
38439
38440
38441        }
38442   }; then
38443   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_TRUE=
38444   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_FALSE='#'
38445 else
38446   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_TRUE='#'
38447   LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_FALSE=
38448 fi
38449
38450
38451
38452
38453       if  { test "$HAVE_LIBUNISTRING" != yes \
38454     || {
38455
38456
38457
38458             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38459             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38460                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38461                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38462                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
38463                          }
38464                     }
38465                }
38466
38467
38468
38469
38470        }
38471   }; then
38472     LIBUNISTRING_UNIGBRK_H='unigbrk.h'
38473   else
38474     LIBUNISTRING_UNIGBRK_H=
38475   fi
38476
38477
38478
38479
38480 cat >>confdefs.h <<_ACEOF
38481 #define GNULIB_UNIGBRK_U16_GRAPHEME_BREAKS 1
38482 _ACEOF
38483
38484
38485
38486
38487        if  { test "$HAVE_LIBUNISTRING" != yes \
38488     || {
38489
38490
38491
38492             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38493             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38494                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38495                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38496                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38497                          }
38498                     }
38499                }
38500
38501
38502
38503
38504        }
38505   }; then
38506   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_TRUE=
38507   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_FALSE='#'
38508 else
38509   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_TRUE='#'
38510   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_FALSE=
38511 fi
38512
38513
38514
38515
38516 cat >>confdefs.h <<_ACEOF
38517 #define GNULIB_UNIGBRK_U16_GRAPHEME_NEXT 1
38518 _ACEOF
38519
38520
38521
38522
38523        if  { test "$HAVE_LIBUNISTRING" != yes \
38524     || {
38525
38526
38527
38528             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38529             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38530                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38531                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38532                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38533                          }
38534                     }
38535                }
38536
38537
38538
38539
38540        }
38541   }; then
38542   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_TRUE=
38543   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_FALSE='#'
38544 else
38545   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_TRUE='#'
38546   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_FALSE=
38547 fi
38548
38549
38550
38551
38552 cat >>confdefs.h <<_ACEOF
38553 #define GNULIB_UNIGBRK_U16_GRAPHEME_PREV 1
38554 _ACEOF
38555
38556
38557
38558
38559        if  { test "$HAVE_LIBUNISTRING" != yes \
38560     || {
38561
38562
38563
38564             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38565             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38566                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38567                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38568                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38569                          }
38570                     }
38571                }
38572
38573
38574
38575
38576        }
38577   }; then
38578   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_TRUE=
38579   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_FALSE='#'
38580 else
38581   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_TRUE='#'
38582   LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_FALSE=
38583 fi
38584
38585
38586
38587
38588 cat >>confdefs.h <<_ACEOF
38589 #define GNULIB_UNIGBRK_U32_GRAPHEME_BREAKS 1
38590 _ACEOF
38591
38592
38593
38594
38595        if  { test "$HAVE_LIBUNISTRING" != yes \
38596     || {
38597
38598
38599
38600             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38601             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38602                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38603                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38604                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38605                          }
38606                     }
38607                }
38608
38609
38610
38611
38612        }
38613   }; then
38614   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_TRUE=
38615   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_FALSE='#'
38616 else
38617   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_TRUE='#'
38618   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_FALSE=
38619 fi
38620
38621
38622
38623
38624 cat >>confdefs.h <<_ACEOF
38625 #define GNULIB_UNIGBRK_U32_GRAPHEME_NEXT 1
38626 _ACEOF
38627
38628
38629
38630
38631        if  { test "$HAVE_LIBUNISTRING" != yes \
38632     || {
38633
38634
38635
38636             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38637             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38638                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38639                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38640                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38641                          }
38642                     }
38643                }
38644
38645
38646
38647
38648        }
38649   }; then
38650   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_TRUE=
38651   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_FALSE='#'
38652 else
38653   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_TRUE='#'
38654   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_FALSE=
38655 fi
38656
38657
38658
38659
38660 cat >>confdefs.h <<_ACEOF
38661 #define GNULIB_UNIGBRK_U32_GRAPHEME_PREV 1
38662 _ACEOF
38663
38664
38665
38666
38667        if  { test "$HAVE_LIBUNISTRING" != yes \
38668     || {
38669
38670
38671
38672             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38673             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38674                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38675                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38676                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38677                          }
38678                     }
38679                }
38680
38681
38682
38683
38684        }
38685   }; then
38686   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_TRUE=
38687   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_FALSE='#'
38688 else
38689   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_TRUE='#'
38690   LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_FALSE=
38691 fi
38692
38693
38694
38695
38696 cat >>confdefs.h <<_ACEOF
38697 #define GNULIB_UNIGBRK_U8_GRAPHEME_BREAKS 1
38698 _ACEOF
38699
38700
38701
38702
38703        if  { test "$HAVE_LIBUNISTRING" != yes \
38704     || {
38705
38706
38707
38708             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38709             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38710                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38711                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38712                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38713                          }
38714                     }
38715                }
38716
38717
38718
38719
38720        }
38721   }; then
38722   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_TRUE=
38723   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_FALSE='#'
38724 else
38725   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_TRUE='#'
38726   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_FALSE=
38727 fi
38728
38729
38730
38731
38732 cat >>confdefs.h <<_ACEOF
38733 #define GNULIB_UNIGBRK_U8_GRAPHEME_NEXT 1
38734 _ACEOF
38735
38736
38737
38738
38739        if  { test "$HAVE_LIBUNISTRING" != yes \
38740     || {
38741
38742
38743
38744             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38745             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38746                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38747                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38748                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38749                          }
38750                     }
38751                }
38752
38753
38754
38755
38756        }
38757   }; then
38758   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_TRUE=
38759   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_FALSE='#'
38760 else
38761   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_TRUE='#'
38762   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_FALSE=
38763 fi
38764
38765
38766
38767
38768 cat >>confdefs.h <<_ACEOF
38769 #define GNULIB_UNIGBRK_U8_GRAPHEME_PREV 1
38770 _ACEOF
38771
38772
38773
38774
38775        if  { test "$HAVE_LIBUNISTRING" != yes \
38776     || {
38777
38778
38779
38780             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38781             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38782                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38783                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38784                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38785                          }
38786                     }
38787                }
38788
38789
38790
38791
38792        }
38793   }; then
38794   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_TRUE=
38795   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_FALSE='#'
38796 else
38797   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_TRUE='#'
38798   LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_FALSE=
38799 fi
38800
38801
38802
38803
38804        if  { test "$HAVE_LIBUNISTRING" != yes \
38805     || {
38806
38807
38808
38809             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38810             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38811                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38812                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38813                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38814                          }
38815                     }
38816                }
38817
38818
38819
38820
38821        }
38822   }; then
38823   LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_TRUE=
38824   LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_FALSE='#'
38825 else
38826   LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_TRUE='#'
38827   LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_FALSE=
38828 fi
38829
38830
38831
38832
38833        if  { test "$HAVE_LIBUNISTRING" != yes \
38834     || {
38835
38836
38837
38838             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38839             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38840                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38841                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38842                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38843                          }
38844                     }
38845                }
38846
38847
38848
38849
38850        }
38851   }; then
38852   LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_TRUE=
38853   LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_FALSE='#'
38854 else
38855   LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_TRUE='#'
38856   LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_FALSE=
38857 fi
38858
38859
38860
38861
38862 cat >>confdefs.h <<_ACEOF
38863 #define GNULIB_UNIGBRK_ULC_GRAPHEME_BREAKS 1
38864 _ACEOF
38865
38866
38867
38868
38869        if  { test "$HAVE_LIBUNISTRING" != yes \
38870     || {
38871
38872
38873
38874             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38875             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38876                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38877                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38878                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38879                          }
38880                     }
38881                }
38882
38883
38884
38885
38886        }
38887   }; then
38888   LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_TRUE=
38889   LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_FALSE='#'
38890 else
38891   LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_TRUE='#'
38892   LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_FALSE=
38893 fi
38894
38895
38896
38897
38898       if  { test "$HAVE_LIBUNISTRING" != yes \
38899     || {
38900
38901
38902
38903             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38904             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38905                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38906                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38907                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
38908                          }
38909                     }
38910                }
38911
38912
38913
38914
38915        }
38916   }; then
38917     LIBUNISTRING_UNILBRK_H='unilbrk.h'
38918   else
38919     LIBUNISTRING_UNILBRK_H=
38920   fi
38921
38922
38923
38924
38925
38926        if  { test "$HAVE_LIBUNISTRING" != yes \
38927     || {
38928
38929
38930
38931             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38932             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38933                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38934                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38935                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38936                          }
38937                     }
38938                }
38939
38940
38941
38942
38943        }
38944   }; then
38945   LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_TRUE=
38946   LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_FALSE='#'
38947 else
38948   LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_TRUE='#'
38949   LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_FALSE=
38950 fi
38951
38952
38953
38954
38955        if  { test "$HAVE_LIBUNISTRING" != yes \
38956     || {
38957
38958
38959
38960             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38961             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38962                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38963                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38964                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38965                          }
38966                     }
38967                }
38968
38969
38970
38971
38972        }
38973   }; then
38974   LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_TRUE=
38975   LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_FALSE='#'
38976 else
38977   LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_TRUE='#'
38978   LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_FALSE=
38979 fi
38980
38981
38982
38983
38984        if  { test "$HAVE_LIBUNISTRING" != yes \
38985     || {
38986
38987
38988
38989             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
38990             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
38991                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
38992                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
38993                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
38994                          }
38995                     }
38996                }
38997
38998
38999
39000
39001        }
39002   }; then
39003   LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_TRUE=
39004   LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_FALSE='#'
39005 else
39006   LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_TRUE='#'
39007   LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_FALSE=
39008 fi
39009
39010
39011
39012
39013        if  { test "$HAVE_LIBUNISTRING" != yes \
39014     || {
39015
39016
39017
39018             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39019             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39020                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39021                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39022                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39023                          }
39024                     }
39025                }
39026
39027
39028
39029
39030        }
39031   }; then
39032   LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_TRUE=
39033   LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_FALSE='#'
39034 else
39035   LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_TRUE='#'
39036   LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_FALSE=
39037 fi
39038
39039
39040
39041
39042        if  { test "$HAVE_LIBUNISTRING" != yes \
39043     || {
39044
39045
39046
39047             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39048             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39049                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39050                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39051                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39052                          }
39053                     }
39054                }
39055
39056
39057
39058
39059        }
39060   }; then
39061   LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_TRUE=
39062   LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_FALSE='#'
39063 else
39064   LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_TRUE='#'
39065   LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_FALSE=
39066 fi
39067
39068
39069
39070
39071        if  { test "$HAVE_LIBUNISTRING" != yes \
39072     || {
39073
39074
39075
39076             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39077             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39078                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39079                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39080                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39081                          }
39082                     }
39083                }
39084
39085
39086
39087
39088        }
39089   }; then
39090   LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_TRUE=
39091   LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_FALSE='#'
39092 else
39093   LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_TRUE='#'
39094   LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_FALSE=
39095 fi
39096
39097
39098
39099
39100        if  { test "$HAVE_LIBUNISTRING" != yes \
39101     || {
39102
39103
39104
39105             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39106             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39107                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39108                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39109                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39110                          }
39111                     }
39112                }
39113
39114
39115
39116
39117        }
39118   }; then
39119   LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_TRUE=
39120   LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_FALSE='#'
39121 else
39122   LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_TRUE='#'
39123   LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_FALSE=
39124 fi
39125
39126
39127
39128
39129        if  { test "$HAVE_LIBUNISTRING" != yes \
39130     || {
39131
39132
39133
39134             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39135             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39136                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39137                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39138                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39139                          }
39140                     }
39141                }
39142
39143
39144
39145
39146        }
39147   }; then
39148   LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_TRUE=
39149   LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_FALSE='#'
39150 else
39151   LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_TRUE='#'
39152   LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_FALSE=
39153 fi
39154
39155
39156
39157
39158       if  { test "$HAVE_LIBUNISTRING" != yes \
39159     || {
39160
39161
39162
39163             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39164             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39165                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39166                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39167                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
39168                          }
39169                     }
39170                }
39171
39172
39173
39174
39175        }
39176   }; then
39177     LIBUNISTRING_UNINAME_H='uniname.h'
39178   else
39179     LIBUNISTRING_UNINAME_H=
39180   fi
39181
39182
39183
39184
39185        if  { test "$HAVE_LIBUNISTRING" != yes \
39186     || {
39187
39188
39189
39190             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39191             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39192                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39193                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39194                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39195                          }
39196                     }
39197                }
39198
39199
39200
39201
39202        }
39203   }; then
39204   LIBUNISTRING_COMPILE_UNINAME_UNINAME_TRUE=
39205   LIBUNISTRING_COMPILE_UNINAME_UNINAME_FALSE='#'
39206 else
39207   LIBUNISTRING_COMPILE_UNINAME_UNINAME_TRUE='#'
39208   LIBUNISTRING_COMPILE_UNINAME_UNINAME_FALSE=
39209 fi
39210
39211
39212
39213
39214       if  { test "$HAVE_LIBUNISTRING" != yes \
39215     || {
39216
39217
39218
39219             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39220             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39221                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39222                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39223                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
39224                          }
39225                     }
39226                }
39227
39228
39229
39230
39231        }
39232   }; then
39233     LIBUNISTRING_UNINORM_H='uninorm.h'
39234   else
39235     LIBUNISTRING_UNINORM_H=
39236   fi
39237
39238
39239
39240
39241        if  { test "$HAVE_LIBUNISTRING" != yes \
39242     || {
39243
39244
39245
39246             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39247             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39248                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39249                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39250                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39251                          }
39252                     }
39253                }
39254
39255
39256
39257
39258        }
39259   }; then
39260   LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_TRUE=
39261   LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_FALSE='#'
39262 else
39263   LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_TRUE='#'
39264   LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_FALSE=
39265 fi
39266
39267
39268
39269
39270        if  { test "$HAVE_LIBUNISTRING" != yes \
39271     || {
39272
39273
39274
39275             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39276             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39277                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39278                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39279                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39280                          }
39281                     }
39282                }
39283
39284
39285
39286
39287        }
39288   }; then
39289   LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_TRUE=
39290   LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_FALSE='#'
39291 else
39292   LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_TRUE='#'
39293   LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_FALSE=
39294 fi
39295
39296
39297
39298
39299        if  { test "$HAVE_LIBUNISTRING" != yes \
39300     || {
39301
39302
39303
39304             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39305             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39306                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39307                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39308                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 5
39309                          }
39310                     }
39311                }
39312
39313
39314
39315
39316        }
39317   }; then
39318   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_TRUE=
39319   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_FALSE='#'
39320 else
39321   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_TRUE='#'
39322   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_FALSE=
39323 fi
39324
39325
39326
39327
39328        if  { test "$HAVE_LIBUNISTRING" != yes \
39329     || {
39330
39331
39332
39333             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39334             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39335                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39336                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39337                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39338                          }
39339                     }
39340                }
39341
39342
39343
39344
39345        }
39346   }; then
39347   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_TRUE=
39348   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_FALSE='#'
39349 else
39350   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_TRUE='#'
39351   LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_FALSE=
39352 fi
39353
39354
39355
39356
39357
39358        if  { test "$HAVE_LIBUNISTRING" != yes \
39359     || {
39360
39361
39362
39363             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39364             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39365                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39366                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39367                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39368                          }
39369                     }
39370                }
39371
39372
39373
39374
39375        }
39376   }; then
39377   LIBUNISTRING_COMPILE_UNINORM_FILTER_TRUE=
39378   LIBUNISTRING_COMPILE_UNINORM_FILTER_FALSE='#'
39379 else
39380   LIBUNISTRING_COMPILE_UNINORM_FILTER_TRUE='#'
39381   LIBUNISTRING_COMPILE_UNINORM_FILTER_FALSE=
39382 fi
39383
39384
39385
39386
39387        if  { test "$HAVE_LIBUNISTRING" != yes \
39388     || {
39389
39390
39391
39392             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39393             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39394                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39395                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39396                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39397                          }
39398                     }
39399                }
39400
39401
39402
39403
39404        }
39405   }; then
39406   LIBUNISTRING_COMPILE_UNINORM_NFC_TRUE=
39407   LIBUNISTRING_COMPILE_UNINORM_NFC_FALSE='#'
39408 else
39409   LIBUNISTRING_COMPILE_UNINORM_NFC_TRUE='#'
39410   LIBUNISTRING_COMPILE_UNINORM_NFC_FALSE=
39411 fi
39412
39413
39414
39415
39416        if  { test "$HAVE_LIBUNISTRING" != yes \
39417     || {
39418
39419
39420
39421             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39422             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39423                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39424                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39425                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39426                          }
39427                     }
39428                }
39429
39430
39431
39432
39433        }
39434   }; then
39435   LIBUNISTRING_COMPILE_UNINORM_NFD_TRUE=
39436   LIBUNISTRING_COMPILE_UNINORM_NFD_FALSE='#'
39437 else
39438   LIBUNISTRING_COMPILE_UNINORM_NFD_TRUE='#'
39439   LIBUNISTRING_COMPILE_UNINORM_NFD_FALSE=
39440 fi
39441
39442
39443
39444
39445        if  { test "$HAVE_LIBUNISTRING" != yes \
39446     || {
39447
39448
39449
39450             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39451             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39452                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39453                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39454                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39455                          }
39456                     }
39457                }
39458
39459
39460
39461
39462        }
39463   }; then
39464   LIBUNISTRING_COMPILE_UNINORM_NFKC_TRUE=
39465   LIBUNISTRING_COMPILE_UNINORM_NFKC_FALSE='#'
39466 else
39467   LIBUNISTRING_COMPILE_UNINORM_NFKC_TRUE='#'
39468   LIBUNISTRING_COMPILE_UNINORM_NFKC_FALSE=
39469 fi
39470
39471
39472
39473
39474        if  { test "$HAVE_LIBUNISTRING" != yes \
39475     || {
39476
39477
39478
39479             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39480             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39481                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39482                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39483                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39484                          }
39485                     }
39486                }
39487
39488
39489
39490
39491        }
39492   }; then
39493   LIBUNISTRING_COMPILE_UNINORM_NFKD_TRUE=
39494   LIBUNISTRING_COMPILE_UNINORM_NFKD_FALSE='#'
39495 else
39496   LIBUNISTRING_COMPILE_UNINORM_NFKD_TRUE='#'
39497   LIBUNISTRING_COMPILE_UNINORM_NFKD_FALSE=
39498 fi
39499
39500
39501
39502
39503 $as_echo "#define GNULIB_TEST_UNINORM_U16_NORMALIZE 1" >>confdefs.h
39504
39505
39506
39507
39508        if  { test "$HAVE_LIBUNISTRING" != yes \
39509     || {
39510
39511
39512
39513             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39514             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39515                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39516                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39517                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39518                          }
39519                     }
39520                }
39521
39522
39523
39524
39525        }
39526   }; then
39527   LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_TRUE=
39528   LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_FALSE='#'
39529 else
39530   LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_TRUE='#'
39531   LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_FALSE=
39532 fi
39533
39534
39535
39536
39537        if  { test "$HAVE_LIBUNISTRING" != yes \
39538     || {
39539
39540
39541
39542             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39543             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39544                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39545                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39546                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39547                          }
39548                     }
39549                }
39550
39551
39552
39553
39554        }
39555   }; then
39556   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_TRUE=
39557   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_FALSE='#'
39558 else
39559   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_TRUE='#'
39560   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_FALSE=
39561 fi
39562
39563
39564
39565
39566        if  { test "$HAVE_LIBUNISTRING" != yes \
39567     || {
39568
39569
39570
39571             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39572             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39573                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39574                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39575                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39576                          }
39577                     }
39578                }
39579
39580
39581
39582
39583        }
39584   }; then
39585   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_TRUE=
39586   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_FALSE='#'
39587 else
39588   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_TRUE='#'
39589   LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_FALSE=
39590 fi
39591
39592
39593
39594
39595        if  { test "$HAVE_LIBUNISTRING" != yes \
39596     || {
39597
39598
39599
39600             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39601             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39602                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39603                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39604                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39605                          }
39606                     }
39607                }
39608
39609
39610
39611
39612        }
39613   }; then
39614   LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_TRUE=
39615   LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_FALSE='#'
39616 else
39617   LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_TRUE='#'
39618   LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_FALSE=
39619 fi
39620
39621
39622
39623
39624 $as_echo "#define GNULIB_TEST_UNINORM_U32_NORMALIZE 1" >>confdefs.h
39625
39626
39627
39628
39629        if  { test "$HAVE_LIBUNISTRING" != yes \
39630     || {
39631
39632
39633
39634             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39635             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39636                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39637                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39638                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39639                          }
39640                     }
39641                }
39642
39643
39644
39645
39646        }
39647   }; then
39648   LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_TRUE=
39649   LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_FALSE='#'
39650 else
39651   LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_TRUE='#'
39652   LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_FALSE=
39653 fi
39654
39655
39656
39657
39658        if  { test "$HAVE_LIBUNISTRING" != yes \
39659     || {
39660
39661
39662
39663             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39664             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39665                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39666                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39667                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39668                          }
39669                     }
39670                }
39671
39672
39673
39674
39675        }
39676   }; then
39677   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_TRUE=
39678   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_FALSE='#'
39679 else
39680   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_TRUE='#'
39681   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_FALSE=
39682 fi
39683
39684
39685
39686
39687        if  { test "$HAVE_LIBUNISTRING" != yes \
39688     || {
39689
39690
39691
39692             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39693             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39694                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39695                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39696                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39697                          }
39698                     }
39699                }
39700
39701
39702
39703
39704        }
39705   }; then
39706   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_TRUE=
39707   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_FALSE='#'
39708 else
39709   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_TRUE='#'
39710   LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_FALSE=
39711 fi
39712
39713
39714
39715
39716        if  { test "$HAVE_LIBUNISTRING" != yes \
39717     || {
39718
39719
39720
39721             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39722             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39723                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39724                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39725                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39726                          }
39727                     }
39728                }
39729
39730
39731
39732
39733        }
39734   }; then
39735   LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_TRUE=
39736   LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_FALSE='#'
39737 else
39738   LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_TRUE='#'
39739   LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_FALSE=
39740 fi
39741
39742
39743
39744
39745 $as_echo "#define GNULIB_TEST_UNINORM_U8_NORMALIZE 1" >>confdefs.h
39746
39747
39748
39749
39750        if  { test "$HAVE_LIBUNISTRING" != yes \
39751     || {
39752
39753
39754
39755             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39756             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39757                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39758                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39759                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39760                          }
39761                     }
39762                }
39763
39764
39765
39766
39767        }
39768   }; then
39769   LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_TRUE=
39770   LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_FALSE='#'
39771 else
39772   LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_TRUE='#'
39773   LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_FALSE=
39774 fi
39775
39776
39777
39778
39779        if  { test "$HAVE_LIBUNISTRING" != yes \
39780     || {
39781
39782
39783
39784             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39785             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39786                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39787                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39788                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39789                          }
39790                     }
39791                }
39792
39793
39794
39795
39796        }
39797   }; then
39798   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_TRUE=
39799   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_FALSE='#'
39800 else
39801   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_TRUE='#'
39802   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_FALSE=
39803 fi
39804
39805
39806
39807
39808        if  { test "$HAVE_LIBUNISTRING" != yes \
39809     || {
39810
39811
39812
39813             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39814             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39815                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39816                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39817                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39818                          }
39819                     }
39820                }
39821
39822
39823
39824
39825        }
39826   }; then
39827   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_TRUE=
39828   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_FALSE='#'
39829 else
39830   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_TRUE='#'
39831   LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_FALSE=
39832 fi
39833
39834
39835
39836
39837        if  { test "$HAVE_LIBUNISTRING" != yes \
39838     || {
39839
39840
39841
39842             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
39843             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
39844                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
39845                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
39846                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
39847                          }
39848                     }
39849                }
39850
39851
39852
39853
39854        }
39855   }; then
39856   LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_TRUE=
39857   LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_FALSE='#'
39858 else
39859   LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_TRUE='#'
39860   LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_FALSE=
39861 fi
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876      if test $gl_cv_have_include_next = yes; then
39877        gl_cv_next_unistd_h='<'unistd.h'>'
39878      else
39879        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
39880 $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
39881 if ${gl_cv_next_unistd_h+:} false; then :
39882   $as_echo_n "(cached) " >&6
39883 else
39884
39885              if test $ac_cv_header_unistd_h = yes; then
39886
39887
39888
39889
39890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39891 /* end confdefs.h.  */
39892 #include <unistd.h>
39893 _ACEOF
39894                 case "$host_os" in
39895     aix*) gl_absname_cpp="$ac_cpp -C" ;;
39896     *)    gl_absname_cpp="$ac_cpp" ;;
39897   esac
39898
39899   case "$host_os" in
39900     mingw*)
39901                                           gl_dirsep_regex='[/\\]'
39902       ;;
39903     *)
39904       gl_dirsep_regex='\/'
39905       ;;
39906   esac
39907       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
39908   gl_header_literal_regex=`echo 'unistd.h' \
39909                            | sed -e "$gl_make_literal_regex_sed"`
39910   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
39911       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
39912       s|^/[^/]|//&|
39913       p
39914       q
39915     }'
39916
39917         gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
39918   sed -n "$gl_absolute_header_sed"`
39919
39920            gl_header=$gl_cv_absolute_unistd_h
39921            gl_cv_next_unistd_h='"'$gl_header'"'
39922           else
39923                gl_cv_next_unistd_h='<'unistd.h'>'
39924              fi
39925
39926
39927 fi
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
39929 $as_echo "$gl_cv_next_unistd_h" >&6; }
39930      fi
39931      NEXT_UNISTD_H=$gl_cv_next_unistd_h
39932
39933      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
39934        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
39935        gl_next_as_first_directive='<'unistd.h'>'
39936      else
39937        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
39938        gl_next_as_first_directive=$gl_cv_next_unistd_h
39939      fi
39940      NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
39941
39942
39943
39944
39945   if test $ac_cv_header_unistd_h = yes; then
39946     HAVE_UNISTD_H=1
39947   else
39948     HAVE_UNISTD_H=0
39949   fi
39950
39951
39952
39953
39954
39955
39956
39957     for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat     fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize     getusershell setusershell endusershell     group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite     readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r     unlink unlinkat usleep; do
39958     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
39959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
39960 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
39961 if eval \${$as_gl_Symbol+:} false; then :
39962   $as_echo_n "(cached) " >&6
39963 else
39964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39965 /* end confdefs.h.  */
39966
39967 #if HAVE_UNISTD_H
39968 # include <unistd.h>
39969 #endif
39970 /* Some systems declare various items in the wrong headers.  */
39971 #if !(defined __GLIBC__ && !defined __UCLIBC__)
39972 # include <fcntl.h>
39973 # include <stdio.h>
39974 # include <stdlib.h>
39975 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
39976 #  include <io.h>
39977 # endif
39978 #endif
39979
39980 int
39981 main ()
39982 {
39983 #undef $gl_func
39984   (void) $gl_func;
39985   ;
39986   return 0;
39987 }
39988 _ACEOF
39989 if ac_fn_c_try_compile "$LINENO"; then :
39990   eval "$as_gl_Symbol=yes"
39991 else
39992   eval "$as_gl_Symbol=no"
39993 fi
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995 fi
39996 eval ac_res=\$$as_gl_Symbol
39997                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
39998 $as_echo "$ac_res" >&6; }
39999     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
40000   cat >>confdefs.h <<_ACEOF
40001 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
40002 _ACEOF
40003
40004                      eval ac_cv_have_decl_$gl_func=yes
40005 fi
40006       done
40007
40008
40009
40010
40011       if  { test "$HAVE_LIBUNISTRING" != yes \
40012     || {
40013
40014
40015
40016             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40017             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40018                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40019                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40020                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
40021                          }
40022                     }
40023                }
40024
40025
40026
40027
40028        }
40029   }; then
40030     LIBUNISTRING_UNISTDIO_H='unistdio.h'
40031   else
40032     LIBUNISTRING_UNISTDIO_H=
40033   fi
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043        if  { test "$HAVE_LIBUNISTRING" != yes \
40044     || {
40045
40046
40047
40048             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40049             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40050                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40051                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40052                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40053                          }
40054                     }
40055                }
40056
40057
40058
40059
40060        }
40061   }; then
40062   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_TRUE=
40063   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_FALSE='#'
40064 else
40065   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_TRUE='#'
40066   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_FALSE=
40067 fi
40068
40069
40070
40071
40072        if  { test "$HAVE_LIBUNISTRING" != yes \
40073     || {
40074
40075
40076
40077             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40078             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40079                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40080                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40081                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40082                          }
40083                     }
40084                }
40085
40086
40087
40088
40089        }
40090   }; then
40091   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_TRUE=
40092   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_FALSE='#'
40093 else
40094   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_TRUE='#'
40095   LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_FALSE=
40096 fi
40097
40098
40099
40100
40101
40102
40103
40104
40105   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
40106 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
40107
40108 else
40109
40110 $as_echo "#define ptrdiff_t long" >>confdefs.h
40111
40112
40113 fi
40114
40115
40116
40117
40118
40119        if  { test "$HAVE_LIBUNISTRING" != yes \
40120     || {
40121
40122
40123
40124             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40125             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40126                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40127                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40128                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40129                          }
40130                     }
40131                }
40132
40133
40134
40135
40136        }
40137   }; then
40138   LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_TRUE=
40139   LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_FALSE='#'
40140 else
40141   LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_TRUE='#'
40142   LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_FALSE=
40143 fi
40144
40145
40146
40147
40148        if  { test "$HAVE_LIBUNISTRING" != yes \
40149     || {
40150
40151
40152
40153             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40154             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40155                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40156                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40157                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40158                          }
40159                     }
40160                }
40161
40162
40163
40164
40165        }
40166   }; then
40167   LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_TRUE=
40168   LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_FALSE='#'
40169 else
40170   LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_TRUE='#'
40171   LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_FALSE=
40172 fi
40173
40174
40175
40176
40177        if  { test "$HAVE_LIBUNISTRING" != yes \
40178     || {
40179
40180
40181
40182             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40183             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40184                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40185                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40186                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40187                          }
40188                     }
40189                }
40190
40191
40192
40193
40194        }
40195   }; then
40196   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_TRUE=
40197   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_FALSE='#'
40198 else
40199   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_TRUE='#'
40200   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_FALSE=
40201 fi
40202
40203
40204
40205
40206        if  { test "$HAVE_LIBUNISTRING" != yes \
40207     || {
40208
40209
40210
40211             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40212             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40213                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40214                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40215                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40216                          }
40217                     }
40218                }
40219
40220
40221
40222
40223        }
40224   }; then
40225   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_TRUE=
40226   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_FALSE='#'
40227 else
40228   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_TRUE='#'
40229   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_FALSE=
40230 fi
40231
40232
40233
40234
40235        if  { test "$HAVE_LIBUNISTRING" != yes \
40236     || {
40237
40238
40239
40240             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40241             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40242                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40243                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40244                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40245                          }
40246                     }
40247                }
40248
40249
40250
40251
40252        }
40253   }; then
40254   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_TRUE=
40255   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_FALSE='#'
40256 else
40257   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_TRUE='#'
40258   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_FALSE=
40259 fi
40260
40261
40262
40263
40264        if  { test "$HAVE_LIBUNISTRING" != yes \
40265     || {
40266
40267
40268
40269             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40270             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40271                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40272                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40273                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40274                          }
40275                     }
40276                }
40277
40278
40279
40280
40281        }
40282   }; then
40283   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_TRUE=
40284   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_FALSE='#'
40285 else
40286   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_TRUE='#'
40287   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_FALSE=
40288 fi
40289
40290
40291
40292
40293
40294
40295
40296   case "$gl_cv_func_printf_infinite" in
40297     *yes)
40298       ;;
40299     *)
40300
40301 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
40302
40303       ;;
40304   esac
40305
40306
40307
40308
40309   case "$gl_cv_func_printf_long_double" in
40310     *yes)
40311       case "$gl_cv_func_printf_infinite_long_double" in
40312         *yes)
40313           ;;
40314         *)
40315
40316 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
40317
40318           ;;
40319       esac
40320       ;;
40321   esac
40322
40323
40324
40325   case "$gl_cv_func_printf_directive_a" in
40326     *yes)
40327       ;;
40328     *)
40329
40330 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
40331
40332       for ac_func in nl_langinfo
40333 do :
40334   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
40335 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
40336   cat >>confdefs.h <<_ACEOF
40337 #define HAVE_NL_LANGINFO 1
40338 _ACEOF
40339
40340 fi
40341 done
40342
40343       ;;
40344   esac
40345
40346
40347
40348   case "$gl_cv_func_printf_directive_f" in
40349     *yes)
40350       ;;
40351     *)
40352
40353 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
40354
40355       ;;
40356   esac
40357
40358
40359
40360   case "$gl_cv_func_printf_directive_ls" in
40361     *yes)
40362       ;;
40363     *)
40364
40365 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
40366
40367       ;;
40368   esac
40369
40370
40371
40372   case "$gl_cv_func_printf_flag_grouping" in
40373     *yes)
40374       ;;
40375     *)
40376
40377 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
40378
40379       ;;
40380   esac
40381
40382
40383
40384   case "$gl_cv_func_printf_flag_leftadjust" in
40385     *yes)
40386       ;;
40387     *)
40388
40389 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
40390
40391       ;;
40392   esac
40393
40394
40395
40396   case "$gl_cv_func_printf_flag_zero" in
40397     *yes)
40398       ;;
40399     *)
40400
40401 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
40402
40403       ;;
40404   esac
40405
40406
40407
40408   case "$gl_cv_func_printf_precision" in
40409     *yes)
40410       ;;
40411     *)
40412
40413 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
40414
40415
40416 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
40417
40418
40419 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
40420
40421       ;;
40422   esac
40423
40424
40425
40426   case "$gl_cv_func_printf_enomem" in
40427     *yes)
40428       ;;
40429     *)
40430
40431 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
40432
40433
40434 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
40435
40436
40437 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
40438
40439       ;;
40440   esac
40441
40442
40443
40444
40445        if  { test "$HAVE_LIBUNISTRING" != yes \
40446     || {
40447
40448
40449
40450             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40451             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40452                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40453                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40454                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40455                          }
40456                     }
40457                }
40458
40459
40460
40461
40462        }
40463   }; then
40464   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_TRUE=
40465   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_FALSE='#'
40466 else
40467   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_TRUE='#'
40468   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_FALSE=
40469 fi
40470
40471
40472
40473
40474        if  { test "$HAVE_LIBUNISTRING" != yes \
40475     || {
40476
40477
40478
40479             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40480             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40481                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40482                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40483                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40484                          }
40485                     }
40486                }
40487
40488
40489
40490
40491        }
40492   }; then
40493   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_TRUE=
40494   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_FALSE='#'
40495 else
40496   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_TRUE='#'
40497   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_FALSE=
40498 fi
40499
40500
40501
40502
40503        if  { test "$HAVE_LIBUNISTRING" != yes \
40504     || {
40505
40506
40507
40508             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40509             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40510                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40511                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40512                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40513                          }
40514                     }
40515                }
40516
40517
40518
40519
40520        }
40521   }; then
40522   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_TRUE=
40523   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_FALSE='#'
40524 else
40525   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_TRUE='#'
40526   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_FALSE=
40527 fi
40528
40529
40530
40531
40532        if  { test "$HAVE_LIBUNISTRING" != yes \
40533     || {
40534
40535
40536
40537             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40538             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40539                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40540                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40541                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40542                          }
40543                     }
40544                }
40545
40546
40547
40548
40549        }
40550   }; then
40551   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_TRUE=
40552   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_FALSE='#'
40553 else
40554   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_TRUE='#'
40555   LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_FALSE=
40556 fi
40557
40558
40559
40560
40561
40562
40563
40564   case "$gl_cv_func_printf_infinite" in
40565     *yes)
40566       ;;
40567     *)
40568
40569 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
40570
40571       ;;
40572   esac
40573
40574
40575
40576
40577   case "$gl_cv_func_printf_long_double" in
40578     *yes)
40579       case "$gl_cv_func_printf_infinite_long_double" in
40580         *yes)
40581           ;;
40582         *)
40583
40584 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
40585
40586           ;;
40587       esac
40588       ;;
40589   esac
40590
40591
40592
40593   case "$gl_cv_func_printf_directive_a" in
40594     *yes)
40595       ;;
40596     *)
40597
40598 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
40599
40600       for ac_func in nl_langinfo
40601 do :
40602   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
40603 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
40604   cat >>confdefs.h <<_ACEOF
40605 #define HAVE_NL_LANGINFO 1
40606 _ACEOF
40607
40608 fi
40609 done
40610
40611       ;;
40612   esac
40613
40614
40615
40616   case "$gl_cv_func_printf_directive_f" in
40617     *yes)
40618       ;;
40619     *)
40620
40621 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
40622
40623       ;;
40624   esac
40625
40626
40627
40628   case "$gl_cv_func_printf_directive_ls" in
40629     *yes)
40630       ;;
40631     *)
40632
40633 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
40634
40635       ;;
40636   esac
40637
40638
40639
40640   case "$gl_cv_func_printf_flag_grouping" in
40641     *yes)
40642       ;;
40643     *)
40644
40645 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
40646
40647       ;;
40648   esac
40649
40650
40651
40652   case "$gl_cv_func_printf_flag_leftadjust" in
40653     *yes)
40654       ;;
40655     *)
40656
40657 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
40658
40659       ;;
40660   esac
40661
40662
40663
40664   case "$gl_cv_func_printf_flag_zero" in
40665     *yes)
40666       ;;
40667     *)
40668
40669 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
40670
40671       ;;
40672   esac
40673
40674
40675
40676   case "$gl_cv_func_printf_precision" in
40677     *yes)
40678       ;;
40679     *)
40680
40681 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
40682
40683
40684 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
40685
40686
40687 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
40688
40689       ;;
40690   esac
40691
40692
40693
40694   case "$gl_cv_func_printf_enomem" in
40695     *yes)
40696       ;;
40697     *)
40698
40699 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
40700
40701
40702 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
40703
40704
40705 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
40706
40707       ;;
40708   esac
40709
40710
40711
40712
40713        if  { test "$HAVE_LIBUNISTRING" != yes \
40714     || {
40715
40716
40717
40718             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40719             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40720                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40721                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40722                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40723                          }
40724                     }
40725                }
40726
40727
40728
40729
40730        }
40731   }; then
40732   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_TRUE=
40733   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_FALSE='#'
40734 else
40735   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_TRUE='#'
40736   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_FALSE=
40737 fi
40738
40739
40740
40741
40742        if  { test "$HAVE_LIBUNISTRING" != yes \
40743     || {
40744
40745
40746
40747             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40748             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40749                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40750                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40751                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40752                          }
40753                     }
40754                }
40755
40756
40757
40758
40759        }
40760   }; then
40761   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_TRUE=
40762   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_FALSE='#'
40763 else
40764   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_TRUE='#'
40765   LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_FALSE=
40766 fi
40767
40768
40769
40770
40771        if  { test "$HAVE_LIBUNISTRING" != yes \
40772     || {
40773
40774
40775
40776             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40777             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40778                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40779                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40780                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40781                          }
40782                     }
40783                }
40784
40785
40786
40787
40788        }
40789   }; then
40790   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_TRUE=
40791   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_FALSE='#'
40792 else
40793   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_TRUE='#'
40794   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_FALSE=
40795 fi
40796
40797
40798
40799
40800        if  { test "$HAVE_LIBUNISTRING" != yes \
40801     || {
40802
40803
40804
40805             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40806             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40807                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40808                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40809                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40810                          }
40811                     }
40812                }
40813
40814
40815
40816
40817        }
40818   }; then
40819   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_TRUE=
40820   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_FALSE='#'
40821 else
40822   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_TRUE='#'
40823   LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_FALSE=
40824 fi
40825
40826
40827
40828
40829        if  { test "$HAVE_LIBUNISTRING" != yes \
40830     || {
40831
40832
40833
40834             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40835             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40836                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40837                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40838                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40839                          }
40840                     }
40841                }
40842
40843
40844
40845
40846        }
40847   }; then
40848   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_TRUE=
40849   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_FALSE='#'
40850 else
40851   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_TRUE='#'
40852   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_FALSE=
40853 fi
40854
40855
40856
40857
40858        if  { test "$HAVE_LIBUNISTRING" != yes \
40859     || {
40860
40861
40862
40863             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40864             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40865                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40866                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40867                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40868                          }
40869                     }
40870                }
40871
40872
40873
40874
40875        }
40876   }; then
40877   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_TRUE=
40878   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_FALSE='#'
40879 else
40880   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_TRUE='#'
40881   LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_FALSE=
40882 fi
40883
40884
40885
40886
40887
40888
40889
40890
40891   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
40892 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
40893
40894 else
40895
40896 $as_echo "#define ptrdiff_t long" >>confdefs.h
40897
40898
40899 fi
40900
40901
40902
40903
40904
40905        if  { test "$HAVE_LIBUNISTRING" != yes \
40906     || {
40907
40908
40909
40910             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40911             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40912                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40913                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40914                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40915                          }
40916                     }
40917                }
40918
40919
40920
40921
40922        }
40923   }; then
40924   LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_TRUE=
40925   LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_FALSE='#'
40926 else
40927   LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_TRUE='#'
40928   LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_FALSE=
40929 fi
40930
40931
40932
40933
40934        if  { test "$HAVE_LIBUNISTRING" != yes \
40935     || {
40936
40937
40938
40939             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40940             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40941                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40942                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40943                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40944                          }
40945                     }
40946                }
40947
40948
40949
40950
40951        }
40952   }; then
40953   LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_TRUE=
40954   LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_FALSE='#'
40955 else
40956   LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_TRUE='#'
40957   LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_FALSE=
40958 fi
40959
40960
40961
40962
40963        if  { test "$HAVE_LIBUNISTRING" != yes \
40964     || {
40965
40966
40967
40968             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40969             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40970                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
40971                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
40972                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
40973                          }
40974                     }
40975                }
40976
40977
40978
40979
40980        }
40981   }; then
40982   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_TRUE=
40983   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_FALSE='#'
40984 else
40985   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_TRUE='#'
40986   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_FALSE=
40987 fi
40988
40989
40990
40991
40992        if  { test "$HAVE_LIBUNISTRING" != yes \
40993     || {
40994
40995
40996
40997             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
40998             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
40999                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41000                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41001                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41002                          }
41003                     }
41004                }
41005
41006
41007
41008
41009        }
41010   }; then
41011   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_TRUE=
41012   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_FALSE='#'
41013 else
41014   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_TRUE='#'
41015   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_FALSE=
41016 fi
41017
41018
41019
41020
41021        if  { test "$HAVE_LIBUNISTRING" != yes \
41022     || {
41023
41024
41025
41026             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41027             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41028                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41029                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41030                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41031                          }
41032                     }
41033                }
41034
41035
41036
41037
41038        }
41039   }; then
41040   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_TRUE=
41041   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_FALSE='#'
41042 else
41043   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_TRUE='#'
41044   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_FALSE=
41045 fi
41046
41047
41048
41049
41050        if  { test "$HAVE_LIBUNISTRING" != yes \
41051     || {
41052
41053
41054
41055             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41056             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41057                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41058                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41059                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41060                          }
41061                     }
41062                }
41063
41064
41065
41066
41067        }
41068   }; then
41069   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_TRUE=
41070   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_FALSE='#'
41071 else
41072   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_TRUE='#'
41073   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_FALSE=
41074 fi
41075
41076
41077
41078
41079
41080
41081
41082   case "$gl_cv_func_printf_infinite" in
41083     *yes)
41084       ;;
41085     *)
41086
41087 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
41088
41089       ;;
41090   esac
41091
41092
41093
41094
41095   case "$gl_cv_func_printf_long_double" in
41096     *yes)
41097       case "$gl_cv_func_printf_infinite_long_double" in
41098         *yes)
41099           ;;
41100         *)
41101
41102 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
41103
41104           ;;
41105       esac
41106       ;;
41107   esac
41108
41109
41110
41111   case "$gl_cv_func_printf_directive_a" in
41112     *yes)
41113       ;;
41114     *)
41115
41116 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
41117
41118       for ac_func in nl_langinfo
41119 do :
41120   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
41121 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
41122   cat >>confdefs.h <<_ACEOF
41123 #define HAVE_NL_LANGINFO 1
41124 _ACEOF
41125
41126 fi
41127 done
41128
41129       ;;
41130   esac
41131
41132
41133
41134   case "$gl_cv_func_printf_directive_f" in
41135     *yes)
41136       ;;
41137     *)
41138
41139 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
41140
41141       ;;
41142   esac
41143
41144
41145
41146   case "$gl_cv_func_printf_directive_ls" in
41147     *yes)
41148       ;;
41149     *)
41150
41151 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
41152
41153       ;;
41154   esac
41155
41156
41157
41158   case "$gl_cv_func_printf_flag_grouping" in
41159     *yes)
41160       ;;
41161     *)
41162
41163 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
41164
41165       ;;
41166   esac
41167
41168
41169
41170   case "$gl_cv_func_printf_flag_leftadjust" in
41171     *yes)
41172       ;;
41173     *)
41174
41175 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
41176
41177       ;;
41178   esac
41179
41180
41181
41182   case "$gl_cv_func_printf_flag_zero" in
41183     *yes)
41184       ;;
41185     *)
41186
41187 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
41188
41189       ;;
41190   esac
41191
41192
41193
41194   case "$gl_cv_func_printf_precision" in
41195     *yes)
41196       ;;
41197     *)
41198
41199 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
41200
41201
41202 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
41203
41204
41205 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
41206
41207       ;;
41208   esac
41209
41210
41211
41212   case "$gl_cv_func_printf_enomem" in
41213     *yes)
41214       ;;
41215     *)
41216
41217 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
41218
41219
41220 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
41221
41222
41223 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
41224
41225       ;;
41226   esac
41227
41228
41229
41230
41231        if  { test "$HAVE_LIBUNISTRING" != yes \
41232     || {
41233
41234
41235
41236             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41237             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41238                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41239                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41240                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41241                          }
41242                     }
41243                }
41244
41245
41246
41247
41248        }
41249   }; then
41250   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_TRUE=
41251   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_FALSE='#'
41252 else
41253   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_TRUE='#'
41254   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_FALSE=
41255 fi
41256
41257
41258
41259
41260        if  { test "$HAVE_LIBUNISTRING" != yes \
41261     || {
41262
41263
41264
41265             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41266             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41267                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41268                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41269                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41270                          }
41271                     }
41272                }
41273
41274
41275
41276
41277        }
41278   }; then
41279   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_TRUE=
41280   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_FALSE='#'
41281 else
41282   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_TRUE='#'
41283   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_FALSE=
41284 fi
41285
41286
41287
41288
41289        if  { test "$HAVE_LIBUNISTRING" != yes \
41290     || {
41291
41292
41293
41294             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41295             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41296                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41297                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41298                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41299                          }
41300                     }
41301                }
41302
41303
41304
41305
41306        }
41307   }; then
41308   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_TRUE=
41309   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_FALSE='#'
41310 else
41311   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_TRUE='#'
41312   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_FALSE=
41313 fi
41314
41315
41316
41317
41318        if  { test "$HAVE_LIBUNISTRING" != yes \
41319     || {
41320
41321
41322
41323             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41324             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41325                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41326                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41327                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41328                          }
41329                     }
41330                }
41331
41332
41333
41334
41335        }
41336   }; then
41337   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_TRUE=
41338   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_FALSE='#'
41339 else
41340   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_TRUE='#'
41341   LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_FALSE=
41342 fi
41343
41344
41345
41346
41347
41348
41349
41350   case "$gl_cv_func_printf_infinite" in
41351     *yes)
41352       ;;
41353     *)
41354
41355 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
41356
41357       ;;
41358   esac
41359
41360
41361
41362
41363   case "$gl_cv_func_printf_long_double" in
41364     *yes)
41365       case "$gl_cv_func_printf_infinite_long_double" in
41366         *yes)
41367           ;;
41368         *)
41369
41370 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
41371
41372           ;;
41373       esac
41374       ;;
41375   esac
41376
41377
41378
41379   case "$gl_cv_func_printf_directive_a" in
41380     *yes)
41381       ;;
41382     *)
41383
41384 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
41385
41386       for ac_func in nl_langinfo
41387 do :
41388   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
41389 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
41390   cat >>confdefs.h <<_ACEOF
41391 #define HAVE_NL_LANGINFO 1
41392 _ACEOF
41393
41394 fi
41395 done
41396
41397       ;;
41398   esac
41399
41400
41401
41402   case "$gl_cv_func_printf_directive_f" in
41403     *yes)
41404       ;;
41405     *)
41406
41407 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
41408
41409       ;;
41410   esac
41411
41412
41413
41414   case "$gl_cv_func_printf_directive_ls" in
41415     *yes)
41416       ;;
41417     *)
41418
41419 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
41420
41421       ;;
41422   esac
41423
41424
41425
41426   case "$gl_cv_func_printf_flag_grouping" in
41427     *yes)
41428       ;;
41429     *)
41430
41431 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
41432
41433       ;;
41434   esac
41435
41436
41437
41438   case "$gl_cv_func_printf_flag_leftadjust" in
41439     *yes)
41440       ;;
41441     *)
41442
41443 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
41444
41445       ;;
41446   esac
41447
41448
41449
41450   case "$gl_cv_func_printf_flag_zero" in
41451     *yes)
41452       ;;
41453     *)
41454
41455 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
41456
41457       ;;
41458   esac
41459
41460
41461
41462   case "$gl_cv_func_printf_precision" in
41463     *yes)
41464       ;;
41465     *)
41466
41467 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
41468
41469
41470 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
41471
41472
41473 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
41474
41475       ;;
41476   esac
41477
41478
41479
41480   case "$gl_cv_func_printf_enomem" in
41481     *yes)
41482       ;;
41483     *)
41484
41485 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
41486
41487
41488 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
41489
41490
41491 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
41492
41493       ;;
41494   esac
41495
41496
41497
41498
41499        if  { test "$HAVE_LIBUNISTRING" != yes \
41500     || {
41501
41502
41503
41504             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41505             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41506                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41507                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41508                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41509                          }
41510                     }
41511                }
41512
41513
41514
41515
41516        }
41517   }; then
41518   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_TRUE=
41519   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_FALSE='#'
41520 else
41521   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_TRUE='#'
41522   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_FALSE=
41523 fi
41524
41525
41526
41527
41528        if  { test "$HAVE_LIBUNISTRING" != yes \
41529     || {
41530
41531
41532
41533             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41534             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41535                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41536                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41537                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41538                          }
41539                     }
41540                }
41541
41542
41543
41544
41545        }
41546   }; then
41547   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_TRUE=
41548   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_FALSE='#'
41549 else
41550   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_TRUE='#'
41551   LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_FALSE=
41552 fi
41553
41554
41555
41556
41557        if  { test "$HAVE_LIBUNISTRING" != yes \
41558     || {
41559
41560
41561
41562             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41563             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41564                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41565                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41566                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41567                          }
41568                     }
41569                }
41570
41571
41572
41573
41574        }
41575   }; then
41576   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_TRUE=
41577   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_FALSE='#'
41578 else
41579   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_TRUE='#'
41580   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_FALSE=
41581 fi
41582
41583
41584
41585
41586        if  { test "$HAVE_LIBUNISTRING" != yes \
41587     || {
41588
41589
41590
41591             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41592             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41593                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41594                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41595                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41596                          }
41597                     }
41598                }
41599
41600
41601
41602
41603        }
41604   }; then
41605   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_TRUE=
41606   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_FALSE='#'
41607 else
41608   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_TRUE='#'
41609   LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_FALSE=
41610 fi
41611
41612
41613
41614
41615        if  { test "$HAVE_LIBUNISTRING" != yes \
41616     || {
41617
41618
41619
41620             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41621             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41622                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41623                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41624                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41625                          }
41626                     }
41627                }
41628
41629
41630
41631
41632        }
41633   }; then
41634   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_TRUE=
41635   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_FALSE='#'
41636 else
41637   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_TRUE='#'
41638   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_FALSE=
41639 fi
41640
41641
41642
41643
41644        if  { test "$HAVE_LIBUNISTRING" != yes \
41645     || {
41646
41647
41648
41649             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41650             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41651                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41652                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41653                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41654                          }
41655                     }
41656                }
41657
41658
41659
41660
41661        }
41662   }; then
41663   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_TRUE=
41664   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_FALSE='#'
41665 else
41666   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_TRUE='#'
41667   LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_FALSE=
41668 fi
41669
41670
41671
41672
41673
41674
41675
41676
41677   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
41678 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
41679
41680 else
41681
41682 $as_echo "#define ptrdiff_t long" >>confdefs.h
41683
41684
41685 fi
41686
41687
41688
41689
41690
41691        if  { test "$HAVE_LIBUNISTRING" != yes \
41692     || {
41693
41694
41695
41696             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41697             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41698                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41699                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41700                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41701                          }
41702                     }
41703                }
41704
41705
41706
41707
41708        }
41709   }; then
41710   LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_TRUE=
41711   LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_FALSE='#'
41712 else
41713   LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_TRUE='#'
41714   LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_FALSE=
41715 fi
41716
41717
41718
41719
41720        if  { test "$HAVE_LIBUNISTRING" != yes \
41721     || {
41722
41723
41724
41725             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41726             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41727                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41728                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41729                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41730                          }
41731                     }
41732                }
41733
41734
41735
41736
41737        }
41738   }; then
41739   LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_TRUE=
41740   LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_FALSE='#'
41741 else
41742   LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_TRUE='#'
41743   LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_FALSE=
41744 fi
41745
41746
41747
41748
41749        if  { test "$HAVE_LIBUNISTRING" != yes \
41750     || {
41751
41752
41753
41754             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41755             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41756                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41757                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41758                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41759                          }
41760                     }
41761                }
41762
41763
41764
41765
41766        }
41767   }; then
41768   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_TRUE=
41769   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_FALSE='#'
41770 else
41771   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_TRUE='#'
41772   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_FALSE=
41773 fi
41774
41775
41776
41777
41778        if  { test "$HAVE_LIBUNISTRING" != yes \
41779     || {
41780
41781
41782
41783             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41784             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41785                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41786                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41787                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41788                          }
41789                     }
41790                }
41791
41792
41793
41794
41795        }
41796   }; then
41797   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_TRUE=
41798   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_FALSE='#'
41799 else
41800   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_TRUE='#'
41801   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_FALSE=
41802 fi
41803
41804
41805
41806
41807        if  { test "$HAVE_LIBUNISTRING" != yes \
41808     || {
41809
41810
41811
41812             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41813             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41814                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41815                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41816                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41817                          }
41818                     }
41819                }
41820
41821
41822
41823
41824        }
41825   }; then
41826   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_TRUE=
41827   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_FALSE='#'
41828 else
41829   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_TRUE='#'
41830   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_FALSE=
41831 fi
41832
41833
41834
41835
41836        if  { test "$HAVE_LIBUNISTRING" != yes \
41837     || {
41838
41839
41840
41841             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
41842             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
41843                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
41844                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
41845                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
41846                          }
41847                     }
41848                }
41849
41850
41851
41852
41853        }
41854   }; then
41855   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_TRUE=
41856   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_FALSE='#'
41857 else
41858   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_TRUE='#'
41859   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_FALSE=
41860 fi
41861
41862
41863
41864
41865
41866
41867
41868   case "$gl_cv_func_printf_infinite" in
41869     *yes)
41870       ;;
41871     *)
41872
41873 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
41874
41875       ;;
41876   esac
41877
41878
41879
41880
41881   case "$gl_cv_func_printf_long_double" in
41882     *yes)
41883       case "$gl_cv_func_printf_infinite_long_double" in
41884         *yes)
41885           ;;
41886         *)
41887
41888 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
41889
41890           ;;
41891       esac
41892       ;;
41893   esac
41894
41895
41896
41897   case "$gl_cv_func_printf_directive_a" in
41898     *yes)
41899       ;;
41900     *)
41901
41902 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
41903
41904       for ac_func in nl_langinfo
41905 do :
41906   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
41907 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
41908   cat >>confdefs.h <<_ACEOF
41909 #define HAVE_NL_LANGINFO 1
41910 _ACEOF
41911
41912 fi
41913 done
41914
41915       ;;
41916   esac
41917
41918
41919
41920   case "$gl_cv_func_printf_directive_f" in
41921     *yes)
41922       ;;
41923     *)
41924
41925 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
41926
41927       ;;
41928   esac
41929
41930
41931
41932   case "$gl_cv_func_printf_directive_ls" in
41933     *yes)
41934       ;;
41935     *)
41936
41937 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
41938
41939       ;;
41940   esac
41941
41942
41943
41944   case "$gl_cv_func_printf_flag_grouping" in
41945     *yes)
41946       ;;
41947     *)
41948
41949 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
41950
41951       ;;
41952   esac
41953
41954
41955
41956   case "$gl_cv_func_printf_flag_leftadjust" in
41957     *yes)
41958       ;;
41959     *)
41960
41961 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
41962
41963       ;;
41964   esac
41965
41966
41967
41968   case "$gl_cv_func_printf_flag_zero" in
41969     *yes)
41970       ;;
41971     *)
41972
41973 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
41974
41975       ;;
41976   esac
41977
41978
41979
41980   case "$gl_cv_func_printf_precision" in
41981     *yes)
41982       ;;
41983     *)
41984
41985 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
41986
41987
41988 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
41989
41990
41991 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
41992
41993       ;;
41994   esac
41995
41996
41997
41998   case "$gl_cv_func_printf_enomem" in
41999     *yes)
42000       ;;
42001     *)
42002
42003 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
42004
42005
42006 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
42007
42008
42009 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
42010
42011       ;;
42012   esac
42013
42014
42015
42016
42017        if  { test "$HAVE_LIBUNISTRING" != yes \
42018     || {
42019
42020
42021
42022             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42023             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42024                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42025                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42026                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42027                          }
42028                     }
42029                }
42030
42031
42032
42033
42034        }
42035   }; then
42036   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_TRUE=
42037   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_FALSE='#'
42038 else
42039   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_TRUE='#'
42040   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_FALSE=
42041 fi
42042
42043
42044
42045
42046        if  { test "$HAVE_LIBUNISTRING" != yes \
42047     || {
42048
42049
42050
42051             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42052             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42053                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42054                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42055                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42056                          }
42057                     }
42058                }
42059
42060
42061
42062
42063        }
42064   }; then
42065   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_TRUE=
42066   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_FALSE='#'
42067 else
42068   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_TRUE='#'
42069   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_FALSE=
42070 fi
42071
42072
42073
42074
42075        if  { test "$HAVE_LIBUNISTRING" != yes \
42076     || {
42077
42078
42079
42080             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42081             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42082                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42083                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42084                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42085                          }
42086                     }
42087                }
42088
42089
42090
42091
42092        }
42093   }; then
42094   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_TRUE=
42095   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_FALSE='#'
42096 else
42097   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_TRUE='#'
42098   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_FALSE=
42099 fi
42100
42101
42102
42103
42104        if  { test "$HAVE_LIBUNISTRING" != yes \
42105     || {
42106
42107
42108
42109             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42110             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42111                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42112                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42113                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42114                          }
42115                     }
42116                }
42117
42118
42119
42120
42121        }
42122   }; then
42123   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_TRUE=
42124   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_FALSE='#'
42125 else
42126   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_TRUE='#'
42127   LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_FALSE=
42128 fi
42129
42130
42131
42132
42133
42134
42135
42136   case "$gl_cv_func_printf_infinite" in
42137     *yes)
42138       ;;
42139     *)
42140
42141 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
42142
42143       ;;
42144   esac
42145
42146
42147
42148
42149   case "$gl_cv_func_printf_long_double" in
42150     *yes)
42151       case "$gl_cv_func_printf_infinite_long_double" in
42152         *yes)
42153           ;;
42154         *)
42155
42156 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
42157
42158           ;;
42159       esac
42160       ;;
42161   esac
42162
42163
42164
42165   case "$gl_cv_func_printf_directive_a" in
42166     *yes)
42167       ;;
42168     *)
42169
42170 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
42171
42172       for ac_func in nl_langinfo
42173 do :
42174   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
42175 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
42176   cat >>confdefs.h <<_ACEOF
42177 #define HAVE_NL_LANGINFO 1
42178 _ACEOF
42179
42180 fi
42181 done
42182
42183       ;;
42184   esac
42185
42186
42187
42188   case "$gl_cv_func_printf_directive_f" in
42189     *yes)
42190       ;;
42191     *)
42192
42193 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
42194
42195       ;;
42196   esac
42197
42198
42199
42200   case "$gl_cv_func_printf_directive_ls" in
42201     *yes)
42202       ;;
42203     *)
42204
42205 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
42206
42207       ;;
42208   esac
42209
42210
42211
42212   case "$gl_cv_func_printf_flag_grouping" in
42213     *yes)
42214       ;;
42215     *)
42216
42217 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
42218
42219       ;;
42220   esac
42221
42222
42223
42224   case "$gl_cv_func_printf_flag_leftadjust" in
42225     *yes)
42226       ;;
42227     *)
42228
42229 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
42230
42231       ;;
42232   esac
42233
42234
42235
42236   case "$gl_cv_func_printf_flag_zero" in
42237     *yes)
42238       ;;
42239     *)
42240
42241 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
42242
42243       ;;
42244   esac
42245
42246
42247
42248   case "$gl_cv_func_printf_precision" in
42249     *yes)
42250       ;;
42251     *)
42252
42253 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
42254
42255
42256 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
42257
42258
42259 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
42260
42261       ;;
42262   esac
42263
42264
42265
42266   case "$gl_cv_func_printf_enomem" in
42267     *yes)
42268       ;;
42269     *)
42270
42271 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
42272
42273
42274 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
42275
42276
42277 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
42278
42279       ;;
42280   esac
42281
42282
42283
42284
42285        if  { test "$HAVE_LIBUNISTRING" != yes \
42286     || {
42287
42288
42289
42290             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42291             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42292                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42293                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42294                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42295                          }
42296                     }
42297                }
42298
42299
42300
42301
42302        }
42303   }; then
42304   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_TRUE=
42305   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_FALSE='#'
42306 else
42307   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_TRUE='#'
42308   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_FALSE=
42309 fi
42310
42311
42312
42313
42314        if  { test "$HAVE_LIBUNISTRING" != yes \
42315     || {
42316
42317
42318
42319             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42320             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42321                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42322                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42323                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42324                          }
42325                     }
42326                }
42327
42328
42329
42330
42331        }
42332   }; then
42333   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_TRUE=
42334   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_FALSE='#'
42335 else
42336   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_TRUE='#'
42337   LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_FALSE=
42338 fi
42339
42340
42341
42342
42343        if  { test "$HAVE_LIBUNISTRING" != yes \
42344     || {
42345
42346
42347
42348             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42349             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42350                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42351                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42352                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42353                          }
42354                     }
42355                }
42356
42357
42358
42359
42360        }
42361   }; then
42362   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_TRUE=
42363   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_FALSE='#'
42364 else
42365   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_TRUE='#'
42366   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_FALSE=
42367 fi
42368
42369
42370
42371
42372        if  { test "$HAVE_LIBUNISTRING" != yes \
42373     || {
42374
42375
42376
42377             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42378             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42379                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42380                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42381                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42382                          }
42383                     }
42384                }
42385
42386
42387
42388
42389        }
42390   }; then
42391   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_TRUE=
42392   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_FALSE='#'
42393 else
42394   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_TRUE='#'
42395   LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_FALSE=
42396 fi
42397
42398
42399
42400
42401        if  { test "$HAVE_LIBUNISTRING" != yes \
42402     || {
42403
42404
42405
42406             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42407             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42408                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42409                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42410                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42411                          }
42412                     }
42413                }
42414
42415
42416
42417
42418        }
42419   }; then
42420   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_TRUE=
42421   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_FALSE='#'
42422 else
42423   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_TRUE='#'
42424   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_FALSE=
42425 fi
42426
42427
42428
42429
42430        if  { test "$HAVE_LIBUNISTRING" != yes \
42431     || {
42432
42433
42434
42435             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42436             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42437                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42438                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42439                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42440                          }
42441                     }
42442                }
42443
42444
42445
42446
42447        }
42448   }; then
42449   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_TRUE=
42450   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_FALSE='#'
42451 else
42452   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_TRUE='#'
42453   LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_FALSE=
42454 fi
42455
42456
42457
42458
42459        if  { test "$HAVE_LIBUNISTRING" != yes \
42460     || {
42461
42462
42463
42464             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42465             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42466                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42467                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42468                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42469                          }
42470                     }
42471                }
42472
42473
42474
42475
42476        }
42477   }; then
42478   LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_TRUE=
42479   LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_FALSE='#'
42480 else
42481   LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_TRUE='#'
42482   LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_FALSE=
42483 fi
42484
42485
42486
42487
42488
42489
42490
42491
42492   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
42493 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
42494
42495 else
42496
42497 $as_echo "#define ptrdiff_t long" >>confdefs.h
42498
42499
42500 fi
42501
42502
42503
42504
42505
42506        if  { test "$HAVE_LIBUNISTRING" != yes \
42507     || {
42508
42509
42510
42511             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42512             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42513                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42514                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42515                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42516                          }
42517                     }
42518                }
42519
42520
42521
42522
42523        }
42524   }; then
42525   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_TRUE=
42526   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_FALSE='#'
42527 else
42528   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_TRUE='#'
42529   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_FALSE=
42530 fi
42531
42532
42533
42534
42535        if  { test "$HAVE_LIBUNISTRING" != yes \
42536     || {
42537
42538
42539
42540             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42541             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42542                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42543                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42544                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42545                          }
42546                     }
42547                }
42548
42549
42550
42551
42552        }
42553   }; then
42554   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_TRUE=
42555   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_FALSE='#'
42556 else
42557   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_TRUE='#'
42558   LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_FALSE=
42559 fi
42560
42561
42562
42563
42564
42565
42566
42567   case "$gl_cv_func_printf_infinite" in
42568     *yes)
42569       ;;
42570     *)
42571
42572 $as_echo "#define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
42573
42574       ;;
42575   esac
42576
42577
42578
42579
42580   case "$gl_cv_func_printf_long_double" in
42581     *yes)
42582       case "$gl_cv_func_printf_infinite_long_double" in
42583         *yes)
42584           ;;
42585         *)
42586
42587 $as_echo "#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
42588
42589           ;;
42590       esac
42591       ;;
42592   esac
42593
42594
42595
42596   case "$gl_cv_func_printf_directive_a" in
42597     *yes)
42598       ;;
42599     *)
42600
42601 $as_echo "#define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
42602
42603       for ac_func in nl_langinfo
42604 do :
42605   ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
42606 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
42607   cat >>confdefs.h <<_ACEOF
42608 #define HAVE_NL_LANGINFO 1
42609 _ACEOF
42610
42611 fi
42612 done
42613
42614       ;;
42615   esac
42616
42617
42618
42619   case "$gl_cv_func_printf_directive_f" in
42620     *yes)
42621       ;;
42622     *)
42623
42624 $as_echo "#define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
42625
42626       ;;
42627   esac
42628
42629
42630
42631   case "$gl_cv_func_printf_directive_ls" in
42632     *yes)
42633       ;;
42634     *)
42635
42636 $as_echo "#define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
42637
42638       ;;
42639   esac
42640
42641
42642
42643   case "$gl_cv_func_printf_flag_grouping" in
42644     *yes)
42645       ;;
42646     *)
42647
42648 $as_echo "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
42649
42650       ;;
42651   esac
42652
42653
42654
42655   case "$gl_cv_func_printf_flag_leftadjust" in
42656     *yes)
42657       ;;
42658     *)
42659
42660 $as_echo "#define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
42661
42662       ;;
42663   esac
42664
42665
42666
42667   case "$gl_cv_func_printf_flag_zero" in
42668     *yes)
42669       ;;
42670     *)
42671
42672 $as_echo "#define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
42673
42674       ;;
42675   esac
42676
42677
42678
42679   case "$gl_cv_func_printf_precision" in
42680     *yes)
42681       ;;
42682     *)
42683
42684 $as_echo "#define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
42685
42686
42687 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
42688
42689
42690 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
42691
42692       ;;
42693   esac
42694
42695
42696
42697   case "$gl_cv_func_printf_enomem" in
42698     *yes)
42699       ;;
42700     *)
42701
42702 $as_echo "#define NEED_PRINTF_ENOMEM 1" >>confdefs.h
42703
42704
42705 $as_echo "#define NEED_PRINTF_DOUBLE 1" >>confdefs.h
42706
42707
42708 $as_echo "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
42709
42710       ;;
42711   esac
42712
42713
42714
42715
42716        if  { test "$HAVE_LIBUNISTRING" != yes \
42717     || {
42718
42719
42720
42721             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42722             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42723                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42724                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42725                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42726                          }
42727                     }
42728                }
42729
42730
42731
42732
42733        }
42734   }; then
42735   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_TRUE=
42736   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_FALSE='#'
42737 else
42738   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_TRUE='#'
42739   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_FALSE=
42740 fi
42741
42742
42743
42744
42745        if  { test "$HAVE_LIBUNISTRING" != yes \
42746     || {
42747
42748
42749
42750             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42751             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42752                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42753                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42754                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42755                          }
42756                     }
42757                }
42758
42759
42760
42761
42762        }
42763   }; then
42764   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_TRUE=
42765   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_FALSE='#'
42766 else
42767   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_TRUE='#'
42768   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_FALSE=
42769 fi
42770
42771
42772
42773
42774        if  { test "$HAVE_LIBUNISTRING" != yes \
42775     || {
42776
42777
42778
42779             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42780             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42781                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42782                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42783                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42784                          }
42785                     }
42786                }
42787
42788
42789
42790
42791        }
42792   }; then
42793   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_TRUE=
42794   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_FALSE='#'
42795 else
42796   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_TRUE='#'
42797   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_FALSE=
42798 fi
42799
42800
42801
42802
42803        if  { test "$HAVE_LIBUNISTRING" != yes \
42804     || {
42805
42806
42807
42808             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42809             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42810                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42811                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42812                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42813                          }
42814                     }
42815                }
42816
42817
42818
42819
42820        }
42821   }; then
42822   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_TRUE=
42823   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_FALSE='#'
42824 else
42825   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_TRUE='#'
42826   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_FALSE=
42827 fi
42828
42829
42830
42831
42832        if  { test "$HAVE_LIBUNISTRING" != yes \
42833     || {
42834
42835
42836
42837             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42838             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42839                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42840                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42841                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42842                          }
42843                     }
42844                }
42845
42846
42847
42848
42849        }
42850   }; then
42851   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_TRUE=
42852   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_FALSE='#'
42853 else
42854   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_TRUE='#'
42855   LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_FALSE=
42856 fi
42857
42858
42859
42860
42861       if  { test "$HAVE_LIBUNISTRING" != yes \
42862     || {
42863
42864
42865
42866             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42867             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42868                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42869                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42870                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
42871                          }
42872                     }
42873                }
42874
42875
42876
42877
42878        }
42879   }; then
42880     LIBUNISTRING_UNISTR_H='unistr.h'
42881   else
42882     LIBUNISTRING_UNISTR_H=
42883   fi
42884
42885
42886
42887
42888        if  { test "$HAVE_LIBUNISTRING" != yes \
42889     || {
42890
42891
42892
42893             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42894             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42895                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42896                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42897                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42898                          }
42899                     }
42900                }
42901
42902
42903
42904
42905        }
42906   }; then
42907   LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_TRUE=
42908   LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_FALSE='#'
42909 else
42910   LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_TRUE='#'
42911   LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_FALSE=
42912 fi
42913
42914
42915
42916
42917        if  { test "$HAVE_LIBUNISTRING" != yes \
42918     || {
42919
42920
42921
42922             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42923             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42924                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42925                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42926                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42927                          }
42928                     }
42929                }
42930
42931
42932
42933
42934        }
42935   }; then
42936   LIBUNISTRING_COMPILE_UNISTR_U16_CHR_TRUE=
42937   LIBUNISTRING_COMPILE_UNISTR_U16_CHR_FALSE='#'
42938 else
42939   LIBUNISTRING_COMPILE_UNISTR_U16_CHR_TRUE='#'
42940   LIBUNISTRING_COMPILE_UNISTR_U16_CHR_FALSE=
42941 fi
42942
42943
42944
42945
42946        if  { test "$HAVE_LIBUNISTRING" != yes \
42947     || {
42948
42949
42950
42951             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42952             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42953                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42954                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42955                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42956                          }
42957                     }
42958                }
42959
42960
42961
42962
42963        }
42964   }; then
42965   LIBUNISTRING_COMPILE_UNISTR_U16_CMP_TRUE=
42966   LIBUNISTRING_COMPILE_UNISTR_U16_CMP_FALSE='#'
42967 else
42968   LIBUNISTRING_COMPILE_UNISTR_U16_CMP_TRUE='#'
42969   LIBUNISTRING_COMPILE_UNISTR_U16_CMP_FALSE=
42970 fi
42971
42972
42973
42974
42975        if  { test "$HAVE_LIBUNISTRING" != yes \
42976     || {
42977
42978
42979
42980             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
42981             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
42982                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
42983                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
42984                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
42985                          }
42986                     }
42987                }
42988
42989
42990
42991
42992        }
42993   }; then
42994   LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_TRUE=
42995   LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_FALSE='#'
42996 else
42997   LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_TRUE='#'
42998   LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_FALSE=
42999 fi
43000
43001
43002
43003
43004        if  { test "$HAVE_LIBUNISTRING" != yes \
43005     || {
43006
43007
43008
43009             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43010             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43011                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43012                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43013                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43014                          }
43015                     }
43016                }
43017
43018
43019
43020
43021        }
43022   }; then
43023   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_TRUE=
43024   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_FALSE='#'
43025 else
43026   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_TRUE='#'
43027   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_FALSE=
43028 fi
43029
43030
43031
43032
43033        if  { test "$HAVE_LIBUNISTRING" != yes \
43034     || {
43035
43036
43037
43038             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43039             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43040                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43041                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43042                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43043                          }
43044                     }
43045                }
43046
43047
43048
43049
43050        }
43051   }; then
43052   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_TRUE=
43053   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_FALSE='#'
43054 else
43055   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_TRUE='#'
43056   LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_FALSE=
43057 fi
43058
43059
43060
43061
43062        if  { test "$HAVE_LIBUNISTRING" != yes \
43063     || {
43064
43065
43066
43067             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43068             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43069                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43070                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43071                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43072                          }
43073                     }
43074                }
43075
43076
43077
43078
43079        }
43080   }; then
43081   LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_TRUE=
43082   LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_FALSE='#'
43083 else
43084   LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_TRUE='#'
43085   LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_FALSE=
43086 fi
43087
43088
43089
43090
43091        if  { test "$HAVE_LIBUNISTRING" != yes \
43092     || {
43093
43094
43095
43096             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43097             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43098                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43099                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43100                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43101                          }
43102                     }
43103                }
43104
43105
43106
43107
43108        }
43109   }; then
43110   LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_TRUE=
43111   LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_FALSE='#'
43112 else
43113   LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_TRUE='#'
43114   LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_FALSE=
43115 fi
43116
43117
43118
43119
43120        if  { test "$HAVE_LIBUNISTRING" != yes \
43121     || {
43122
43123
43124
43125             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43126             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43127                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43128                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43129                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43130                          }
43131                     }
43132                }
43133
43134
43135
43136
43137        }
43138   }; then
43139   LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_TRUE=
43140   LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_FALSE='#'
43141 else
43142   LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_TRUE='#'
43143   LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_FALSE=
43144 fi
43145
43146
43147
43148
43149 cat >>confdefs.h <<_ACEOF
43150 #define GNULIB_UNISTR_U16_MBTOUC 1
43151 _ACEOF
43152
43153
43154
43155
43156        if  { test "$HAVE_LIBUNISTRING" != yes \
43157     || {
43158
43159
43160
43161             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43162             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43163                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43164                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43165                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43166                          }
43167                     }
43168                }
43169
43170
43171
43172
43173        }
43174   }; then
43175   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_TRUE=
43176   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_FALSE='#'
43177 else
43178   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_TRUE='#'
43179   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_FALSE=
43180 fi
43181
43182
43183
43184
43185 cat >>confdefs.h <<_ACEOF
43186 #define GNULIB_UNISTR_U16_MBTOUC_UNSAFE 1
43187 _ACEOF
43188
43189
43190
43191
43192        if  { test "$HAVE_LIBUNISTRING" != yes \
43193     || {
43194
43195
43196
43197             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43198             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43199                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43200                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43201                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43202                          }
43203                     }
43204                }
43205
43206
43207
43208
43209        }
43210   }; then
43211   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_TRUE=
43212   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_FALSE='#'
43213 else
43214   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_TRUE='#'
43215   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_FALSE=
43216 fi
43217
43218
43219
43220
43221 cat >>confdefs.h <<_ACEOF
43222 #define GNULIB_UNISTR_U16_MBTOUCR 1
43223 _ACEOF
43224
43225
43226
43227
43228        if  { test "$HAVE_LIBUNISTRING" != yes \
43229     || {
43230
43231
43232
43233             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43234             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43235                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43236                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43237                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43238                          }
43239                     }
43240                }
43241
43242
43243
43244
43245        }
43246   }; then
43247   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_TRUE=
43248   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_FALSE='#'
43249 else
43250   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_TRUE='#'
43251   LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_FALSE=
43252 fi
43253
43254
43255
43256
43257        if  { test "$HAVE_LIBUNISTRING" != yes \
43258     || {
43259
43260
43261
43262             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43263             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43264                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43265                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43266                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43267                          }
43268                     }
43269                }
43270
43271
43272
43273
43274        }
43275   }; then
43276   LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_TRUE=
43277   LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_FALSE='#'
43278 else
43279   LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_TRUE='#'
43280   LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_FALSE=
43281 fi
43282
43283
43284
43285
43286        if  { test "$HAVE_LIBUNISTRING" != yes \
43287     || {
43288
43289
43290
43291             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43292             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43293                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43294                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43295                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43296                          }
43297                     }
43298                }
43299
43300
43301
43302
43303        }
43304   }; then
43305   LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_TRUE=
43306   LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_FALSE='#'
43307 else
43308   LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_TRUE='#'
43309   LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_FALSE=
43310 fi
43311
43312
43313
43314
43315        if  { test "$HAVE_LIBUNISTRING" != yes \
43316     || {
43317
43318
43319
43320             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43321             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43322                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43323                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43324                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43325                          }
43326                     }
43327                }
43328
43329
43330
43331
43332        }
43333   }; then
43334   LIBUNISTRING_COMPILE_UNISTR_U16_PREV_TRUE=
43335   LIBUNISTRING_COMPILE_UNISTR_U16_PREV_FALSE='#'
43336 else
43337   LIBUNISTRING_COMPILE_UNISTR_U16_PREV_TRUE='#'
43338   LIBUNISTRING_COMPILE_UNISTR_U16_PREV_FALSE=
43339 fi
43340
43341
43342
43343
43344        if  { test "$HAVE_LIBUNISTRING" != yes \
43345     || {
43346
43347
43348
43349             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43350             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43351                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43352                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43353                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43354                          }
43355                     }
43356                }
43357
43358
43359
43360
43361        }
43362   }; then
43363   LIBUNISTRING_COMPILE_UNISTR_U16_SET_TRUE=
43364   LIBUNISTRING_COMPILE_UNISTR_U16_SET_FALSE='#'
43365 else
43366   LIBUNISTRING_COMPILE_UNISTR_U16_SET_TRUE='#'
43367   LIBUNISTRING_COMPILE_UNISTR_U16_SET_FALSE=
43368 fi
43369
43370
43371
43372
43373        if  { test "$HAVE_LIBUNISTRING" != yes \
43374     || {
43375
43376
43377
43378             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43379             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43380                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43381                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43382                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43383                          }
43384                     }
43385                }
43386
43387
43388
43389
43390        }
43391   }; then
43392   LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_TRUE=
43393   LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_FALSE='#'
43394 else
43395   LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_TRUE='#'
43396   LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_FALSE=
43397 fi
43398
43399
43400
43401
43402        if  { test "$HAVE_LIBUNISTRING" != yes \
43403     || {
43404
43405
43406
43407             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43408             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43409                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43410                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43411                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43412                          }
43413                     }
43414                }
43415
43416
43417
43418
43419        }
43420   }; then
43421   LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_TRUE=
43422   LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_FALSE='#'
43423 else
43424   LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_TRUE='#'
43425   LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_FALSE=
43426 fi
43427
43428
43429
43430
43431        if  { test "$HAVE_LIBUNISTRING" != yes \
43432     || {
43433
43434
43435
43436             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43437             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43438                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43439                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43440                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
43441                          }
43442                     }
43443                }
43444
43445
43446
43447
43448        }
43449   }; then
43450   LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_TRUE=
43451   LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_FALSE='#'
43452 else
43453   LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_TRUE='#'
43454   LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_FALSE=
43455 fi
43456
43457
43458
43459
43460        if  { test "$HAVE_LIBUNISTRING" != yes \
43461     || {
43462
43463
43464
43465             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43466             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43467                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43468                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43469                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43470                          }
43471                     }
43472                }
43473
43474
43475
43476
43477        }
43478   }; then
43479   LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_TRUE=
43480   LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_FALSE='#'
43481 else
43482   LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_TRUE='#'
43483   LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_FALSE=
43484 fi
43485
43486
43487
43488
43489        if  { test "$HAVE_LIBUNISTRING" != yes \
43490     || {
43491
43492
43493
43494             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43495             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43496                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43497                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43498                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43499                          }
43500                     }
43501                }
43502
43503
43504
43505
43506        }
43507   }; then
43508   LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_TRUE=
43509   LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_FALSE='#'
43510 else
43511   LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_TRUE='#'
43512   LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_FALSE=
43513 fi
43514
43515
43516
43517
43518        if  { test "$HAVE_LIBUNISTRING" != yes \
43519     || {
43520
43521
43522
43523             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43524             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43525                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43526                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43527                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43528                          }
43529                     }
43530                }
43531
43532
43533
43534
43535        }
43536   }; then
43537   LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_TRUE=
43538   LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_FALSE='#'
43539 else
43540   LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_TRUE='#'
43541   LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_FALSE=
43542 fi
43543
43544
43545
43546
43547        if  { test "$HAVE_LIBUNISTRING" != yes \
43548     || {
43549
43550
43551
43552             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43553             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43554                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43555                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43556                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
43557                          }
43558                     }
43559                }
43560
43561
43562
43563
43564        }
43565   }; then
43566   LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_TRUE=
43567   LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_FALSE='#'
43568 else
43569   LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_TRUE='#'
43570   LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_FALSE=
43571 fi
43572
43573
43574
43575
43576        if  { test "$HAVE_LIBUNISTRING" != yes \
43577     || {
43578
43579
43580
43581             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43582             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43583                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43584                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43585                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43586                          }
43587                     }
43588                }
43589
43590
43591
43592
43593        }
43594   }; then
43595   LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_TRUE=
43596   LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_FALSE='#'
43597 else
43598   LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_TRUE='#'
43599   LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_FALSE=
43600 fi
43601
43602
43603
43604
43605        if  { test "$HAVE_LIBUNISTRING" != yes \
43606     || {
43607
43608
43609
43610             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43611             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43612                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43613                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43614                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43615                          }
43616                     }
43617                }
43618
43619
43620
43621
43622        }
43623   }; then
43624   LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_TRUE=
43625   LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_FALSE='#'
43626 else
43627   LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_TRUE='#'
43628   LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_FALSE=
43629 fi
43630
43631
43632
43633
43634        if  { test "$HAVE_LIBUNISTRING" != yes \
43635     || {
43636
43637
43638
43639             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43640             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43641                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43642                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43643                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43644                          }
43645                     }
43646                }
43647
43648
43649
43650
43651        }
43652   }; then
43653   LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_TRUE=
43654   LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_FALSE='#'
43655 else
43656   LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_TRUE='#'
43657   LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_FALSE=
43658 fi
43659
43660
43661
43662
43663        if  { test "$HAVE_LIBUNISTRING" != yes \
43664     || {
43665
43666
43667
43668             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43669             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43670                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43671                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43672                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43673                          }
43674                     }
43675                }
43676
43677
43678
43679
43680        }
43681   }; then
43682   LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_TRUE=
43683   LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_FALSE='#'
43684 else
43685   LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_TRUE='#'
43686   LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_FALSE=
43687 fi
43688
43689
43690
43691
43692        if  { test "$HAVE_LIBUNISTRING" != yes \
43693     || {
43694
43695
43696
43697             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43698             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43699                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43700                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43701                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43702                          }
43703                     }
43704                }
43705
43706
43707
43708
43709        }
43710   }; then
43711   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_TRUE=
43712   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_FALSE='#'
43713 else
43714   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_TRUE='#'
43715   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_FALSE=
43716 fi
43717
43718
43719
43720
43721        if  { test "$HAVE_LIBUNISTRING" != yes \
43722     || {
43723
43724
43725
43726             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43727             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43728                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43729                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43730                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43731                          }
43732                     }
43733                }
43734
43735
43736
43737
43738        }
43739   }; then
43740   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_TRUE=
43741   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_FALSE='#'
43742 else
43743   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_TRUE='#'
43744   LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_FALSE=
43745 fi
43746
43747
43748
43749
43750        if  { test "$HAVE_LIBUNISTRING" != yes \
43751     || {
43752
43753
43754
43755             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43756             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43757                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43758                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43759                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43760                          }
43761                     }
43762                }
43763
43764
43765
43766
43767        }
43768   }; then
43769   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_TRUE=
43770   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_FALSE='#'
43771 else
43772   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_TRUE='#'
43773   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_FALSE=
43774 fi
43775
43776
43777
43778
43779        if  { test "$HAVE_LIBUNISTRING" != yes \
43780     || {
43781
43782
43783
43784             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43785             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43786                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43787                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43788                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43789                          }
43790                     }
43791                }
43792
43793
43794
43795
43796        }
43797   }; then
43798   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_TRUE=
43799   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_FALSE='#'
43800 else
43801   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_TRUE='#'
43802   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_FALSE=
43803 fi
43804
43805
43806
43807
43808        if  { test "$HAVE_LIBUNISTRING" != yes \
43809     || {
43810
43811
43812
43813             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43814             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43815                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43816                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43817                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43818                          }
43819                     }
43820                }
43821
43822
43823
43824
43825        }
43826   }; then
43827   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_TRUE=
43828   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_FALSE='#'
43829 else
43830   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_TRUE='#'
43831   LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_FALSE=
43832 fi
43833
43834
43835
43836
43837        if  { test "$HAVE_LIBUNISTRING" != yes \
43838     || {
43839
43840
43841
43842             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43843             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43844                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43845                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43846                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43847                          }
43848                     }
43849                }
43850
43851
43852
43853
43854        }
43855   }; then
43856   LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_TRUE=
43857   LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_FALSE='#'
43858 else
43859   LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_TRUE='#'
43860   LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_FALSE=
43861 fi
43862
43863
43864
43865
43866        if  { test "$HAVE_LIBUNISTRING" != yes \
43867     || {
43868
43869
43870
43871             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43872             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43873                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43874                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43875                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43876                          }
43877                     }
43878                }
43879
43880
43881
43882
43883        }
43884   }; then
43885   LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_TRUE=
43886   LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_FALSE='#'
43887 else
43888   LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_TRUE='#'
43889   LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_FALSE=
43890 fi
43891
43892
43893
43894
43895        if  { test "$HAVE_LIBUNISTRING" != yes \
43896     || {
43897
43898
43899
43900             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43901             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43902                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43903                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43904                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43905                          }
43906                     }
43907                }
43908
43909
43910
43911
43912        }
43913   }; then
43914   LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_TRUE=
43915   LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_FALSE='#'
43916 else
43917   LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_TRUE='#'
43918   LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_FALSE=
43919 fi
43920
43921
43922
43923
43924        if  { test "$HAVE_LIBUNISTRING" != yes \
43925     || {
43926
43927
43928
43929             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43930             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43931                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43932                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43933                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
43934                          }
43935                     }
43936                }
43937
43938
43939
43940
43941        }
43942   }; then
43943   LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_TRUE=
43944   LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_FALSE='#'
43945 else
43946   LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_TRUE='#'
43947   LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_FALSE=
43948 fi
43949
43950
43951
43952
43953        if  { test "$HAVE_LIBUNISTRING" != yes \
43954     || {
43955
43956
43957
43958             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43959             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43960                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43961                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43962                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
43963                          }
43964                     }
43965                }
43966
43967
43968
43969
43970        }
43971   }; then
43972   LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_TRUE=
43973   LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_FALSE='#'
43974 else
43975   LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_TRUE='#'
43976   LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_FALSE=
43977 fi
43978
43979
43980
43981
43982        if  { test "$HAVE_LIBUNISTRING" != yes \
43983     || {
43984
43985
43986
43987             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
43988             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
43989                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
43990                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
43991                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
43992                          }
43993                     }
43994                }
43995
43996
43997
43998
43999        }
44000   }; then
44001   LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_TRUE=
44002   LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_FALSE='#'
44003 else
44004   LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_TRUE='#'
44005   LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_FALSE=
44006 fi
44007
44008
44009
44010
44011        if  { test "$HAVE_LIBUNISTRING" != yes \
44012     || {
44013
44014
44015
44016             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44017             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44018                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44019                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44020                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
44021                          }
44022                     }
44023                }
44024
44025
44026
44027
44028        }
44029   }; then
44030   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_TRUE=
44031   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_FALSE='#'
44032 else
44033   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_TRUE='#'
44034   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_FALSE=
44035 fi
44036
44037
44038
44039
44040        if  { test "$HAVE_LIBUNISTRING" != yes \
44041     || {
44042
44043
44044
44045             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44046             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44047                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44048                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44049                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
44050                          }
44051                     }
44052                }
44053
44054
44055
44056
44057        }
44058   }; then
44059   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_TRUE=
44060   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_FALSE='#'
44061 else
44062   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_TRUE='#'
44063   LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_FALSE=
44064 fi
44065
44066
44067
44068
44069 cat >>confdefs.h <<_ACEOF
44070 #define GNULIB_UNISTR_U16_UCTOMB 1
44071 _ACEOF
44072
44073
44074
44075
44076        if  { test "$HAVE_LIBUNISTRING" != yes \
44077     || {
44078
44079
44080
44081             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44082             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44083                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44084                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44085                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44086                          }
44087                     }
44088                }
44089
44090
44091
44092
44093        }
44094   }; then
44095   LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_TRUE=
44096   LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_FALSE='#'
44097 else
44098   LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_TRUE='#'
44099   LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_FALSE=
44100 fi
44101
44102
44103
44104
44105        if  { test "$HAVE_LIBUNISTRING" != yes \
44106     || {
44107
44108
44109
44110             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44111             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44112                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44113                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44114                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44115                          }
44116                     }
44117                }
44118
44119
44120
44121
44122        }
44123   }; then
44124   LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_TRUE=
44125   LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_FALSE='#'
44126 else
44127   LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_TRUE='#'
44128   LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_FALSE=
44129 fi
44130
44131
44132
44133
44134        if  { test "$HAVE_LIBUNISTRING" != yes \
44135     || {
44136
44137
44138
44139             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44140             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44141                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44142                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44143                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44144                          }
44145                     }
44146                }
44147
44148
44149
44150
44151        }
44152   }; then
44153   LIBUNISTRING_COMPILE_UNISTR_U32_CHR_TRUE=
44154   LIBUNISTRING_COMPILE_UNISTR_U32_CHR_FALSE='#'
44155 else
44156   LIBUNISTRING_COMPILE_UNISTR_U32_CHR_TRUE='#'
44157   LIBUNISTRING_COMPILE_UNISTR_U32_CHR_FALSE=
44158 fi
44159
44160
44161
44162
44163        if  { test "$HAVE_LIBUNISTRING" != yes \
44164     || {
44165
44166
44167
44168             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44169             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44170                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44171                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44172                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44173                          }
44174                     }
44175                }
44176
44177
44178
44179
44180        }
44181   }; then
44182   LIBUNISTRING_COMPILE_UNISTR_U32_CMP_TRUE=
44183   LIBUNISTRING_COMPILE_UNISTR_U32_CMP_FALSE='#'
44184 else
44185   LIBUNISTRING_COMPILE_UNISTR_U32_CMP_TRUE='#'
44186   LIBUNISTRING_COMPILE_UNISTR_U32_CMP_FALSE=
44187 fi
44188
44189
44190
44191
44192        if  { test "$HAVE_LIBUNISTRING" != yes \
44193     || {
44194
44195
44196
44197             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44198             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44199                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44200                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44201                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44202                          }
44203                     }
44204                }
44205
44206
44207
44208
44209        }
44210   }; then
44211   LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_TRUE=
44212   LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_FALSE='#'
44213 else
44214   LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_TRUE='#'
44215   LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_FALSE=
44216 fi
44217
44218
44219
44220
44221        if  { test "$HAVE_LIBUNISTRING" != yes \
44222     || {
44223
44224
44225
44226             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44227             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44228                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44229                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44230                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44231                          }
44232                     }
44233                }
44234
44235
44236
44237
44238        }
44239   }; then
44240   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_TRUE=
44241   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_FALSE='#'
44242 else
44243   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_TRUE='#'
44244   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_FALSE=
44245 fi
44246
44247
44248
44249
44250        if  { test "$HAVE_LIBUNISTRING" != yes \
44251     || {
44252
44253
44254
44255             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44256             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44257                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44258                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44259                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44260                          }
44261                     }
44262                }
44263
44264
44265
44266
44267        }
44268   }; then
44269   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_TRUE=
44270   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_FALSE='#'
44271 else
44272   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_TRUE='#'
44273   LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_FALSE=
44274 fi
44275
44276
44277
44278
44279        if  { test "$HAVE_LIBUNISTRING" != yes \
44280     || {
44281
44282
44283
44284             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44285             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44286                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44287                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44288                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44289                          }
44290                     }
44291                }
44292
44293
44294
44295
44296        }
44297   }; then
44298   LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_TRUE=
44299   LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_FALSE='#'
44300 else
44301   LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_TRUE='#'
44302   LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_FALSE=
44303 fi
44304
44305
44306
44307
44308        if  { test "$HAVE_LIBUNISTRING" != yes \
44309     || {
44310
44311
44312
44313             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44314             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44315                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44316                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44317                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44318                          }
44319                     }
44320                }
44321
44322
44323
44324
44325        }
44326   }; then
44327   LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_TRUE=
44328   LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_FALSE='#'
44329 else
44330   LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_TRUE='#'
44331   LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_FALSE=
44332 fi
44333
44334
44335
44336
44337        if  { test "$HAVE_LIBUNISTRING" != yes \
44338     || {
44339
44340
44341
44342             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44343             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44344                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44345                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44346                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44347                          }
44348                     }
44349                }
44350
44351
44352
44353
44354        }
44355   }; then
44356   LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_TRUE=
44357   LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_FALSE='#'
44358 else
44359   LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_TRUE='#'
44360   LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_FALSE=
44361 fi
44362
44363
44364
44365
44366 cat >>confdefs.h <<_ACEOF
44367 #define GNULIB_UNISTR_U32_MBTOUC 1
44368 _ACEOF
44369
44370
44371
44372
44373        if  { test "$HAVE_LIBUNISTRING" != yes \
44374     || {
44375
44376
44377
44378             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44379             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44380                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44381                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44382                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44383                          }
44384                     }
44385                }
44386
44387
44388
44389
44390        }
44391   }; then
44392   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_TRUE=
44393   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_FALSE='#'
44394 else
44395   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_TRUE='#'
44396   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_FALSE=
44397 fi
44398
44399
44400
44401
44402 cat >>confdefs.h <<_ACEOF
44403 #define GNULIB_UNISTR_U32_MBTOUC_UNSAFE 1
44404 _ACEOF
44405
44406
44407
44408
44409        if  { test "$HAVE_LIBUNISTRING" != yes \
44410     || {
44411
44412
44413
44414             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44415             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44416                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44417                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44418                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44419                          }
44420                     }
44421                }
44422
44423
44424
44425
44426        }
44427   }; then
44428   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_TRUE=
44429   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_FALSE='#'
44430 else
44431   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_TRUE='#'
44432   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_FALSE=
44433 fi
44434
44435
44436
44437
44438 cat >>confdefs.h <<_ACEOF
44439 #define GNULIB_UNISTR_U32_MBTOUCR 1
44440 _ACEOF
44441
44442
44443
44444
44445        if  { test "$HAVE_LIBUNISTRING" != yes \
44446     || {
44447
44448
44449
44450             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44451             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44452                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44453                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44454                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44455                          }
44456                     }
44457                }
44458
44459
44460
44461
44462        }
44463   }; then
44464   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_TRUE=
44465   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_FALSE='#'
44466 else
44467   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_TRUE='#'
44468   LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_FALSE=
44469 fi
44470
44471
44472
44473
44474        if  { test "$HAVE_LIBUNISTRING" != yes \
44475     || {
44476
44477
44478
44479             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44480             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44481                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44482                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44483                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44484                          }
44485                     }
44486                }
44487
44488
44489
44490
44491        }
44492   }; then
44493   LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_TRUE=
44494   LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_FALSE='#'
44495 else
44496   LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_TRUE='#'
44497   LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_FALSE=
44498 fi
44499
44500
44501
44502
44503        if  { test "$HAVE_LIBUNISTRING" != yes \
44504     || {
44505
44506
44507
44508             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44509             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44510                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44511                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44512                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44513                          }
44514                     }
44515                }
44516
44517
44518
44519
44520        }
44521   }; then
44522   LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_TRUE=
44523   LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_FALSE='#'
44524 else
44525   LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_TRUE='#'
44526   LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_FALSE=
44527 fi
44528
44529
44530
44531
44532        if  { test "$HAVE_LIBUNISTRING" != yes \
44533     || {
44534
44535
44536
44537             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44538             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44539                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44540                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44541                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44542                          }
44543                     }
44544                }
44545
44546
44547
44548
44549        }
44550   }; then
44551   LIBUNISTRING_COMPILE_UNISTR_U32_PREV_TRUE=
44552   LIBUNISTRING_COMPILE_UNISTR_U32_PREV_FALSE='#'
44553 else
44554   LIBUNISTRING_COMPILE_UNISTR_U32_PREV_TRUE='#'
44555   LIBUNISTRING_COMPILE_UNISTR_U32_PREV_FALSE=
44556 fi
44557
44558
44559
44560
44561        if  { test "$HAVE_LIBUNISTRING" != yes \
44562     || {
44563
44564
44565
44566             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44567             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44568                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44569                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44570                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44571                          }
44572                     }
44573                }
44574
44575
44576
44577
44578        }
44579   }; then
44580   LIBUNISTRING_COMPILE_UNISTR_U32_SET_TRUE=
44581   LIBUNISTRING_COMPILE_UNISTR_U32_SET_FALSE='#'
44582 else
44583   LIBUNISTRING_COMPILE_UNISTR_U32_SET_TRUE='#'
44584   LIBUNISTRING_COMPILE_UNISTR_U32_SET_FALSE=
44585 fi
44586
44587
44588
44589
44590        if  { test "$HAVE_LIBUNISTRING" != yes \
44591     || {
44592
44593
44594
44595             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44596             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44597                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44598                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44599                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44600                          }
44601                     }
44602                }
44603
44604
44605
44606
44607        }
44608   }; then
44609   LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_TRUE=
44610   LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_FALSE='#'
44611 else
44612   LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_TRUE='#'
44613   LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_FALSE=
44614 fi
44615
44616
44617
44618
44619        if  { test "$HAVE_LIBUNISTRING" != yes \
44620     || {
44621
44622
44623
44624             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44625             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44626                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44627                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44628                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44629                          }
44630                     }
44631                }
44632
44633
44634
44635
44636        }
44637   }; then
44638   LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_TRUE=
44639   LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_FALSE='#'
44640 else
44641   LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_TRUE='#'
44642   LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_FALSE=
44643 fi
44644
44645
44646
44647
44648        if  { test "$HAVE_LIBUNISTRING" != yes \
44649     || {
44650
44651
44652
44653             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44654             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44655                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44656                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44657                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
44658                          }
44659                     }
44660                }
44661
44662
44663
44664
44665        }
44666   }; then
44667   LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_TRUE=
44668   LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_FALSE='#'
44669 else
44670   LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_TRUE='#'
44671   LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_FALSE=
44672 fi
44673
44674
44675
44676
44677        if  { test "$HAVE_LIBUNISTRING" != yes \
44678     || {
44679
44680
44681
44682             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44683             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44684                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44685                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44686                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44687                          }
44688                     }
44689                }
44690
44691
44692
44693
44694        }
44695   }; then
44696   LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_TRUE=
44697   LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_FALSE='#'
44698 else
44699   LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_TRUE='#'
44700   LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_FALSE=
44701 fi
44702
44703
44704
44705
44706        if  { test "$HAVE_LIBUNISTRING" != yes \
44707     || {
44708
44709
44710
44711             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44712             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44713                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44714                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44715                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44716                          }
44717                     }
44718                }
44719
44720
44721
44722
44723        }
44724   }; then
44725   LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_TRUE=
44726   LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_FALSE='#'
44727 else
44728   LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_TRUE='#'
44729   LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_FALSE=
44730 fi
44731
44732
44733
44734
44735        if  { test "$HAVE_LIBUNISTRING" != yes \
44736     || {
44737
44738
44739
44740             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44741             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44742                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44743                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44744                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44745                          }
44746                     }
44747                }
44748
44749
44750
44751
44752        }
44753   }; then
44754   LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_TRUE=
44755   LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_FALSE='#'
44756 else
44757   LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_TRUE='#'
44758   LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_FALSE=
44759 fi
44760
44761
44762
44763
44764        if  { test "$HAVE_LIBUNISTRING" != yes \
44765     || {
44766
44767
44768
44769             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44770             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44771                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44772                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44773                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
44774                          }
44775                     }
44776                }
44777
44778
44779
44780
44781        }
44782   }; then
44783   LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_TRUE=
44784   LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_FALSE='#'
44785 else
44786   LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_TRUE='#'
44787   LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_FALSE=
44788 fi
44789
44790
44791
44792
44793        if  { test "$HAVE_LIBUNISTRING" != yes \
44794     || {
44795
44796
44797
44798             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44799             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44800                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44801                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44802                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44803                          }
44804                     }
44805                }
44806
44807
44808
44809
44810        }
44811   }; then
44812   LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_TRUE=
44813   LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_FALSE='#'
44814 else
44815   LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_TRUE='#'
44816   LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_FALSE=
44817 fi
44818
44819
44820
44821
44822        if  { test "$HAVE_LIBUNISTRING" != yes \
44823     || {
44824
44825
44826
44827             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44828             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44829                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44830                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44831                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44832                          }
44833                     }
44834                }
44835
44836
44837
44838
44839        }
44840   }; then
44841   LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_TRUE=
44842   LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_FALSE='#'
44843 else
44844   LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_TRUE='#'
44845   LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_FALSE=
44846 fi
44847
44848
44849
44850
44851        if  { test "$HAVE_LIBUNISTRING" != yes \
44852     || {
44853
44854
44855
44856             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44857             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44858                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44859                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44860                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44861                          }
44862                     }
44863                }
44864
44865
44866
44867
44868        }
44869   }; then
44870   LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_TRUE=
44871   LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_FALSE='#'
44872 else
44873   LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_TRUE='#'
44874   LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_FALSE=
44875 fi
44876
44877
44878
44879
44880        if  { test "$HAVE_LIBUNISTRING" != yes \
44881     || {
44882
44883
44884
44885             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44886             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44887                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44888                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44889                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44890                          }
44891                     }
44892                }
44893
44894
44895
44896
44897        }
44898   }; then
44899   LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_TRUE=
44900   LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_FALSE='#'
44901 else
44902   LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_TRUE='#'
44903   LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_FALSE=
44904 fi
44905
44906
44907
44908
44909        if  { test "$HAVE_LIBUNISTRING" != yes \
44910     || {
44911
44912
44913
44914             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44915             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44916                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44917                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44918                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44919                          }
44920                     }
44921                }
44922
44923
44924
44925
44926        }
44927   }; then
44928   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_TRUE=
44929   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_FALSE='#'
44930 else
44931   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_TRUE='#'
44932   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_FALSE=
44933 fi
44934
44935
44936
44937
44938        if  { test "$HAVE_LIBUNISTRING" != yes \
44939     || {
44940
44941
44942
44943             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44944             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44945                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44946                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44947                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44948                          }
44949                     }
44950                }
44951
44952
44953
44954
44955        }
44956   }; then
44957   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_TRUE=
44958   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_FALSE='#'
44959 else
44960   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_TRUE='#'
44961   LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_FALSE=
44962 fi
44963
44964
44965
44966
44967        if  { test "$HAVE_LIBUNISTRING" != yes \
44968     || {
44969
44970
44971
44972             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
44973             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
44974                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
44975                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
44976                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
44977                          }
44978                     }
44979                }
44980
44981
44982
44983
44984        }
44985   }; then
44986   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_TRUE=
44987   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_FALSE='#'
44988 else
44989   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_TRUE='#'
44990   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_FALSE=
44991 fi
44992
44993
44994
44995
44996        if  { test "$HAVE_LIBUNISTRING" != yes \
44997     || {
44998
44999
45000
45001             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45002             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45003                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45004                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45005                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45006                          }
45007                     }
45008                }
45009
45010
45011
45012
45013        }
45014   }; then
45015   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_TRUE=
45016   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_FALSE='#'
45017 else
45018   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_TRUE='#'
45019   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_FALSE=
45020 fi
45021
45022
45023
45024
45025        if  { test "$HAVE_LIBUNISTRING" != yes \
45026     || {
45027
45028
45029
45030             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45031             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45032                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45033                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45034                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45035                          }
45036                     }
45037                }
45038
45039
45040
45041
45042        }
45043   }; then
45044   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_TRUE=
45045   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_FALSE='#'
45046 else
45047   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_TRUE='#'
45048   LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_FALSE=
45049 fi
45050
45051
45052
45053
45054        if  { test "$HAVE_LIBUNISTRING" != yes \
45055     || {
45056
45057
45058
45059             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45060             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45061                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45062                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45063                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45064                          }
45065                     }
45066                }
45067
45068
45069
45070
45071        }
45072   }; then
45073   LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_TRUE=
45074   LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_FALSE='#'
45075 else
45076   LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_TRUE='#'
45077   LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_FALSE=
45078 fi
45079
45080
45081
45082
45083        if  { test "$HAVE_LIBUNISTRING" != yes \
45084     || {
45085
45086
45087
45088             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45089             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45090                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45091                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45092                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45093                          }
45094                     }
45095                }
45096
45097
45098
45099
45100        }
45101   }; then
45102   LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_TRUE=
45103   LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_FALSE='#'
45104 else
45105   LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_TRUE='#'
45106   LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_FALSE=
45107 fi
45108
45109
45110
45111
45112        if  { test "$HAVE_LIBUNISTRING" != yes \
45113     || {
45114
45115
45116
45117             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45118             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45119                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45120                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45121                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45122                          }
45123                     }
45124                }
45125
45126
45127
45128
45129        }
45130   }; then
45131   LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_TRUE=
45132   LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_FALSE='#'
45133 else
45134   LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_TRUE='#'
45135   LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_FALSE=
45136 fi
45137
45138
45139
45140
45141        if  { test "$HAVE_LIBUNISTRING" != yes \
45142     || {
45143
45144
45145
45146             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45147             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45148                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45149                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45150                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45151                          }
45152                     }
45153                }
45154
45155
45156
45157
45158        }
45159   }; then
45160   LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_TRUE=
45161   LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_FALSE='#'
45162 else
45163   LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_TRUE='#'
45164   LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_FALSE=
45165 fi
45166
45167
45168
45169
45170        if  { test "$HAVE_LIBUNISTRING" != yes \
45171     || {
45172
45173
45174
45175             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45176             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45177                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45178                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45179                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
45180                          }
45181                     }
45182                }
45183
45184
45185
45186
45187        }
45188   }; then
45189   LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_TRUE=
45190   LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_FALSE='#'
45191 else
45192   LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_TRUE='#'
45193   LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_FALSE=
45194 fi
45195
45196
45197
45198
45199        if  { test "$HAVE_LIBUNISTRING" != yes \
45200     || {
45201
45202
45203
45204             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45205             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45206                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45207                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45208                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
45209                          }
45210                     }
45211                }
45212
45213
45214
45215
45216        }
45217   }; then
45218   LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_TRUE=
45219   LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_FALSE='#'
45220 else
45221   LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_TRUE='#'
45222   LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_FALSE=
45223 fi
45224
45225
45226
45227
45228        if  { test "$HAVE_LIBUNISTRING" != yes \
45229     || {
45230
45231
45232
45233             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45234             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45235                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45236                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45237                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45238                          }
45239                     }
45240                }
45241
45242
45243
45244
45245        }
45246   }; then
45247   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_TRUE=
45248   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_FALSE='#'
45249 else
45250   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_TRUE='#'
45251   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_FALSE=
45252 fi
45253
45254
45255
45256
45257        if  { test "$HAVE_LIBUNISTRING" != yes \
45258     || {
45259
45260
45261
45262             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45263             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45264                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45265                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45266                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45267                          }
45268                     }
45269                }
45270
45271
45272
45273
45274        }
45275   }; then
45276   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_TRUE=
45277   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_FALSE='#'
45278 else
45279   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_TRUE='#'
45280   LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_FALSE=
45281 fi
45282
45283
45284
45285
45286 cat >>confdefs.h <<_ACEOF
45287 #define GNULIB_UNISTR_U32_UCTOMB 1
45288 _ACEOF
45289
45290
45291
45292
45293        if  { test "$HAVE_LIBUNISTRING" != yes \
45294     || {
45295
45296
45297
45298             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45299             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45300                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45301                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45302                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45303                          }
45304                     }
45305                }
45306
45307
45308
45309
45310        }
45311   }; then
45312   LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_TRUE=
45313   LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_FALSE='#'
45314 else
45315   LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_TRUE='#'
45316   LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_FALSE=
45317 fi
45318
45319
45320
45321
45322        if  { test "$HAVE_LIBUNISTRING" != yes \
45323     || {
45324
45325
45326
45327             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45328             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45329                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45330                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45331                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45332                          }
45333                     }
45334                }
45335
45336
45337
45338
45339        }
45340   }; then
45341   LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_TRUE=
45342   LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_FALSE='#'
45343 else
45344   LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_TRUE='#'
45345   LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_FALSE=
45346 fi
45347
45348
45349
45350
45351        if  { test "$HAVE_LIBUNISTRING" != yes \
45352     || {
45353
45354
45355
45356             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45357             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45358                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45359                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45360                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45361                          }
45362                     }
45363                }
45364
45365
45366
45367
45368        }
45369   }; then
45370   LIBUNISTRING_COMPILE_UNISTR_U8_CHR_TRUE=
45371   LIBUNISTRING_COMPILE_UNISTR_U8_CHR_FALSE='#'
45372 else
45373   LIBUNISTRING_COMPILE_UNISTR_U8_CHR_TRUE='#'
45374   LIBUNISTRING_COMPILE_UNISTR_U8_CHR_FALSE=
45375 fi
45376
45377
45378
45379
45380        if  { test "$HAVE_LIBUNISTRING" != yes \
45381     || {
45382
45383
45384
45385             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45386             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45387                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45388                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45389                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45390                          }
45391                     }
45392                }
45393
45394
45395
45396
45397        }
45398   }; then
45399   LIBUNISTRING_COMPILE_UNISTR_U8_CMP_TRUE=
45400   LIBUNISTRING_COMPILE_UNISTR_U8_CMP_FALSE='#'
45401 else
45402   LIBUNISTRING_COMPILE_UNISTR_U8_CMP_TRUE='#'
45403   LIBUNISTRING_COMPILE_UNISTR_U8_CMP_FALSE=
45404 fi
45405
45406
45407
45408
45409        if  { test "$HAVE_LIBUNISTRING" != yes \
45410     || {
45411
45412
45413
45414             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45415             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45416                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45417                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45418                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45419                          }
45420                     }
45421                }
45422
45423
45424
45425
45426        }
45427   }; then
45428   LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_TRUE=
45429   LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_FALSE='#'
45430 else
45431   LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_TRUE='#'
45432   LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_FALSE=
45433 fi
45434
45435
45436
45437
45438        if  { test "$HAVE_LIBUNISTRING" != yes \
45439     || {
45440
45441
45442
45443             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45444             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45445                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45446                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45447                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45448                          }
45449                     }
45450                }
45451
45452
45453
45454
45455        }
45456   }; then
45457   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_TRUE=
45458   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_FALSE='#'
45459 else
45460   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_TRUE='#'
45461   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_FALSE=
45462 fi
45463
45464
45465
45466
45467        if  { test "$HAVE_LIBUNISTRING" != yes \
45468     || {
45469
45470
45471
45472             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45473             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45474                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45475                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45476                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45477                          }
45478                     }
45479                }
45480
45481
45482
45483
45484        }
45485   }; then
45486   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_TRUE=
45487   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_FALSE='#'
45488 else
45489   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_TRUE='#'
45490   LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_FALSE=
45491 fi
45492
45493
45494
45495
45496        if  { test "$HAVE_LIBUNISTRING" != yes \
45497     || {
45498
45499
45500
45501             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45502             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45503                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45504                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45505                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45506                          }
45507                     }
45508                }
45509
45510
45511
45512
45513        }
45514   }; then
45515   LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_TRUE=
45516   LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_FALSE='#'
45517 else
45518   LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_TRUE='#'
45519   LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_FALSE=
45520 fi
45521
45522
45523
45524
45525        if  { test "$HAVE_LIBUNISTRING" != yes \
45526     || {
45527
45528
45529
45530             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45531             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45532                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45533                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45534                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45535                          }
45536                     }
45537                }
45538
45539
45540
45541
45542        }
45543   }; then
45544   LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_TRUE=
45545   LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_FALSE='#'
45546 else
45547   LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_TRUE='#'
45548   LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_FALSE=
45549 fi
45550
45551
45552
45553
45554        if  { test "$HAVE_LIBUNISTRING" != yes \
45555     || {
45556
45557
45558
45559             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45560             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45561                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45562                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45563                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
45564                          }
45565                     }
45566                }
45567
45568
45569
45570
45571        }
45572   }; then
45573   LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_TRUE=
45574   LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_FALSE='#'
45575 else
45576   LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_TRUE='#'
45577   LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_FALSE=
45578 fi
45579
45580
45581
45582
45583 cat >>confdefs.h <<_ACEOF
45584 #define GNULIB_UNISTR_U8_MBTOUC 1
45585 _ACEOF
45586
45587
45588
45589
45590        if  { test "$HAVE_LIBUNISTRING" != yes \
45591     || {
45592
45593
45594
45595             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45596             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45597                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45598                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45599                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
45600                          }
45601                     }
45602                }
45603
45604
45605
45606
45607        }
45608   }; then
45609   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_TRUE=
45610   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_FALSE='#'
45611 else
45612   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_TRUE='#'
45613   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_FALSE=
45614 fi
45615
45616
45617
45618
45619 cat >>confdefs.h <<_ACEOF
45620 #define GNULIB_UNISTR_U8_MBTOUC_UNSAFE 1
45621 _ACEOF
45622
45623
45624
45625
45626        if  { test "$HAVE_LIBUNISTRING" != yes \
45627     || {
45628
45629
45630
45631             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45632             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45633                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45634                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45635                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
45636                          }
45637                     }
45638                }
45639
45640
45641
45642
45643        }
45644   }; then
45645   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_TRUE=
45646   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_FALSE='#'
45647 else
45648   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_TRUE='#'
45649   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_FALSE=
45650 fi
45651
45652
45653
45654
45655 cat >>confdefs.h <<_ACEOF
45656 #define GNULIB_UNISTR_U8_MBTOUCR 1
45657 _ACEOF
45658
45659
45660
45661
45662        if  { test "$HAVE_LIBUNISTRING" != yes \
45663     || {
45664
45665
45666
45667             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45668             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45669                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45670                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45671                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45672                          }
45673                     }
45674                }
45675
45676
45677
45678
45679        }
45680   }; then
45681   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE=
45682   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE='#'
45683 else
45684   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE='#'
45685   LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE=
45686 fi
45687
45688
45689
45690
45691        if  { test "$HAVE_LIBUNISTRING" != yes \
45692     || {
45693
45694
45695
45696             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45697             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45698                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45699                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45700                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45701                          }
45702                     }
45703                }
45704
45705
45706
45707
45708        }
45709   }; then
45710   LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_TRUE=
45711   LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_FALSE='#'
45712 else
45713   LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_TRUE='#'
45714   LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_FALSE=
45715 fi
45716
45717
45718
45719
45720        if  { test "$HAVE_LIBUNISTRING" != yes \
45721     || {
45722
45723
45724
45725             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45726             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45727                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45728                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45729                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45730                          }
45731                     }
45732                }
45733
45734
45735
45736
45737        }
45738   }; then
45739   LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_TRUE=
45740   LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_FALSE='#'
45741 else
45742   LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_TRUE='#'
45743   LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_FALSE=
45744 fi
45745
45746
45747
45748
45749        if  { test "$HAVE_LIBUNISTRING" != yes \
45750     || {
45751
45752
45753
45754             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45755             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45756                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45757                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45758                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45759                          }
45760                     }
45761                }
45762
45763
45764
45765
45766        }
45767   }; then
45768   LIBUNISTRING_COMPILE_UNISTR_U8_PREV_TRUE=
45769   LIBUNISTRING_COMPILE_UNISTR_U8_PREV_FALSE='#'
45770 else
45771   LIBUNISTRING_COMPILE_UNISTR_U8_PREV_TRUE='#'
45772   LIBUNISTRING_COMPILE_UNISTR_U8_PREV_FALSE=
45773 fi
45774
45775
45776
45777
45778        if  { test "$HAVE_LIBUNISTRING" != yes \
45779     || {
45780
45781
45782
45783             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45784             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45785                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45786                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45787                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45788                          }
45789                     }
45790                }
45791
45792
45793
45794
45795        }
45796   }; then
45797   LIBUNISTRING_COMPILE_UNISTR_U8_SET_TRUE=
45798   LIBUNISTRING_COMPILE_UNISTR_U8_SET_FALSE='#'
45799 else
45800   LIBUNISTRING_COMPILE_UNISTR_U8_SET_TRUE='#'
45801   LIBUNISTRING_COMPILE_UNISTR_U8_SET_FALSE=
45802 fi
45803
45804
45805
45806
45807        if  { test "$HAVE_LIBUNISTRING" != yes \
45808     || {
45809
45810
45811
45812             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45813             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45814                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45815                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45816                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45817                          }
45818                     }
45819                }
45820
45821
45822
45823
45824        }
45825   }; then
45826   LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_TRUE=
45827   LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_FALSE='#'
45828 else
45829   LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_TRUE='#'
45830   LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_FALSE=
45831 fi
45832
45833
45834
45835
45836
45837        if  { test "$HAVE_LIBUNISTRING" != yes \
45838     || {
45839
45840
45841
45842             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45843             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45844                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45845                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45846                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45847                          }
45848                     }
45849                }
45850
45851
45852
45853
45854        }
45855   }; then
45856   LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_TRUE=
45857   LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_FALSE='#'
45858 else
45859   LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_TRUE='#'
45860   LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_FALSE=
45861 fi
45862
45863
45864
45865
45866        if  { test "$HAVE_LIBUNISTRING" != yes \
45867     || {
45868
45869
45870
45871             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45872             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45873                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45874                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45875                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
45876                          }
45877                     }
45878                }
45879
45880
45881
45882
45883        }
45884   }; then
45885   LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_TRUE=
45886   LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_FALSE='#'
45887 else
45888   LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_TRUE='#'
45889   LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_FALSE=
45890 fi
45891
45892
45893
45894
45895        if  { test "$HAVE_LIBUNISTRING" != yes \
45896     || {
45897
45898
45899
45900             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45901             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45902                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45903                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45904                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45905                          }
45906                     }
45907                }
45908
45909
45910
45911
45912        }
45913   }; then
45914   LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_TRUE=
45915   LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_FALSE='#'
45916 else
45917   LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_TRUE='#'
45918   LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_FALSE=
45919 fi
45920
45921
45922
45923
45924        if  { test "$HAVE_LIBUNISTRING" != yes \
45925     || {
45926
45927
45928
45929             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45930             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45931                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45932                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45933                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
45934                          }
45935                     }
45936                }
45937
45938
45939
45940
45941        }
45942   }; then
45943   LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_TRUE=
45944   LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_FALSE='#'
45945 else
45946   LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_TRUE='#'
45947   LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_FALSE=
45948 fi
45949
45950
45951
45952
45953        if  { test "$HAVE_LIBUNISTRING" != yes \
45954     || {
45955
45956
45957
45958             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45959             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45960                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45961                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45962                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
45963                          }
45964                     }
45965                }
45966
45967
45968
45969
45970        }
45971   }; then
45972   LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_TRUE=
45973   LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_FALSE='#'
45974 else
45975   LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_TRUE='#'
45976   LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_FALSE=
45977 fi
45978
45979
45980
45981
45982        if  { test "$HAVE_LIBUNISTRING" != yes \
45983     || {
45984
45985
45986
45987             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
45988             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
45989                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
45990                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
45991                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
45992                          }
45993                     }
45994                }
45995
45996
45997
45998
45999        }
46000   }; then
46001   LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_TRUE=
46002   LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_FALSE='#'
46003 else
46004   LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_TRUE='#'
46005   LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_FALSE=
46006 fi
46007
46008
46009
46010
46011        if  { test "$HAVE_LIBUNISTRING" != yes \
46012     || {
46013
46014
46015
46016             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46017             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46018                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46019                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46020                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46021                          }
46022                     }
46023                }
46024
46025
46026
46027
46028        }
46029   }; then
46030   LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_TRUE=
46031   LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_FALSE='#'
46032 else
46033   LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_TRUE='#'
46034   LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_FALSE=
46035 fi
46036
46037
46038
46039
46040        if  { test "$HAVE_LIBUNISTRING" != yes \
46041     || {
46042
46043
46044
46045             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46046             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46047                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46048                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46049                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46050                          }
46051                     }
46052                }
46053
46054
46055
46056
46057        }
46058   }; then
46059   LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_TRUE=
46060   LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_FALSE='#'
46061 else
46062   LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_TRUE='#'
46063   LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_FALSE=
46064 fi
46065
46066
46067
46068
46069
46070        if  { test "$HAVE_LIBUNISTRING" != yes \
46071     || {
46072
46073
46074
46075             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46076             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46077                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46078                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46079                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46080                          }
46081                     }
46082                }
46083
46084
46085
46086
46087        }
46088   }; then
46089   LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_TRUE=
46090   LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_FALSE='#'
46091 else
46092   LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_TRUE='#'
46093   LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_FALSE=
46094 fi
46095
46096
46097
46098
46099        if  { test "$HAVE_LIBUNISTRING" != yes \
46100     || {
46101
46102
46103
46104             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46105             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46106                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46107                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46108                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46109                          }
46110                     }
46111                }
46112
46113
46114
46115
46116        }
46117   }; then
46118   LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_TRUE=
46119   LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_FALSE='#'
46120 else
46121   LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_TRUE='#'
46122   LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_FALSE=
46123 fi
46124
46125
46126
46127
46128        if  { test "$HAVE_LIBUNISTRING" != yes \
46129     || {
46130
46131
46132
46133             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46134             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46135                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46136                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46137                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46138                          }
46139                     }
46140                }
46141
46142
46143
46144
46145        }
46146   }; then
46147   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_TRUE=
46148   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_FALSE='#'
46149 else
46150   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_TRUE='#'
46151   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_FALSE=
46152 fi
46153
46154
46155
46156
46157        if  { test "$HAVE_LIBUNISTRING" != yes \
46158     || {
46159
46160
46161
46162             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46163             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46164                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46165                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46166                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46167                          }
46168                     }
46169                }
46170
46171
46172
46173
46174        }
46175   }; then
46176   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_TRUE=
46177   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_FALSE='#'
46178 else
46179   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_TRUE='#'
46180   LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_FALSE=
46181 fi
46182
46183
46184
46185
46186        if  { test "$HAVE_LIBUNISTRING" != yes \
46187     || {
46188
46189
46190
46191             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46192             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46193                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46194                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46195                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46196                          }
46197                     }
46198                }
46199
46200
46201
46202
46203        }
46204   }; then
46205   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_TRUE=
46206   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_FALSE='#'
46207 else
46208   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_TRUE='#'
46209   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_FALSE=
46210 fi
46211
46212
46213
46214
46215        if  { test "$HAVE_LIBUNISTRING" != yes \
46216     || {
46217
46218
46219
46220             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46221             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46222                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46223                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46224                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46225                          }
46226                     }
46227                }
46228
46229
46230
46231
46232        }
46233   }; then
46234   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_TRUE=
46235   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_FALSE='#'
46236 else
46237   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_TRUE='#'
46238   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_FALSE=
46239 fi
46240
46241
46242
46243
46244        if  { test "$HAVE_LIBUNISTRING" != yes \
46245     || {
46246
46247
46248
46249             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46250             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46251                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46252                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46253                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46254                          }
46255                     }
46256                }
46257
46258
46259
46260
46261        }
46262   }; then
46263   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_TRUE=
46264   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_FALSE='#'
46265 else
46266   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_TRUE='#'
46267   LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_FALSE=
46268 fi
46269
46270
46271
46272
46273        if  { test "$HAVE_LIBUNISTRING" != yes \
46274     || {
46275
46276
46277
46278             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46279             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46280                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46281                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46282                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46283                          }
46284                     }
46285                }
46286
46287
46288
46289
46290        }
46291   }; then
46292   LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_TRUE=
46293   LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_FALSE='#'
46294 else
46295   LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_TRUE='#'
46296   LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_FALSE=
46297 fi
46298
46299
46300
46301
46302        if  { test "$HAVE_LIBUNISTRING" != yes \
46303     || {
46304
46305
46306
46307             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46308             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46309                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46310                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46311                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46312                          }
46313                     }
46314                }
46315
46316
46317
46318
46319        }
46320   }; then
46321   LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_TRUE=
46322   LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_FALSE='#'
46323 else
46324   LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_TRUE='#'
46325   LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_FALSE=
46326 fi
46327
46328
46329
46330
46331        if  { test "$HAVE_LIBUNISTRING" != yes \
46332     || {
46333
46334
46335
46336             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46337             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46338                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46339                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46340                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46341                          }
46342                     }
46343                }
46344
46345
46346
46347
46348        }
46349   }; then
46350   LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_TRUE=
46351   LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_FALSE='#'
46352 else
46353   LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_TRUE='#'
46354   LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_FALSE=
46355 fi
46356
46357
46358
46359
46360        if  { test "$HAVE_LIBUNISTRING" != yes \
46361     || {
46362
46363
46364
46365             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46366             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46367                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46368                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46369                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46370                          }
46371                     }
46372                }
46373
46374
46375
46376
46377        }
46378   }; then
46379   LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_TRUE=
46380   LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_FALSE='#'
46381 else
46382   LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_TRUE='#'
46383   LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_FALSE=
46384 fi
46385
46386
46387
46388
46389        if  { test "$HAVE_LIBUNISTRING" != yes \
46390     || {
46391
46392
46393
46394             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46395             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46396                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46397                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46398                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
46399                          }
46400                     }
46401                }
46402
46403
46404
46405
46406        }
46407   }; then
46408   LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_TRUE=
46409   LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_FALSE='#'
46410 else
46411   LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_TRUE='#'
46412   LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_FALSE=
46413 fi
46414
46415
46416
46417
46418        if  { test "$HAVE_LIBUNISTRING" != yes \
46419     || {
46420
46421
46422
46423             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46424             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46425                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46426                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46427                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46428                          }
46429                     }
46430                }
46431
46432
46433
46434
46435        }
46436   }; then
46437   LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_TRUE=
46438   LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_FALSE='#'
46439 else
46440   LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_TRUE='#'
46441   LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_FALSE=
46442 fi
46443
46444
46445
46446
46447        if  { test "$HAVE_LIBUNISTRING" != yes \
46448     || {
46449
46450
46451
46452             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46453             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46454                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46455                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46456                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
46457                          }
46458                     }
46459                }
46460
46461
46462
46463
46464        }
46465   }; then
46466   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_TRUE=
46467   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_FALSE='#'
46468 else
46469   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_TRUE='#'
46470   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_FALSE=
46471 fi
46472
46473
46474
46475
46476        if  { test "$HAVE_LIBUNISTRING" != yes \
46477     || {
46478
46479
46480
46481             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46482             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46483                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46484                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46485                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 3
46486                          }
46487                     }
46488                }
46489
46490
46491
46492
46493        }
46494   }; then
46495   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_TRUE=
46496   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_FALSE='#'
46497 else
46498   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_TRUE='#'
46499   LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_FALSE=
46500 fi
46501
46502
46503
46504
46505 cat >>confdefs.h <<_ACEOF
46506 #define GNULIB_UNISTR_U8_UCTOMB 1
46507 _ACEOF
46508
46509
46510
46511
46512        if  { test "$HAVE_LIBUNISTRING" != yes \
46513     || {
46514
46515
46516
46517             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46518             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46519                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46520                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46521                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46522                          }
46523                     }
46524                }
46525
46526
46527
46528
46529        }
46530   }; then
46531   LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE=
46532   LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE='#'
46533 else
46534   LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE='#'
46535   LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE=
46536 fi
46537
46538
46539
46540
46541       if  { test "$HAVE_LIBUNISTRING" != yes \
46542     || {
46543
46544
46545
46546             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46547             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46548                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46549                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46550                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
46551                          }
46552                     }
46553                }
46554
46555
46556
46557
46558        }
46559   }; then
46560     LIBUNISTRING_UNITYPES_H='unitypes.h'
46561   else
46562     LIBUNISTRING_UNITYPES_H=
46563   fi
46564
46565
46566
46567
46568       if  { test "$HAVE_LIBUNISTRING" != yes \
46569     || {
46570
46571
46572
46573             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46574             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46575                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46576                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46577                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
46578                          }
46579                     }
46580                }
46581
46582
46583
46584
46585        }
46586   }; then
46587     LIBUNISTRING_UNIWBRK_H='uniwbrk.h'
46588   else
46589     LIBUNISTRING_UNIWBRK_H=
46590   fi
46591
46592
46593
46594
46595        if  { test "$HAVE_LIBUNISTRING" != yes \
46596     || {
46597
46598
46599
46600             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46601             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46602                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46603                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46604                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46605                          }
46606                     }
46607                }
46608
46609
46610
46611
46612        }
46613   }; then
46614   LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE=
46615   LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE='#'
46616 else
46617   LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE='#'
46618   LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE=
46619 fi
46620
46621
46622
46623
46624        if  { test "$HAVE_LIBUNISTRING" != yes \
46625     || {
46626
46627
46628
46629             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46630             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46631                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46632                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46633                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46634                          }
46635                     }
46636                }
46637
46638
46639
46640
46641        }
46642   }; then
46643   LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE=
46644   LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE='#'
46645 else
46646   LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE='#'
46647   LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE=
46648 fi
46649
46650
46651
46652
46653        if  { test "$HAVE_LIBUNISTRING" != yes \
46654     || {
46655
46656
46657
46658             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46659             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46660                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46661                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46662                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46663                          }
46664                     }
46665                }
46666
46667
46668
46669
46670        }
46671   }; then
46672   LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE=
46673   LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE='#'
46674 else
46675   LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE='#'
46676   LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE=
46677 fi
46678
46679
46680
46681
46682        if  { test "$HAVE_LIBUNISTRING" != yes \
46683     || {
46684
46685
46686
46687             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46688             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46689                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46690                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46691                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46692                          }
46693                     }
46694                }
46695
46696
46697
46698
46699        }
46700   }; then
46701   LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE=
46702   LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE='#'
46703 else
46704   LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE='#'
46705   LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE=
46706 fi
46707
46708
46709
46710
46711        if  { test "$HAVE_LIBUNISTRING" != yes \
46712     || {
46713
46714
46715
46716             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46717             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46718                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46719                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46720                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46721                          }
46722                     }
46723                }
46724
46725
46726
46727
46728        }
46729   }; then
46730   LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE=
46731   LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE='#'
46732 else
46733   LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE='#'
46734   LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE=
46735 fi
46736
46737
46738
46739
46740       if  { test "$HAVE_LIBUNISTRING" != yes \
46741     || {
46742
46743
46744
46745             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46746             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46747                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46748                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46749                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
46750                          }
46751                     }
46752                }
46753
46754
46755
46756
46757        }
46758   }; then
46759     LIBUNISTRING_UNIWIDTH_H='uniwidth.h'
46760   else
46761     LIBUNISTRING_UNIWIDTH_H=
46762   fi
46763
46764
46765
46766
46767        if  { test "$HAVE_LIBUNISTRING" != yes \
46768     || {
46769
46770
46771
46772             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46773             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46774                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46775                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46776                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46777                          }
46778                     }
46779                }
46780
46781
46782
46783
46784        }
46785   }; then
46786   LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE=
46787   LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE='#'
46788 else
46789   LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE='#'
46790   LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE=
46791 fi
46792
46793
46794
46795
46796        if  { test "$HAVE_LIBUNISTRING" != yes \
46797     || {
46798
46799
46800
46801             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46802             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46803                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46804                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46805                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46806                          }
46807                     }
46808                }
46809
46810
46811
46812
46813        }
46814   }; then
46815   LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE=
46816   LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE='#'
46817 else
46818   LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE='#'
46819   LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE=
46820 fi
46821
46822
46823
46824
46825        if  { test "$HAVE_LIBUNISTRING" != yes \
46826     || {
46827
46828
46829
46830             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46831             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46832                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46833                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46834                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46835                          }
46836                     }
46837                }
46838
46839
46840
46841
46842        }
46843   }; then
46844   LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE=
46845   LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE='#'
46846 else
46847   LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE='#'
46848   LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE=
46849 fi
46850
46851
46852
46853
46854        if  { test "$HAVE_LIBUNISTRING" != yes \
46855     || {
46856
46857
46858
46859             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46860             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46861                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46862                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46863                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46864                          }
46865                     }
46866                }
46867
46868
46869
46870
46871        }
46872   }; then
46873   LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE=
46874   LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE='#'
46875 else
46876   LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE='#'
46877   LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE=
46878 fi
46879
46880
46881
46882
46883        if  { test "$HAVE_LIBUNISTRING" != yes \
46884     || {
46885
46886
46887
46888             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46889             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46890                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46891                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46892                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46893                          }
46894                     }
46895                }
46896
46897
46898
46899
46900        }
46901   }; then
46902   LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE=
46903   LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE='#'
46904 else
46905   LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE='#'
46906   LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE=
46907 fi
46908
46909
46910
46911
46912        if  { test "$HAVE_LIBUNISTRING" != yes \
46913     || {
46914
46915
46916
46917             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46918             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46919                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46920                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46921                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46922                          }
46923                     }
46924                }
46925
46926
46927
46928
46929        }
46930   }; then
46931   LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE=
46932   LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE='#'
46933 else
46934   LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE='#'
46935   LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE=
46936 fi
46937
46938
46939
46940
46941        if  { test "$HAVE_LIBUNISTRING" != yes \
46942     || {
46943
46944
46945
46946             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46947             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46948                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46949                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46950                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 6
46951                          }
46952                     }
46953                }
46954
46955
46956
46957
46958        }
46959   }; then
46960   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=
46961   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#'
46962 else
46963   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#'
46964   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=
46965 fi
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980      if test $gl_cv_have_include_next = yes; then
46981        gl_cv_next_wchar_h='<'wchar.h'>'
46982      else
46983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
46984 $as_echo_n "checking absolute name of <wchar.h>... " >&6; }
46985 if ${gl_cv_next_wchar_h+:} false; then :
46986   $as_echo_n "(cached) " >&6
46987 else
46988
46989              if test $ac_cv_header_wchar_h = yes; then
46990
46991
46992
46993
46994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46995 /* end confdefs.h.  */
46996 #include <wchar.h>
46997 _ACEOF
46998                 case "$host_os" in
46999     aix*) gl_absname_cpp="$ac_cpp -C" ;;
47000     *)    gl_absname_cpp="$ac_cpp" ;;
47001   esac
47002
47003   case "$host_os" in
47004     mingw*)
47005                                           gl_dirsep_regex='[/\\]'
47006       ;;
47007     *)
47008       gl_dirsep_regex='\/'
47009       ;;
47010   esac
47011       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
47012   gl_header_literal_regex=`echo 'wchar.h' \
47013                            | sed -e "$gl_make_literal_regex_sed"`
47014   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
47015       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
47016       s|^/[^/]|//&|
47017       p
47018       q
47019     }'
47020
47021         gl_cv_absolute_wchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
47022   sed -n "$gl_absolute_header_sed"`
47023
47024            gl_header=$gl_cv_absolute_wchar_h
47025            gl_cv_next_wchar_h='"'$gl_header'"'
47026           else
47027                gl_cv_next_wchar_h='<'wchar.h'>'
47028              fi
47029
47030
47031 fi
47032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
47033 $as_echo "$gl_cv_next_wchar_h" >&6; }
47034      fi
47035      NEXT_WCHAR_H=$gl_cv_next_wchar_h
47036
47037      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
47038        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
47039        gl_next_as_first_directive='<'wchar.h'>'
47040      else
47041        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
47042        gl_next_as_first_directive=$gl_cv_next_wchar_h
47043      fi
47044      NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
47045
47046
47047
47048
47049   if test $ac_cv_header_wchar_h = yes; then
47050     HAVE_WCHAR_H=1
47051   else
47052     HAVE_WCHAR_H=0
47053   fi
47054
47055
47056
47057
47058
47059   if test $gt_cv_c_wint_t = yes; then
47060     HAVE_WINT_T=1
47061   else
47062     HAVE_WINT_T=0
47063   fi
47064
47065
47066
47067     for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb      wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset      wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp      wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr      wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth     ; do
47068     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
47069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
47070 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
47071 if eval \${$as_gl_Symbol+:} false; then :
47072   $as_echo_n "(cached) " >&6
47073 else
47074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47075 /* end confdefs.h.  */
47076
47077 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47078    <wchar.h>.
47079    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47080    included before <wchar.h>.  */
47081 #if !(defined __GLIBC__ && !defined __UCLIBC__)
47082 # include <stddef.h>
47083 # include <stdio.h>
47084 # include <time.h>
47085 #endif
47086 #include <wchar.h>
47087
47088 int
47089 main ()
47090 {
47091 #undef $gl_func
47092   (void) $gl_func;
47093   ;
47094   return 0;
47095 }
47096 _ACEOF
47097 if ac_fn_c_try_compile "$LINENO"; then :
47098   eval "$as_gl_Symbol=yes"
47099 else
47100   eval "$as_gl_Symbol=no"
47101 fi
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 fi
47104 eval ac_res=\$$as_gl_Symbol
47105                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
47106 $as_echo "$ac_res" >&6; }
47107     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
47108   cat >>confdefs.h <<_ACEOF
47109 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
47110 _ACEOF
47111
47112                      eval ac_cv_have_decl_$gl_func=yes
47113 fi
47114       done
47115
47116
47117
47118
47119
47120
47121
47122   if test $ac_cv_func_iswcntrl = yes; then
47123     HAVE_ISWCNTRL=1
47124   else
47125     HAVE_ISWCNTRL=0
47126   fi
47127
47128
47129
47130   if test $gt_cv_c_wint_t = yes; then
47131     HAVE_WINT_T=1
47132   else
47133     HAVE_WINT_T=0
47134   fi
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146      if test $gl_cv_have_include_next = yes; then
47147        gl_cv_next_wctype_h='<'wctype.h'>'
47148      else
47149        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
47150 $as_echo_n "checking absolute name of <wctype.h>... " >&6; }
47151 if ${gl_cv_next_wctype_h+:} false; then :
47152   $as_echo_n "(cached) " >&6
47153 else
47154
47155              if test $ac_cv_header_wctype_h = yes; then
47156
47157
47158
47159
47160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47161 /* end confdefs.h.  */
47162 #include <wctype.h>
47163 _ACEOF
47164                 case "$host_os" in
47165     aix*) gl_absname_cpp="$ac_cpp -C" ;;
47166     *)    gl_absname_cpp="$ac_cpp" ;;
47167   esac
47168
47169   case "$host_os" in
47170     mingw*)
47171                                           gl_dirsep_regex='[/\\]'
47172       ;;
47173     *)
47174       gl_dirsep_regex='\/'
47175       ;;
47176   esac
47177       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
47178   gl_header_literal_regex=`echo 'wctype.h' \
47179                            | sed -e "$gl_make_literal_regex_sed"`
47180   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
47181       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
47182       s|^/[^/]|//&|
47183       p
47184       q
47185     }'
47186
47187         gl_cv_absolute_wctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
47188   sed -n "$gl_absolute_header_sed"`
47189
47190            gl_header=$gl_cv_absolute_wctype_h
47191            gl_cv_next_wctype_h='"'$gl_header'"'
47192           else
47193                gl_cv_next_wctype_h='<'wctype.h'>'
47194              fi
47195
47196
47197 fi
47198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
47199 $as_echo "$gl_cv_next_wctype_h" >&6; }
47200      fi
47201      NEXT_WCTYPE_H=$gl_cv_next_wctype_h
47202
47203      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
47204        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
47205        gl_next_as_first_directive='<'wctype.h'>'
47206      else
47207        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
47208        gl_next_as_first_directive=$gl_cv_next_wctype_h
47209      fi
47210      NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
47211
47212
47213
47214
47215   if test $ac_cv_header_wctype_h = yes; then
47216     if test $ac_cv_func_iswcntrl = yes; then
47217                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
47218 $as_echo_n "checking whether iswcntrl works... " >&6; }
47219 if ${gl_cv_func_iswcntrl_works+:} false; then :
47220   $as_echo_n "(cached) " >&6
47221 else
47222
47223           if test "$cross_compiling" = yes; then :
47224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47225 /* end confdefs.h.  */
47226 #include <stdlib.h>
47227                           #if __GNU_LIBRARY__ == 1
47228                           Linux libc5 i18n is broken.
47229                           #endif
47230 int
47231 main ()
47232 {
47233
47234   ;
47235   return 0;
47236 }
47237 _ACEOF
47238 if ac_fn_c_try_compile "$LINENO"; then :
47239   gl_cv_func_iswcntrl_works="guessing yes"
47240 else
47241   gl_cv_func_iswcntrl_works="guessing no"
47242 fi
47243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47244
47245 else
47246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47247 /* end confdefs.h.  */
47248
47249                /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
47250                   included before <wchar.h>.
47251                   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
47252                   must be included before <wchar.h>.  */
47253                #include <stddef.h>
47254                #include <stdio.h>
47255                #include <time.h>
47256                #include <wchar.h>
47257                #include <wctype.h>
47258                int main () { return iswprint ('x') == 0; }
47259
47260 _ACEOF
47261 if ac_fn_c_try_run "$LINENO"; then :
47262   gl_cv_func_iswcntrl_works=yes
47263 else
47264   gl_cv_func_iswcntrl_works=no
47265 fi
47266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47267   conftest.$ac_objext conftest.beam conftest.$ac_ext
47268 fi
47269
47270
47271 fi
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
47273 $as_echo "$gl_cv_func_iswcntrl_works" >&6; }
47274     fi
47275     HAVE_WCTYPE_H=1
47276   else
47277     HAVE_WCTYPE_H=0
47278   fi
47279
47280
47281   case "$gl_cv_func_iswcntrl_works" in
47282     *yes) REPLACE_ISWCNTRL=0 ;;
47283     *)    REPLACE_ISWCNTRL=1 ;;
47284   esac
47285
47286
47287   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
47288         :
47289   fi
47290
47291   if test $REPLACE_ISWCNTRL = 1; then
47292     REPLACE_TOWLOWER=1
47293   else
47294     for ac_func in towlower
47295 do :
47296   ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
47297 if test "x$ac_cv_func_towlower" = xyes; then :
47298   cat >>confdefs.h <<_ACEOF
47299 #define HAVE_TOWLOWER 1
47300 _ACEOF
47301
47302 fi
47303 done
47304
47305     if test $ac_cv_func_towlower = yes; then
47306       REPLACE_TOWLOWER=0
47307     else
47308       ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
47309              included before <wchar.h>.
47310              BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
47311              must be included before <wchar.h>.  */
47312           #include <stddef.h>
47313           #include <stdio.h>
47314           #include <time.h>
47315           #include <wchar.h>
47316           #if HAVE_WCTYPE_H
47317           # include <wctype.h>
47318           #endif
47319
47320 "
47321 if test "x$ac_cv_have_decl_towlower" = xyes; then :
47322   ac_have_decl=1
47323 else
47324   ac_have_decl=0
47325 fi
47326
47327 cat >>confdefs.h <<_ACEOF
47328 #define HAVE_DECL_TOWLOWER $ac_have_decl
47329 _ACEOF
47330
47331       if test $ac_cv_have_decl_towlower = yes; then
47332                                 REPLACE_TOWLOWER=1
47333       else
47334         REPLACE_TOWLOWER=0
47335       fi
47336     fi
47337   fi
47338
47339
47340   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
47341         :
47342   fi
47343
47344           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
47345 $as_echo_n "checking for wctype_t... " >&6; }
47346 if ${gl_cv_type_wctype_t+:} false; then :
47347   $as_echo_n "(cached) " >&6
47348 else
47349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h.  */
47351 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
47352                included before <wchar.h>.
47353                BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
47354                must be included before <wchar.h>.  */
47355             #include <stddef.h>
47356             #include <stdio.h>
47357             #include <time.h>
47358             #include <wchar.h>
47359             #if HAVE_WCTYPE_H
47360             # include <wctype.h>
47361             #endif
47362             wctype_t a;
47363
47364 int
47365 main ()
47366 {
47367
47368   ;
47369   return 0;
47370 }
47371 _ACEOF
47372 if ac_fn_c_try_compile "$LINENO"; then :
47373   gl_cv_type_wctype_t=yes
47374 else
47375   gl_cv_type_wctype_t=no
47376 fi
47377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47378
47379 fi
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
47381 $as_echo "$gl_cv_type_wctype_t" >&6; }
47382   if test $gl_cv_type_wctype_t = no; then
47383     HAVE_WCTYPE_T=0
47384   fi
47385
47386       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
47387 $as_echo_n "checking for wctrans_t... " >&6; }
47388 if ${gl_cv_type_wctrans_t+:} false; then :
47389   $as_echo_n "(cached) " >&6
47390 else
47391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47392 /* end confdefs.h.  */
47393 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
47394                included before <wchar.h>.
47395                BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
47396                must be included before <wchar.h>.  */
47397             #include <stddef.h>
47398             #include <stdio.h>
47399             #include <time.h>
47400             #include <wchar.h>
47401             #include <wctype.h>
47402             wctrans_t a;
47403
47404 int
47405 main ()
47406 {
47407
47408   ;
47409   return 0;
47410 }
47411 _ACEOF
47412 if ac_fn_c_try_compile "$LINENO"; then :
47413   gl_cv_type_wctrans_t=yes
47414 else
47415   gl_cv_type_wctrans_t=no
47416 fi
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418
47419 fi
47420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
47421 $as_echo "$gl_cv_type_wctrans_t" >&6; }
47422   if test $gl_cv_type_wctrans_t = no; then
47423     HAVE_WCTRANS_T=0
47424   fi
47425
47426
47427     for gl_func in wctype iswctype wctrans towctrans     ; do
47428     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
47429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
47430 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
47431 if eval \${$as_gl_Symbol+:} false; then :
47432   $as_echo_n "(cached) " >&6
47433 else
47434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47435 /* end confdefs.h.  */
47436
47437 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47438    <wchar.h>.
47439    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47440    included before <wchar.h>.  */
47441 #if !(defined __GLIBC__ && !defined __UCLIBC__)
47442 # include <stddef.h>
47443 # include <stdio.h>
47444 # include <time.h>
47445 # include <wchar.h>
47446 #endif
47447 #include <wctype.h>
47448
47449 int
47450 main ()
47451 {
47452 #undef $gl_func
47453   (void) $gl_func;
47454   ;
47455   return 0;
47456 }
47457 _ACEOF
47458 if ac_fn_c_try_compile "$LINENO"; then :
47459   eval "$as_gl_Symbol=yes"
47460 else
47461   eval "$as_gl_Symbol=no"
47462 fi
47463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47464 fi
47465 eval ac_res=\$$as_gl_Symbol
47466                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
47467 $as_echo "$ac_res" >&6; }
47468     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
47469   cat >>confdefs.h <<_ACEOF
47470 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
47471 _ACEOF
47472
47473                      eval ac_cv_have_decl_$gl_func=yes
47474 fi
47475       done
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489   ac_fn_c_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
47490 /* AIX 3.2.5 declares wcwidth in <string.h>. */
47491 #include <string.h>
47492 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47493    <wchar.h>.
47494    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
47495    before <wchar.h>.  */
47496 #include <stddef.h>
47497 #include <stdio.h>
47498 #include <time.h>
47499 #include <wchar.h>
47500
47501 "
47502 if test "x$ac_cv_have_decl_wcwidth" = xyes; then :
47503   ac_have_decl=1
47504 else
47505   ac_have_decl=0
47506 fi
47507
47508 cat >>confdefs.h <<_ACEOF
47509 #define HAVE_DECL_WCWIDTH $ac_have_decl
47510 _ACEOF
47511
47512   if test $ac_cv_have_decl_wcwidth != yes; then
47513     HAVE_DECL_WCWIDTH=0
47514   fi
47515
47516   if test $ac_cv_func_wcwidth = yes; then
47517     HAVE_WCWIDTH=1
47518                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
47519 $as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
47520 if ${gl_cv_func_wcwidth_works+:} false; then :
47521   $as_echo_n "(cached) " >&6
47522 else
47523
47524         if test "$cross_compiling" = yes; then :
47525
47526            case "$host_os" in
47527                      # Guess yes on glibc and AIX 7 systems.
47528              *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
47529              *)                  gl_cv_func_wcwidth_works="guessing no";;
47530            esac
47531
47532 else
47533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47534 /* end confdefs.h.  */
47535
47536 #include <locale.h>
47537 /* AIX 3.2.5 declares wcwidth in <string.h>. */
47538 #include <string.h>
47539 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47540    <wchar.h>.
47541    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
47542    before <wchar.h>.  */
47543 #include <stddef.h>
47544 #include <stdio.h>
47545 #include <time.h>
47546 #include <wchar.h>
47547 #if !HAVE_DECL_WCWIDTH
47548 extern
47549 # ifdef __cplusplus
47550 "C"
47551 # endif
47552 int wcwidth (int);
47553 #endif
47554 int main ()
47555 {
47556   int result = 0;
47557   if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
47558     {
47559       if (wcwidth (0x0301) > 0)
47560         result |= 1;
47561       if (wcwidth (0x05B0) > 0)
47562         result |= 2;
47563       if (wcwidth (0x200B) > 0)
47564         result |= 4;
47565       if (wcwidth (0xFF1A) == 0)
47566         result |= 8;
47567     }
47568   return result;
47569 }
47570 _ACEOF
47571 if ac_fn_c_try_run "$LINENO"; then :
47572   gl_cv_func_wcwidth_works=yes
47573 else
47574   gl_cv_func_wcwidth_works=no
47575 fi
47576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47577   conftest.$ac_objext conftest.beam conftest.$ac_ext
47578 fi
47579
47580
47581 fi
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5
47583 $as_echo "$gl_cv_func_wcwidth_works" >&6; }
47584     case "$gl_cv_func_wcwidth_works" in
47585       *yes) ;;
47586       *no) REPLACE_WCWIDTH=1 ;;
47587     esac
47588   else
47589     HAVE_WCWIDTH=0
47590   fi
47591
47592   if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
47593
47594
47595
47596
47597
47598
47599
47600
47601   gl_LIBOBJS="$gl_LIBOBJS wcwidth.$ac_objext"
47602
47603   fi
47604
47605
47606
47607
47608
47609           GNULIB_WCWIDTH=1
47610
47611
47612
47613
47614
47615 $as_echo "#define GNULIB_TEST_WCWIDTH 1" >>confdefs.h
47616
47617
47618
47619
47620
47621   for ac_header in stdint.h
47622 do :
47623   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
47624 if test "x$ac_cv_header_stdint_h" = xyes; then :
47625   cat >>confdefs.h <<_ACEOF
47626 #define HAVE_STDINT_H 1
47627 _ACEOF
47628
47629 fi
47630
47631 done
47632
47633
47634   # End of code from modules
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644   gltests_libdeps=
47645   gltests_ltlibdeps=
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655   gl_source_base='tests'
47656   gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
47657
47658   gl_module_indicator_condition=$gltests_WITNESS
47659
47660
47661
47662
47663
47664
47665
47666   if test $ac_cv_func_btowc = no; then
47667     HAVE_BTOWC=0
47668   else
47669
47670
47671
47672
47673         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
47674 $as_echo_n "checking whether btowc(0) is correct... " >&6; }
47675 if ${gl_cv_func_btowc_nul+:} false; then :
47676   $as_echo_n "(cached) " >&6
47677 else
47678
47679         if test "$cross_compiling" = yes; then :
47680
47681            case "$host_os" in
47682                       # Guess no on Cygwin.
47683              cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
47684                       # Guess yes otherwise.
47685              *)       gl_cv_func_btowc_nul="guessing yes" ;;
47686            esac
47687
47688 else
47689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47690 /* end confdefs.h.  */
47691
47692 #include <string.h>
47693 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47694    <wchar.h>.
47695    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47696    included before <wchar.h>.  */
47697 #include <stddef.h>
47698 #include <stdio.h>
47699 #include <time.h>
47700 #include <wchar.h>
47701 int main ()
47702 {
47703   if (btowc ('\0') != 0)
47704     return 1;
47705   return 0;
47706 }
47707 _ACEOF
47708 if ac_fn_c_try_run "$LINENO"; then :
47709   gl_cv_func_btowc_nul=yes
47710 else
47711   gl_cv_func_btowc_nul=no
47712 fi
47713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47714   conftest.$ac_objext conftest.beam conftest.$ac_ext
47715 fi
47716
47717
47718 fi
47719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5
47720 $as_echo "$gl_cv_func_btowc_nul" >&6; }
47721
47722         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
47723 $as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
47724 if ${gl_cv_func_btowc_eof+:} false; then :
47725   $as_echo_n "(cached) " >&6
47726 else
47727
47728                         case "$host_os" in
47729                  # Guess no on IRIX.
47730           irix*) gl_cv_func_btowc_eof="guessing no" ;;
47731                  # Guess yes otherwise.
47732           *)     gl_cv_func_btowc_eof="guessing yes" ;;
47733         esac
47734         if test $LOCALE_FR != none; then
47735           if test "$cross_compiling" = yes; then :
47736   :
47737 else
47738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h.  */
47740
47741 #include <locale.h>
47742 #include <string.h>
47743 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47744    <wchar.h>.
47745    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47746    included before <wchar.h>.  */
47747 #include <stddef.h>
47748 #include <stdio.h>
47749 #include <time.h>
47750 #include <wchar.h>
47751 int main ()
47752 {
47753   if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
47754     {
47755       if (btowc (EOF) != WEOF)
47756         return 1;
47757     }
47758   return 0;
47759 }
47760 _ACEOF
47761 if ac_fn_c_try_run "$LINENO"; then :
47762   gl_cv_func_btowc_eof=yes
47763 else
47764   gl_cv_func_btowc_eof=no
47765 fi
47766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47767   conftest.$ac_objext conftest.beam conftest.$ac_ext
47768 fi
47769
47770         fi
47771
47772 fi
47773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5
47774 $as_echo "$gl_cv_func_btowc_eof" >&6; }
47775
47776     case "$gl_cv_func_btowc_nul" in
47777       *yes) ;;
47778       *) REPLACE_BTOWC=1 ;;
47779     esac
47780     case "$gl_cv_func_btowc_eof" in
47781       *yes) ;;
47782       *) REPLACE_BTOWC=1 ;;
47783     esac
47784   fi
47785
47786   if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
47787
47788
47789
47790
47791
47792
47793
47794
47795   gltests_LIBOBJS="$gltests_LIBOBJS btowc.$ac_objext"
47796
47797
47798   :
47799
47800   fi
47801
47802
47803
47804
47805
47806     if test "$GNULIB_BTOWC" != 1; then
47807         if test "$GNULIB_BTOWC" = 0; then
47808       GNULIB_BTOWC=$gl_module_indicator_condition
47809     else
47810       GNULIB_BTOWC="($GNULIB_BTOWC || $gl_module_indicator_condition)"
47811     fi
47812   fi
47813
47814
47815
47816
47817
47818 $as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h
47819
47820
47821
47822
47823
47824
47825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
47826 $as_echo_n "checking for a traditional french locale... " >&6; }
47827 if ${gt_cv_locale_fr+:} false; then :
47828   $as_echo_n "(cached) " >&6
47829 else
47830
47831     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47832 /* end confdefs.h.  */
47833
47834 #include <locale.h>
47835 #include <time.h>
47836 #if HAVE_LANGINFO_CODESET
47837 # include <langinfo.h>
47838 #endif
47839 #include <stdlib.h>
47840 #include <string.h>
47841 struct tm t;
47842 char buf[16];
47843 int main () {
47844   /* Check whether the given locale name is recognized by the system.  */
47845 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
47846   /* On native Windows, setlocale(category, "") looks at the system settings,
47847      not at the environment variables.  Also, when an encoding suffix such
47848      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
47849      category of the locale to "C".  */
47850   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
47851       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
47852     return 1;
47853 #else
47854   if (setlocale (LC_ALL, "") == NULL) return 1;
47855 #endif
47856   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
47857      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
47858      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
47859      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
47860      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
47861      some unit tests fail.
47862      On MirBSD 10, when an unsupported locale is specified, setlocale()
47863      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
47864 #if HAVE_LANGINFO_CODESET
47865   {
47866     const char *cs = nl_langinfo (CODESET);
47867     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
47868         || strcmp (cs, "UTF-8") == 0)
47869       return 1;
47870   }
47871 #endif
47872 #ifdef __CYGWIN__
47873   /* On Cygwin, avoid locale names without encoding suffix, because the
47874      locale_charset() function relies on the encoding suffix.  Note that
47875      LC_ALL is set on the command line.  */
47876   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
47877 #endif
47878   /* Check whether in the abbreviation of the second month, the second
47879      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
47880      one byte long. This excludes the UTF-8 encoding.  */
47881   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
47882   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
47883 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
47884   /* Check whether the decimal separator is a comma.
47885      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
47886      are nl_langinfo(RADIXCHAR) are both ".".  */
47887   if (localeconv () ->decimal_point[0] != ',') return 1;
47888 #endif
47889   return 0;
47890 }
47891
47892 _ACEOF
47893     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
47894   (eval $ac_link) 2>&5
47895   ac_status=$?
47896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47897   test $ac_status = 0; } && test -s conftest$ac_exeext; then
47898       case "$host_os" in
47899         # Handle native Windows specially, because there setlocale() interprets
47900         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
47901         # "fr" or "fra" as "French" or "French_France.1252",
47902         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
47903         # "ja" as "Japanese" or "Japanese_Japan.932",
47904         # and similar.
47905         mingw*)
47906           # Test for the native Windows locale name.
47907           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
47908             gt_cv_locale_fr=French_France.1252
47909           else
47910             # None found.
47911             gt_cv_locale_fr=none
47912           fi
47913           ;;
47914         *)
47915           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
47916           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
47917           # configure script would override the LC_ALL setting. Likewise for
47918           # LC_CTYPE, which is also set at the beginning of the configure script.
47919           # Test for the usual locale name.
47920           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
47921             gt_cv_locale_fr=fr_FR
47922           else
47923             # Test for the locale name with explicit encoding suffix.
47924             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
47925               gt_cv_locale_fr=fr_FR.ISO-8859-1
47926             else
47927               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
47928               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
47929                 gt_cv_locale_fr=fr_FR.ISO8859-1
47930               else
47931                 # Test for the HP-UX locale name.
47932                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
47933                   gt_cv_locale_fr=fr_FR.iso88591
47934                 else
47935                   # Test for the Solaris 7 locale name.
47936                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
47937                     gt_cv_locale_fr=fr
47938                   else
47939                     # None found.
47940                     gt_cv_locale_fr=none
47941                   fi
47942                 fi
47943               fi
47944             fi
47945           fi
47946           ;;
47947       esac
47948     fi
47949     rm -fr conftest*
47950
47951 fi
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
47953 $as_echo "$gt_cv_locale_fr" >&6; }
47954   LOCALE_FR=$gt_cv_locale_fr
47955
47956
47957
47958
47959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
47960 $as_echo_n "checking for a french Unicode locale... " >&6; }
47961 if ${gt_cv_locale_fr_utf8+:} false; then :
47962   $as_echo_n "(cached) " >&6
47963 else
47964
47965     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47966 /* end confdefs.h.  */
47967
47968 #include <locale.h>
47969 #include <time.h>
47970 #if HAVE_LANGINFO_CODESET
47971 # include <langinfo.h>
47972 #endif
47973 #include <stdlib.h>
47974 #include <string.h>
47975 struct tm t;
47976 char buf[16];
47977 int main () {
47978   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
47979      imitates locale dependent behaviour by looking at the environment
47980      variables, and all locales use the UTF-8 encoding.  */
47981 #if !(defined __BEOS__ || defined __HAIKU__)
47982   /* Check whether the given locale name is recognized by the system.  */
47983 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
47984   /* On native Windows, setlocale(category, "") looks at the system settings,
47985      not at the environment variables.  Also, when an encoding suffix such
47986      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
47987      category of the locale to "C".  */
47988   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
47989       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
47990     return 1;
47991 # else
47992   if (setlocale (LC_ALL, "") == NULL) return 1;
47993 # endif
47994   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
47995      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
47996      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
47997      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
47998      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
47999      some unit tests fail.  */
48000 # if HAVE_LANGINFO_CODESET
48001   {
48002     const char *cs = nl_langinfo (CODESET);
48003     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
48004       return 1;
48005   }
48006 # endif
48007 # ifdef __CYGWIN__
48008   /* On Cygwin, avoid locale names without encoding suffix, because the
48009      locale_charset() function relies on the encoding suffix.  Note that
48010      LC_ALL is set on the command line.  */
48011   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
48012 # endif
48013   /* Check whether in the abbreviation of the second month, the second
48014      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
48015      two bytes long, with UTF-8 encoding.  */
48016   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
48017   if (strftime (buf, sizeof (buf), "%b", &t) < 4
48018       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
48019     return 1;
48020 #endif
48021 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
48022   /* Check whether the decimal separator is a comma.
48023      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
48024      are nl_langinfo(RADIXCHAR) are both ".".  */
48025   if (localeconv () ->decimal_point[0] != ',') return 1;
48026 #endif
48027   return 0;
48028 }
48029
48030 _ACEOF
48031     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
48032   (eval $ac_link) 2>&5
48033   ac_status=$?
48034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48035   test $ac_status = 0; } && test -s conftest$ac_exeext; then
48036       case "$host_os" in
48037         # Handle native Windows specially, because there setlocale() interprets
48038         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
48039         # "fr" or "fra" as "French" or "French_France.1252",
48040         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
48041         # "ja" as "Japanese" or "Japanese_Japan.932",
48042         # and similar.
48043         mingw*)
48044           # Test for the hypothetical native Windows locale name.
48045           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48046             gt_cv_locale_fr_utf8=French_France.65001
48047           else
48048             # None found.
48049             gt_cv_locale_fr_utf8=none
48050           fi
48051           ;;
48052         *)
48053           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
48054           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
48055           # configure script would override the LC_ALL setting. Likewise for
48056           # LC_CTYPE, which is also set at the beginning of the configure script.
48057           # Test for the usual locale name.
48058           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48059             gt_cv_locale_fr_utf8=fr_FR
48060           else
48061             # Test for the locale name with explicit encoding suffix.
48062             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48063               gt_cv_locale_fr_utf8=fr_FR.UTF-8
48064             else
48065               # Test for the Solaris 7 locale name.
48066               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48067                 gt_cv_locale_fr_utf8=fr.UTF-8
48068               else
48069                 # None found.
48070                 gt_cv_locale_fr_utf8=none
48071               fi
48072             fi
48073           fi
48074           ;;
48075       esac
48076     fi
48077     rm -fr conftest*
48078
48079 fi
48080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
48081 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
48082   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
48083
48084
48085
48086
48087
48088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
48089 $as_echo_n "checking for a traditional french locale... " >&6; }
48090 if ${gt_cv_locale_fr+:} false; then :
48091   $as_echo_n "(cached) " >&6
48092 else
48093
48094     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48095 /* end confdefs.h.  */
48096
48097 #include <locale.h>
48098 #include <time.h>
48099 #if HAVE_LANGINFO_CODESET
48100 # include <langinfo.h>
48101 #endif
48102 #include <stdlib.h>
48103 #include <string.h>
48104 struct tm t;
48105 char buf[16];
48106 int main () {
48107   /* Check whether the given locale name is recognized by the system.  */
48108 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
48109   /* On native Windows, setlocale(category, "") looks at the system settings,
48110      not at the environment variables.  Also, when an encoding suffix such
48111      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
48112      category of the locale to "C".  */
48113   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
48114       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
48115     return 1;
48116 #else
48117   if (setlocale (LC_ALL, "") == NULL) return 1;
48118 #endif
48119   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
48120      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
48121      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
48122      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
48123      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
48124      some unit tests fail.
48125      On MirBSD 10, when an unsupported locale is specified, setlocale()
48126      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
48127 #if HAVE_LANGINFO_CODESET
48128   {
48129     const char *cs = nl_langinfo (CODESET);
48130     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
48131         || strcmp (cs, "UTF-8") == 0)
48132       return 1;
48133   }
48134 #endif
48135 #ifdef __CYGWIN__
48136   /* On Cygwin, avoid locale names without encoding suffix, because the
48137      locale_charset() function relies on the encoding suffix.  Note that
48138      LC_ALL is set on the command line.  */
48139   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
48140 #endif
48141   /* Check whether in the abbreviation of the second month, the second
48142      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
48143      one byte long. This excludes the UTF-8 encoding.  */
48144   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
48145   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
48146 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
48147   /* Check whether the decimal separator is a comma.
48148      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
48149      are nl_langinfo(RADIXCHAR) are both ".".  */
48150   if (localeconv () ->decimal_point[0] != ',') return 1;
48151 #endif
48152   return 0;
48153 }
48154
48155 _ACEOF
48156     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
48157   (eval $ac_link) 2>&5
48158   ac_status=$?
48159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48160   test $ac_status = 0; } && test -s conftest$ac_exeext; then
48161       case "$host_os" in
48162         # Handle native Windows specially, because there setlocale() interprets
48163         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
48164         # "fr" or "fra" as "French" or "French_France.1252",
48165         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
48166         # "ja" as "Japanese" or "Japanese_Japan.932",
48167         # and similar.
48168         mingw*)
48169           # Test for the native Windows locale name.
48170           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48171             gt_cv_locale_fr=French_France.1252
48172           else
48173             # None found.
48174             gt_cv_locale_fr=none
48175           fi
48176           ;;
48177         *)
48178           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
48179           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
48180           # configure script would override the LC_ALL setting. Likewise for
48181           # LC_CTYPE, which is also set at the beginning of the configure script.
48182           # Test for the usual locale name.
48183           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48184             gt_cv_locale_fr=fr_FR
48185           else
48186             # Test for the locale name with explicit encoding suffix.
48187             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48188               gt_cv_locale_fr=fr_FR.ISO-8859-1
48189             else
48190               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
48191               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48192                 gt_cv_locale_fr=fr_FR.ISO8859-1
48193               else
48194                 # Test for the HP-UX locale name.
48195                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48196                   gt_cv_locale_fr=fr_FR.iso88591
48197                 else
48198                   # Test for the Solaris 7 locale name.
48199                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48200                     gt_cv_locale_fr=fr
48201                   else
48202                     # None found.
48203                     gt_cv_locale_fr=none
48204                   fi
48205                 fi
48206               fi
48207             fi
48208           fi
48209           ;;
48210       esac
48211     fi
48212     rm -fr conftest*
48213
48214 fi
48215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
48216 $as_echo "$gt_cv_locale_fr" >&6; }
48217   LOCALE_FR=$gt_cv_locale_fr
48218
48219
48220
48221
48222
48223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
48224 $as_echo_n "checking for a turkish Unicode locale... " >&6; }
48225 if ${gt_cv_locale_tr_utf8+:} false; then :
48226   $as_echo_n "(cached) " >&6
48227 else
48228
48229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48230 /* end confdefs.h.  */
48231
48232 #include <locale.h>
48233 #include <time.h>
48234 #if HAVE_LANGINFO_CODESET
48235 # include <langinfo.h>
48236 #endif
48237 #include <stdlib.h>
48238 #include <string.h>
48239 struct tm t;
48240 char buf[16];
48241 int main () {
48242   /* On BeOS, locales are not implemented in libc.  Rather, libintl
48243      imitates locale dependent behaviour by looking at the environment
48244      variables, and all locales use the UTF-8 encoding.  But BeOS does not
48245      implement the Turkish upper-/lowercase mappings.  Therefore, let this
48246      program return 1 on BeOS.  */
48247   /* Check whether the given locale name is recognized by the system.  */
48248 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
48249   /* On native Windows, setlocale(category, "") looks at the system settings,
48250      not at the environment variables.  Also, when an encoding suffix such
48251      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
48252      category of the locale to "C".  */
48253   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
48254       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
48255     return 1;
48256 #else
48257   if (setlocale (LC_ALL, "") == NULL) return 1;
48258 #endif
48259   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
48260      On Mac OS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
48261      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
48262      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
48263      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
48264      some unit tests fail.  */
48265 #if HAVE_LANGINFO_CODESET
48266   {
48267     const char *cs = nl_langinfo (CODESET);
48268     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
48269       return 1;
48270   }
48271 #endif
48272 #ifdef __CYGWIN__
48273   /* On Cygwin, avoid locale names without encoding suffix, because the
48274      locale_charset() function relies on the encoding suffix.  Note that
48275      LC_ALL is set on the command line.  */
48276   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
48277 #endif
48278   /* Check whether in the abbreviation of the eighth month, the second
48279      character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
48280      two bytes long, with UTF-8 encoding.  */
48281   t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
48282   if (strftime (buf, sizeof (buf), "%b", &t) < 4
48283       || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
48284     return 1;
48285   /* Check whether the upper-/lowercase mappings are as expected for
48286      Turkish.  */
48287   if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
48288       || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
48289     return 1;
48290   return 0;
48291 }
48292
48293 _ACEOF
48294     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
48295   (eval $ac_link) 2>&5
48296   ac_status=$?
48297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48298   test $ac_status = 0; } && test -s conftest$ac_exeext; then
48299       case "$host_os" in
48300         # Handle native Windows specially, because there setlocale() interprets
48301         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
48302         # "fr" or "fra" as "French" or "French_France.1252",
48303         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
48304         # "ja" as "Japanese" or "Japanese_Japan.932",
48305         # and similar.
48306         mingw*)
48307           # Test for the hypothetical native Windows locale name.
48308           if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48309             gt_cv_locale_tr_utf8=Turkish_Turkey.65001
48310           else
48311             # None found.
48312             gt_cv_locale_tr_utf8=none
48313           fi
48314           ;;
48315         *)
48316           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
48317           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
48318           # configure script would override the LC_ALL setting. Likewise for
48319           # LC_CTYPE, which is also set at the beginning of the configure script.
48320           # Test for the usual locale name.
48321           if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48322             gt_cv_locale_tr_utf8=tr_TR
48323           else
48324             # Test for the locale name with explicit encoding suffix.
48325             if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48326               gt_cv_locale_tr_utf8=tr_TR.UTF-8
48327             else
48328               # Test for the Solaris 7 locale name.
48329               if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
48330                 gt_cv_locale_tr_utf8=tr.UTF-8
48331               else
48332                 # None found.
48333                 gt_cv_locale_tr_utf8=none
48334               fi
48335             fi
48336           fi
48337           ;;
48338       esac
48339     else
48340       gt_cv_locale_tr_utf8=none
48341     fi
48342     rm -fr conftest*
48343
48344 fi
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
48346 $as_echo "$gt_cv_locale_tr_utf8" >&6; }
48347   LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361      if test $gl_cv_have_include_next = yes; then
48362        gl_cv_next_ctype_h='<'ctype.h'>'
48363      else
48364        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <ctype.h>" >&5
48365 $as_echo_n "checking absolute name of <ctype.h>... " >&6; }
48366 if ${gl_cv_next_ctype_h+:} false; then :
48367   $as_echo_n "(cached) " >&6
48368 else
48369
48370
48371
48372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48373 /* end confdefs.h.  */
48374 #include <ctype.h>
48375 _ACEOF
48376                 case "$host_os" in
48377     aix*) gl_absname_cpp="$ac_cpp -C" ;;
48378     *)    gl_absname_cpp="$ac_cpp" ;;
48379   esac
48380
48381   case "$host_os" in
48382     mingw*)
48383                                           gl_dirsep_regex='[/\\]'
48384       ;;
48385     *)
48386       gl_dirsep_regex='\/'
48387       ;;
48388   esac
48389       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
48390   gl_header_literal_regex=`echo 'ctype.h' \
48391                            | sed -e "$gl_make_literal_regex_sed"`
48392   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
48393       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
48394       s|^/[^/]|//&|
48395       p
48396       q
48397     }'
48398
48399         gl_cv_absolute_ctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
48400   sed -n "$gl_absolute_header_sed"`
48401
48402            gl_header=$gl_cv_absolute_ctype_h
48403            gl_cv_next_ctype_h='"'$gl_header'"'
48404
48405
48406 fi
48407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_ctype_h" >&5
48408 $as_echo "$gl_cv_next_ctype_h" >&6; }
48409      fi
48410      NEXT_CTYPE_H=$gl_cv_next_ctype_h
48411
48412      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
48413        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
48414        gl_next_as_first_directive='<'ctype.h'>'
48415      else
48416        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
48417        gl_next_as_first_directive=$gl_cv_next_ctype_h
48418      fi
48419      NEXT_AS_FIRST_DIRECTIVE_CTYPE_H=$gl_next_as_first_directive
48420
48421
48422
48423
48424
48425
48426     for gl_func in isblank; do
48427     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
48428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
48429 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
48430 if eval \${$as_gl_Symbol+:} false; then :
48431   $as_echo_n "(cached) " >&6
48432 else
48433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48434 /* end confdefs.h.  */
48435 #include <ctype.h>
48436
48437 int
48438 main ()
48439 {
48440 #undef $gl_func
48441   (void) $gl_func;
48442   ;
48443   return 0;
48444 }
48445 _ACEOF
48446 if ac_fn_c_try_compile "$LINENO"; then :
48447   eval "$as_gl_Symbol=yes"
48448 else
48449   eval "$as_gl_Symbol=no"
48450 fi
48451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48452 fi
48453 eval ac_res=\$$as_gl_Symbol
48454                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
48455 $as_echo "$ac_res" >&6; }
48456     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
48457   cat >>confdefs.h <<_ACEOF
48458 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
48459 _ACEOF
48460
48461                      eval ac_cv_have_decl_$gl_func=yes
48462 fi
48463       done
48464
48465
48466
48467
48468
48469
48470
48471
48472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
48473 $as_echo_n "checking whether // is distinct from /... " >&6; }
48474 if ${gl_cv_double_slash_root+:} false; then :
48475   $as_echo_n "(cached) " >&6
48476 else
48477    if test x"$cross_compiling" = xyes ; then
48478         # When cross-compiling, there is no way to tell whether // is special
48479         # short of a list of hosts.  However, the only known hosts to date
48480         # that have a distinct // are Apollo DomainOS (too old to port to),
48481         # Cygwin, and z/OS.  If anyone knows of another system for which // has
48482         # special semantics and is distinct from /, please report it to
48483         # <bug-gnulib@gnu.org>.
48484         case $host in
48485           *-cygwin | i370-ibm-openedition)
48486             gl_cv_double_slash_root=yes ;;
48487           *)
48488             # Be optimistic and assume that / and // are the same when we
48489             # don't know.
48490             gl_cv_double_slash_root='unknown, assuming no' ;;
48491         esac
48492       else
48493         set x `ls -di / // 2>/dev/null`
48494         if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
48495           gl_cv_double_slash_root=no
48496         else
48497           gl_cv_double_slash_root=yes
48498         fi
48499       fi
48500 fi
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
48502 $as_echo "$gl_cv_double_slash_root" >&6; }
48503   if test "$gl_cv_double_slash_root" = yes; then
48504
48505 $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
48506
48507   fi
48508
48509
48510
48511
48512
48513
48514
48515     if test "$GNULIB_ENVIRON" != 1; then
48516         if test "$GNULIB_ENVIRON" = 0; then
48517       GNULIB_ENVIRON=$gl_module_indicator_condition
48518     else
48519       GNULIB_ENVIRON="($GNULIB_ENVIRON || $gl_module_indicator_condition)"
48520     fi
48521   fi
48522
48523
48524
48525
48526
48527 $as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h
48528
48529
48530
48531
48532       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
48533 $as_echo_n "checking for error_at_line... " >&6; }
48534 if ${ac_cv_lib_error_at_line+:} false; then :
48535   $as_echo_n "(cached) " >&6
48536 else
48537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48538 /* end confdefs.h.  */
48539 #include <error.h>
48540 int
48541 main ()
48542 {
48543 error_at_line (0, 0, "", 0, "an error occurred");
48544   ;
48545   return 0;
48546 }
48547 _ACEOF
48548 if ac_fn_c_try_link "$LINENO"; then :
48549   ac_cv_lib_error_at_line=yes
48550 else
48551   ac_cv_lib_error_at_line=no
48552 fi
48553 rm -f core conftest.err conftest.$ac_objext \
48554     conftest$ac_exeext conftest.$ac_ext
48555 fi
48556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
48557 $as_echo "$ac_cv_lib_error_at_line" >&6; }
48558
48559   if test $ac_cv_lib_error_at_line = no; then
48560
48561
48562
48563
48564
48565
48566
48567
48568   gltests_LIBOBJS="$gltests_LIBOBJS error.$ac_objext"
48569
48570
48571
48572   :
48573
48574   fi
48575
48576
48577   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
48578
48579
48580
48581   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
48582
48583
48584
48585
48586   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
48587     REPLACE_FDOPEN=1
48588   else
48589         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fdopen sets errno" >&5
48590 $as_echo_n "checking whether fdopen sets errno... " >&6; }
48591 if ${gl_cv_func_fdopen_works+:} false; then :
48592   $as_echo_n "(cached) " >&6
48593 else
48594
48595         if test "$cross_compiling" = yes; then :
48596   case "$host_os" in
48597              mingw*) gl_cv_func_fdopen_works="guessing no" ;;
48598              *)      gl_cv_func_fdopen_works="guessing yes" ;;
48599            esac
48600
48601 else
48602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48603 /* end confdefs.h.  */
48604
48605 #include <stdio.h>
48606 #include <errno.h>
48607 int
48608 main (void)
48609 {
48610   FILE *fp;
48611   errno = 0;
48612   fp = fdopen (-1, "r");
48613   if (fp == NULL && errno == 0)
48614     return 1;
48615   return 0;
48616 }
48617 _ACEOF
48618 if ac_fn_c_try_run "$LINENO"; then :
48619   gl_cv_func_fdopen_works=yes
48620 else
48621   gl_cv_func_fdopen_works=no
48622 fi
48623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48624   conftest.$ac_objext conftest.beam conftest.$ac_ext
48625 fi
48626
48627
48628 fi
48629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopen_works" >&5
48630 $as_echo "$gl_cv_func_fdopen_works" >&6; }
48631     case "$gl_cv_func_fdopen_works" in
48632       *no) REPLACE_FDOPEN=1 ;;
48633     esac
48634   fi
48635
48636   if test $REPLACE_FDOPEN = 1; then
48637
48638
48639
48640
48641
48642
48643
48644
48645   gltests_LIBOBJS="$gltests_LIBOBJS fdopen.$ac_objext"
48646
48647
48648   fi
48649
48650
48651
48652
48653
48654     if test "$GNULIB_FDOPEN" != 1; then
48655         if test "$GNULIB_FDOPEN" = 0; then
48656       GNULIB_FDOPEN=$gl_module_indicator_condition
48657     else
48658       GNULIB_FDOPEN="($GNULIB_FDOPEN || $gl_module_indicator_condition)"
48659     fi
48660   fi
48661
48662
48663
48664
48665
48666 $as_echo "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h
48667
48668
48669
48670
48671
48672
48673   for ac_func in getpagesize
48674 do :
48675   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
48676 if test "x$ac_cv_func_getpagesize" = xyes; then :
48677   cat >>confdefs.h <<_ACEOF
48678 #define HAVE_GETPAGESIZE 1
48679 _ACEOF
48680
48681 fi
48682 done
48683
48684   if test $ac_cv_func_getpagesize = no; then
48685     HAVE_GETPAGESIZE=0
48686     for ac_header in OS.h
48687 do :
48688   ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
48689 if test "x$ac_cv_header_OS_h" = xyes; then :
48690   cat >>confdefs.h <<_ACEOF
48691 #define HAVE_OS_H 1
48692 _ACEOF
48693
48694 fi
48695
48696 done
48697
48698     if test $ac_cv_header_OS_h = yes; then
48699       HAVE_OS_H=1
48700     fi
48701     for ac_header in sys/param.h
48702 do :
48703   ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
48704 if test "x$ac_cv_header_sys_param_h" = xyes; then :
48705   cat >>confdefs.h <<_ACEOF
48706 #define HAVE_SYS_PARAM_H 1
48707 _ACEOF
48708
48709 fi
48710
48711 done
48712
48713     if test $ac_cv_header_sys_param_h = yes; then
48714       HAVE_SYS_PARAM_H=1
48715     fi
48716   fi
48717   case "$host_os" in
48718     mingw*)
48719       REPLACE_GETPAGESIZE=1
48720       ;;
48721   esac
48722       ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
48723 if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
48724
48725 else
48726   HAVE_DECL_GETPAGESIZE=0
48727 fi
48728
48729
48730   if test $REPLACE_GETPAGESIZE = 1; then
48731
48732
48733
48734
48735
48736
48737
48738
48739   gltests_LIBOBJS="$gltests_LIBOBJS getpagesize.$ac_objext"
48740
48741   fi
48742
48743
48744
48745
48746
48747     if test "$GNULIB_GETPAGESIZE" != 1; then
48748         if test "$GNULIB_GETPAGESIZE" = 0; then
48749       GNULIB_GETPAGESIZE=$gl_module_indicator_condition
48750     else
48751       GNULIB_GETPAGESIZE="($GNULIB_GETPAGESIZE || $gl_module_indicator_condition)"
48752     fi
48753   fi
48754
48755
48756
48757
48758
48759 $as_echo "#define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
48760
48761
48762
48763
48764
48765
48766   ac_found=0
48767   ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
48768 "
48769 if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
48770   ac_have_decl=1
48771 else
48772   ac_have_decl=0
48773 fi
48774
48775 cat >>confdefs.h <<_ACEOF
48776 #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
48777 _ACEOF
48778 if test $ac_have_decl = 1; then :
48779   ac_found=1
48780 fi
48781
48782   ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
48783 "
48784 if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
48785   ac_have_decl=1
48786 else
48787   ac_have_decl=0
48788 fi
48789
48790 cat >>confdefs.h <<_ACEOF
48791 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
48792 _ACEOF
48793 if test $ac_have_decl = 1; then :
48794   ac_found=1
48795 fi
48796
48797   ac_fn_c_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include <stdlib.h>
48798 "
48799 if test "x$ac_cv_have_decl___argv" = xyes; then :
48800   ac_have_decl=1
48801 else
48802   ac_have_decl=0
48803 fi
48804
48805 cat >>confdefs.h <<_ACEOF
48806 #define HAVE_DECL___ARGV $ac_have_decl
48807 _ACEOF
48808 if test $ac_have_decl = 1; then :
48809   ac_found=1
48810 fi
48811
48812
48813   # Incur the cost of this test only if none of the above worked.
48814   if test $ac_found = 0; then
48815     # On OpenBSD 5.1, using the global __progname variable appears to be
48816     # the only way to implement getprogname.
48817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5
48818 $as_echo_n "checking whether __progname is defined in default libraries... " >&6; }
48819 if ${gl_cv_var___progname+:} false; then :
48820   $as_echo_n "(cached) " >&6
48821 else
48822
48823         gl_cv_var___progname=
48824         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48825 /* end confdefs.h.  */
48826 extern char *__progname;
48827 int
48828 main ()
48829 {
48830 return *__progname;
48831
48832   ;
48833   return 0;
48834 }
48835 _ACEOF
48836 if ac_fn_c_try_link "$LINENO"; then :
48837   gl_cv_var___progname=yes
48838
48839 fi
48840 rm -f core conftest.err conftest.$ac_objext \
48841     conftest$ac_exeext conftest.$ac_ext
48842
48843
48844 fi
48845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var___progname" >&5
48846 $as_echo "$gl_cv_var___progname" >&6; }
48847     if test "$gl_cv_var___progname" = yes; then
48848
48849 $as_echo "#define HAVE_VAR___PROGNAME 1" >>confdefs.h
48850
48851     fi
48852   fi
48853
48854
48855
48856
48857
48858
48859
48860
48861   PRIPTR_PREFIX=
48862   if test -n "$STDINT_H"; then
48863         PRIPTR_PREFIX='"l"'
48864   else
48865         for glpfx in '' l ll I64; do
48866       case $glpfx in
48867         '')  gltype1='int';;
48868         l)   gltype1='long int';;
48869         ll)  gltype1='long long int';;
48870         I64) gltype1='__int64';;
48871       esac
48872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48873 /* end confdefs.h.  */
48874 #include <stdint.h>
48875            extern intptr_t foo;
48876            extern $gltype1 foo;
48877 int
48878 main ()
48879 {
48880
48881   ;
48882   return 0;
48883 }
48884 _ACEOF
48885 if ac_fn_c_try_compile "$LINENO"; then :
48886   PRIPTR_PREFIX='"'$glpfx'"'
48887 fi
48888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48889       test -n "$PRIPTR_PREFIX" && break
48890     done
48891   fi
48892
48893
48894
48895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5
48896 $as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; }
48897 if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then :
48898   $as_echo_n "(cached) " >&6
48899 else
48900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48901 /* end confdefs.h.  */
48902 /* Work also in C++ mode.  */
48903             #define __STDC_LIMIT_MACROS 1
48904
48905             /* Work if build is not clean.  */
48906             #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
48907
48908             #include <limits.h>
48909             #if HAVE_STDINT_H
48910              #include <stdint.h>
48911             #endif
48912
48913             #if defined INT32_MAX && defined INTMAX_MAX
48914              #define CONDITION (INT32_MAX < INTMAX_MAX)
48915             #elif HAVE_LONG_LONG_INT
48916              #define CONDITION (sizeof (int) < sizeof (long long int))
48917             #else
48918              #define CONDITION 0
48919             #endif
48920             int test[CONDITION ? 1 : -1];
48921 int
48922 main ()
48923 {
48924
48925   ;
48926   return 0;
48927 }
48928 _ACEOF
48929 if ac_fn_c_try_compile "$LINENO"; then :
48930   gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes
48931 else
48932   gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no
48933 fi
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48935 fi
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5
48937 $as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; }
48938   if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then
48939     INT32_MAX_LT_INTMAX_MAX=1;
48940   else
48941     INT32_MAX_LT_INTMAX_MAX=0;
48942   fi
48943
48944
48945   if test $APPLE_UNIVERSAL_BUILD = 0; then
48946
48947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5
48948 $as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; }
48949 if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then :
48950   $as_echo_n "(cached) " >&6
48951 else
48952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48953 /* end confdefs.h.  */
48954 /* Work also in C++ mode.  */
48955             #define __STDC_LIMIT_MACROS 1
48956
48957             /* Work if build is not clean.  */
48958             #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
48959
48960             #include <limits.h>
48961             #if HAVE_STDINT_H
48962              #include <stdint.h>
48963             #endif
48964
48965             #if defined INT64_MAX
48966              #define CONDITION (INT64_MAX == LONG_MAX)
48967             #elif HAVE_LONG_LONG_INT
48968              #define CONDITION (sizeof (long long int) == sizeof (long int))
48969             #else
48970              #define CONDITION 0
48971             #endif
48972             int test[CONDITION ? 1 : -1];
48973 int
48974 main ()
48975 {
48976
48977   ;
48978   return 0;
48979 }
48980 _ACEOF
48981 if ac_fn_c_try_compile "$LINENO"; then :
48982   gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes
48983 else
48984   gl_cv_test_INT64_MAX_EQ_LONG_MAX=no
48985 fi
48986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48987 fi
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5
48989 $as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; }
48990   if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then
48991     INT64_MAX_EQ_LONG_MAX=1;
48992   else
48993     INT64_MAX_EQ_LONG_MAX=0;
48994   fi
48995
48996
48997   else
48998     INT64_MAX_EQ_LONG_MAX=-1
48999   fi
49000
49001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5
49002 $as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; }
49003 if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then :
49004   $as_echo_n "(cached) " >&6
49005 else
49006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49007 /* end confdefs.h.  */
49008 /* Work also in C++ mode.  */
49009             #define __STDC_LIMIT_MACROS 1
49010
49011             /* Work if build is not clean.  */
49012             #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
49013
49014             #include <limits.h>
49015             #if HAVE_STDINT_H
49016              #include <stdint.h>
49017             #endif
49018
49019             #if defined UINT32_MAX && defined UINTMAX_MAX
49020              #define CONDITION (UINT32_MAX < UINTMAX_MAX)
49021             #elif HAVE_LONG_LONG_INT
49022              #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int))
49023             #else
49024              #define CONDITION 0
49025             #endif
49026             int test[CONDITION ? 1 : -1];
49027 int
49028 main ()
49029 {
49030
49031   ;
49032   return 0;
49033 }
49034 _ACEOF
49035 if ac_fn_c_try_compile "$LINENO"; then :
49036   gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes
49037 else
49038   gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no
49039 fi
49040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49041 fi
49042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5
49043 $as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; }
49044   if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then
49045     UINT32_MAX_LT_UINTMAX_MAX=1;
49046   else
49047     UINT32_MAX_LT_UINTMAX_MAX=0;
49048   fi
49049
49050
49051   if test $APPLE_UNIVERSAL_BUILD = 0; then
49052
49053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5
49054 $as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; }
49055 if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then :
49056   $as_echo_n "(cached) " >&6
49057 else
49058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49059 /* end confdefs.h.  */
49060 /* Work also in C++ mode.  */
49061             #define __STDC_LIMIT_MACROS 1
49062
49063             /* Work if build is not clean.  */
49064             #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
49065
49066             #include <limits.h>
49067             #if HAVE_STDINT_H
49068              #include <stdint.h>
49069             #endif
49070
49071             #if defined UINT64_MAX
49072              #define CONDITION (UINT64_MAX == ULONG_MAX)
49073             #elif HAVE_LONG_LONG_INT
49074              #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int))
49075             #else
49076              #define CONDITION 0
49077             #endif
49078             int test[CONDITION ? 1 : -1];
49079 int
49080 main ()
49081 {
49082
49083   ;
49084   return 0;
49085 }
49086 _ACEOF
49087 if ac_fn_c_try_compile "$LINENO"; then :
49088   gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes
49089 else
49090   gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no
49091 fi
49092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49093 fi
49094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5
49095 $as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; }
49096   if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then
49097     UINT64_MAX_EQ_ULONG_MAX=1;
49098   else
49099     UINT64_MAX_EQ_ULONG_MAX=0;
49100   fi
49101
49102
49103   else
49104     UINT64_MAX_EQ_ULONG_MAX=-1
49105   fi
49106
49107
49108
49109
49110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
49111 $as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
49112 if ${gl_cv_cc_double_expbit0+:} false; then :
49113   $as_echo_n "(cached) " >&6
49114 else
49115
49116       if test "$cross_compiling" = yes; then :
49117
49118                                                                       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49119 /* end confdefs.h.  */
49120
49121 #if defined arm || defined __arm || defined __arm__
49122   mixed_endianness
49123 #endif
49124
49125 _ACEOF
49126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49127   $EGREP "mixed_endianness" >/dev/null 2>&1; then :
49128   gl_cv_cc_double_expbit0="unknown"
49129 else
49130
49131                                                          :
49132 if ${ac_cv_c_bigendian+:} false; then :
49133   $as_echo_n "(cached) " >&6
49134 else
49135   ac_cv_c_bigendian=unknown
49136     # See if we're dealing with a universal compiler.
49137     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49138 /* end confdefs.h.  */
49139 #ifndef __APPLE_CC__
49140                not a universal capable compiler
49141              #endif
49142              typedef int dummy;
49143
49144 _ACEOF
49145 if ac_fn_c_try_compile "$LINENO"; then :
49146
49147         # Check for potential -arch flags.  It is not universal unless
49148         # there are at least two -arch flags with different values.
49149         ac_arch=
49150         ac_prev=
49151         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
49152          if test -n "$ac_prev"; then
49153            case $ac_word in
49154              i?86 | x86_64 | ppc | ppc64)
49155                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
49156                  ac_arch=$ac_word
49157                else
49158                  ac_cv_c_bigendian=universal
49159                  break
49160                fi
49161                ;;
49162            esac
49163            ac_prev=
49164          elif test "x$ac_word" = "x-arch"; then
49165            ac_prev=arch
49166          fi
49167        done
49168 fi
49169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49170     if test $ac_cv_c_bigendian = unknown; then
49171       # See if sys/param.h defines the BYTE_ORDER macro.
49172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49173 /* end confdefs.h.  */
49174 #include <sys/types.h>
49175              #include <sys/param.h>
49176
49177 int
49178 main ()
49179 {
49180 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
49181                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
49182                      && LITTLE_ENDIAN)
49183               bogus endian macros
49184              #endif
49185
49186   ;
49187   return 0;
49188 }
49189 _ACEOF
49190 if ac_fn_c_try_compile "$LINENO"; then :
49191   # It does; now see whether it defined to BIG_ENDIAN or not.
49192          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49193 /* end confdefs.h.  */
49194 #include <sys/types.h>
49195                 #include <sys/param.h>
49196
49197 int
49198 main ()
49199 {
49200 #if BYTE_ORDER != BIG_ENDIAN
49201                  not big endian
49202                 #endif
49203
49204   ;
49205   return 0;
49206 }
49207 _ACEOF
49208 if ac_fn_c_try_compile "$LINENO"; then :
49209   ac_cv_c_bigendian=yes
49210 else
49211   ac_cv_c_bigendian=no
49212 fi
49213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214 fi
49215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49216     fi
49217     if test $ac_cv_c_bigendian = unknown; then
49218       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
49219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49220 /* end confdefs.h.  */
49221 #include <limits.h>
49222
49223 int
49224 main ()
49225 {
49226 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
49227               bogus endian macros
49228              #endif
49229
49230   ;
49231   return 0;
49232 }
49233 _ACEOF
49234 if ac_fn_c_try_compile "$LINENO"; then :
49235   # It does; now see whether it defined to _BIG_ENDIAN or not.
49236          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49237 /* end confdefs.h.  */
49238 #include <limits.h>
49239
49240 int
49241 main ()
49242 {
49243 #ifndef _BIG_ENDIAN
49244                  not big endian
49245                 #endif
49246
49247   ;
49248   return 0;
49249 }
49250 _ACEOF
49251 if ac_fn_c_try_compile "$LINENO"; then :
49252   ac_cv_c_bigendian=yes
49253 else
49254   ac_cv_c_bigendian=no
49255 fi
49256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49257 fi
49258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49259     fi
49260     if test $ac_cv_c_bigendian = unknown; then
49261       # Compile a test program.
49262       if test "$cross_compiling" = yes; then :
49263   # Try to guess by grepping values from an object file.
49264          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49265 /* end confdefs.h.  */
49266 short int ascii_mm[] =
49267                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
49268                 short int ascii_ii[] =
49269                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
49270                 int use_ascii (int i) {
49271                   return ascii_mm[i] + ascii_ii[i];
49272                 }
49273                 short int ebcdic_ii[] =
49274                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
49275                 short int ebcdic_mm[] =
49276                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
49277                 int use_ebcdic (int i) {
49278                   return ebcdic_mm[i] + ebcdic_ii[i];
49279                 }
49280                 extern int foo;
49281
49282 int
49283 main ()
49284 {
49285 return use_ascii (foo) == use_ebcdic (foo);
49286   ;
49287   return 0;
49288 }
49289 _ACEOF
49290 if ac_fn_c_try_compile "$LINENO"; then :
49291   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
49292               ac_cv_c_bigendian=yes
49293             fi
49294             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
49295               if test "$ac_cv_c_bigendian" = unknown; then
49296                 ac_cv_c_bigendian=no
49297               else
49298                 # finding both strings is unlikely to happen, but who knows?
49299                 ac_cv_c_bigendian=unknown
49300               fi
49301             fi
49302 fi
49303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49304 else
49305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49306 /* end confdefs.h.  */
49307 $ac_includes_default
49308 int
49309 main ()
49310 {
49311
49312              /* Are we little or big endian?  From Harbison&Steele.  */
49313              union
49314              {
49315                long int l;
49316                char c[sizeof (long int)];
49317              } u;
49318              u.l = 1;
49319              return u.c[sizeof (long int) - 1] == 1;
49320
49321   ;
49322   return 0;
49323 }
49324 _ACEOF
49325 if ac_fn_c_try_run "$LINENO"; then :
49326   ac_cv_c_bigendian=no
49327 else
49328   ac_cv_c_bigendian=yes
49329 fi
49330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49331   conftest.$ac_objext conftest.beam conftest.$ac_ext
49332 fi
49333
49334     fi
49335 fi
49336 :
49337  case $ac_cv_c_bigendian in #(
49338    yes)
49339      gl_cv_cc_double_expbit0="word 0 bit 20";; #(
49340    no)
49341      gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
49342    universal)
49343
49344 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
49345
49346      ;; #(
49347    *)
49348      gl_cv_cc_double_expbit0="unknown" ;;
49349  esac
49350
49351
49352 fi
49353 rm -f conftest*
49354
49355
49356 else
49357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49358 /* end confdefs.h.  */
49359
49360 #include <float.h>
49361 #include <stddef.h>
49362 #include <stdio.h>
49363 #include <string.h>
49364 #define NWORDS \
49365   ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
49366 typedef union { double value; unsigned int word[NWORDS]; } memory_double;
49367 static unsigned int ored_words[NWORDS];
49368 static unsigned int anded_words[NWORDS];
49369 static void add_to_ored_words (double x)
49370 {
49371   memory_double m;
49372   size_t i;
49373   /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
49374   memset (&m, 0, sizeof (memory_double));
49375   m.value = x;
49376   for (i = 0; i < NWORDS; i++)
49377     {
49378       ored_words[i] |= m.word[i];
49379       anded_words[i] &= m.word[i];
49380     }
49381 }
49382 int main ()
49383 {
49384   size_t j;
49385   FILE *fp = fopen ("conftest.out", "w");
49386   if (fp == NULL)
49387     return 1;
49388   for (j = 0; j < NWORDS; j++)
49389     anded_words[j] = ~ (unsigned int) 0;
49390   add_to_ored_words (0.25);
49391   add_to_ored_words (0.5);
49392   add_to_ored_words (1.0);
49393   add_to_ored_words (2.0);
49394   add_to_ored_words (4.0);
49395   /* Remove bits that are common (e.g. if representation of the first mantissa
49396      bit is explicit).  */
49397   for (j = 0; j < NWORDS; j++)
49398     ored_words[j] &= ~anded_words[j];
49399   /* Now find the nonzero word.  */
49400   for (j = 0; j < NWORDS; j++)
49401     if (ored_words[j] != 0)
49402       break;
49403   if (j < NWORDS)
49404     {
49405       size_t i;
49406       for (i = j + 1; i < NWORDS; i++)
49407         if (ored_words[i] != 0)
49408           {
49409             fprintf (fp, "unknown");
49410             return (fclose (fp) != 0);
49411           }
49412       for (i = 0; ; i++)
49413         if ((ored_words[j] >> i) & 1)
49414           {
49415             fprintf (fp, "word %d bit %d", (int) j, (int) i);
49416             return (fclose (fp) != 0);
49417           }
49418     }
49419   fprintf (fp, "unknown");
49420   return (fclose (fp) != 0);
49421 }
49422
49423 _ACEOF
49424 if ac_fn_c_try_run "$LINENO"; then :
49425   gl_cv_cc_double_expbit0=`cat conftest.out`
49426 else
49427   gl_cv_cc_double_expbit0="unknown"
49428 fi
49429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49430   conftest.$ac_objext conftest.beam conftest.$ac_ext
49431 fi
49432
49433       rm -f conftest.out
49434
49435 fi
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
49437 $as_echo "$gl_cv_cc_double_expbit0" >&6; }
49438   case "$gl_cv_cc_double_expbit0" in
49439     word*bit*)
49440       word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
49441       bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
49442
49443 cat >>confdefs.h <<_ACEOF
49444 #define DBL_EXPBIT0_WORD $word
49445 _ACEOF
49446
49447
49448 cat >>confdefs.h <<_ACEOF
49449 #define DBL_EXPBIT0_BIT $bit
49450 _ACEOF
49451
49452       ;;
49453   esac
49454
49455
49456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
49457 $as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
49458 if ${gl_cv_cc_float_expbit0+:} false; then :
49459   $as_echo_n "(cached) " >&6
49460 else
49461
49462       if test "$cross_compiling" = yes; then :
49463   gl_cv_cc_float_expbit0="word 0 bit 23"
49464 else
49465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49466 /* end confdefs.h.  */
49467
49468 #include <float.h>
49469 #include <stddef.h>
49470 #include <stdio.h>
49471 #include <string.h>
49472 #define NWORDS \
49473   ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
49474 typedef union { float value; unsigned int word[NWORDS]; } memory_float;
49475 static unsigned int ored_words[NWORDS];
49476 static unsigned int anded_words[NWORDS];
49477 static void add_to_ored_words (float x)
49478 {
49479   memory_float m;
49480   size_t i;
49481   /* Clear it first, in case
49482      sizeof (float) < sizeof (memory_float).  */
49483   memset (&m, 0, sizeof (memory_float));
49484   m.value = x;
49485   for (i = 0; i < NWORDS; i++)
49486     {
49487       ored_words[i] |= m.word[i];
49488       anded_words[i] &= m.word[i];
49489     }
49490 }
49491 int main ()
49492 {
49493   size_t j;
49494   FILE *fp = fopen ("conftest.out", "w");
49495   if (fp == NULL)
49496     return 1;
49497   for (j = 0; j < NWORDS; j++)
49498     anded_words[j] = ~ (unsigned int) 0;
49499   add_to_ored_words (0.25f);
49500   add_to_ored_words (0.5f);
49501   add_to_ored_words (1.0f);
49502   add_to_ored_words (2.0f);
49503   add_to_ored_words (4.0f);
49504   /* Remove bits that are common (e.g. if representation of the first mantissa
49505      bit is explicit).  */
49506   for (j = 0; j < NWORDS; j++)
49507     ored_words[j] &= ~anded_words[j];
49508   /* Now find the nonzero word.  */
49509   for (j = 0; j < NWORDS; j++)
49510     if (ored_words[j] != 0)
49511       break;
49512   if (j < NWORDS)
49513     {
49514       size_t i;
49515       for (i = j + 1; i < NWORDS; i++)
49516         if (ored_words[i] != 0)
49517           {
49518             fprintf (fp, "unknown");
49519             return (fclose (fp) != 0);
49520           }
49521       for (i = 0; ; i++)
49522         if ((ored_words[j] >> i) & 1)
49523           {
49524             fprintf (fp, "word %d bit %d", (int) j, (int) i);
49525             return (fclose (fp) != 0);
49526           }
49527     }
49528   fprintf (fp, "unknown");
49529   return (fclose (fp) != 0);
49530 }
49531
49532 _ACEOF
49533 if ac_fn_c_try_run "$LINENO"; then :
49534   gl_cv_cc_float_expbit0=`cat conftest.out`
49535 else
49536   gl_cv_cc_float_expbit0="unknown"
49537 fi
49538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49539   conftest.$ac_objext conftest.beam conftest.$ac_ext
49540 fi
49541
49542       rm -f conftest.out
49543
49544 fi
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
49546 $as_echo "$gl_cv_cc_float_expbit0" >&6; }
49547   case "$gl_cv_cc_float_expbit0" in
49548     word*bit*)
49549       word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
49550       bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
49551
49552 cat >>confdefs.h <<_ACEOF
49553 #define FLT_EXPBIT0_WORD $word
49554 _ACEOF
49555
49556
49557 cat >>confdefs.h <<_ACEOF
49558 #define FLT_EXPBIT0_BIT $bit
49559 _ACEOF
49560
49561       ;;
49562   esac
49563
49564
49565
49566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
49567 $as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
49568 if ${gl_cv_cc_long_double_expbit0+:} false; then :
49569   $as_echo_n "(cached) " >&6
49570 else
49571
49572       if test "$cross_compiling" = yes; then :
49573
49574                               gl_cv_cc_long_double_expbit0="unknown"
49575
49576 else
49577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49578 /* end confdefs.h.  */
49579
49580 #include <float.h>
49581 #include <stddef.h>
49582 #include <stdio.h>
49583 #include <string.h>
49584 #define NWORDS \
49585   ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
49586 typedef union { long double value; unsigned int word[NWORDS]; }
49587         memory_long_double;
49588 static unsigned int ored_words[NWORDS];
49589 static unsigned int anded_words[NWORDS];
49590 static void add_to_ored_words (long double x)
49591 {
49592   memory_long_double m;
49593   size_t i;
49594   /* Clear it first, in case
49595      sizeof (long double) < sizeof (memory_long_double).  */
49596   memset (&m, 0, sizeof (memory_long_double));
49597   m.value = x;
49598   for (i = 0; i < NWORDS; i++)
49599     {
49600       ored_words[i] |= m.word[i];
49601       anded_words[i] &= m.word[i];
49602     }
49603 }
49604 int main ()
49605 {
49606   size_t j;
49607   FILE *fp = fopen ("conftest.out", "w");
49608   if (fp == NULL)
49609     return 1;
49610   for (j = 0; j < NWORDS; j++)
49611     anded_words[j] = ~ (unsigned int) 0;
49612   add_to_ored_words (0.25L);
49613   add_to_ored_words (0.5L);
49614   add_to_ored_words (1.0L);
49615   add_to_ored_words (2.0L);
49616   add_to_ored_words (4.0L);
49617   /* Remove bits that are common (e.g. if representation of the first mantissa
49618      bit is explicit).  */
49619   for (j = 0; j < NWORDS; j++)
49620     ored_words[j] &= ~anded_words[j];
49621   /* Now find the nonzero word.  */
49622   for (j = 0; j < NWORDS; j++)
49623     if (ored_words[j] != 0)
49624       break;
49625   if (j < NWORDS)
49626     {
49627       size_t i;
49628       for (i = j + 1; i < NWORDS; i++)
49629         if (ored_words[i] != 0)
49630           {
49631             fprintf (fp, "unknown");
49632             return (fclose (fp) != 0);
49633           }
49634       for (i = 0; ; i++)
49635         if ((ored_words[j] >> i) & 1)
49636           {
49637             fprintf (fp, "word %d bit %d", (int) j, (int) i);
49638             return (fclose (fp) != 0);
49639           }
49640     }
49641   fprintf (fp, "unknown");
49642   return (fclose (fp) != 0);
49643 }
49644
49645 _ACEOF
49646 if ac_fn_c_try_run "$LINENO"; then :
49647   gl_cv_cc_long_double_expbit0=`cat conftest.out`
49648 else
49649   gl_cv_cc_long_double_expbit0="unknown"
49650 fi
49651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49652   conftest.$ac_objext conftest.beam conftest.$ac_ext
49653 fi
49654
49655       rm -f conftest.out
49656
49657 fi
49658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
49659 $as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
49660   case "$gl_cv_cc_long_double_expbit0" in
49661     word*bit*)
49662       word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
49663       bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
49664
49665 cat >>confdefs.h <<_ACEOF
49666 #define LDBL_EXPBIT0_WORD $word
49667 _ACEOF
49668
49669
49670 cat >>confdefs.h <<_ACEOF
49671 #define LDBL_EXPBIT0_BIT $bit
49672 _ACEOF
49673
49674       ;;
49675   esac
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686   case "$host_os" in
49687     solaris*)
49688
49689 $as_echo "#define _LCONV_C99 1" >>confdefs.h
49690
49691       ;;
49692   esac
49693
49694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
49695 $as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
49696 if ${gl_cv_header_locale_h_posix2001+:} false; then :
49697   $as_echo_n "(cached) " >&6
49698 else
49699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49700 /* end confdefs.h.  */
49701 #include <locale.h>
49702             int x = LC_MESSAGES;
49703             int y = sizeof (((struct lconv *) 0)->decimal_point);
49704 int
49705 main ()
49706 {
49707
49708   ;
49709   return 0;
49710 }
49711 _ACEOF
49712 if ac_fn_c_try_compile "$LINENO"; then :
49713   gl_cv_header_locale_h_posix2001=yes
49714 else
49715   gl_cv_header_locale_h_posix2001=no
49716 fi
49717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49718 fi
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
49720 $as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
49721
49722
49723   if test $ac_cv_header_xlocale_h = yes; then
49724     HAVE_XLOCALE_H=1
49725                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
49726 $as_echo_n "checking whether locale.h defines locale_t... " >&6; }
49727 if ${gl_cv_header_locale_has_locale_t+:} false; then :
49728   $as_echo_n "(cached) " >&6
49729 else
49730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49731 /* end confdefs.h.  */
49732 #include <locale.h>
49733               locale_t x;
49734 int
49735 main ()
49736 {
49737
49738   ;
49739   return 0;
49740 }
49741 _ACEOF
49742 if ac_fn_c_try_compile "$LINENO"; then :
49743   gl_cv_header_locale_has_locale_t=yes
49744 else
49745   gl_cv_header_locale_has_locale_t=no
49746 fi
49747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49748
49749 fi
49750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
49751 $as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
49752     if test $gl_cv_header_locale_has_locale_t = yes; then
49753       gl_cv_header_locale_h_needs_xlocale_h=no
49754     else
49755       gl_cv_header_locale_h_needs_xlocale_h=yes
49756     fi
49757   else
49758     HAVE_XLOCALE_H=0
49759     gl_cv_header_locale_h_needs_xlocale_h=no
49760   fi
49761
49762
49763           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5
49764 $as_echo_n "checking whether struct lconv is properly defined... " >&6; }
49765 if ${gl_cv_sys_struct_lconv_ok+:} false; then :
49766   $as_echo_n "(cached) " >&6
49767 else
49768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49769 /* end confdefs.h.  */
49770 #include <locale.h>
49771             struct lconv l;
49772             int x = sizeof (l.decimal_point);
49773             int y = sizeof (l.int_p_cs_precedes);
49774 int
49775 main ()
49776 {
49777
49778   ;
49779   return 0;
49780 }
49781 _ACEOF
49782 if ac_fn_c_try_compile "$LINENO"; then :
49783   gl_cv_sys_struct_lconv_ok=yes
49784 else
49785   gl_cv_sys_struct_lconv_ok=no
49786 fi
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788
49789 fi
49790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_lconv_ok" >&5
49791 $as_echo "$gl_cv_sys_struct_lconv_ok" >&6; }
49792   if test $gl_cv_sys_struct_lconv_ok = no; then
49793     REPLACE_STRUCT_LCONV=1
49794   fi
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804      if test $gl_cv_have_include_next = yes; then
49805        gl_cv_next_locale_h='<'locale.h'>'
49806      else
49807        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
49808 $as_echo_n "checking absolute name of <locale.h>... " >&6; }
49809 if ${gl_cv_next_locale_h+:} false; then :
49810   $as_echo_n "(cached) " >&6
49811 else
49812
49813
49814
49815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49816 /* end confdefs.h.  */
49817 #include <locale.h>
49818 _ACEOF
49819                 case "$host_os" in
49820     aix*) gl_absname_cpp="$ac_cpp -C" ;;
49821     *)    gl_absname_cpp="$ac_cpp" ;;
49822   esac
49823
49824   case "$host_os" in
49825     mingw*)
49826                                           gl_dirsep_regex='[/\\]'
49827       ;;
49828     *)
49829       gl_dirsep_regex='\/'
49830       ;;
49831   esac
49832       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
49833   gl_header_literal_regex=`echo 'locale.h' \
49834                            | sed -e "$gl_make_literal_regex_sed"`
49835   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
49836       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
49837       s|^/[^/]|//&|
49838       p
49839       q
49840     }'
49841
49842         gl_cv_absolute_locale_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
49843   sed -n "$gl_absolute_header_sed"`
49844
49845            gl_header=$gl_cv_absolute_locale_h
49846            gl_cv_next_locale_h='"'$gl_header'"'
49847
49848
49849 fi
49850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
49851 $as_echo "$gl_cv_next_locale_h" >&6; }
49852      fi
49853      NEXT_LOCALE_H=$gl_cv_next_locale_h
49854
49855      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
49856        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
49857        gl_next_as_first_directive='<'locale.h'>'
49858      else
49859        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
49860        gl_next_as_first_directive=$gl_cv_next_locale_h
49861      fi
49862      NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
49863
49864
49865
49866
49867
49868
49869     for gl_func in setlocale duplocale; do
49870     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
49871     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
49872 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
49873 if eval \${$as_gl_Symbol+:} false; then :
49874   $as_echo_n "(cached) " >&6
49875 else
49876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49877 /* end confdefs.h.  */
49878 #include <locale.h>
49879 /* Some systems provide declarations in a non-standard header.  */
49880 #if HAVE_XLOCALE_H
49881 # include <xlocale.h>
49882 #endif
49883
49884 int
49885 main ()
49886 {
49887 #undef $gl_func
49888   (void) $gl_func;
49889   ;
49890   return 0;
49891 }
49892 _ACEOF
49893 if ac_fn_c_try_compile "$LINENO"; then :
49894   eval "$as_gl_Symbol=yes"
49895 else
49896   eval "$as_gl_Symbol=no"
49897 fi
49898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49899 fi
49900 eval ac_res=\$$as_gl_Symbol
49901                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
49902 $as_echo "$ac_res" >&6; }
49903     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
49904   cat >>confdefs.h <<_ACEOF
49905 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
49906 _ACEOF
49907
49908                      eval ac_cv_have_decl_$gl_func=yes
49909 fi
49910       done
49911
49912
49913
49914
49915
49916
49917
49918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
49919 $as_echo_n "checking for a traditional french locale... " >&6; }
49920 if ${gt_cv_locale_fr+:} false; then :
49921   $as_echo_n "(cached) " >&6
49922 else
49923
49924     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49925 /* end confdefs.h.  */
49926
49927 #include <locale.h>
49928 #include <time.h>
49929 #if HAVE_LANGINFO_CODESET
49930 # include <langinfo.h>
49931 #endif
49932 #include <stdlib.h>
49933 #include <string.h>
49934 struct tm t;
49935 char buf[16];
49936 int main () {
49937   /* Check whether the given locale name is recognized by the system.  */
49938 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
49939   /* On native Windows, setlocale(category, "") looks at the system settings,
49940      not at the environment variables.  Also, when an encoding suffix such
49941      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
49942      category of the locale to "C".  */
49943   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
49944       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
49945     return 1;
49946 #else
49947   if (setlocale (LC_ALL, "") == NULL) return 1;
49948 #endif
49949   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
49950      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
49951      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
49952      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
49953      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
49954      some unit tests fail.
49955      On MirBSD 10, when an unsupported locale is specified, setlocale()
49956      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
49957 #if HAVE_LANGINFO_CODESET
49958   {
49959     const char *cs = nl_langinfo (CODESET);
49960     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
49961         || strcmp (cs, "UTF-8") == 0)
49962       return 1;
49963   }
49964 #endif
49965 #ifdef __CYGWIN__
49966   /* On Cygwin, avoid locale names without encoding suffix, because the
49967      locale_charset() function relies on the encoding suffix.  Note that
49968      LC_ALL is set on the command line.  */
49969   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
49970 #endif
49971   /* Check whether in the abbreviation of the second month, the second
49972      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
49973      one byte long. This excludes the UTF-8 encoding.  */
49974   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
49975   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
49976 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
49977   /* Check whether the decimal separator is a comma.
49978      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
49979      are nl_langinfo(RADIXCHAR) are both ".".  */
49980   if (localeconv () ->decimal_point[0] != ',') return 1;
49981 #endif
49982   return 0;
49983 }
49984
49985 _ACEOF
49986     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
49987   (eval $ac_link) 2>&5
49988   ac_status=$?
49989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49990   test $ac_status = 0; } && test -s conftest$ac_exeext; then
49991       case "$host_os" in
49992         # Handle native Windows specially, because there setlocale() interprets
49993         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
49994         # "fr" or "fra" as "French" or "French_France.1252",
49995         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
49996         # "ja" as "Japanese" or "Japanese_Japan.932",
49997         # and similar.
49998         mingw*)
49999           # Test for the native Windows locale name.
50000           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50001             gt_cv_locale_fr=French_France.1252
50002           else
50003             # None found.
50004             gt_cv_locale_fr=none
50005           fi
50006           ;;
50007         *)
50008           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
50009           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
50010           # configure script would override the LC_ALL setting. Likewise for
50011           # LC_CTYPE, which is also set at the beginning of the configure script.
50012           # Test for the usual locale name.
50013           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50014             gt_cv_locale_fr=fr_FR
50015           else
50016             # Test for the locale name with explicit encoding suffix.
50017             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50018               gt_cv_locale_fr=fr_FR.ISO-8859-1
50019             else
50020               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
50021               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50022                 gt_cv_locale_fr=fr_FR.ISO8859-1
50023               else
50024                 # Test for the HP-UX locale name.
50025                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50026                   gt_cv_locale_fr=fr_FR.iso88591
50027                 else
50028                   # Test for the Solaris 7 locale name.
50029                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50030                     gt_cv_locale_fr=fr
50031                   else
50032                     # None found.
50033                     gt_cv_locale_fr=none
50034                   fi
50035                 fi
50036               fi
50037             fi
50038           fi
50039           ;;
50040       esac
50041     fi
50042     rm -fr conftest*
50043
50044 fi
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
50046 $as_echo "$gt_cv_locale_fr" >&6; }
50047   LOCALE_FR=$gt_cv_locale_fr
50048
50049
50050
50051
50052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
50053 $as_echo_n "checking for a french Unicode locale... " >&6; }
50054 if ${gt_cv_locale_fr_utf8+:} false; then :
50055   $as_echo_n "(cached) " >&6
50056 else
50057
50058     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50059 /* end confdefs.h.  */
50060
50061 #include <locale.h>
50062 #include <time.h>
50063 #if HAVE_LANGINFO_CODESET
50064 # include <langinfo.h>
50065 #endif
50066 #include <stdlib.h>
50067 #include <string.h>
50068 struct tm t;
50069 char buf[16];
50070 int main () {
50071   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
50072      imitates locale dependent behaviour by looking at the environment
50073      variables, and all locales use the UTF-8 encoding.  */
50074 #if !(defined __BEOS__ || defined __HAIKU__)
50075   /* Check whether the given locale name is recognized by the system.  */
50076 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50077   /* On native Windows, setlocale(category, "") looks at the system settings,
50078      not at the environment variables.  Also, when an encoding suffix such
50079      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
50080      category of the locale to "C".  */
50081   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50082       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50083     return 1;
50084 # else
50085   if (setlocale (LC_ALL, "") == NULL) return 1;
50086 # endif
50087   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
50088      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
50089      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
50090      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
50091      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
50092      some unit tests fail.  */
50093 # if HAVE_LANGINFO_CODESET
50094   {
50095     const char *cs = nl_langinfo (CODESET);
50096     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
50097       return 1;
50098   }
50099 # endif
50100 # ifdef __CYGWIN__
50101   /* On Cygwin, avoid locale names without encoding suffix, because the
50102      locale_charset() function relies on the encoding suffix.  Note that
50103      LC_ALL is set on the command line.  */
50104   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
50105 # endif
50106   /* Check whether in the abbreviation of the second month, the second
50107      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
50108      two bytes long, with UTF-8 encoding.  */
50109   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
50110   if (strftime (buf, sizeof (buf), "%b", &t) < 4
50111       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
50112     return 1;
50113 #endif
50114 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
50115   /* Check whether the decimal separator is a comma.
50116      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
50117      are nl_langinfo(RADIXCHAR) are both ".".  */
50118   if (localeconv () ->decimal_point[0] != ',') return 1;
50119 #endif
50120   return 0;
50121 }
50122
50123 _ACEOF
50124     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
50125   (eval $ac_link) 2>&5
50126   ac_status=$?
50127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50128   test $ac_status = 0; } && test -s conftest$ac_exeext; then
50129       case "$host_os" in
50130         # Handle native Windows specially, because there setlocale() interprets
50131         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
50132         # "fr" or "fra" as "French" or "French_France.1252",
50133         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
50134         # "ja" as "Japanese" or "Japanese_Japan.932",
50135         # and similar.
50136         mingw*)
50137           # Test for the hypothetical native Windows locale name.
50138           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50139             gt_cv_locale_fr_utf8=French_France.65001
50140           else
50141             # None found.
50142             gt_cv_locale_fr_utf8=none
50143           fi
50144           ;;
50145         *)
50146           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
50147           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
50148           # configure script would override the LC_ALL setting. Likewise for
50149           # LC_CTYPE, which is also set at the beginning of the configure script.
50150           # Test for the usual locale name.
50151           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50152             gt_cv_locale_fr_utf8=fr_FR
50153           else
50154             # Test for the locale name with explicit encoding suffix.
50155             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50156               gt_cv_locale_fr_utf8=fr_FR.UTF-8
50157             else
50158               # Test for the Solaris 7 locale name.
50159               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50160                 gt_cv_locale_fr_utf8=fr.UTF-8
50161               else
50162                 # None found.
50163                 gt_cv_locale_fr_utf8=none
50164               fi
50165             fi
50166           fi
50167           ;;
50168       esac
50169     fi
50170     rm -fr conftest*
50171
50172 fi
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
50174 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
50175   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
50176
50177
50178
50179
50180
50181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
50182 $as_echo_n "checking for a traditional japanese locale... " >&6; }
50183 if ${gt_cv_locale_ja+:} false; then :
50184   $as_echo_n "(cached) " >&6
50185 else
50186
50187     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50188 /* end confdefs.h.  */
50189
50190 #include <locale.h>
50191 #include <time.h>
50192 #if HAVE_LANGINFO_CODESET
50193 # include <langinfo.h>
50194 #endif
50195 #include <stdlib.h>
50196 #include <string.h>
50197 struct tm t;
50198 char buf[16];
50199 int main ()
50200 {
50201   const char *p;
50202   /* Check whether the given locale name is recognized by the system.  */
50203 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50204   /* On native Windows, setlocale(category, "") looks at the system settings,
50205      not at the environment variables.  Also, when an encoding suffix such
50206      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
50207      category of the locale to "C".  */
50208   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50209       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50210     return 1;
50211 #else
50212   if (setlocale (LC_ALL, "") == NULL) return 1;
50213 #endif
50214   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
50215      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
50216      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
50217      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
50218      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
50219      some unit tests fail.
50220      On MirBSD 10, when an unsupported locale is specified, setlocale()
50221      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
50222 #if HAVE_LANGINFO_CODESET
50223   {
50224     const char *cs = nl_langinfo (CODESET);
50225     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
50226         || strcmp (cs, "UTF-8") == 0)
50227       return 1;
50228   }
50229 #endif
50230 #ifdef __CYGWIN__
50231   /* On Cygwin, avoid locale names without encoding suffix, because the
50232      locale_charset() function relies on the encoding suffix.  Note that
50233      LC_ALL is set on the command line.  */
50234   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
50235 #endif
50236   /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
50237      on Cygwin 1.5.x.  */
50238   if (MB_CUR_MAX == 1)
50239     return 1;
50240   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
50241      This excludes the UTF-8 encoding (except on MirBSD).  */
50242   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
50243   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
50244   for (p = buf; *p != '\0'; p++)
50245     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
50246       return 1;
50247   return 0;
50248 }
50249
50250 _ACEOF
50251     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
50252   (eval $ac_link) 2>&5
50253   ac_status=$?
50254   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50255   test $ac_status = 0; } && test -s conftest$ac_exeext; then
50256       case "$host_os" in
50257         # Handle native Windows specially, because there setlocale() interprets
50258         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
50259         # "fr" or "fra" as "French" or "French_France.1252",
50260         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
50261         # "ja" as "Japanese" or "Japanese_Japan.932",
50262         # and similar.
50263         mingw*)
50264           # Note that on native Windows, the Japanese locale is
50265           # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
50266           # cannot use it here.
50267           gt_cv_locale_ja=none
50268           ;;
50269         *)
50270           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
50271           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
50272           # configure script would override the LC_ALL setting. Likewise for
50273           # LC_CTYPE, which is also set at the beginning of the configure script.
50274           # Test for the AIX locale name.
50275           if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50276             gt_cv_locale_ja=ja_JP
50277           else
50278             # Test for the locale name with explicit encoding suffix.
50279             if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50280               gt_cv_locale_ja=ja_JP.EUC-JP
50281             else
50282               # Test for the HP-UX, OSF/1, NetBSD locale name.
50283               if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50284                 gt_cv_locale_ja=ja_JP.eucJP
50285               else
50286                 # Test for the IRIX, FreeBSD locale name.
50287                 if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50288                   gt_cv_locale_ja=ja_JP.EUC
50289                 else
50290                   # Test for the Solaris 7 locale name.
50291                   if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50292                     gt_cv_locale_ja=ja
50293                   else
50294                     # Special test for NetBSD 1.6.
50295                     if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
50296                       gt_cv_locale_ja=ja_JP.eucJP
50297                     else
50298                       # None found.
50299                       gt_cv_locale_ja=none
50300                     fi
50301                   fi
50302                 fi
50303               fi
50304             fi
50305           fi
50306           ;;
50307       esac
50308     fi
50309     rm -fr conftest*
50310
50311 fi
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
50313 $as_echo "$gt_cv_locale_ja" >&6; }
50314   LOCALE_JA=$gt_cv_locale_ja
50315
50316
50317
50318
50319
50320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
50321 $as_echo_n "checking for a transitional chinese locale... " >&6; }
50322 if ${gt_cv_locale_zh_CN+:} false; then :
50323   $as_echo_n "(cached) " >&6
50324 else
50325
50326     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327 /* end confdefs.h.  */
50328
50329 #include <locale.h>
50330 #include <stdlib.h>
50331 #include <time.h>
50332 #if HAVE_LANGINFO_CODESET
50333 # include <langinfo.h>
50334 #endif
50335 #include <stdlib.h>
50336 #include <string.h>
50337 struct tm t;
50338 char buf[16];
50339 int main ()
50340 {
50341   const char *p;
50342   /* Check whether the given locale name is recognized by the system.  */
50343 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50344   /* On native Windows, setlocale(category, "") looks at the system settings,
50345      not at the environment variables.  Also, when an encoding suffix such
50346      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
50347      category of the locale to "C".  */
50348   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50349       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50350     return 1;
50351 #else
50352   if (setlocale (LC_ALL, "") == NULL) return 1;
50353 #endif
50354   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
50355      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
50356      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
50357      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
50358      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
50359      some unit tests fail.
50360      On MirBSD 10, when an unsupported locale is specified, setlocale()
50361      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
50362 #if HAVE_LANGINFO_CODESET
50363   {
50364     const char *cs = nl_langinfo (CODESET);
50365     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
50366         || strcmp (cs, "UTF-8") == 0)
50367       return 1;
50368   }
50369 #endif
50370 #ifdef __CYGWIN__
50371   /* On Cygwin, avoid locale names without encoding suffix, because the
50372      locale_charset() function relies on the encoding suffix.  Note that
50373      LC_ALL is set on the command line.  */
50374   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
50375 #endif
50376   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
50377      This excludes the UTF-8 encoding (except on MirBSD).  */
50378   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
50379   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
50380   for (p = buf; *p != '\0'; p++)
50381     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
50382       return 1;
50383   /* Check whether a typical GB18030 multibyte sequence is recognized as a
50384      single wide character.  This excludes the GB2312 and GBK encodings.  */
50385   if (mblen ("\203\062\332\066", 5) != 4)
50386     return 1;
50387   return 0;
50388 }
50389
50390 _ACEOF
50391     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
50392   (eval $ac_link) 2>&5
50393   ac_status=$?
50394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50395   test $ac_status = 0; } && test -s conftest$ac_exeext; then
50396       case "$host_os" in
50397         # Handle native Windows specially, because there setlocale() interprets
50398         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
50399         # "fr" or "fra" as "French" or "French_France.1252",
50400         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
50401         # "ja" as "Japanese" or "Japanese_Japan.932",
50402         # and similar.
50403         mingw*)
50404           # Test for the hypothetical native Windows locale name.
50405           if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50406             gt_cv_locale_zh_CN=Chinese_China.54936
50407           else
50408             # None found.
50409             gt_cv_locale_zh_CN=none
50410           fi
50411           ;;
50412         solaris2.8)
50413           # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
50414           # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
50415           # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
50416           gt_cv_locale_zh_CN=none
50417           ;;
50418         *)
50419           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
50420           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
50421           # configure script would override the LC_ALL setting. Likewise for
50422           # LC_CTYPE, which is also set at the beginning of the configure script.
50423           # Test for the locale name without encoding suffix.
50424           if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50425             gt_cv_locale_zh_CN=zh_CN
50426           else
50427             # Test for the locale name with explicit encoding suffix.
50428             if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50429               gt_cv_locale_zh_CN=zh_CN.GB18030
50430             else
50431               # None found.
50432               gt_cv_locale_zh_CN=none
50433             fi
50434           fi
50435           ;;
50436       esac
50437     else
50438       # If there was a link error, due to mblen(), the system is so old that
50439       # it certainly doesn't have a chinese locale.
50440       gt_cv_locale_zh_CN=none
50441     fi
50442     rm -fr conftest*
50443
50444 fi
50445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
50446 $as_echo "$gt_cv_locale_zh_CN" >&6; }
50447   LOCALE_ZH_CN=$gt_cv_locale_zh_CN
50448
50449
50450
50451
50452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
50453 $as_echo_n "checking for a french Unicode locale... " >&6; }
50454 if ${gt_cv_locale_fr_utf8+:} false; then :
50455   $as_echo_n "(cached) " >&6
50456 else
50457
50458     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50459 /* end confdefs.h.  */
50460
50461 #include <locale.h>
50462 #include <time.h>
50463 #if HAVE_LANGINFO_CODESET
50464 # include <langinfo.h>
50465 #endif
50466 #include <stdlib.h>
50467 #include <string.h>
50468 struct tm t;
50469 char buf[16];
50470 int main () {
50471   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
50472      imitates locale dependent behaviour by looking at the environment
50473      variables, and all locales use the UTF-8 encoding.  */
50474 #if !(defined __BEOS__ || defined __HAIKU__)
50475   /* Check whether the given locale name is recognized by the system.  */
50476 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50477   /* On native Windows, setlocale(category, "") looks at the system settings,
50478      not at the environment variables.  Also, when an encoding suffix such
50479      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
50480      category of the locale to "C".  */
50481   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50482       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50483     return 1;
50484 # else
50485   if (setlocale (LC_ALL, "") == NULL) return 1;
50486 # endif
50487   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
50488      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
50489      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
50490      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
50491      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
50492      some unit tests fail.  */
50493 # if HAVE_LANGINFO_CODESET
50494   {
50495     const char *cs = nl_langinfo (CODESET);
50496     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
50497       return 1;
50498   }
50499 # endif
50500 # ifdef __CYGWIN__
50501   /* On Cygwin, avoid locale names without encoding suffix, because the
50502      locale_charset() function relies on the encoding suffix.  Note that
50503      LC_ALL is set on the command line.  */
50504   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
50505 # endif
50506   /* Check whether in the abbreviation of the second month, the second
50507      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
50508      two bytes long, with UTF-8 encoding.  */
50509   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
50510   if (strftime (buf, sizeof (buf), "%b", &t) < 4
50511       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
50512     return 1;
50513 #endif
50514 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
50515   /* Check whether the decimal separator is a comma.
50516      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
50517      are nl_langinfo(RADIXCHAR) are both ".".  */
50518   if (localeconv () ->decimal_point[0] != ',') return 1;
50519 #endif
50520   return 0;
50521 }
50522
50523 _ACEOF
50524     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
50525   (eval $ac_link) 2>&5
50526   ac_status=$?
50527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50528   test $ac_status = 0; } && test -s conftest$ac_exeext; then
50529       case "$host_os" in
50530         # Handle native Windows specially, because there setlocale() interprets
50531         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
50532         # "fr" or "fra" as "French" or "French_France.1252",
50533         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
50534         # "ja" as "Japanese" or "Japanese_Japan.932",
50535         # and similar.
50536         mingw*)
50537           # Test for the hypothetical native Windows locale name.
50538           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50539             gt_cv_locale_fr_utf8=French_France.65001
50540           else
50541             # None found.
50542             gt_cv_locale_fr_utf8=none
50543           fi
50544           ;;
50545         *)
50546           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
50547           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
50548           # configure script would override the LC_ALL setting. Likewise for
50549           # LC_CTYPE, which is also set at the beginning of the configure script.
50550           # Test for the usual locale name.
50551           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50552             gt_cv_locale_fr_utf8=fr_FR
50553           else
50554             # Test for the locale name with explicit encoding suffix.
50555             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50556               gt_cv_locale_fr_utf8=fr_FR.UTF-8
50557             else
50558               # Test for the Solaris 7 locale name.
50559               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50560                 gt_cv_locale_fr_utf8=fr.UTF-8
50561               else
50562                 # None found.
50563                 gt_cv_locale_fr_utf8=none
50564               fi
50565             fi
50566           fi
50567           ;;
50568       esac
50569     fi
50570     rm -fr conftest*
50571
50572 fi
50573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
50574 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
50575   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
50576
50577
50578
50579
50580
50581   if false; then
50582     REPLACE_MBTOWC=1
50583   fi
50584
50585   if test $REPLACE_MBTOWC = 1; then
50586
50587
50588
50589
50590
50591
50592
50593
50594   gltests_LIBOBJS="$gltests_LIBOBJS mbtowc.$ac_objext"
50595
50596
50597   :
50598
50599   fi
50600
50601
50602
50603
50604
50605     if test "$GNULIB_MBTOWC" != 1; then
50606         if test "$GNULIB_MBTOWC" = 0; then
50607       GNULIB_MBTOWC=$gl_module_indicator_condition
50608     else
50609       GNULIB_MBTOWC="($GNULIB_MBTOWC || $gl_module_indicator_condition)"
50610     fi
50611   fi
50612
50613
50614
50615
50616
50617 $as_echo "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h
50618
50619
50620
50621
50622
50623
50624   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
50625   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
50626   # irrelevant for anonymous mappings.
50627   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
50628 if test "x$ac_cv_func_mmap" = xyes; then :
50629   gl_have_mmap=yes
50630 else
50631   gl_have_mmap=no
50632 fi
50633
50634
50635   # Try to allow MAP_ANONYMOUS.
50636   gl_have_mmap_anonymous=no
50637   if test $gl_have_mmap = yes; then
50638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
50639 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
50640     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50641 /* end confdefs.h.  */
50642
50643 #include <sys/mman.h>
50644 #ifdef MAP_ANONYMOUS
50645     I cannot identify this map
50646 #endif
50647
50648 _ACEOF
50649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50650   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
50651   gl_have_mmap_anonymous=yes
50652 fi
50653 rm -f conftest*
50654
50655     if test $gl_have_mmap_anonymous != yes; then
50656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50657 /* end confdefs.h.  */
50658
50659 #include <sys/mman.h>
50660 #ifdef MAP_ANON
50661     I cannot identify this map
50662 #endif
50663
50664 _ACEOF
50665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50666   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
50667
50668 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
50669
50670          gl_have_mmap_anonymous=yes
50671 fi
50672 rm -f conftest*
50673
50674     fi
50675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
50676 $as_echo "$gl_have_mmap_anonymous" >&6; }
50677     if test $gl_have_mmap_anonymous = yes; then
50678
50679 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
50680
50681     fi
50682   fi
50683
50684
50685
50686
50687   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
50688
50689
50690
50691
50692
50693
50694
50695
50696   gltests_LIBOBJS="$gltests_LIBOBJS msvc-inval.$ac_objext"
50697
50698   fi
50699
50700   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
50701
50702
50703
50704
50705
50706
50707
50708
50709   gltests_LIBOBJS="$gltests_LIBOBJS msvc-nothrow.$ac_objext"
50710
50711   fi
50712
50713
50714      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
50715 $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
50716 if ${gl_cv_func_svid_putenv+:} false; then :
50717   $as_echo_n "(cached) " >&6
50718 else
50719   if test "$cross_compiling" = yes; then :
50720                case "$host_os" in
50721                         # Guess yes on glibc systems.
50722                 *-gnu*) gl_cv_func_svid_putenv="guessing yes" ;;
50723                         # If we don't know, assume the worst.
50724                 *)      gl_cv_func_svid_putenv="guessing no" ;;
50725               esac
50726
50727 else
50728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50729 /* end confdefs.h.  */
50730 $ac_includes_default
50731 int
50732 main ()
50733 {
50734
50735     /* Put it in env.  */
50736     if (putenv ("CONFTEST_putenv=val"))
50737       return 1;
50738
50739     /* Try to remove it.  */
50740     if (putenv ("CONFTEST_putenv"))
50741       return 2;
50742
50743     /* Make sure it was deleted.  */
50744     if (getenv ("CONFTEST_putenv") != 0)
50745       return 3;
50746
50747     return 0;
50748
50749   ;
50750   return 0;
50751 }
50752 _ACEOF
50753 if ac_fn_c_try_run "$LINENO"; then :
50754   gl_cv_func_svid_putenv=yes
50755 else
50756   gl_cv_func_svid_putenv=no
50757 fi
50758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50759   conftest.$ac_objext conftest.beam conftest.$ac_ext
50760 fi
50761
50762
50763 fi
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5
50765 $as_echo "$gl_cv_func_svid_putenv" >&6; }
50766   case "$gl_cv_func_svid_putenv" in
50767     *yes) ;;
50768     *)
50769       REPLACE_PUTENV=1
50770       ;;
50771   esac
50772
50773   if test $REPLACE_PUTENV = 1; then
50774
50775
50776
50777
50778
50779
50780
50781
50782   gltests_LIBOBJS="$gltests_LIBOBJS putenv.$ac_objext"
50783
50784
50785   ac_fn_c_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default"
50786 if test "x$ac_cv_have_decl__putenv" = xyes; then :
50787   ac_have_decl=1
50788 else
50789   ac_have_decl=0
50790 fi
50791
50792 cat >>confdefs.h <<_ACEOF
50793 #define HAVE_DECL__PUTENV $ac_have_decl
50794 _ACEOF
50795
50796
50797   fi
50798
50799
50800
50801
50802
50803     if test "$GNULIB_PUTENV" != 1; then
50804         if test "$GNULIB_PUTENV" = 0; then
50805       GNULIB_PUTENV=$gl_module_indicator_condition
50806     else
50807       GNULIB_PUTENV="($GNULIB_PUTENV || $gl_module_indicator_condition)"
50808     fi
50809   fi
50810
50811
50812
50813
50814
50815 $as_echo "#define GNULIB_TEST_PUTENV 1" >>confdefs.h
50816
50817
50818
50819
50820
50821      if test $ac_cv_func_setenv = no; then
50822     HAVE_SETENV=0
50823   else
50824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
50825 $as_echo_n "checking whether setenv validates arguments... " >&6; }
50826 if ${gl_cv_func_setenv_works+:} false; then :
50827   $as_echo_n "(cached) " >&6
50828 else
50829   if test "$cross_compiling" = yes; then :
50830   case "$host_os" in
50831                  # Guess yes on glibc systems.
50832          *-gnu*) gl_cv_func_setenv_works="guessing yes" ;;
50833                  # If we don't know, assume the worst.
50834          *)      gl_cv_func_setenv_works="guessing no" ;;
50835        esac
50836
50837 else
50838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50839 /* end confdefs.h.  */
50840
50841        #include <stdlib.h>
50842        #include <errno.h>
50843        #include <string.h>
50844
50845 int
50846 main ()
50847 {
50848
50849        int result = 0;
50850        {
50851          if (setenv ("", "", 0) != -1)
50852            result |= 1;
50853          else if (errno != EINVAL)
50854            result |= 2;
50855        }
50856        {
50857          if (setenv ("a", "=", 1) != 0)
50858            result |= 4;
50859          else if (strcmp (getenv ("a"), "=") != 0)
50860            result |= 8;
50861        }
50862        return result;
50863
50864   ;
50865   return 0;
50866 }
50867 _ACEOF
50868 if ac_fn_c_try_run "$LINENO"; then :
50869   gl_cv_func_setenv_works=yes
50870 else
50871   gl_cv_func_setenv_works=no
50872 fi
50873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50874   conftest.$ac_objext conftest.beam conftest.$ac_ext
50875 fi
50876
50877 fi
50878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
50879 $as_echo "$gl_cv_func_setenv_works" >&6; }
50880     case "$gl_cv_func_setenv_works" in
50881       *yes) ;;
50882       *)
50883         REPLACE_SETENV=1
50884         ;;
50885     esac
50886   fi
50887
50888   if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
50889
50890
50891
50892
50893
50894
50895
50896
50897   gltests_LIBOBJS="$gltests_LIBOBJS setenv.$ac_objext"
50898
50899   fi
50900
50901
50902
50903
50904
50905     if test "$GNULIB_SETENV" != 1; then
50906         if test "$GNULIB_SETENV" = 0; then
50907       GNULIB_SETENV=$gl_module_indicator_condition
50908     else
50909       GNULIB_SETENV="($GNULIB_SETENV || $gl_module_indicator_condition)"
50910     fi
50911   fi
50912
50913
50914
50915
50916
50917 $as_echo "#define GNULIB_TEST_SETENV 1" >>confdefs.h
50918
50919
50920
50921
50922
50923
50924   case "$host_os" in
50925             mingw*) REPLACE_SETLOCALE=1 ;;
50926             cygwin*)
50927       case `uname -r` in
50928         1.5.*) REPLACE_SETLOCALE=1 ;;
50929       esac
50930       ;;
50931   esac
50932
50933   if test $REPLACE_SETLOCALE = 1; then
50934
50935
50936
50937
50938
50939
50940
50941
50942   gltests_LIBOBJS="$gltests_LIBOBJS setlocale.$ac_objext"
50943
50944
50945   :
50946
50947   fi
50948
50949
50950
50951
50952
50953     if test "$GNULIB_SETLOCALE" != 1; then
50954         if test "$GNULIB_SETLOCALE" = 0; then
50955       GNULIB_SETLOCALE=$gl_module_indicator_condition
50956     else
50957       GNULIB_SETLOCALE="($GNULIB_SETLOCALE || $gl_module_indicator_condition)"
50958     fi
50959   fi
50960
50961
50962
50963
50964
50965 $as_echo "#define GNULIB_TEST_SETLOCALE 1" >>confdefs.h
50966
50967
50968
50969
50970
50971
50972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
50973 $as_echo_n "checking for a traditional french locale... " >&6; }
50974 if ${gt_cv_locale_fr+:} false; then :
50975   $as_echo_n "(cached) " >&6
50976 else
50977
50978     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50979 /* end confdefs.h.  */
50980
50981 #include <locale.h>
50982 #include <time.h>
50983 #if HAVE_LANGINFO_CODESET
50984 # include <langinfo.h>
50985 #endif
50986 #include <stdlib.h>
50987 #include <string.h>
50988 struct tm t;
50989 char buf[16];
50990 int main () {
50991   /* Check whether the given locale name is recognized by the system.  */
50992 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50993   /* On native Windows, setlocale(category, "") looks at the system settings,
50994      not at the environment variables.  Also, when an encoding suffix such
50995      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
50996      category of the locale to "C".  */
50997   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50998       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50999     return 1;
51000 #else
51001   if (setlocale (LC_ALL, "") == NULL) return 1;
51002 #endif
51003   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51004      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51005      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51006      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51007      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51008      some unit tests fail.
51009      On MirBSD 10, when an unsupported locale is specified, setlocale()
51010      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51011 #if HAVE_LANGINFO_CODESET
51012   {
51013     const char *cs = nl_langinfo (CODESET);
51014     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51015         || strcmp (cs, "UTF-8") == 0)
51016       return 1;
51017   }
51018 #endif
51019 #ifdef __CYGWIN__
51020   /* On Cygwin, avoid locale names without encoding suffix, because the
51021      locale_charset() function relies on the encoding suffix.  Note that
51022      LC_ALL is set on the command line.  */
51023   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51024 #endif
51025   /* Check whether in the abbreviation of the second month, the second
51026      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
51027      one byte long. This excludes the UTF-8 encoding.  */
51028   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51029   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
51030 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
51031   /* Check whether the decimal separator is a comma.
51032      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
51033      are nl_langinfo(RADIXCHAR) are both ".".  */
51034   if (localeconv () ->decimal_point[0] != ',') return 1;
51035 #endif
51036   return 0;
51037 }
51038
51039 _ACEOF
51040     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51041   (eval $ac_link) 2>&5
51042   ac_status=$?
51043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51044   test $ac_status = 0; } && test -s conftest$ac_exeext; then
51045       case "$host_os" in
51046         # Handle native Windows specially, because there setlocale() interprets
51047         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51048         # "fr" or "fra" as "French" or "French_France.1252",
51049         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51050         # "ja" as "Japanese" or "Japanese_Japan.932",
51051         # and similar.
51052         mingw*)
51053           # Test for the native Windows locale name.
51054           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51055             gt_cv_locale_fr=French_France.1252
51056           else
51057             # None found.
51058             gt_cv_locale_fr=none
51059           fi
51060           ;;
51061         *)
51062           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51063           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
51064           # configure script would override the LC_ALL setting. Likewise for
51065           # LC_CTYPE, which is also set at the beginning of the configure script.
51066           # Test for the usual locale name.
51067           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51068             gt_cv_locale_fr=fr_FR
51069           else
51070             # Test for the locale name with explicit encoding suffix.
51071             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51072               gt_cv_locale_fr=fr_FR.ISO-8859-1
51073             else
51074               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
51075               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51076                 gt_cv_locale_fr=fr_FR.ISO8859-1
51077               else
51078                 # Test for the HP-UX locale name.
51079                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51080                   gt_cv_locale_fr=fr_FR.iso88591
51081                 else
51082                   # Test for the Solaris 7 locale name.
51083                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51084                     gt_cv_locale_fr=fr
51085                   else
51086                     # None found.
51087                     gt_cv_locale_fr=none
51088                   fi
51089                 fi
51090               fi
51091             fi
51092           fi
51093           ;;
51094       esac
51095     fi
51096     rm -fr conftest*
51097
51098 fi
51099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
51100 $as_echo "$gt_cv_locale_fr" >&6; }
51101   LOCALE_FR=$gt_cv_locale_fr
51102
51103
51104
51105
51106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
51107 $as_echo_n "checking for a french Unicode locale... " >&6; }
51108 if ${gt_cv_locale_fr_utf8+:} false; then :
51109   $as_echo_n "(cached) " >&6
51110 else
51111
51112     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51113 /* end confdefs.h.  */
51114
51115 #include <locale.h>
51116 #include <time.h>
51117 #if HAVE_LANGINFO_CODESET
51118 # include <langinfo.h>
51119 #endif
51120 #include <stdlib.h>
51121 #include <string.h>
51122 struct tm t;
51123 char buf[16];
51124 int main () {
51125   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
51126      imitates locale dependent behaviour by looking at the environment
51127      variables, and all locales use the UTF-8 encoding.  */
51128 #if !(defined __BEOS__ || defined __HAIKU__)
51129   /* Check whether the given locale name is recognized by the system.  */
51130 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51131   /* On native Windows, setlocale(category, "") looks at the system settings,
51132      not at the environment variables.  Also, when an encoding suffix such
51133      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
51134      category of the locale to "C".  */
51135   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51136       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51137     return 1;
51138 # else
51139   if (setlocale (LC_ALL, "") == NULL) return 1;
51140 # endif
51141   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51142      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51143      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51144      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51145      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51146      some unit tests fail.  */
51147 # if HAVE_LANGINFO_CODESET
51148   {
51149     const char *cs = nl_langinfo (CODESET);
51150     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
51151       return 1;
51152   }
51153 # endif
51154 # ifdef __CYGWIN__
51155   /* On Cygwin, avoid locale names without encoding suffix, because the
51156      locale_charset() function relies on the encoding suffix.  Note that
51157      LC_ALL is set on the command line.  */
51158   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51159 # endif
51160   /* Check whether in the abbreviation of the second month, the second
51161      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
51162      two bytes long, with UTF-8 encoding.  */
51163   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51164   if (strftime (buf, sizeof (buf), "%b", &t) < 4
51165       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
51166     return 1;
51167 #endif
51168 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
51169   /* Check whether the decimal separator is a comma.
51170      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
51171      are nl_langinfo(RADIXCHAR) are both ".".  */
51172   if (localeconv () ->decimal_point[0] != ',') return 1;
51173 #endif
51174   return 0;
51175 }
51176
51177 _ACEOF
51178     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51179   (eval $ac_link) 2>&5
51180   ac_status=$?
51181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51182   test $ac_status = 0; } && test -s conftest$ac_exeext; then
51183       case "$host_os" in
51184         # Handle native Windows specially, because there setlocale() interprets
51185         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51186         # "fr" or "fra" as "French" or "French_France.1252",
51187         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51188         # "ja" as "Japanese" or "Japanese_Japan.932",
51189         # and similar.
51190         mingw*)
51191           # Test for the hypothetical native Windows locale name.
51192           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51193             gt_cv_locale_fr_utf8=French_France.65001
51194           else
51195             # None found.
51196             gt_cv_locale_fr_utf8=none
51197           fi
51198           ;;
51199         *)
51200           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51201           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
51202           # configure script would override the LC_ALL setting. Likewise for
51203           # LC_CTYPE, which is also set at the beginning of the configure script.
51204           # Test for the usual locale name.
51205           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51206             gt_cv_locale_fr_utf8=fr_FR
51207           else
51208             # Test for the locale name with explicit encoding suffix.
51209             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51210               gt_cv_locale_fr_utf8=fr_FR.UTF-8
51211             else
51212               # Test for the Solaris 7 locale name.
51213               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51214                 gt_cv_locale_fr_utf8=fr.UTF-8
51215               else
51216                 # None found.
51217                 gt_cv_locale_fr_utf8=none
51218               fi
51219             fi
51220           fi
51221           ;;
51222       esac
51223     fi
51224     rm -fr conftest*
51225
51226 fi
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
51228 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
51229   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
51230
51231
51232
51233
51234
51235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
51236 $as_echo_n "checking for a traditional japanese locale... " >&6; }
51237 if ${gt_cv_locale_ja+:} false; then :
51238   $as_echo_n "(cached) " >&6
51239 else
51240
51241     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51242 /* end confdefs.h.  */
51243
51244 #include <locale.h>
51245 #include <time.h>
51246 #if HAVE_LANGINFO_CODESET
51247 # include <langinfo.h>
51248 #endif
51249 #include <stdlib.h>
51250 #include <string.h>
51251 struct tm t;
51252 char buf[16];
51253 int main ()
51254 {
51255   const char *p;
51256   /* Check whether the given locale name is recognized by the system.  */
51257 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51258   /* On native Windows, setlocale(category, "") looks at the system settings,
51259      not at the environment variables.  Also, when an encoding suffix such
51260      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
51261      category of the locale to "C".  */
51262   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51263       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51264     return 1;
51265 #else
51266   if (setlocale (LC_ALL, "") == NULL) return 1;
51267 #endif
51268   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51269      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51270      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51271      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51272      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51273      some unit tests fail.
51274      On MirBSD 10, when an unsupported locale is specified, setlocale()
51275      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51276 #if HAVE_LANGINFO_CODESET
51277   {
51278     const char *cs = nl_langinfo (CODESET);
51279     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51280         || strcmp (cs, "UTF-8") == 0)
51281       return 1;
51282   }
51283 #endif
51284 #ifdef __CYGWIN__
51285   /* On Cygwin, avoid locale names without encoding suffix, because the
51286      locale_charset() function relies on the encoding suffix.  Note that
51287      LC_ALL is set on the command line.  */
51288   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51289 #endif
51290   /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
51291      on Cygwin 1.5.x.  */
51292   if (MB_CUR_MAX == 1)
51293     return 1;
51294   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
51295      This excludes the UTF-8 encoding (except on MirBSD).  */
51296   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51297   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
51298   for (p = buf; *p != '\0'; p++)
51299     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
51300       return 1;
51301   return 0;
51302 }
51303
51304 _ACEOF
51305     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51306   (eval $ac_link) 2>&5
51307   ac_status=$?
51308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51309   test $ac_status = 0; } && test -s conftest$ac_exeext; then
51310       case "$host_os" in
51311         # Handle native Windows specially, because there setlocale() interprets
51312         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51313         # "fr" or "fra" as "French" or "French_France.1252",
51314         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51315         # "ja" as "Japanese" or "Japanese_Japan.932",
51316         # and similar.
51317         mingw*)
51318           # Note that on native Windows, the Japanese locale is
51319           # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
51320           # cannot use it here.
51321           gt_cv_locale_ja=none
51322           ;;
51323         *)
51324           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51325           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
51326           # configure script would override the LC_ALL setting. Likewise for
51327           # LC_CTYPE, which is also set at the beginning of the configure script.
51328           # Test for the AIX locale name.
51329           if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51330             gt_cv_locale_ja=ja_JP
51331           else
51332             # Test for the locale name with explicit encoding suffix.
51333             if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51334               gt_cv_locale_ja=ja_JP.EUC-JP
51335             else
51336               # Test for the HP-UX, OSF/1, NetBSD locale name.
51337               if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51338                 gt_cv_locale_ja=ja_JP.eucJP
51339               else
51340                 # Test for the IRIX, FreeBSD locale name.
51341                 if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51342                   gt_cv_locale_ja=ja_JP.EUC
51343                 else
51344                   # Test for the Solaris 7 locale name.
51345                   if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51346                     gt_cv_locale_ja=ja
51347                   else
51348                     # Special test for NetBSD 1.6.
51349                     if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
51350                       gt_cv_locale_ja=ja_JP.eucJP
51351                     else
51352                       # None found.
51353                       gt_cv_locale_ja=none
51354                     fi
51355                   fi
51356                 fi
51357               fi
51358             fi
51359           fi
51360           ;;
51361       esac
51362     fi
51363     rm -fr conftest*
51364
51365 fi
51366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
51367 $as_echo "$gt_cv_locale_ja" >&6; }
51368   LOCALE_JA=$gt_cv_locale_ja
51369
51370
51371
51372
51373
51374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
51375 $as_echo_n "checking for a transitional chinese locale... " >&6; }
51376 if ${gt_cv_locale_zh_CN+:} false; then :
51377   $as_echo_n "(cached) " >&6
51378 else
51379
51380     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51381 /* end confdefs.h.  */
51382
51383 #include <locale.h>
51384 #include <stdlib.h>
51385 #include <time.h>
51386 #if HAVE_LANGINFO_CODESET
51387 # include <langinfo.h>
51388 #endif
51389 #include <stdlib.h>
51390 #include <string.h>
51391 struct tm t;
51392 char buf[16];
51393 int main ()
51394 {
51395   const char *p;
51396   /* Check whether the given locale name is recognized by the system.  */
51397 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51398   /* On native Windows, setlocale(category, "") looks at the system settings,
51399      not at the environment variables.  Also, when an encoding suffix such
51400      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
51401      category of the locale to "C".  */
51402   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51403       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51404     return 1;
51405 #else
51406   if (setlocale (LC_ALL, "") == NULL) return 1;
51407 #endif
51408   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51409      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51410      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51411      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51412      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51413      some unit tests fail.
51414      On MirBSD 10, when an unsupported locale is specified, setlocale()
51415      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51416 #if HAVE_LANGINFO_CODESET
51417   {
51418     const char *cs = nl_langinfo (CODESET);
51419     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51420         || strcmp (cs, "UTF-8") == 0)
51421       return 1;
51422   }
51423 #endif
51424 #ifdef __CYGWIN__
51425   /* On Cygwin, avoid locale names without encoding suffix, because the
51426      locale_charset() function relies on the encoding suffix.  Note that
51427      LC_ALL is set on the command line.  */
51428   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51429 #endif
51430   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
51431      This excludes the UTF-8 encoding (except on MirBSD).  */
51432   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51433   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
51434   for (p = buf; *p != '\0'; p++)
51435     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
51436       return 1;
51437   /* Check whether a typical GB18030 multibyte sequence is recognized as a
51438      single wide character.  This excludes the GB2312 and GBK encodings.  */
51439   if (mblen ("\203\062\332\066", 5) != 4)
51440     return 1;
51441   return 0;
51442 }
51443
51444 _ACEOF
51445     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51446   (eval $ac_link) 2>&5
51447   ac_status=$?
51448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51449   test $ac_status = 0; } && test -s conftest$ac_exeext; then
51450       case "$host_os" in
51451         # Handle native Windows specially, because there setlocale() interprets
51452         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51453         # "fr" or "fra" as "French" or "French_France.1252",
51454         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51455         # "ja" as "Japanese" or "Japanese_Japan.932",
51456         # and similar.
51457         mingw*)
51458           # Test for the hypothetical native Windows locale name.
51459           if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51460             gt_cv_locale_zh_CN=Chinese_China.54936
51461           else
51462             # None found.
51463             gt_cv_locale_zh_CN=none
51464           fi
51465           ;;
51466         solaris2.8)
51467           # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
51468           # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
51469           # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
51470           gt_cv_locale_zh_CN=none
51471           ;;
51472         *)
51473           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51474           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
51475           # configure script would override the LC_ALL setting. Likewise for
51476           # LC_CTYPE, which is also set at the beginning of the configure script.
51477           # Test for the locale name without encoding suffix.
51478           if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51479             gt_cv_locale_zh_CN=zh_CN
51480           else
51481             # Test for the locale name with explicit encoding suffix.
51482             if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51483               gt_cv_locale_zh_CN=zh_CN.GB18030
51484             else
51485               # None found.
51486               gt_cv_locale_zh_CN=none
51487             fi
51488           fi
51489           ;;
51490       esac
51491     else
51492       # If there was a link error, due to mblen(), the system is so old that
51493       # it certainly doesn't have a chinese locale.
51494       gt_cv_locale_zh_CN=none
51495     fi
51496     rm -fr conftest*
51497
51498 fi
51499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
51500 $as_echo "$gt_cv_locale_zh_CN" >&6; }
51501   LOCALE_ZH_CN=$gt_cv_locale_zh_CN
51502
51503
51504
51505
51506
51507
51508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5
51509 $as_echo_n "checking for working stdalign.h... " >&6; }
51510 if ${gl_cv_header_working_stdalign_h+:} false; then :
51511   $as_echo_n "(cached) " >&6
51512 else
51513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51514 /* end confdefs.h.  */
51515 #include <stdalign.h>
51516             #include <stddef.h>
51517
51518             /* Test that alignof yields a result consistent with offsetof.
51519                This catches GCC bug 52023
51520                <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.  */
51521             #ifdef __cplusplus
51522                template <class t> struct alignof_helper { char a; t b; };
51523             # define ao(type) offsetof (alignof_helper<type>, b)
51524             #else
51525             # define ao(type) offsetof (struct { char a; type b; }, b)
51526             #endif
51527             char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1];
51528             char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1];
51529             char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1];
51530
51531             /* Test _Alignas only on platforms where gnulib can help.  */
51532             #if \
51533                 ((defined __cplusplus && 201103 <= __cplusplus) \
51534                  || (defined __APPLE__ && defined __MACH__ \
51535                      ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
51536                      : __GNUC__) \
51537                  || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__ \
51538                  || __ICC || 0x5110 <= __SUNPRO_C \
51539                  || 1300 <= _MSC_VER)
51540               struct alignas_test { char c; char alignas (8) alignas_8; };
51541               char test_alignas[offsetof (struct alignas_test, alignas_8) == 8
51542                                 ? 1 : -1];
51543             #endif
51544
51545 int
51546 main ()
51547 {
51548
51549   ;
51550   return 0;
51551 }
51552 _ACEOF
51553 if ac_fn_c_try_compile "$LINENO"; then :
51554   gl_cv_header_working_stdalign_h=yes
51555 else
51556   gl_cv_header_working_stdalign_h=no
51557 fi
51558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51559 fi
51560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5
51561 $as_echo "$gl_cv_header_working_stdalign_h" >&6; }
51562
51563   if test $gl_cv_header_working_stdalign_h = yes; then
51564     STDALIGN_H=''
51565   else
51566     STDALIGN_H='stdalign.h'
51567   fi
51568
51569
51570    if test -n "$STDALIGN_H"; then
51571   GL_GENERATE_STDALIGN_H_TRUE=
51572   GL_GENERATE_STDALIGN_H_FALSE='#'
51573 else
51574   GL_GENERATE_STDALIGN_H_TRUE='#'
51575   GL_GENERATE_STDALIGN_H_FALSE=
51576 fi
51577
51578
51579
51580
51581
51582
51583   $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
51584
51585
51586
51587
51588
51589
51590
51591
51592
51593
51594      if test $gl_cv_have_include_next = yes; then
51595        gl_cv_next_stdio_h='<'stdio.h'>'
51596      else
51597        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
51598 $as_echo_n "checking absolute name of <stdio.h>... " >&6; }
51599 if ${gl_cv_next_stdio_h+:} false; then :
51600   $as_echo_n "(cached) " >&6
51601 else
51602
51603
51604
51605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51606 /* end confdefs.h.  */
51607 #include <stdio.h>
51608 _ACEOF
51609                 case "$host_os" in
51610     aix*) gl_absname_cpp="$ac_cpp -C" ;;
51611     *)    gl_absname_cpp="$ac_cpp" ;;
51612   esac
51613
51614   case "$host_os" in
51615     mingw*)
51616                                           gl_dirsep_regex='[/\\]'
51617       ;;
51618     *)
51619       gl_dirsep_regex='\/'
51620       ;;
51621   esac
51622       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
51623   gl_header_literal_regex=`echo 'stdio.h' \
51624                            | sed -e "$gl_make_literal_regex_sed"`
51625   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
51626       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
51627       s|^/[^/]|//&|
51628       p
51629       q
51630     }'
51631
51632         gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
51633   sed -n "$gl_absolute_header_sed"`
51634
51635            gl_header=$gl_cv_absolute_stdio_h
51636            gl_cv_next_stdio_h='"'$gl_header'"'
51637
51638
51639 fi
51640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
51641 $as_echo "$gl_cv_next_stdio_h" >&6; }
51642      fi
51643      NEXT_STDIO_H=$gl_cv_next_stdio_h
51644
51645      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
51646        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
51647        gl_next_as_first_directive='<'stdio.h'>'
51648      else
51649        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
51650        gl_next_as_first_directive=$gl_cv_next_stdio_h
51651      fi
51652      NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
51653
51654
51655
51656
51657
51658         { $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5
51659 $as_echo_n "checking which flavor of printf attribute matches inttypes macros... " >&6; }
51660 if ${gl_cv_func_printf_attribute_flavor+:} false; then :
51661   $as_echo_n "(cached) " >&6
51662 else
51663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51664 /* end confdefs.h.  */
51665
51666        #define __STDC_FORMAT_MACROS 1
51667        #include <stdio.h>
51668        #include <inttypes.h>
51669        /* For non-mingw systems, compilation will trivially succeed.
51670           For mingw, compilation will succeed for older mingw (system
51671           printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */
51672        #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) && \
51673          (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
51674        extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1];
51675        #endif
51676
51677 int
51678 main ()
51679 {
51680
51681   ;
51682   return 0;
51683 }
51684 _ACEOF
51685 if ac_fn_c_try_compile "$LINENO"; then :
51686   gl_cv_func_printf_attribute_flavor=system
51687 else
51688   gl_cv_func_printf_attribute_flavor=gnu
51689 fi
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691 fi
51692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5
51693 $as_echo "$gl_cv_func_printf_attribute_flavor" >&6; }
51694   if test "$gl_cv_func_printf_attribute_flavor" = gnu; then
51695
51696 $as_echo "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h
51697
51698   fi
51699
51700       GNULIB_FSCANF=1
51701
51702
51703 cat >>confdefs.h <<_ACEOF
51704 #define GNULIB_FSCANF $gl_module_indicator_condition
51705 _ACEOF
51706
51707
51708   GNULIB_SCANF=1
51709
51710
51711 cat >>confdefs.h <<_ACEOF
51712 #define GNULIB_SCANF $gl_module_indicator_condition
51713 _ACEOF
51714
51715
51716   GNULIB_FGETC=1
51717   GNULIB_GETC=1
51718   GNULIB_GETCHAR=1
51719   GNULIB_FGETS=1
51720   GNULIB_FREAD=1
51721
51722
51723       GNULIB_FPRINTF=1
51724   GNULIB_PRINTF=1
51725   GNULIB_VFPRINTF=1
51726   GNULIB_VPRINTF=1
51727   GNULIB_FPUTC=1
51728   GNULIB_PUTC=1
51729   GNULIB_PUTCHAR=1
51730   GNULIB_FPUTS=1
51731   GNULIB_PUTS=1
51732   GNULIB_FWRITE=1
51733
51734
51735
51736
51737     for gl_func in dprintf fpurge fseeko ftello getdelim getline gets pclose popen     renameat snprintf tmpfile vdprintf vsnprintf; do
51738     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
51739     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
51740 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
51741 if eval \${$as_gl_Symbol+:} false; then :
51742   $as_echo_n "(cached) " >&6
51743 else
51744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51745 /* end confdefs.h.  */
51746 #include <stdio.h>
51747
51748 int
51749 main ()
51750 {
51751 #undef $gl_func
51752   (void) $gl_func;
51753   ;
51754   return 0;
51755 }
51756 _ACEOF
51757 if ac_fn_c_try_compile "$LINENO"; then :
51758   eval "$as_gl_Symbol=yes"
51759 else
51760   eval "$as_gl_Symbol=no"
51761 fi
51762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51763 fi
51764 eval ac_res=\$$as_gl_Symbol
51765                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
51766 $as_echo "$ac_res" >&6; }
51767     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
51768   cat >>confdefs.h <<_ACEOF
51769 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
51770 _ACEOF
51771
51772                      eval ac_cv_have_decl_$gl_func=yes
51773 fi
51774       done
51775
51776
51777
51778
51779
51780
51781
51782   if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
51783     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
51784 $as_echo_n "checking for working strerror function... " >&6; }
51785 if ${gl_cv_func_working_strerror+:} false; then :
51786   $as_echo_n "(cached) " >&6
51787 else
51788   if test "$cross_compiling" = yes; then :
51789   case "$host_os" in
51790                    # Guess yes on glibc systems.
51791            *-gnu*) gl_cv_func_working_strerror="guessing yes" ;;
51792                    # If we don't know, assume the worst.
51793            *)      gl_cv_func_working_strerror="guessing no" ;;
51794          esac
51795
51796 else
51797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51798 /* end confdefs.h.  */
51799 #include <string.h>
51800
51801 int
51802 main ()
51803 {
51804 if (!*strerror (-2)) return 1;
51805   ;
51806   return 0;
51807 }
51808 _ACEOF
51809 if ac_fn_c_try_run "$LINENO"; then :
51810   gl_cv_func_working_strerror=yes
51811 else
51812   gl_cv_func_working_strerror=no
51813 fi
51814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51815   conftest.$ac_objext conftest.beam conftest.$ac_ext
51816 fi
51817
51818
51819 fi
51820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
51821 $as_echo "$gl_cv_func_working_strerror" >&6; }
51822     case "$gl_cv_func_working_strerror" in
51823       *yes) ;;
51824       *)
51825                         REPLACE_STRERROR=1
51826         ;;
51827     esac
51828
51829   else
51830             REPLACE_STRERROR=1
51831   fi
51832
51833   if test $REPLACE_STRERROR = 1; then
51834
51835
51836
51837
51838
51839
51840
51841
51842   gltests_LIBOBJS="$gltests_LIBOBJS strerror.$ac_objext"
51843
51844   fi
51845
51846
51847 cat >>confdefs.h <<_ACEOF
51848 #define GNULIB_STRERROR $gl_module_indicator_condition
51849 _ACEOF
51850
51851
51852
51853
51854
51855
51856
51857     if test "$GNULIB_STRERROR" != 1; then
51858         if test "$GNULIB_STRERROR" = 0; then
51859       GNULIB_STRERROR=$gl_module_indicator_condition
51860     else
51861       GNULIB_STRERROR="($GNULIB_STRERROR || $gl_module_indicator_condition)"
51862     fi
51863   fi
51864
51865
51866
51867
51868
51869 $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
51870
51871
51872
51873
51874
51875   if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
51876
51877
51878
51879
51880
51881
51882
51883
51884   gltests_LIBOBJS="$gltests_LIBOBJS strerror-override.$ac_objext"
51885
51886
51887
51888
51889
51890   if test $ac_cv_header_sys_socket_h != yes; then
51891                     for ac_header in winsock2.h
51892 do :
51893   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
51894 if test "x$ac_cv_header_winsock2_h" = xyes; then :
51895   cat >>confdefs.h <<_ACEOF
51896 #define HAVE_WINSOCK2_H 1
51897 _ACEOF
51898
51899 fi
51900
51901 done
51902
51903   fi
51904   if test "$ac_cv_header_winsock2_h" = yes; then
51905     HAVE_WINSOCK2_H=1
51906     UNISTD_H_HAVE_WINSOCK2_H=1
51907     SYS_IOCTL_H_HAVE_WINSOCK2_H=1
51908   else
51909     HAVE_WINSOCK2_H=0
51910   fi
51911
51912
51913   fi
51914
51915
51916
51917   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
51918   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
51919   # irrelevant for anonymous mappings.
51920   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
51921 if test "x$ac_cv_func_mmap" = xyes; then :
51922   gl_have_mmap=yes
51923 else
51924   gl_have_mmap=no
51925 fi
51926
51927
51928   # Try to allow MAP_ANONYMOUS.
51929   gl_have_mmap_anonymous=no
51930   if test $gl_have_mmap = yes; then
51931     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
51932 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
51933     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51934 /* end confdefs.h.  */
51935
51936 #include <sys/mman.h>
51937 #ifdef MAP_ANONYMOUS
51938     I cannot identify this map
51939 #endif
51940
51941 _ACEOF
51942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
51943   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
51944   gl_have_mmap_anonymous=yes
51945 fi
51946 rm -f conftest*
51947
51948     if test $gl_have_mmap_anonymous != yes; then
51949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51950 /* end confdefs.h.  */
51951
51952 #include <sys/mman.h>
51953 #ifdef MAP_ANON
51954     I cannot identify this map
51955 #endif
51956
51957 _ACEOF
51958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
51959   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
51960
51961 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
51962
51963          gl_have_mmap_anonymous=yes
51964 fi
51965 rm -f conftest*
51966
51967     fi
51968     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
51969 $as_echo "$gl_have_mmap_anonymous" >&6; }
51970     if test $gl_have_mmap_anonymous = yes; then
51971
51972 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
51973
51974     fi
51975   fi
51976
51977
51978
51979
51980
51981
51982
51983   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
51984   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
51985   # irrelevant for anonymous mappings.
51986   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
51987 if test "x$ac_cv_func_mmap" = xyes; then :
51988   gl_have_mmap=yes
51989 else
51990   gl_have_mmap=no
51991 fi
51992
51993
51994   # Try to allow MAP_ANONYMOUS.
51995   gl_have_mmap_anonymous=no
51996   if test $gl_have_mmap = yes; then
51997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
51998 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
51999     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52000 /* end confdefs.h.  */
52001
52002 #include <sys/mman.h>
52003 #ifdef MAP_ANONYMOUS
52004     I cannot identify this map
52005 #endif
52006
52007 _ACEOF
52008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52009   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
52010   gl_have_mmap_anonymous=yes
52011 fi
52012 rm -f conftest*
52013
52014     if test $gl_have_mmap_anonymous != yes; then
52015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52016 /* end confdefs.h.  */
52017
52018 #include <sys/mman.h>
52019 #ifdef MAP_ANON
52020     I cannot identify this map
52021 #endif
52022
52023 _ACEOF
52024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52025   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
52026
52027 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
52028
52029          gl_have_mmap_anonymous=yes
52030 fi
52031 rm -f conftest*
52032
52033     fi
52034     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
52035 $as_echo "$gl_have_mmap_anonymous" >&6; }
52036     if test $gl_have_mmap_anonymous = yes; then
52037
52038 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
52039
52040     fi
52041   fi
52042
52043
52044
52045
52046
52047
52048   if test $gl_threads_api = posix; then
52049     gl_save_LIBS="$LIBS"
52050     LIBS="$LIBS $LIBMULTITHREAD"
52051     for ac_func in pthread_atfork
52052 do :
52053   ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork"
52054 if test "x$ac_cv_func_pthread_atfork" = xyes; then :
52055   cat >>confdefs.h <<_ACEOF
52056 #define HAVE_PTHREAD_ATFORK 1
52057 _ACEOF
52058
52059 fi
52060 done
52061
52062     LIBS="$gl_save_LIBS"
52063   fi
52064
52065
52066
52067
52068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
52069 $as_echo_n "checking for a traditional french locale... " >&6; }
52070 if ${gt_cv_locale_fr+:} false; then :
52071   $as_echo_n "(cached) " >&6
52072 else
52073
52074     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52075 /* end confdefs.h.  */
52076
52077 #include <locale.h>
52078 #include <time.h>
52079 #if HAVE_LANGINFO_CODESET
52080 # include <langinfo.h>
52081 #endif
52082 #include <stdlib.h>
52083 #include <string.h>
52084 struct tm t;
52085 char buf[16];
52086 int main () {
52087   /* Check whether the given locale name is recognized by the system.  */
52088 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52089   /* On native Windows, setlocale(category, "") looks at the system settings,
52090      not at the environment variables.  Also, when an encoding suffix such
52091      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52092      category of the locale to "C".  */
52093   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52094       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52095     return 1;
52096 #else
52097   if (setlocale (LC_ALL, "") == NULL) return 1;
52098 #endif
52099   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52100      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52101      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52102      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52103      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52104      some unit tests fail.
52105      On MirBSD 10, when an unsupported locale is specified, setlocale()
52106      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52107 #if HAVE_LANGINFO_CODESET
52108   {
52109     const char *cs = nl_langinfo (CODESET);
52110     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52111         || strcmp (cs, "UTF-8") == 0)
52112       return 1;
52113   }
52114 #endif
52115 #ifdef __CYGWIN__
52116   /* On Cygwin, avoid locale names without encoding suffix, because the
52117      locale_charset() function relies on the encoding suffix.  Note that
52118      LC_ALL is set on the command line.  */
52119   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52120 #endif
52121   /* Check whether in the abbreviation of the second month, the second
52122      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
52123      one byte long. This excludes the UTF-8 encoding.  */
52124   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52125   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
52126 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
52127   /* Check whether the decimal separator is a comma.
52128      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52129      are nl_langinfo(RADIXCHAR) are both ".".  */
52130   if (localeconv () ->decimal_point[0] != ',') return 1;
52131 #endif
52132   return 0;
52133 }
52134
52135 _ACEOF
52136     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52137   (eval $ac_link) 2>&5
52138   ac_status=$?
52139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52140   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52141       case "$host_os" in
52142         # Handle native Windows specially, because there setlocale() interprets
52143         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52144         # "fr" or "fra" as "French" or "French_France.1252",
52145         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52146         # "ja" as "Japanese" or "Japanese_Japan.932",
52147         # and similar.
52148         mingw*)
52149           # Test for the native Windows locale name.
52150           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52151             gt_cv_locale_fr=French_France.1252
52152           else
52153             # None found.
52154             gt_cv_locale_fr=none
52155           fi
52156           ;;
52157         *)
52158           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52159           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52160           # configure script would override the LC_ALL setting. Likewise for
52161           # LC_CTYPE, which is also set at the beginning of the configure script.
52162           # Test for the usual locale name.
52163           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52164             gt_cv_locale_fr=fr_FR
52165           else
52166             # Test for the locale name with explicit encoding suffix.
52167             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52168               gt_cv_locale_fr=fr_FR.ISO-8859-1
52169             else
52170               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
52171               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52172                 gt_cv_locale_fr=fr_FR.ISO8859-1
52173               else
52174                 # Test for the HP-UX locale name.
52175                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52176                   gt_cv_locale_fr=fr_FR.iso88591
52177                 else
52178                   # Test for the Solaris 7 locale name.
52179                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52180                     gt_cv_locale_fr=fr
52181                   else
52182                     # None found.
52183                     gt_cv_locale_fr=none
52184                   fi
52185                 fi
52186               fi
52187             fi
52188           fi
52189           ;;
52190       esac
52191     fi
52192     rm -fr conftest*
52193
52194 fi
52195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
52196 $as_echo "$gt_cv_locale_fr" >&6; }
52197   LOCALE_FR=$gt_cv_locale_fr
52198
52199
52200
52201
52202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
52203 $as_echo_n "checking for a french Unicode locale... " >&6; }
52204 if ${gt_cv_locale_fr_utf8+:} false; then :
52205   $as_echo_n "(cached) " >&6
52206 else
52207
52208     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52209 /* end confdefs.h.  */
52210
52211 #include <locale.h>
52212 #include <time.h>
52213 #if HAVE_LANGINFO_CODESET
52214 # include <langinfo.h>
52215 #endif
52216 #include <stdlib.h>
52217 #include <string.h>
52218 struct tm t;
52219 char buf[16];
52220 int main () {
52221   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
52222      imitates locale dependent behaviour by looking at the environment
52223      variables, and all locales use the UTF-8 encoding.  */
52224 #if !(defined __BEOS__ || defined __HAIKU__)
52225   /* Check whether the given locale name is recognized by the system.  */
52226 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52227   /* On native Windows, setlocale(category, "") looks at the system settings,
52228      not at the environment variables.  Also, when an encoding suffix such
52229      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52230      category of the locale to "C".  */
52231   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52232       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52233     return 1;
52234 # else
52235   if (setlocale (LC_ALL, "") == NULL) return 1;
52236 # endif
52237   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52238      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52239      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52240      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52241      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52242      some unit tests fail.  */
52243 # if HAVE_LANGINFO_CODESET
52244   {
52245     const char *cs = nl_langinfo (CODESET);
52246     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
52247       return 1;
52248   }
52249 # endif
52250 # ifdef __CYGWIN__
52251   /* On Cygwin, avoid locale names without encoding suffix, because the
52252      locale_charset() function relies on the encoding suffix.  Note that
52253      LC_ALL is set on the command line.  */
52254   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52255 # endif
52256   /* Check whether in the abbreviation of the second month, the second
52257      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
52258      two bytes long, with UTF-8 encoding.  */
52259   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52260   if (strftime (buf, sizeof (buf), "%b", &t) < 4
52261       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
52262     return 1;
52263 #endif
52264 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
52265   /* Check whether the decimal separator is a comma.
52266      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52267      are nl_langinfo(RADIXCHAR) are both ".".  */
52268   if (localeconv () ->decimal_point[0] != ',') return 1;
52269 #endif
52270   return 0;
52271 }
52272
52273 _ACEOF
52274     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52275   (eval $ac_link) 2>&5
52276   ac_status=$?
52277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52278   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52279       case "$host_os" in
52280         # Handle native Windows specially, because there setlocale() interprets
52281         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52282         # "fr" or "fra" as "French" or "French_France.1252",
52283         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52284         # "ja" as "Japanese" or "Japanese_Japan.932",
52285         # and similar.
52286         mingw*)
52287           # Test for the hypothetical native Windows locale name.
52288           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52289             gt_cv_locale_fr_utf8=French_France.65001
52290           else
52291             # None found.
52292             gt_cv_locale_fr_utf8=none
52293           fi
52294           ;;
52295         *)
52296           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52297           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52298           # configure script would override the LC_ALL setting. Likewise for
52299           # LC_CTYPE, which is also set at the beginning of the configure script.
52300           # Test for the usual locale name.
52301           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52302             gt_cv_locale_fr_utf8=fr_FR
52303           else
52304             # Test for the locale name with explicit encoding suffix.
52305             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52306               gt_cv_locale_fr_utf8=fr_FR.UTF-8
52307             else
52308               # Test for the Solaris 7 locale name.
52309               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52310                 gt_cv_locale_fr_utf8=fr.UTF-8
52311               else
52312                 # None found.
52313                 gt_cv_locale_fr_utf8=none
52314               fi
52315             fi
52316           fi
52317           ;;
52318       esac
52319     fi
52320     rm -fr conftest*
52321
52322 fi
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
52324 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
52325   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
52326
52327
52328
52329
52330
52331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
52332 $as_echo_n "checking for a traditional japanese locale... " >&6; }
52333 if ${gt_cv_locale_ja+:} false; then :
52334   $as_echo_n "(cached) " >&6
52335 else
52336
52337     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52338 /* end confdefs.h.  */
52339
52340 #include <locale.h>
52341 #include <time.h>
52342 #if HAVE_LANGINFO_CODESET
52343 # include <langinfo.h>
52344 #endif
52345 #include <stdlib.h>
52346 #include <string.h>
52347 struct tm t;
52348 char buf[16];
52349 int main ()
52350 {
52351   const char *p;
52352   /* Check whether the given locale name is recognized by the system.  */
52353 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52354   /* On native Windows, setlocale(category, "") looks at the system settings,
52355      not at the environment variables.  Also, when an encoding suffix such
52356      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52357      category of the locale to "C".  */
52358   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52359       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52360     return 1;
52361 #else
52362   if (setlocale (LC_ALL, "") == NULL) return 1;
52363 #endif
52364   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52365      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52366      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52367      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52368      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52369      some unit tests fail.
52370      On MirBSD 10, when an unsupported locale is specified, setlocale()
52371      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52372 #if HAVE_LANGINFO_CODESET
52373   {
52374     const char *cs = nl_langinfo (CODESET);
52375     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52376         || strcmp (cs, "UTF-8") == 0)
52377       return 1;
52378   }
52379 #endif
52380 #ifdef __CYGWIN__
52381   /* On Cygwin, avoid locale names without encoding suffix, because the
52382      locale_charset() function relies on the encoding suffix.  Note that
52383      LC_ALL is set on the command line.  */
52384   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52385 #endif
52386   /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
52387      on Cygwin 1.5.x.  */
52388   if (MB_CUR_MAX == 1)
52389     return 1;
52390   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
52391      This excludes the UTF-8 encoding (except on MirBSD).  */
52392   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52393   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
52394   for (p = buf; *p != '\0'; p++)
52395     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
52396       return 1;
52397   return 0;
52398 }
52399
52400 _ACEOF
52401     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52402   (eval $ac_link) 2>&5
52403   ac_status=$?
52404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52405   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52406       case "$host_os" in
52407         # Handle native Windows specially, because there setlocale() interprets
52408         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52409         # "fr" or "fra" as "French" or "French_France.1252",
52410         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52411         # "ja" as "Japanese" or "Japanese_Japan.932",
52412         # and similar.
52413         mingw*)
52414           # Note that on native Windows, the Japanese locale is
52415           # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
52416           # cannot use it here.
52417           gt_cv_locale_ja=none
52418           ;;
52419         *)
52420           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52421           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52422           # configure script would override the LC_ALL setting. Likewise for
52423           # LC_CTYPE, which is also set at the beginning of the configure script.
52424           # Test for the AIX locale name.
52425           if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52426             gt_cv_locale_ja=ja_JP
52427           else
52428             # Test for the locale name with explicit encoding suffix.
52429             if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52430               gt_cv_locale_ja=ja_JP.EUC-JP
52431             else
52432               # Test for the HP-UX, OSF/1, NetBSD locale name.
52433               if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52434                 gt_cv_locale_ja=ja_JP.eucJP
52435               else
52436                 # Test for the IRIX, FreeBSD locale name.
52437                 if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52438                   gt_cv_locale_ja=ja_JP.EUC
52439                 else
52440                   # Test for the Solaris 7 locale name.
52441                   if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52442                     gt_cv_locale_ja=ja
52443                   else
52444                     # Special test for NetBSD 1.6.
52445                     if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
52446                       gt_cv_locale_ja=ja_JP.eucJP
52447                     else
52448                       # None found.
52449                       gt_cv_locale_ja=none
52450                     fi
52451                   fi
52452                 fi
52453               fi
52454             fi
52455           fi
52456           ;;
52457       esac
52458     fi
52459     rm -fr conftest*
52460
52461 fi
52462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
52463 $as_echo "$gt_cv_locale_ja" >&6; }
52464   LOCALE_JA=$gt_cv_locale_ja
52465
52466
52467
52468
52469
52470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
52471 $as_echo_n "checking for a turkish Unicode locale... " >&6; }
52472 if ${gt_cv_locale_tr_utf8+:} false; then :
52473   $as_echo_n "(cached) " >&6
52474 else
52475
52476     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52477 /* end confdefs.h.  */
52478
52479 #include <locale.h>
52480 #include <time.h>
52481 #if HAVE_LANGINFO_CODESET
52482 # include <langinfo.h>
52483 #endif
52484 #include <stdlib.h>
52485 #include <string.h>
52486 struct tm t;
52487 char buf[16];
52488 int main () {
52489   /* On BeOS, locales are not implemented in libc.  Rather, libintl
52490      imitates locale dependent behaviour by looking at the environment
52491      variables, and all locales use the UTF-8 encoding.  But BeOS does not
52492      implement the Turkish upper-/lowercase mappings.  Therefore, let this
52493      program return 1 on BeOS.  */
52494   /* Check whether the given locale name is recognized by the system.  */
52495 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52496   /* On native Windows, setlocale(category, "") looks at the system settings,
52497      not at the environment variables.  Also, when an encoding suffix such
52498      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52499      category of the locale to "C".  */
52500   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52501       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52502     return 1;
52503 #else
52504   if (setlocale (LC_ALL, "") == NULL) return 1;
52505 #endif
52506   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52507      On Mac OS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
52508      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52509      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52510      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52511      some unit tests fail.  */
52512 #if HAVE_LANGINFO_CODESET
52513   {
52514     const char *cs = nl_langinfo (CODESET);
52515     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
52516       return 1;
52517   }
52518 #endif
52519 #ifdef __CYGWIN__
52520   /* On Cygwin, avoid locale names without encoding suffix, because the
52521      locale_charset() function relies on the encoding suffix.  Note that
52522      LC_ALL is set on the command line.  */
52523   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52524 #endif
52525   /* Check whether in the abbreviation of the eighth month, the second
52526      character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
52527      two bytes long, with UTF-8 encoding.  */
52528   t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
52529   if (strftime (buf, sizeof (buf), "%b", &t) < 4
52530       || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
52531     return 1;
52532   /* Check whether the upper-/lowercase mappings are as expected for
52533      Turkish.  */
52534   if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
52535       || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
52536     return 1;
52537   return 0;
52538 }
52539
52540 _ACEOF
52541     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52542   (eval $ac_link) 2>&5
52543   ac_status=$?
52544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52545   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52546       case "$host_os" in
52547         # Handle native Windows specially, because there setlocale() interprets
52548         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52549         # "fr" or "fra" as "French" or "French_France.1252",
52550         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52551         # "ja" as "Japanese" or "Japanese_Japan.932",
52552         # and similar.
52553         mingw*)
52554           # Test for the hypothetical native Windows locale name.
52555           if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52556             gt_cv_locale_tr_utf8=Turkish_Turkey.65001
52557           else
52558             # None found.
52559             gt_cv_locale_tr_utf8=none
52560           fi
52561           ;;
52562         *)
52563           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52564           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52565           # configure script would override the LC_ALL setting. Likewise for
52566           # LC_CTYPE, which is also set at the beginning of the configure script.
52567           # Test for the usual locale name.
52568           if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52569             gt_cv_locale_tr_utf8=tr_TR
52570           else
52571             # Test for the locale name with explicit encoding suffix.
52572             if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52573               gt_cv_locale_tr_utf8=tr_TR.UTF-8
52574             else
52575               # Test for the Solaris 7 locale name.
52576               if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52577                 gt_cv_locale_tr_utf8=tr.UTF-8
52578               else
52579                 # None found.
52580                 gt_cv_locale_tr_utf8=none
52581               fi
52582             fi
52583           fi
52584           ;;
52585       esac
52586     else
52587       gt_cv_locale_tr_utf8=none
52588     fi
52589     rm -fr conftest*
52590
52591 fi
52592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
52593 $as_echo "$gt_cv_locale_tr_utf8" >&6; }
52594   LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
52595
52596
52597
52598
52599
52600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
52601 $as_echo_n "checking for a transitional chinese locale... " >&6; }
52602 if ${gt_cv_locale_zh_CN+:} false; then :
52603   $as_echo_n "(cached) " >&6
52604 else
52605
52606     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52607 /* end confdefs.h.  */
52608
52609 #include <locale.h>
52610 #include <stdlib.h>
52611 #include <time.h>
52612 #if HAVE_LANGINFO_CODESET
52613 # include <langinfo.h>
52614 #endif
52615 #include <stdlib.h>
52616 #include <string.h>
52617 struct tm t;
52618 char buf[16];
52619 int main ()
52620 {
52621   const char *p;
52622   /* Check whether the given locale name is recognized by the system.  */
52623 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52624   /* On native Windows, setlocale(category, "") looks at the system settings,
52625      not at the environment variables.  Also, when an encoding suffix such
52626      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52627      category of the locale to "C".  */
52628   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52629       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52630     return 1;
52631 #else
52632   if (setlocale (LC_ALL, "") == NULL) return 1;
52633 #endif
52634   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52635      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52636      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52637      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52638      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52639      some unit tests fail.
52640      On MirBSD 10, when an unsupported locale is specified, setlocale()
52641      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52642 #if HAVE_LANGINFO_CODESET
52643   {
52644     const char *cs = nl_langinfo (CODESET);
52645     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52646         || strcmp (cs, "UTF-8") == 0)
52647       return 1;
52648   }
52649 #endif
52650 #ifdef __CYGWIN__
52651   /* On Cygwin, avoid locale names without encoding suffix, because the
52652      locale_charset() function relies on the encoding suffix.  Note that
52653      LC_ALL is set on the command line.  */
52654   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52655 #endif
52656   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
52657      This excludes the UTF-8 encoding (except on MirBSD).  */
52658   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52659   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
52660   for (p = buf; *p != '\0'; p++)
52661     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
52662       return 1;
52663   /* Check whether a typical GB18030 multibyte sequence is recognized as a
52664      single wide character.  This excludes the GB2312 and GBK encodings.  */
52665   if (mblen ("\203\062\332\066", 5) != 4)
52666     return 1;
52667   return 0;
52668 }
52669
52670 _ACEOF
52671     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52672   (eval $ac_link) 2>&5
52673   ac_status=$?
52674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52675   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52676       case "$host_os" in
52677         # Handle native Windows specially, because there setlocale() interprets
52678         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52679         # "fr" or "fra" as "French" or "French_France.1252",
52680         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52681         # "ja" as "Japanese" or "Japanese_Japan.932",
52682         # and similar.
52683         mingw*)
52684           # Test for the hypothetical native Windows locale name.
52685           if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52686             gt_cv_locale_zh_CN=Chinese_China.54936
52687           else
52688             # None found.
52689             gt_cv_locale_zh_CN=none
52690           fi
52691           ;;
52692         solaris2.8)
52693           # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
52694           # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
52695           # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
52696           gt_cv_locale_zh_CN=none
52697           ;;
52698         *)
52699           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52700           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52701           # configure script would override the LC_ALL setting. Likewise for
52702           # LC_CTYPE, which is also set at the beginning of the configure script.
52703           # Test for the locale name without encoding suffix.
52704           if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52705             gt_cv_locale_zh_CN=zh_CN
52706           else
52707             # Test for the locale name with explicit encoding suffix.
52708             if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52709               gt_cv_locale_zh_CN=zh_CN.GB18030
52710             else
52711               # None found.
52712               gt_cv_locale_zh_CN=none
52713             fi
52714           fi
52715           ;;
52716       esac
52717     else
52718       # If there was a link error, due to mblen(), the system is so old that
52719       # it certainly doesn't have a chinese locale.
52720       gt_cv_locale_zh_CN=none
52721     fi
52722     rm -fr conftest*
52723
52724 fi
52725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
52726 $as_echo "$gt_cv_locale_zh_CN" >&6; }
52727   LOCALE_ZH_CN=$gt_cv_locale_zh_CN
52728
52729
52730
52731
52732
52733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
52734 $as_echo_n "checking for a traditional french locale... " >&6; }
52735 if ${gt_cv_locale_fr+:} false; then :
52736   $as_echo_n "(cached) " >&6
52737 else
52738
52739     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52740 /* end confdefs.h.  */
52741
52742 #include <locale.h>
52743 #include <time.h>
52744 #if HAVE_LANGINFO_CODESET
52745 # include <langinfo.h>
52746 #endif
52747 #include <stdlib.h>
52748 #include <string.h>
52749 struct tm t;
52750 char buf[16];
52751 int main () {
52752   /* Check whether the given locale name is recognized by the system.  */
52753 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52754   /* On native Windows, setlocale(category, "") looks at the system settings,
52755      not at the environment variables.  Also, when an encoding suffix such
52756      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52757      category of the locale to "C".  */
52758   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52759       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52760     return 1;
52761 #else
52762   if (setlocale (LC_ALL, "") == NULL) return 1;
52763 #endif
52764   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52765      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52766      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52767      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52768      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52769      some unit tests fail.
52770      On MirBSD 10, when an unsupported locale is specified, setlocale()
52771      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52772 #if HAVE_LANGINFO_CODESET
52773   {
52774     const char *cs = nl_langinfo (CODESET);
52775     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52776         || strcmp (cs, "UTF-8") == 0)
52777       return 1;
52778   }
52779 #endif
52780 #ifdef __CYGWIN__
52781   /* On Cygwin, avoid locale names without encoding suffix, because the
52782      locale_charset() function relies on the encoding suffix.  Note that
52783      LC_ALL is set on the command line.  */
52784   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52785 #endif
52786   /* Check whether in the abbreviation of the second month, the second
52787      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
52788      one byte long. This excludes the UTF-8 encoding.  */
52789   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52790   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
52791 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
52792   /* Check whether the decimal separator is a comma.
52793      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52794      are nl_langinfo(RADIXCHAR) are both ".".  */
52795   if (localeconv () ->decimal_point[0] != ',') return 1;
52796 #endif
52797   return 0;
52798 }
52799
52800 _ACEOF
52801     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52802   (eval $ac_link) 2>&5
52803   ac_status=$?
52804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52805   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52806       case "$host_os" in
52807         # Handle native Windows specially, because there setlocale() interprets
52808         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52809         # "fr" or "fra" as "French" or "French_France.1252",
52810         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52811         # "ja" as "Japanese" or "Japanese_Japan.932",
52812         # and similar.
52813         mingw*)
52814           # Test for the native Windows locale name.
52815           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52816             gt_cv_locale_fr=French_France.1252
52817           else
52818             # None found.
52819             gt_cv_locale_fr=none
52820           fi
52821           ;;
52822         *)
52823           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52824           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52825           # configure script would override the LC_ALL setting. Likewise for
52826           # LC_CTYPE, which is also set at the beginning of the configure script.
52827           # Test for the usual locale name.
52828           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52829             gt_cv_locale_fr=fr_FR
52830           else
52831             # Test for the locale name with explicit encoding suffix.
52832             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52833               gt_cv_locale_fr=fr_FR.ISO-8859-1
52834             else
52835               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
52836               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52837                 gt_cv_locale_fr=fr_FR.ISO8859-1
52838               else
52839                 # Test for the HP-UX locale name.
52840                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52841                   gt_cv_locale_fr=fr_FR.iso88591
52842                 else
52843                   # Test for the Solaris 7 locale name.
52844                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52845                     gt_cv_locale_fr=fr
52846                   else
52847                     # None found.
52848                     gt_cv_locale_fr=none
52849                   fi
52850                 fi
52851               fi
52852             fi
52853           fi
52854           ;;
52855       esac
52856     fi
52857     rm -fr conftest*
52858
52859 fi
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
52861 $as_echo "$gt_cv_locale_fr" >&6; }
52862   LOCALE_FR=$gt_cv_locale_fr
52863
52864
52865
52866
52867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
52868 $as_echo_n "checking for a french Unicode locale... " >&6; }
52869 if ${gt_cv_locale_fr_utf8+:} false; then :
52870   $as_echo_n "(cached) " >&6
52871 else
52872
52873     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52874 /* end confdefs.h.  */
52875
52876 #include <locale.h>
52877 #include <time.h>
52878 #if HAVE_LANGINFO_CODESET
52879 # include <langinfo.h>
52880 #endif
52881 #include <stdlib.h>
52882 #include <string.h>
52883 struct tm t;
52884 char buf[16];
52885 int main () {
52886   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
52887      imitates locale dependent behaviour by looking at the environment
52888      variables, and all locales use the UTF-8 encoding.  */
52889 #if !(defined __BEOS__ || defined __HAIKU__)
52890   /* Check whether the given locale name is recognized by the system.  */
52891 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52892   /* On native Windows, setlocale(category, "") looks at the system settings,
52893      not at the environment variables.  Also, when an encoding suffix such
52894      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
52895      category of the locale to "C".  */
52896   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52897       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52898     return 1;
52899 # else
52900   if (setlocale (LC_ALL, "") == NULL) return 1;
52901 # endif
52902   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52903      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52904      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52905      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52906      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52907      some unit tests fail.  */
52908 # if HAVE_LANGINFO_CODESET
52909   {
52910     const char *cs = nl_langinfo (CODESET);
52911     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
52912       return 1;
52913   }
52914 # endif
52915 # ifdef __CYGWIN__
52916   /* On Cygwin, avoid locale names without encoding suffix, because the
52917      locale_charset() function relies on the encoding suffix.  Note that
52918      LC_ALL is set on the command line.  */
52919   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52920 # endif
52921   /* Check whether in the abbreviation of the second month, the second
52922      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
52923      two bytes long, with UTF-8 encoding.  */
52924   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52925   if (strftime (buf, sizeof (buf), "%b", &t) < 4
52926       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
52927     return 1;
52928 #endif
52929 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
52930   /* Check whether the decimal separator is a comma.
52931      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52932      are nl_langinfo(RADIXCHAR) are both ".".  */
52933   if (localeconv () ->decimal_point[0] != ',') return 1;
52934 #endif
52935   return 0;
52936 }
52937
52938 _ACEOF
52939     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52940   (eval $ac_link) 2>&5
52941   ac_status=$?
52942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52943   test $ac_status = 0; } && test -s conftest$ac_exeext; then
52944       case "$host_os" in
52945         # Handle native Windows specially, because there setlocale() interprets
52946         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52947         # "fr" or "fra" as "French" or "French_France.1252",
52948         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52949         # "ja" as "Japanese" or "Japanese_Japan.932",
52950         # and similar.
52951         mingw*)
52952           # Test for the hypothetical native Windows locale name.
52953           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52954             gt_cv_locale_fr_utf8=French_France.65001
52955           else
52956             # None found.
52957             gt_cv_locale_fr_utf8=none
52958           fi
52959           ;;
52960         *)
52961           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52962           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
52963           # configure script would override the LC_ALL setting. Likewise for
52964           # LC_CTYPE, which is also set at the beginning of the configure script.
52965           # Test for the usual locale name.
52966           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52967             gt_cv_locale_fr_utf8=fr_FR
52968           else
52969             # Test for the locale name with explicit encoding suffix.
52970             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52971               gt_cv_locale_fr_utf8=fr_FR.UTF-8
52972             else
52973               # Test for the Solaris 7 locale name.
52974               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52975                 gt_cv_locale_fr_utf8=fr.UTF-8
52976               else
52977                 # None found.
52978                 gt_cv_locale_fr_utf8=none
52979               fi
52980             fi
52981           fi
52982           ;;
52983       esac
52984     fi
52985     rm -fr conftest*
52986
52987 fi
52988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
52989 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
52990   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
52991
52992
52993
52994
52995
52996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
52997 $as_echo_n "checking for a traditional french locale... " >&6; }
52998 if ${gt_cv_locale_fr+:} false; then :
52999   $as_echo_n "(cached) " >&6
53000 else
53001
53002     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53003 /* end confdefs.h.  */
53004
53005 #include <locale.h>
53006 #include <time.h>
53007 #if HAVE_LANGINFO_CODESET
53008 # include <langinfo.h>
53009 #endif
53010 #include <stdlib.h>
53011 #include <string.h>
53012 struct tm t;
53013 char buf[16];
53014 int main () {
53015   /* Check whether the given locale name is recognized by the system.  */
53016 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53017   /* On native Windows, setlocale(category, "") looks at the system settings,
53018      not at the environment variables.  Also, when an encoding suffix such
53019      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53020      category of the locale to "C".  */
53021   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53022       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53023     return 1;
53024 #else
53025   if (setlocale (LC_ALL, "") == NULL) return 1;
53026 #endif
53027   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53028      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53029      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53030      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53031      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53032      some unit tests fail.
53033      On MirBSD 10, when an unsupported locale is specified, setlocale()
53034      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53035 #if HAVE_LANGINFO_CODESET
53036   {
53037     const char *cs = nl_langinfo (CODESET);
53038     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53039         || strcmp (cs, "UTF-8") == 0)
53040       return 1;
53041   }
53042 #endif
53043 #ifdef __CYGWIN__
53044   /* On Cygwin, avoid locale names without encoding suffix, because the
53045      locale_charset() function relies on the encoding suffix.  Note that
53046      LC_ALL is set on the command line.  */
53047   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53048 #endif
53049   /* Check whether in the abbreviation of the second month, the second
53050      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
53051      one byte long. This excludes the UTF-8 encoding.  */
53052   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53053   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
53054 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53055   /* Check whether the decimal separator is a comma.
53056      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53057      are nl_langinfo(RADIXCHAR) are both ".".  */
53058   if (localeconv () ->decimal_point[0] != ',') return 1;
53059 #endif
53060   return 0;
53061 }
53062
53063 _ACEOF
53064     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53065   (eval $ac_link) 2>&5
53066   ac_status=$?
53067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53068   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53069       case "$host_os" in
53070         # Handle native Windows specially, because there setlocale() interprets
53071         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53072         # "fr" or "fra" as "French" or "French_France.1252",
53073         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53074         # "ja" as "Japanese" or "Japanese_Japan.932",
53075         # and similar.
53076         mingw*)
53077           # Test for the native Windows locale name.
53078           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53079             gt_cv_locale_fr=French_France.1252
53080           else
53081             # None found.
53082             gt_cv_locale_fr=none
53083           fi
53084           ;;
53085         *)
53086           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53087           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53088           # configure script would override the LC_ALL setting. Likewise for
53089           # LC_CTYPE, which is also set at the beginning of the configure script.
53090           # Test for the usual locale name.
53091           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53092             gt_cv_locale_fr=fr_FR
53093           else
53094             # Test for the locale name with explicit encoding suffix.
53095             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53096               gt_cv_locale_fr=fr_FR.ISO-8859-1
53097             else
53098               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
53099               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53100                 gt_cv_locale_fr=fr_FR.ISO8859-1
53101               else
53102                 # Test for the HP-UX locale name.
53103                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53104                   gt_cv_locale_fr=fr_FR.iso88591
53105                 else
53106                   # Test for the Solaris 7 locale name.
53107                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53108                     gt_cv_locale_fr=fr
53109                   else
53110                     # None found.
53111                     gt_cv_locale_fr=none
53112                   fi
53113                 fi
53114               fi
53115             fi
53116           fi
53117           ;;
53118       esac
53119     fi
53120     rm -fr conftest*
53121
53122 fi
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
53124 $as_echo "$gt_cv_locale_fr" >&6; }
53125   LOCALE_FR=$gt_cv_locale_fr
53126
53127
53128
53129
53130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
53131 $as_echo_n "checking for a french Unicode locale... " >&6; }
53132 if ${gt_cv_locale_fr_utf8+:} false; then :
53133   $as_echo_n "(cached) " >&6
53134 else
53135
53136     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53137 /* end confdefs.h.  */
53138
53139 #include <locale.h>
53140 #include <time.h>
53141 #if HAVE_LANGINFO_CODESET
53142 # include <langinfo.h>
53143 #endif
53144 #include <stdlib.h>
53145 #include <string.h>
53146 struct tm t;
53147 char buf[16];
53148 int main () {
53149   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
53150      imitates locale dependent behaviour by looking at the environment
53151      variables, and all locales use the UTF-8 encoding.  */
53152 #if !(defined __BEOS__ || defined __HAIKU__)
53153   /* Check whether the given locale name is recognized by the system.  */
53154 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53155   /* On native Windows, setlocale(category, "") looks at the system settings,
53156      not at the environment variables.  Also, when an encoding suffix such
53157      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53158      category of the locale to "C".  */
53159   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53160       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53161     return 1;
53162 # else
53163   if (setlocale (LC_ALL, "") == NULL) return 1;
53164 # endif
53165   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53166      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53167      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53168      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53169      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53170      some unit tests fail.  */
53171 # if HAVE_LANGINFO_CODESET
53172   {
53173     const char *cs = nl_langinfo (CODESET);
53174     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
53175       return 1;
53176   }
53177 # endif
53178 # ifdef __CYGWIN__
53179   /* On Cygwin, avoid locale names without encoding suffix, because the
53180      locale_charset() function relies on the encoding suffix.  Note that
53181      LC_ALL is set on the command line.  */
53182   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53183 # endif
53184   /* Check whether in the abbreviation of the second month, the second
53185      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
53186      two bytes long, with UTF-8 encoding.  */
53187   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53188   if (strftime (buf, sizeof (buf), "%b", &t) < 4
53189       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
53190     return 1;
53191 #endif
53192 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53193   /* Check whether the decimal separator is a comma.
53194      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53195      are nl_langinfo(RADIXCHAR) are both ".".  */
53196   if (localeconv () ->decimal_point[0] != ',') return 1;
53197 #endif
53198   return 0;
53199 }
53200
53201 _ACEOF
53202     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53203   (eval $ac_link) 2>&5
53204   ac_status=$?
53205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53206   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53207       case "$host_os" in
53208         # Handle native Windows specially, because there setlocale() interprets
53209         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53210         # "fr" or "fra" as "French" or "French_France.1252",
53211         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53212         # "ja" as "Japanese" or "Japanese_Japan.932",
53213         # and similar.
53214         mingw*)
53215           # Test for the hypothetical native Windows locale name.
53216           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53217             gt_cv_locale_fr_utf8=French_France.65001
53218           else
53219             # None found.
53220             gt_cv_locale_fr_utf8=none
53221           fi
53222           ;;
53223         *)
53224           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53225           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53226           # configure script would override the LC_ALL setting. Likewise for
53227           # LC_CTYPE, which is also set at the beginning of the configure script.
53228           # Test for the usual locale name.
53229           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53230             gt_cv_locale_fr_utf8=fr_FR
53231           else
53232             # Test for the locale name with explicit encoding suffix.
53233             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53234               gt_cv_locale_fr_utf8=fr_FR.UTF-8
53235             else
53236               # Test for the Solaris 7 locale name.
53237               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53238                 gt_cv_locale_fr_utf8=fr.UTF-8
53239               else
53240                 # None found.
53241                 gt_cv_locale_fr_utf8=none
53242               fi
53243             fi
53244           fi
53245           ;;
53246       esac
53247     fi
53248     rm -fr conftest*
53249
53250 fi
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
53252 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
53253   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
53254
53255
53256
53257
53258
53259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional Arabic locale" >&5
53260 $as_echo_n "checking for a traditional Arabic locale... " >&6; }
53261 if ${gt_cv_locale_ar+:} false; then :
53262   $as_echo_n "(cached) " >&6
53263 else
53264
53265     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53266 /* end confdefs.h.  */
53267
53268 #include <locale.h>
53269 #include <time.h>
53270 #if HAVE_LANGINFO_CODESET
53271 # include <langinfo.h>
53272 #endif
53273 #include <stdlib.h>
53274 #include <string.h>
53275 struct tm t;
53276 char buf[16];
53277 int main () {
53278   /* Check whether the given locale name is recognized by the system.  */
53279 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53280   /* On native Windows, setlocale(category, "") looks at the system settings,
53281      not at the environment variables.  Also, when an encoding suffix such
53282      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53283      category of the locale to "C".  */
53284   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53285       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53286     return 1;
53287 #else
53288   if (setlocale (LC_ALL, "") == NULL) return 1;
53289 #endif
53290   /* Check that nl_langinfo(CODESET) is nonempty and not "ASCII" or "646"
53291      and ends in "6". */
53292 #if HAVE_LANGINFO_CODESET
53293   {
53294     const char *cs = nl_langinfo (CODESET);
53295     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53296         || cs[strlen (cs) - 1] != '6')
53297       return 1;
53298   }
53299 #endif
53300 #ifdef __CYGWIN__
53301   /* On Cygwin, avoid locale names without encoding suffix, because the
53302      locale_charset() function relies on the encoding suffix.  Note that
53303      LC_ALL is set on the command line.  */
53304   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53305 #endif
53306   return 0;
53307 }
53308
53309 _ACEOF
53310     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53311   (eval $ac_link) 2>&5
53312   ac_status=$?
53313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53314   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53315       case "$host_os" in
53316         # Handle native Windows specially, because there setlocale() interprets
53317         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53318         # "fr" or "fra" as "French" or "French_France.1252",
53319         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53320         # "ja" as "Japanese" or "Japanese_Japan.932",
53321         # and similar.
53322         mingw*)
53323           # Note that on native Windows, the Arabic locale is
53324           # "Arabic_Saudi Arabia.1256", and CP1256 is very different from
53325           # ISO-8859-6, so we cannot use it here.
53326           gt_cv_locale_ar=none
53327           ;;
53328         *)
53329           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53330           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53331           # configure script would override the LC_ALL setting. Likewise for
53332           # LC_CTYPE, which is also set at the beginning of the configure script.
53333           # Values tested:
53334           #   - The usual locale name:                         ar_SA
53335           #   - The locale name with explicit encoding suffix: ar_SA.ISO-8859-6
53336           #   - The HP-UX locale name:                         ar_SA.iso88596
53337           #   - The Solaris 7 locale name:                     ar
53338           # Also try ar_EG instead of ar_SA because Egypt is a large country too.
53339           for gt_cv_locale_ar in ar_SA ar_SA.ISO-8859-6 ar_SA.iso88596 ar_EG ar_EG.ISO-8859-6 ar_EG.iso88596 ar none; do
53340             if test $gt_cv_locale_ar = none; then
53341               break
53342             fi
53343             if (LC_ALL=$gt_cv_locale_ar LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53344               break
53345             fi
53346           done
53347           ;;
53348       esac
53349     fi
53350     rm -fr conftest*
53351
53352 fi
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ar" >&5
53354 $as_echo "$gt_cv_locale_ar" >&6; }
53355   LOCALE_AR=$gt_cv_locale_ar
53356
53357
53358
53359
53360
53361
53362
53363
53364
53365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
53366 $as_echo_n "checking for a traditional french locale... " >&6; }
53367 if ${gt_cv_locale_fr+:} false; then :
53368   $as_echo_n "(cached) " >&6
53369 else
53370
53371     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53372 /* end confdefs.h.  */
53373
53374 #include <locale.h>
53375 #include <time.h>
53376 #if HAVE_LANGINFO_CODESET
53377 # include <langinfo.h>
53378 #endif
53379 #include <stdlib.h>
53380 #include <string.h>
53381 struct tm t;
53382 char buf[16];
53383 int main () {
53384   /* Check whether the given locale name is recognized by the system.  */
53385 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53386   /* On native Windows, setlocale(category, "") looks at the system settings,
53387      not at the environment variables.  Also, when an encoding suffix such
53388      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53389      category of the locale to "C".  */
53390   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53391       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53392     return 1;
53393 #else
53394   if (setlocale (LC_ALL, "") == NULL) return 1;
53395 #endif
53396   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53397      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53398      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53399      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53400      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53401      some unit tests fail.
53402      On MirBSD 10, when an unsupported locale is specified, setlocale()
53403      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53404 #if HAVE_LANGINFO_CODESET
53405   {
53406     const char *cs = nl_langinfo (CODESET);
53407     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53408         || strcmp (cs, "UTF-8") == 0)
53409       return 1;
53410   }
53411 #endif
53412 #ifdef __CYGWIN__
53413   /* On Cygwin, avoid locale names without encoding suffix, because the
53414      locale_charset() function relies on the encoding suffix.  Note that
53415      LC_ALL is set on the command line.  */
53416   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53417 #endif
53418   /* Check whether in the abbreviation of the second month, the second
53419      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
53420      one byte long. This excludes the UTF-8 encoding.  */
53421   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53422   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
53423 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53424   /* Check whether the decimal separator is a comma.
53425      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53426      are nl_langinfo(RADIXCHAR) are both ".".  */
53427   if (localeconv () ->decimal_point[0] != ',') return 1;
53428 #endif
53429   return 0;
53430 }
53431
53432 _ACEOF
53433     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53434   (eval $ac_link) 2>&5
53435   ac_status=$?
53436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53437   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53438       case "$host_os" in
53439         # Handle native Windows specially, because there setlocale() interprets
53440         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53441         # "fr" or "fra" as "French" or "French_France.1252",
53442         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53443         # "ja" as "Japanese" or "Japanese_Japan.932",
53444         # and similar.
53445         mingw*)
53446           # Test for the native Windows locale name.
53447           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53448             gt_cv_locale_fr=French_France.1252
53449           else
53450             # None found.
53451             gt_cv_locale_fr=none
53452           fi
53453           ;;
53454         *)
53455           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53456           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53457           # configure script would override the LC_ALL setting. Likewise for
53458           # LC_CTYPE, which is also set at the beginning of the configure script.
53459           # Test for the usual locale name.
53460           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53461             gt_cv_locale_fr=fr_FR
53462           else
53463             # Test for the locale name with explicit encoding suffix.
53464             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53465               gt_cv_locale_fr=fr_FR.ISO-8859-1
53466             else
53467               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
53468               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53469                 gt_cv_locale_fr=fr_FR.ISO8859-1
53470               else
53471                 # Test for the HP-UX locale name.
53472                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53473                   gt_cv_locale_fr=fr_FR.iso88591
53474                 else
53475                   # Test for the Solaris 7 locale name.
53476                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53477                     gt_cv_locale_fr=fr
53478                   else
53479                     # None found.
53480                     gt_cv_locale_fr=none
53481                   fi
53482                 fi
53483               fi
53484             fi
53485           fi
53486           ;;
53487       esac
53488     fi
53489     rm -fr conftest*
53490
53491 fi
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
53493 $as_echo "$gt_cv_locale_fr" >&6; }
53494   LOCALE_FR=$gt_cv_locale_fr
53495
53496
53497
53498
53499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
53500 $as_echo_n "checking for a french Unicode locale... " >&6; }
53501 if ${gt_cv_locale_fr_utf8+:} false; then :
53502   $as_echo_n "(cached) " >&6
53503 else
53504
53505     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53506 /* end confdefs.h.  */
53507
53508 #include <locale.h>
53509 #include <time.h>
53510 #if HAVE_LANGINFO_CODESET
53511 # include <langinfo.h>
53512 #endif
53513 #include <stdlib.h>
53514 #include <string.h>
53515 struct tm t;
53516 char buf[16];
53517 int main () {
53518   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
53519      imitates locale dependent behaviour by looking at the environment
53520      variables, and all locales use the UTF-8 encoding.  */
53521 #if !(defined __BEOS__ || defined __HAIKU__)
53522   /* Check whether the given locale name is recognized by the system.  */
53523 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53524   /* On native Windows, setlocale(category, "") looks at the system settings,
53525      not at the environment variables.  Also, when an encoding suffix such
53526      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53527      category of the locale to "C".  */
53528   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53529       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53530     return 1;
53531 # else
53532   if (setlocale (LC_ALL, "") == NULL) return 1;
53533 # endif
53534   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53535      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53536      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53537      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53538      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53539      some unit tests fail.  */
53540 # if HAVE_LANGINFO_CODESET
53541   {
53542     const char *cs = nl_langinfo (CODESET);
53543     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
53544       return 1;
53545   }
53546 # endif
53547 # ifdef __CYGWIN__
53548   /* On Cygwin, avoid locale names without encoding suffix, because the
53549      locale_charset() function relies on the encoding suffix.  Note that
53550      LC_ALL is set on the command line.  */
53551   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53552 # endif
53553   /* Check whether in the abbreviation of the second month, the second
53554      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
53555      two bytes long, with UTF-8 encoding.  */
53556   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53557   if (strftime (buf, sizeof (buf), "%b", &t) < 4
53558       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
53559     return 1;
53560 #endif
53561 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53562   /* Check whether the decimal separator is a comma.
53563      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53564      are nl_langinfo(RADIXCHAR) are both ".".  */
53565   if (localeconv () ->decimal_point[0] != ',') return 1;
53566 #endif
53567   return 0;
53568 }
53569
53570 _ACEOF
53571     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53572   (eval $ac_link) 2>&5
53573   ac_status=$?
53574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53575   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53576       case "$host_os" in
53577         # Handle native Windows specially, because there setlocale() interprets
53578         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53579         # "fr" or "fra" as "French" or "French_France.1252",
53580         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53581         # "ja" as "Japanese" or "Japanese_Japan.932",
53582         # and similar.
53583         mingw*)
53584           # Test for the hypothetical native Windows locale name.
53585           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53586             gt_cv_locale_fr_utf8=French_France.65001
53587           else
53588             # None found.
53589             gt_cv_locale_fr_utf8=none
53590           fi
53591           ;;
53592         *)
53593           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53594           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53595           # configure script would override the LC_ALL setting. Likewise for
53596           # LC_CTYPE, which is also set at the beginning of the configure script.
53597           # Test for the usual locale name.
53598           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53599             gt_cv_locale_fr_utf8=fr_FR
53600           else
53601             # Test for the locale name with explicit encoding suffix.
53602             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53603               gt_cv_locale_fr_utf8=fr_FR.UTF-8
53604             else
53605               # Test for the Solaris 7 locale name.
53606               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53607                 gt_cv_locale_fr_utf8=fr.UTF-8
53608               else
53609                 # None found.
53610                 gt_cv_locale_fr_utf8=none
53611               fi
53612             fi
53613           fi
53614           ;;
53615       esac
53616     fi
53617     rm -fr conftest*
53618
53619 fi
53620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
53621 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
53622   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
53623
53624
53625
53626
53627
53628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
53629 $as_echo_n "checking for a traditional french locale... " >&6; }
53630 if ${gt_cv_locale_fr+:} false; then :
53631   $as_echo_n "(cached) " >&6
53632 else
53633
53634     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53635 /* end confdefs.h.  */
53636
53637 #include <locale.h>
53638 #include <time.h>
53639 #if HAVE_LANGINFO_CODESET
53640 # include <langinfo.h>
53641 #endif
53642 #include <stdlib.h>
53643 #include <string.h>
53644 struct tm t;
53645 char buf[16];
53646 int main () {
53647   /* Check whether the given locale name is recognized by the system.  */
53648 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53649   /* On native Windows, setlocale(category, "") looks at the system settings,
53650      not at the environment variables.  Also, when an encoding suffix such
53651      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53652      category of the locale to "C".  */
53653   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53654       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53655     return 1;
53656 #else
53657   if (setlocale (LC_ALL, "") == NULL) return 1;
53658 #endif
53659   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53660      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53661      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53662      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53663      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53664      some unit tests fail.
53665      On MirBSD 10, when an unsupported locale is specified, setlocale()
53666      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53667 #if HAVE_LANGINFO_CODESET
53668   {
53669     const char *cs = nl_langinfo (CODESET);
53670     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53671         || strcmp (cs, "UTF-8") == 0)
53672       return 1;
53673   }
53674 #endif
53675 #ifdef __CYGWIN__
53676   /* On Cygwin, avoid locale names without encoding suffix, because the
53677      locale_charset() function relies on the encoding suffix.  Note that
53678      LC_ALL is set on the command line.  */
53679   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53680 #endif
53681   /* Check whether in the abbreviation of the second month, the second
53682      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
53683      one byte long. This excludes the UTF-8 encoding.  */
53684   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53685   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
53686 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53687   /* Check whether the decimal separator is a comma.
53688      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53689      are nl_langinfo(RADIXCHAR) are both ".".  */
53690   if (localeconv () ->decimal_point[0] != ',') return 1;
53691 #endif
53692   return 0;
53693 }
53694
53695 _ACEOF
53696     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53697   (eval $ac_link) 2>&5
53698   ac_status=$?
53699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53700   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53701       case "$host_os" in
53702         # Handle native Windows specially, because there setlocale() interprets
53703         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53704         # "fr" or "fra" as "French" or "French_France.1252",
53705         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53706         # "ja" as "Japanese" or "Japanese_Japan.932",
53707         # and similar.
53708         mingw*)
53709           # Test for the native Windows locale name.
53710           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53711             gt_cv_locale_fr=French_France.1252
53712           else
53713             # None found.
53714             gt_cv_locale_fr=none
53715           fi
53716           ;;
53717         *)
53718           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53719           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53720           # configure script would override the LC_ALL setting. Likewise for
53721           # LC_CTYPE, which is also set at the beginning of the configure script.
53722           # Test for the usual locale name.
53723           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53724             gt_cv_locale_fr=fr_FR
53725           else
53726             # Test for the locale name with explicit encoding suffix.
53727             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53728               gt_cv_locale_fr=fr_FR.ISO-8859-1
53729             else
53730               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
53731               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53732                 gt_cv_locale_fr=fr_FR.ISO8859-1
53733               else
53734                 # Test for the HP-UX locale name.
53735                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53736                   gt_cv_locale_fr=fr_FR.iso88591
53737                 else
53738                   # Test for the Solaris 7 locale name.
53739                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53740                     gt_cv_locale_fr=fr
53741                   else
53742                     # None found.
53743                     gt_cv_locale_fr=none
53744                   fi
53745                 fi
53746               fi
53747             fi
53748           fi
53749           ;;
53750       esac
53751     fi
53752     rm -fr conftest*
53753
53754 fi
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
53756 $as_echo "$gt_cv_locale_fr" >&6; }
53757   LOCALE_FR=$gt_cv_locale_fr
53758
53759
53760
53761
53762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
53763 $as_echo_n "checking for a french Unicode locale... " >&6; }
53764 if ${gt_cv_locale_fr_utf8+:} false; then :
53765   $as_echo_n "(cached) " >&6
53766 else
53767
53768     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53769 /* end confdefs.h.  */
53770
53771 #include <locale.h>
53772 #include <time.h>
53773 #if HAVE_LANGINFO_CODESET
53774 # include <langinfo.h>
53775 #endif
53776 #include <stdlib.h>
53777 #include <string.h>
53778 struct tm t;
53779 char buf[16];
53780 int main () {
53781   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
53782      imitates locale dependent behaviour by looking at the environment
53783      variables, and all locales use the UTF-8 encoding.  */
53784 #if !(defined __BEOS__ || defined __HAIKU__)
53785   /* Check whether the given locale name is recognized by the system.  */
53786 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53787   /* On native Windows, setlocale(category, "") looks at the system settings,
53788      not at the environment variables.  Also, when an encoding suffix such
53789      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53790      category of the locale to "C".  */
53791   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53792       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53793     return 1;
53794 # else
53795   if (setlocale (LC_ALL, "") == NULL) return 1;
53796 # endif
53797   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53798      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53799      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53800      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53801      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53802      some unit tests fail.  */
53803 # if HAVE_LANGINFO_CODESET
53804   {
53805     const char *cs = nl_langinfo (CODESET);
53806     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
53807       return 1;
53808   }
53809 # endif
53810 # ifdef __CYGWIN__
53811   /* On Cygwin, avoid locale names without encoding suffix, because the
53812      locale_charset() function relies on the encoding suffix.  Note that
53813      LC_ALL is set on the command line.  */
53814   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53815 # endif
53816   /* Check whether in the abbreviation of the second month, the second
53817      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
53818      two bytes long, with UTF-8 encoding.  */
53819   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53820   if (strftime (buf, sizeof (buf), "%b", &t) < 4
53821       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
53822     return 1;
53823 #endif
53824 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53825   /* Check whether the decimal separator is a comma.
53826      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53827      are nl_langinfo(RADIXCHAR) are both ".".  */
53828   if (localeconv () ->decimal_point[0] != ',') return 1;
53829 #endif
53830   return 0;
53831 }
53832
53833 _ACEOF
53834     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53835   (eval $ac_link) 2>&5
53836   ac_status=$?
53837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53838   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53839       case "$host_os" in
53840         # Handle native Windows specially, because there setlocale() interprets
53841         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53842         # "fr" or "fra" as "French" or "French_France.1252",
53843         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53844         # "ja" as "Japanese" or "Japanese_Japan.932",
53845         # and similar.
53846         mingw*)
53847           # Test for the hypothetical native Windows locale name.
53848           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53849             gt_cv_locale_fr_utf8=French_France.65001
53850           else
53851             # None found.
53852             gt_cv_locale_fr_utf8=none
53853           fi
53854           ;;
53855         *)
53856           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53857           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53858           # configure script would override the LC_ALL setting. Likewise for
53859           # LC_CTYPE, which is also set at the beginning of the configure script.
53860           # Test for the usual locale name.
53861           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53862             gt_cv_locale_fr_utf8=fr_FR
53863           else
53864             # Test for the locale name with explicit encoding suffix.
53865             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53866               gt_cv_locale_fr_utf8=fr_FR.UTF-8
53867             else
53868               # Test for the Solaris 7 locale name.
53869               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53870                 gt_cv_locale_fr_utf8=fr.UTF-8
53871               else
53872                 # None found.
53873                 gt_cv_locale_fr_utf8=none
53874               fi
53875             fi
53876           fi
53877           ;;
53878       esac
53879     fi
53880     rm -fr conftest*
53881
53882 fi
53883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
53884 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
53885   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
53886
53887
53888
53889
53890
53891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
53892 $as_echo_n "checking for a traditional french locale... " >&6; }
53893 if ${gt_cv_locale_fr+:} false; then :
53894   $as_echo_n "(cached) " >&6
53895 else
53896
53897     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53898 /* end confdefs.h.  */
53899
53900 #include <locale.h>
53901 #include <time.h>
53902 #if HAVE_LANGINFO_CODESET
53903 # include <langinfo.h>
53904 #endif
53905 #include <stdlib.h>
53906 #include <string.h>
53907 struct tm t;
53908 char buf[16];
53909 int main () {
53910   /* Check whether the given locale name is recognized by the system.  */
53911 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53912   /* On native Windows, setlocale(category, "") looks at the system settings,
53913      not at the environment variables.  Also, when an encoding suffix such
53914      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
53915      category of the locale to "C".  */
53916   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53917       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53918     return 1;
53919 #else
53920   if (setlocale (LC_ALL, "") == NULL) return 1;
53921 #endif
53922   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53923      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53924      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53925      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53926      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53927      some unit tests fail.
53928      On MirBSD 10, when an unsupported locale is specified, setlocale()
53929      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53930 #if HAVE_LANGINFO_CODESET
53931   {
53932     const char *cs = nl_langinfo (CODESET);
53933     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53934         || strcmp (cs, "UTF-8") == 0)
53935       return 1;
53936   }
53937 #endif
53938 #ifdef __CYGWIN__
53939   /* On Cygwin, avoid locale names without encoding suffix, because the
53940      locale_charset() function relies on the encoding suffix.  Note that
53941      LC_ALL is set on the command line.  */
53942   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53943 #endif
53944   /* Check whether in the abbreviation of the second month, the second
53945      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
53946      one byte long. This excludes the UTF-8 encoding.  */
53947   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53948   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
53949 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
53950   /* Check whether the decimal separator is a comma.
53951      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53952      are nl_langinfo(RADIXCHAR) are both ".".  */
53953   if (localeconv () ->decimal_point[0] != ',') return 1;
53954 #endif
53955   return 0;
53956 }
53957
53958 _ACEOF
53959     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53960   (eval $ac_link) 2>&5
53961   ac_status=$?
53962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53963   test $ac_status = 0; } && test -s conftest$ac_exeext; then
53964       case "$host_os" in
53965         # Handle native Windows specially, because there setlocale() interprets
53966         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53967         # "fr" or "fra" as "French" or "French_France.1252",
53968         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53969         # "ja" as "Japanese" or "Japanese_Japan.932",
53970         # and similar.
53971         mingw*)
53972           # Test for the native Windows locale name.
53973           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53974             gt_cv_locale_fr=French_France.1252
53975           else
53976             # None found.
53977             gt_cv_locale_fr=none
53978           fi
53979           ;;
53980         *)
53981           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53982           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
53983           # configure script would override the LC_ALL setting. Likewise for
53984           # LC_CTYPE, which is also set at the beginning of the configure script.
53985           # Test for the usual locale name.
53986           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53987             gt_cv_locale_fr=fr_FR
53988           else
53989             # Test for the locale name with explicit encoding suffix.
53990             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53991               gt_cv_locale_fr=fr_FR.ISO-8859-1
53992             else
53993               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
53994               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53995                 gt_cv_locale_fr=fr_FR.ISO8859-1
53996               else
53997                 # Test for the HP-UX locale name.
53998                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53999                   gt_cv_locale_fr=fr_FR.iso88591
54000                 else
54001                   # Test for the Solaris 7 locale name.
54002                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54003                     gt_cv_locale_fr=fr
54004                   else
54005                     # None found.
54006                     gt_cv_locale_fr=none
54007                   fi
54008                 fi
54009               fi
54010             fi
54011           fi
54012           ;;
54013       esac
54014     fi
54015     rm -fr conftest*
54016
54017 fi
54018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
54019 $as_echo "$gt_cv_locale_fr" >&6; }
54020   LOCALE_FR=$gt_cv_locale_fr
54021
54022
54023
54024
54025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
54026 $as_echo_n "checking for a french Unicode locale... " >&6; }
54027 if ${gt_cv_locale_fr_utf8+:} false; then :
54028   $as_echo_n "(cached) " >&6
54029 else
54030
54031     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54032 /* end confdefs.h.  */
54033
54034 #include <locale.h>
54035 #include <time.h>
54036 #if HAVE_LANGINFO_CODESET
54037 # include <langinfo.h>
54038 #endif
54039 #include <stdlib.h>
54040 #include <string.h>
54041 struct tm t;
54042 char buf[16];
54043 int main () {
54044   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
54045      imitates locale dependent behaviour by looking at the environment
54046      variables, and all locales use the UTF-8 encoding.  */
54047 #if !(defined __BEOS__ || defined __HAIKU__)
54048   /* Check whether the given locale name is recognized by the system.  */
54049 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54050   /* On native Windows, setlocale(category, "") looks at the system settings,
54051      not at the environment variables.  Also, when an encoding suffix such
54052      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
54053      category of the locale to "C".  */
54054   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54055       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54056     return 1;
54057 # else
54058   if (setlocale (LC_ALL, "") == NULL) return 1;
54059 # endif
54060   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54061      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54062      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54063      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54064      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54065      some unit tests fail.  */
54066 # if HAVE_LANGINFO_CODESET
54067   {
54068     const char *cs = nl_langinfo (CODESET);
54069     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
54070       return 1;
54071   }
54072 # endif
54073 # ifdef __CYGWIN__
54074   /* On Cygwin, avoid locale names without encoding suffix, because the
54075      locale_charset() function relies on the encoding suffix.  Note that
54076      LC_ALL is set on the command line.  */
54077   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54078 # endif
54079   /* Check whether in the abbreviation of the second month, the second
54080      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
54081      two bytes long, with UTF-8 encoding.  */
54082   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54083   if (strftime (buf, sizeof (buf), "%b", &t) < 4
54084       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
54085     return 1;
54086 #endif
54087 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
54088   /* Check whether the decimal separator is a comma.
54089      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
54090      are nl_langinfo(RADIXCHAR) are both ".".  */
54091   if (localeconv () ->decimal_point[0] != ',') return 1;
54092 #endif
54093   return 0;
54094 }
54095
54096 _ACEOF
54097     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54098   (eval $ac_link) 2>&5
54099   ac_status=$?
54100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54101   test $ac_status = 0; } && test -s conftest$ac_exeext; then
54102       case "$host_os" in
54103         # Handle native Windows specially, because there setlocale() interprets
54104         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54105         # "fr" or "fra" as "French" or "French_France.1252",
54106         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54107         # "ja" as "Japanese" or "Japanese_Japan.932",
54108         # and similar.
54109         mingw*)
54110           # Test for the hypothetical native Windows locale name.
54111           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54112             gt_cv_locale_fr_utf8=French_France.65001
54113           else
54114             # None found.
54115             gt_cv_locale_fr_utf8=none
54116           fi
54117           ;;
54118         *)
54119           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54120           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
54121           # configure script would override the LC_ALL setting. Likewise for
54122           # LC_CTYPE, which is also set at the beginning of the configure script.
54123           # Test for the usual locale name.
54124           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54125             gt_cv_locale_fr_utf8=fr_FR
54126           else
54127             # Test for the locale name with explicit encoding suffix.
54128             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54129               gt_cv_locale_fr_utf8=fr_FR.UTF-8
54130             else
54131               # Test for the Solaris 7 locale name.
54132               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54133                 gt_cv_locale_fr_utf8=fr.UTF-8
54134               else
54135                 # None found.
54136                 gt_cv_locale_fr_utf8=none
54137               fi
54138             fi
54139           fi
54140           ;;
54141       esac
54142     fi
54143     rm -fr conftest*
54144
54145 fi
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
54147 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
54148   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
54149
54150
54151
54152
54153
54154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
54155 $as_echo_n "checking for a traditional french locale... " >&6; }
54156 if ${gt_cv_locale_fr+:} false; then :
54157   $as_echo_n "(cached) " >&6
54158 else
54159
54160     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54161 /* end confdefs.h.  */
54162
54163 #include <locale.h>
54164 #include <time.h>
54165 #if HAVE_LANGINFO_CODESET
54166 # include <langinfo.h>
54167 #endif
54168 #include <stdlib.h>
54169 #include <string.h>
54170 struct tm t;
54171 char buf[16];
54172 int main () {
54173   /* Check whether the given locale name is recognized by the system.  */
54174 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54175   /* On native Windows, setlocale(category, "") looks at the system settings,
54176      not at the environment variables.  Also, when an encoding suffix such
54177      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
54178      category of the locale to "C".  */
54179   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54180       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54181     return 1;
54182 #else
54183   if (setlocale (LC_ALL, "") == NULL) return 1;
54184 #endif
54185   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54186      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54187      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54188      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54189      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54190      some unit tests fail.
54191      On MirBSD 10, when an unsupported locale is specified, setlocale()
54192      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
54193 #if HAVE_LANGINFO_CODESET
54194   {
54195     const char *cs = nl_langinfo (CODESET);
54196     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
54197         || strcmp (cs, "UTF-8") == 0)
54198       return 1;
54199   }
54200 #endif
54201 #ifdef __CYGWIN__
54202   /* On Cygwin, avoid locale names without encoding suffix, because the
54203      locale_charset() function relies on the encoding suffix.  Note that
54204      LC_ALL is set on the command line.  */
54205   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54206 #endif
54207   /* Check whether in the abbreviation of the second month, the second
54208      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
54209      one byte long. This excludes the UTF-8 encoding.  */
54210   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54211   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
54212 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
54213   /* Check whether the decimal separator is a comma.
54214      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
54215      are nl_langinfo(RADIXCHAR) are both ".".  */
54216   if (localeconv () ->decimal_point[0] != ',') return 1;
54217 #endif
54218   return 0;
54219 }
54220
54221 _ACEOF
54222     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54223   (eval $ac_link) 2>&5
54224   ac_status=$?
54225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54226   test $ac_status = 0; } && test -s conftest$ac_exeext; then
54227       case "$host_os" in
54228         # Handle native Windows specially, because there setlocale() interprets
54229         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54230         # "fr" or "fra" as "French" or "French_France.1252",
54231         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54232         # "ja" as "Japanese" or "Japanese_Japan.932",
54233         # and similar.
54234         mingw*)
54235           # Test for the native Windows locale name.
54236           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54237             gt_cv_locale_fr=French_France.1252
54238           else
54239             # None found.
54240             gt_cv_locale_fr=none
54241           fi
54242           ;;
54243         *)
54244           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54245           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
54246           # configure script would override the LC_ALL setting. Likewise for
54247           # LC_CTYPE, which is also set at the beginning of the configure script.
54248           # Test for the usual locale name.
54249           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54250             gt_cv_locale_fr=fr_FR
54251           else
54252             # Test for the locale name with explicit encoding suffix.
54253             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54254               gt_cv_locale_fr=fr_FR.ISO-8859-1
54255             else
54256               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
54257               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54258                 gt_cv_locale_fr=fr_FR.ISO8859-1
54259               else
54260                 # Test for the HP-UX locale name.
54261                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54262                   gt_cv_locale_fr=fr_FR.iso88591
54263                 else
54264                   # Test for the Solaris 7 locale name.
54265                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54266                     gt_cv_locale_fr=fr
54267                   else
54268                     # None found.
54269                     gt_cv_locale_fr=none
54270                   fi
54271                 fi
54272               fi
54273             fi
54274           fi
54275           ;;
54276       esac
54277     fi
54278     rm -fr conftest*
54279
54280 fi
54281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
54282 $as_echo "$gt_cv_locale_fr" >&6; }
54283   LOCALE_FR=$gt_cv_locale_fr
54284
54285
54286
54287
54288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
54289 $as_echo_n "checking for a french Unicode locale... " >&6; }
54290 if ${gt_cv_locale_fr_utf8+:} false; then :
54291   $as_echo_n "(cached) " >&6
54292 else
54293
54294     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54295 /* end confdefs.h.  */
54296
54297 #include <locale.h>
54298 #include <time.h>
54299 #if HAVE_LANGINFO_CODESET
54300 # include <langinfo.h>
54301 #endif
54302 #include <stdlib.h>
54303 #include <string.h>
54304 struct tm t;
54305 char buf[16];
54306 int main () {
54307   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
54308      imitates locale dependent behaviour by looking at the environment
54309      variables, and all locales use the UTF-8 encoding.  */
54310 #if !(defined __BEOS__ || defined __HAIKU__)
54311   /* Check whether the given locale name is recognized by the system.  */
54312 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54313   /* On native Windows, setlocale(category, "") looks at the system settings,
54314      not at the environment variables.  Also, when an encoding suffix such
54315      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
54316      category of the locale to "C".  */
54317   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54318       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54319     return 1;
54320 # else
54321   if (setlocale (LC_ALL, "") == NULL) return 1;
54322 # endif
54323   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54324      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54325      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54326      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54327      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54328      some unit tests fail.  */
54329 # if HAVE_LANGINFO_CODESET
54330   {
54331     const char *cs = nl_langinfo (CODESET);
54332     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
54333       return 1;
54334   }
54335 # endif
54336 # ifdef __CYGWIN__
54337   /* On Cygwin, avoid locale names without encoding suffix, because the
54338      locale_charset() function relies on the encoding suffix.  Note that
54339      LC_ALL is set on the command line.  */
54340   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54341 # endif
54342   /* Check whether in the abbreviation of the second month, the second
54343      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
54344      two bytes long, with UTF-8 encoding.  */
54345   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54346   if (strftime (buf, sizeof (buf), "%b", &t) < 4
54347       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
54348     return 1;
54349 #endif
54350 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
54351   /* Check whether the decimal separator is a comma.
54352      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
54353      are nl_langinfo(RADIXCHAR) are both ".".  */
54354   if (localeconv () ->decimal_point[0] != ',') return 1;
54355 #endif
54356   return 0;
54357 }
54358
54359 _ACEOF
54360     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54361   (eval $ac_link) 2>&5
54362   ac_status=$?
54363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54364   test $ac_status = 0; } && test -s conftest$ac_exeext; then
54365       case "$host_os" in
54366         # Handle native Windows specially, because there setlocale() interprets
54367         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54368         # "fr" or "fra" as "French" or "French_France.1252",
54369         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54370         # "ja" as "Japanese" or "Japanese_Japan.932",
54371         # and similar.
54372         mingw*)
54373           # Test for the hypothetical native Windows locale name.
54374           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54375             gt_cv_locale_fr_utf8=French_France.65001
54376           else
54377             # None found.
54378             gt_cv_locale_fr_utf8=none
54379           fi
54380           ;;
54381         *)
54382           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54383           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
54384           # configure script would override the LC_ALL setting. Likewise for
54385           # LC_CTYPE, which is also set at the beginning of the configure script.
54386           # Test for the usual locale name.
54387           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54388             gt_cv_locale_fr_utf8=fr_FR
54389           else
54390             # Test for the locale name with explicit encoding suffix.
54391             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54392               gt_cv_locale_fr_utf8=fr_FR.UTF-8
54393             else
54394               # Test for the Solaris 7 locale name.
54395               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54396                 gt_cv_locale_fr_utf8=fr.UTF-8
54397               else
54398                 # None found.
54399                 gt_cv_locale_fr_utf8=none
54400               fi
54401             fi
54402           fi
54403           ;;
54404       esac
54405     fi
54406     rm -fr conftest*
54407
54408 fi
54409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
54410 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
54411   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
54412
54413
54414
54415
54416
54417   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54418   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54419   # irrelevant for anonymous mappings.
54420   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54421 if test "x$ac_cv_func_mmap" = xyes; then :
54422   gl_have_mmap=yes
54423 else
54424   gl_have_mmap=no
54425 fi
54426
54427
54428   # Try to allow MAP_ANONYMOUS.
54429   gl_have_mmap_anonymous=no
54430   if test $gl_have_mmap = yes; then
54431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54432 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54433     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54434 /* end confdefs.h.  */
54435
54436 #include <sys/mman.h>
54437 #ifdef MAP_ANONYMOUS
54438     I cannot identify this map
54439 #endif
54440
54441 _ACEOF
54442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54443   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54444   gl_have_mmap_anonymous=yes
54445 fi
54446 rm -f conftest*
54447
54448     if test $gl_have_mmap_anonymous != yes; then
54449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54450 /* end confdefs.h.  */
54451
54452 #include <sys/mman.h>
54453 #ifdef MAP_ANON
54454     I cannot identify this map
54455 #endif
54456
54457 _ACEOF
54458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54459   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54460
54461 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54462
54463          gl_have_mmap_anonymous=yes
54464 fi
54465 rm -f conftest*
54466
54467     fi
54468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54469 $as_echo "$gl_have_mmap_anonymous" >&6; }
54470     if test $gl_have_mmap_anonymous = yes; then
54471
54472 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54473
54474     fi
54475   fi
54476
54477
54478
54479
54480
54481
54482   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54483   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54484   # irrelevant for anonymous mappings.
54485   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54486 if test "x$ac_cv_func_mmap" = xyes; then :
54487   gl_have_mmap=yes
54488 else
54489   gl_have_mmap=no
54490 fi
54491
54492
54493   # Try to allow MAP_ANONYMOUS.
54494   gl_have_mmap_anonymous=no
54495   if test $gl_have_mmap = yes; then
54496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54497 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54498     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54499 /* end confdefs.h.  */
54500
54501 #include <sys/mman.h>
54502 #ifdef MAP_ANONYMOUS
54503     I cannot identify this map
54504 #endif
54505
54506 _ACEOF
54507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54508   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54509   gl_have_mmap_anonymous=yes
54510 fi
54511 rm -f conftest*
54512
54513     if test $gl_have_mmap_anonymous != yes; then
54514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54515 /* end confdefs.h.  */
54516
54517 #include <sys/mman.h>
54518 #ifdef MAP_ANON
54519     I cannot identify this map
54520 #endif
54521
54522 _ACEOF
54523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54524   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54525
54526 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54527
54528          gl_have_mmap_anonymous=yes
54529 fi
54530 rm -f conftest*
54531
54532     fi
54533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54534 $as_echo "$gl_have_mmap_anonymous" >&6; }
54535     if test $gl_have_mmap_anonymous = yes; then
54536
54537 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54538
54539     fi
54540   fi
54541
54542
54543
54544
54545
54546
54547   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54548   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54549   # irrelevant for anonymous mappings.
54550   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54551 if test "x$ac_cv_func_mmap" = xyes; then :
54552   gl_have_mmap=yes
54553 else
54554   gl_have_mmap=no
54555 fi
54556
54557
54558   # Try to allow MAP_ANONYMOUS.
54559   gl_have_mmap_anonymous=no
54560   if test $gl_have_mmap = yes; then
54561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54562 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54563     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54564 /* end confdefs.h.  */
54565
54566 #include <sys/mman.h>
54567 #ifdef MAP_ANONYMOUS
54568     I cannot identify this map
54569 #endif
54570
54571 _ACEOF
54572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54573   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54574   gl_have_mmap_anonymous=yes
54575 fi
54576 rm -f conftest*
54577
54578     if test $gl_have_mmap_anonymous != yes; then
54579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54580 /* end confdefs.h.  */
54581
54582 #include <sys/mman.h>
54583 #ifdef MAP_ANON
54584     I cannot identify this map
54585 #endif
54586
54587 _ACEOF
54588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54589   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54590
54591 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54592
54593          gl_have_mmap_anonymous=yes
54594 fi
54595 rm -f conftest*
54596
54597     fi
54598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54599 $as_echo "$gl_have_mmap_anonymous" >&6; }
54600     if test $gl_have_mmap_anonymous = yes; then
54601
54602 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54603
54604     fi
54605   fi
54606
54607
54608
54609
54610
54611
54612   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54613   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54614   # irrelevant for anonymous mappings.
54615   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54616 if test "x$ac_cv_func_mmap" = xyes; then :
54617   gl_have_mmap=yes
54618 else
54619   gl_have_mmap=no
54620 fi
54621
54622
54623   # Try to allow MAP_ANONYMOUS.
54624   gl_have_mmap_anonymous=no
54625   if test $gl_have_mmap = yes; then
54626     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54627 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54628     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54629 /* end confdefs.h.  */
54630
54631 #include <sys/mman.h>
54632 #ifdef MAP_ANONYMOUS
54633     I cannot identify this map
54634 #endif
54635
54636 _ACEOF
54637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54638   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54639   gl_have_mmap_anonymous=yes
54640 fi
54641 rm -f conftest*
54642
54643     if test $gl_have_mmap_anonymous != yes; then
54644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54645 /* end confdefs.h.  */
54646
54647 #include <sys/mman.h>
54648 #ifdef MAP_ANON
54649     I cannot identify this map
54650 #endif
54651
54652 _ACEOF
54653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54654   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54655
54656 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54657
54658          gl_have_mmap_anonymous=yes
54659 fi
54660 rm -f conftest*
54661
54662     fi
54663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54664 $as_echo "$gl_have_mmap_anonymous" >&6; }
54665     if test $gl_have_mmap_anonymous = yes; then
54666
54667 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54668
54669     fi
54670   fi
54671
54672
54673
54674
54675
54676
54677   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54678   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54679   # irrelevant for anonymous mappings.
54680   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54681 if test "x$ac_cv_func_mmap" = xyes; then :
54682   gl_have_mmap=yes
54683 else
54684   gl_have_mmap=no
54685 fi
54686
54687
54688   # Try to allow MAP_ANONYMOUS.
54689   gl_have_mmap_anonymous=no
54690   if test $gl_have_mmap = yes; then
54691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54692 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54693     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54694 /* end confdefs.h.  */
54695
54696 #include <sys/mman.h>
54697 #ifdef MAP_ANONYMOUS
54698     I cannot identify this map
54699 #endif
54700
54701 _ACEOF
54702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54703   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54704   gl_have_mmap_anonymous=yes
54705 fi
54706 rm -f conftest*
54707
54708     if test $gl_have_mmap_anonymous != yes; then
54709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54710 /* end confdefs.h.  */
54711
54712 #include <sys/mman.h>
54713 #ifdef MAP_ANON
54714     I cannot identify this map
54715 #endif
54716
54717 _ACEOF
54718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54719   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54720
54721 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54722
54723          gl_have_mmap_anonymous=yes
54724 fi
54725 rm -f conftest*
54726
54727     fi
54728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54729 $as_echo "$gl_have_mmap_anonymous" >&6; }
54730     if test $gl_have_mmap_anonymous = yes; then
54731
54732 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54733
54734     fi
54735   fi
54736
54737
54738
54739
54740
54741
54742   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54743   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54744   # irrelevant for anonymous mappings.
54745   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54746 if test "x$ac_cv_func_mmap" = xyes; then :
54747   gl_have_mmap=yes
54748 else
54749   gl_have_mmap=no
54750 fi
54751
54752
54753   # Try to allow MAP_ANONYMOUS.
54754   gl_have_mmap_anonymous=no
54755   if test $gl_have_mmap = yes; then
54756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54757 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54758     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54759 /* end confdefs.h.  */
54760
54761 #include <sys/mman.h>
54762 #ifdef MAP_ANONYMOUS
54763     I cannot identify this map
54764 #endif
54765
54766 _ACEOF
54767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54768   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54769   gl_have_mmap_anonymous=yes
54770 fi
54771 rm -f conftest*
54772
54773     if test $gl_have_mmap_anonymous != yes; then
54774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54775 /* end confdefs.h.  */
54776
54777 #include <sys/mman.h>
54778 #ifdef MAP_ANON
54779     I cannot identify this map
54780 #endif
54781
54782 _ACEOF
54783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54784   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54785
54786 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54787
54788          gl_have_mmap_anonymous=yes
54789 fi
54790 rm -f conftest*
54791
54792     fi
54793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54794 $as_echo "$gl_have_mmap_anonymous" >&6; }
54795     if test $gl_have_mmap_anonymous = yes; then
54796
54797 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54798
54799     fi
54800   fi
54801
54802
54803
54804
54805
54806
54807   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54808   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54809   # irrelevant for anonymous mappings.
54810   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54811 if test "x$ac_cv_func_mmap" = xyes; then :
54812   gl_have_mmap=yes
54813 else
54814   gl_have_mmap=no
54815 fi
54816
54817
54818   # Try to allow MAP_ANONYMOUS.
54819   gl_have_mmap_anonymous=no
54820   if test $gl_have_mmap = yes; then
54821     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54822 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54824 /* end confdefs.h.  */
54825
54826 #include <sys/mman.h>
54827 #ifdef MAP_ANONYMOUS
54828     I cannot identify this map
54829 #endif
54830
54831 _ACEOF
54832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54833   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54834   gl_have_mmap_anonymous=yes
54835 fi
54836 rm -f conftest*
54837
54838     if test $gl_have_mmap_anonymous != yes; then
54839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54840 /* end confdefs.h.  */
54841
54842 #include <sys/mman.h>
54843 #ifdef MAP_ANON
54844     I cannot identify this map
54845 #endif
54846
54847 _ACEOF
54848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54849   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54850
54851 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54852
54853          gl_have_mmap_anonymous=yes
54854 fi
54855 rm -f conftest*
54856
54857     fi
54858     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54859 $as_echo "$gl_have_mmap_anonymous" >&6; }
54860     if test $gl_have_mmap_anonymous = yes; then
54861
54862 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54863
54864     fi
54865   fi
54866
54867
54868
54869
54870
54871
54872
54873   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54874   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54875   # irrelevant for anonymous mappings.
54876   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54877 if test "x$ac_cv_func_mmap" = xyes; then :
54878   gl_have_mmap=yes
54879 else
54880   gl_have_mmap=no
54881 fi
54882
54883
54884   # Try to allow MAP_ANONYMOUS.
54885   gl_have_mmap_anonymous=no
54886   if test $gl_have_mmap = yes; then
54887     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54888 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54889     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54890 /* end confdefs.h.  */
54891
54892 #include <sys/mman.h>
54893 #ifdef MAP_ANONYMOUS
54894     I cannot identify this map
54895 #endif
54896
54897 _ACEOF
54898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54899   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54900   gl_have_mmap_anonymous=yes
54901 fi
54902 rm -f conftest*
54903
54904     if test $gl_have_mmap_anonymous != yes; then
54905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54906 /* end confdefs.h.  */
54907
54908 #include <sys/mman.h>
54909 #ifdef MAP_ANON
54910     I cannot identify this map
54911 #endif
54912
54913 _ACEOF
54914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54915   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54916
54917 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54918
54919          gl_have_mmap_anonymous=yes
54920 fi
54921 rm -f conftest*
54922
54923     fi
54924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54925 $as_echo "$gl_have_mmap_anonymous" >&6; }
54926     if test $gl_have_mmap_anonymous = yes; then
54927
54928 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54929
54930     fi
54931   fi
54932
54933
54934
54935
54936
54937
54938   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
54939   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
54940   # irrelevant for anonymous mappings.
54941   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
54942 if test "x$ac_cv_func_mmap" = xyes; then :
54943   gl_have_mmap=yes
54944 else
54945   gl_have_mmap=no
54946 fi
54947
54948
54949   # Try to allow MAP_ANONYMOUS.
54950   gl_have_mmap_anonymous=no
54951   if test $gl_have_mmap = yes; then
54952     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
54953 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
54954     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54955 /* end confdefs.h.  */
54956
54957 #include <sys/mman.h>
54958 #ifdef MAP_ANONYMOUS
54959     I cannot identify this map
54960 #endif
54961
54962 _ACEOF
54963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54964   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54965   gl_have_mmap_anonymous=yes
54966 fi
54967 rm -f conftest*
54968
54969     if test $gl_have_mmap_anonymous != yes; then
54970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54971 /* end confdefs.h.  */
54972
54973 #include <sys/mman.h>
54974 #ifdef MAP_ANON
54975     I cannot identify this map
54976 #endif
54977
54978 _ACEOF
54979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
54980   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
54981
54982 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
54983
54984          gl_have_mmap_anonymous=yes
54985 fi
54986 rm -f conftest*
54987
54988     fi
54989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54990 $as_echo "$gl_have_mmap_anonymous" >&6; }
54991     if test $gl_have_mmap_anonymous = yes; then
54992
54993 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54994
54995     fi
54996   fi
54997
54998
54999
55000
55001
55002
55003   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55004   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55005   # irrelevant for anonymous mappings.
55006   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55007 if test "x$ac_cv_func_mmap" = xyes; then :
55008   gl_have_mmap=yes
55009 else
55010   gl_have_mmap=no
55011 fi
55012
55013
55014   # Try to allow MAP_ANONYMOUS.
55015   gl_have_mmap_anonymous=no
55016   if test $gl_have_mmap = yes; then
55017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55018 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55019     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55020 /* end confdefs.h.  */
55021
55022 #include <sys/mman.h>
55023 #ifdef MAP_ANONYMOUS
55024     I cannot identify this map
55025 #endif
55026
55027 _ACEOF
55028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55029   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55030   gl_have_mmap_anonymous=yes
55031 fi
55032 rm -f conftest*
55033
55034     if test $gl_have_mmap_anonymous != yes; then
55035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55036 /* end confdefs.h.  */
55037
55038 #include <sys/mman.h>
55039 #ifdef MAP_ANON
55040     I cannot identify this map
55041 #endif
55042
55043 _ACEOF
55044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55045   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55046
55047 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55048
55049          gl_have_mmap_anonymous=yes
55050 fi
55051 rm -f conftest*
55052
55053     fi
55054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55055 $as_echo "$gl_have_mmap_anonymous" >&6; }
55056     if test $gl_have_mmap_anonymous = yes; then
55057
55058 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55059
55060     fi
55061   fi
55062
55063
55064
55065
55066
55067
55068   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55069   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55070   # irrelevant for anonymous mappings.
55071   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55072 if test "x$ac_cv_func_mmap" = xyes; then :
55073   gl_have_mmap=yes
55074 else
55075   gl_have_mmap=no
55076 fi
55077
55078
55079   # Try to allow MAP_ANONYMOUS.
55080   gl_have_mmap_anonymous=no
55081   if test $gl_have_mmap = yes; then
55082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55083 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55084     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55085 /* end confdefs.h.  */
55086
55087 #include <sys/mman.h>
55088 #ifdef MAP_ANONYMOUS
55089     I cannot identify this map
55090 #endif
55091
55092 _ACEOF
55093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55094   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55095   gl_have_mmap_anonymous=yes
55096 fi
55097 rm -f conftest*
55098
55099     if test $gl_have_mmap_anonymous != yes; then
55100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55101 /* end confdefs.h.  */
55102
55103 #include <sys/mman.h>
55104 #ifdef MAP_ANON
55105     I cannot identify this map
55106 #endif
55107
55108 _ACEOF
55109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55110   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55111
55112 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55113
55114          gl_have_mmap_anonymous=yes
55115 fi
55116 rm -f conftest*
55117
55118     fi
55119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55120 $as_echo "$gl_have_mmap_anonymous" >&6; }
55121     if test $gl_have_mmap_anonymous = yes; then
55122
55123 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55124
55125     fi
55126   fi
55127
55128
55129
55130
55131
55132
55133   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55134   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55135   # irrelevant for anonymous mappings.
55136   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55137 if test "x$ac_cv_func_mmap" = xyes; then :
55138   gl_have_mmap=yes
55139 else
55140   gl_have_mmap=no
55141 fi
55142
55143
55144   # Try to allow MAP_ANONYMOUS.
55145   gl_have_mmap_anonymous=no
55146   if test $gl_have_mmap = yes; then
55147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55148 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55149     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55150 /* end confdefs.h.  */
55151
55152 #include <sys/mman.h>
55153 #ifdef MAP_ANONYMOUS
55154     I cannot identify this map
55155 #endif
55156
55157 _ACEOF
55158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55159   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55160   gl_have_mmap_anonymous=yes
55161 fi
55162 rm -f conftest*
55163
55164     if test $gl_have_mmap_anonymous != yes; then
55165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55166 /* end confdefs.h.  */
55167
55168 #include <sys/mman.h>
55169 #ifdef MAP_ANON
55170     I cannot identify this map
55171 #endif
55172
55173 _ACEOF
55174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55175   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55176
55177 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55178
55179          gl_have_mmap_anonymous=yes
55180 fi
55181 rm -f conftest*
55182
55183     fi
55184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55185 $as_echo "$gl_have_mmap_anonymous" >&6; }
55186     if test $gl_have_mmap_anonymous = yes; then
55187
55188 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55189
55190     fi
55191   fi
55192
55193
55194
55195
55196
55197
55198   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55199   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55200   # irrelevant for anonymous mappings.
55201   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55202 if test "x$ac_cv_func_mmap" = xyes; then :
55203   gl_have_mmap=yes
55204 else
55205   gl_have_mmap=no
55206 fi
55207
55208
55209   # Try to allow MAP_ANONYMOUS.
55210   gl_have_mmap_anonymous=no
55211   if test $gl_have_mmap = yes; then
55212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55213 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55214     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55215 /* end confdefs.h.  */
55216
55217 #include <sys/mman.h>
55218 #ifdef MAP_ANONYMOUS
55219     I cannot identify this map
55220 #endif
55221
55222 _ACEOF
55223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55224   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55225   gl_have_mmap_anonymous=yes
55226 fi
55227 rm -f conftest*
55228
55229     if test $gl_have_mmap_anonymous != yes; then
55230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55231 /* end confdefs.h.  */
55232
55233 #include <sys/mman.h>
55234 #ifdef MAP_ANON
55235     I cannot identify this map
55236 #endif
55237
55238 _ACEOF
55239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55240   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55241
55242 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55243
55244          gl_have_mmap_anonymous=yes
55245 fi
55246 rm -f conftest*
55247
55248     fi
55249     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55250 $as_echo "$gl_have_mmap_anonymous" >&6; }
55251     if test $gl_have_mmap_anonymous = yes; then
55252
55253 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55254
55255     fi
55256   fi
55257
55258
55259
55260
55261
55262
55263   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55264   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55265   # irrelevant for anonymous mappings.
55266   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55267 if test "x$ac_cv_func_mmap" = xyes; then :
55268   gl_have_mmap=yes
55269 else
55270   gl_have_mmap=no
55271 fi
55272
55273
55274   # Try to allow MAP_ANONYMOUS.
55275   gl_have_mmap_anonymous=no
55276   if test $gl_have_mmap = yes; then
55277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55278 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55279     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h.  */
55281
55282 #include <sys/mman.h>
55283 #ifdef MAP_ANONYMOUS
55284     I cannot identify this map
55285 #endif
55286
55287 _ACEOF
55288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55289   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55290   gl_have_mmap_anonymous=yes
55291 fi
55292 rm -f conftest*
55293
55294     if test $gl_have_mmap_anonymous != yes; then
55295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55296 /* end confdefs.h.  */
55297
55298 #include <sys/mman.h>
55299 #ifdef MAP_ANON
55300     I cannot identify this map
55301 #endif
55302
55303 _ACEOF
55304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55305   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55306
55307 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55308
55309          gl_have_mmap_anonymous=yes
55310 fi
55311 rm -f conftest*
55312
55313     fi
55314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55315 $as_echo "$gl_have_mmap_anonymous" >&6; }
55316     if test $gl_have_mmap_anonymous = yes; then
55317
55318 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55319
55320     fi
55321   fi
55322
55323
55324
55325
55326
55327
55328
55329   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55330   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55331   # irrelevant for anonymous mappings.
55332   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55333 if test "x$ac_cv_func_mmap" = xyes; then :
55334   gl_have_mmap=yes
55335 else
55336   gl_have_mmap=no
55337 fi
55338
55339
55340   # Try to allow MAP_ANONYMOUS.
55341   gl_have_mmap_anonymous=no
55342   if test $gl_have_mmap = yes; then
55343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55344 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55345     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55346 /* end confdefs.h.  */
55347
55348 #include <sys/mman.h>
55349 #ifdef MAP_ANONYMOUS
55350     I cannot identify this map
55351 #endif
55352
55353 _ACEOF
55354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55355   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55356   gl_have_mmap_anonymous=yes
55357 fi
55358 rm -f conftest*
55359
55360     if test $gl_have_mmap_anonymous != yes; then
55361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55362 /* end confdefs.h.  */
55363
55364 #include <sys/mman.h>
55365 #ifdef MAP_ANON
55366     I cannot identify this map
55367 #endif
55368
55369 _ACEOF
55370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55371   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55372
55373 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55374
55375          gl_have_mmap_anonymous=yes
55376 fi
55377 rm -f conftest*
55378
55379     fi
55380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55381 $as_echo "$gl_have_mmap_anonymous" >&6; }
55382     if test $gl_have_mmap_anonymous = yes; then
55383
55384 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55385
55386     fi
55387   fi
55388
55389
55390
55391
55392
55393
55394   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55395   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55396   # irrelevant for anonymous mappings.
55397   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55398 if test "x$ac_cv_func_mmap" = xyes; then :
55399   gl_have_mmap=yes
55400 else
55401   gl_have_mmap=no
55402 fi
55403
55404
55405   # Try to allow MAP_ANONYMOUS.
55406   gl_have_mmap_anonymous=no
55407   if test $gl_have_mmap = yes; then
55408     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55409 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55410     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h.  */
55412
55413 #include <sys/mman.h>
55414 #ifdef MAP_ANONYMOUS
55415     I cannot identify this map
55416 #endif
55417
55418 _ACEOF
55419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55420   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55421   gl_have_mmap_anonymous=yes
55422 fi
55423 rm -f conftest*
55424
55425     if test $gl_have_mmap_anonymous != yes; then
55426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55427 /* end confdefs.h.  */
55428
55429 #include <sys/mman.h>
55430 #ifdef MAP_ANON
55431     I cannot identify this map
55432 #endif
55433
55434 _ACEOF
55435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55436   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55437
55438 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55439
55440          gl_have_mmap_anonymous=yes
55441 fi
55442 rm -f conftest*
55443
55444     fi
55445     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55446 $as_echo "$gl_have_mmap_anonymous" >&6; }
55447     if test $gl_have_mmap_anonymous = yes; then
55448
55449 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55450
55451     fi
55452   fi
55453
55454
55455
55456
55457
55458
55459   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55460   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55461   # irrelevant for anonymous mappings.
55462   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55463 if test "x$ac_cv_func_mmap" = xyes; then :
55464   gl_have_mmap=yes
55465 else
55466   gl_have_mmap=no
55467 fi
55468
55469
55470   # Try to allow MAP_ANONYMOUS.
55471   gl_have_mmap_anonymous=no
55472   if test $gl_have_mmap = yes; then
55473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55474 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55475     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55476 /* end confdefs.h.  */
55477
55478 #include <sys/mman.h>
55479 #ifdef MAP_ANONYMOUS
55480     I cannot identify this map
55481 #endif
55482
55483 _ACEOF
55484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55485   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55486   gl_have_mmap_anonymous=yes
55487 fi
55488 rm -f conftest*
55489
55490     if test $gl_have_mmap_anonymous != yes; then
55491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55492 /* end confdefs.h.  */
55493
55494 #include <sys/mman.h>
55495 #ifdef MAP_ANON
55496     I cannot identify this map
55497 #endif
55498
55499 _ACEOF
55500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55501   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55502
55503 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55504
55505          gl_have_mmap_anonymous=yes
55506 fi
55507 rm -f conftest*
55508
55509     fi
55510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55511 $as_echo "$gl_have_mmap_anonymous" >&6; }
55512     if test $gl_have_mmap_anonymous = yes; then
55513
55514 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55515
55516     fi
55517   fi
55518
55519
55520
55521
55522
55523
55524   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55525   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55526   # irrelevant for anonymous mappings.
55527   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55528 if test "x$ac_cv_func_mmap" = xyes; then :
55529   gl_have_mmap=yes
55530 else
55531   gl_have_mmap=no
55532 fi
55533
55534
55535   # Try to allow MAP_ANONYMOUS.
55536   gl_have_mmap_anonymous=no
55537   if test $gl_have_mmap = yes; then
55538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55539 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55540     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55541 /* end confdefs.h.  */
55542
55543 #include <sys/mman.h>
55544 #ifdef MAP_ANONYMOUS
55545     I cannot identify this map
55546 #endif
55547
55548 _ACEOF
55549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55550   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55551   gl_have_mmap_anonymous=yes
55552 fi
55553 rm -f conftest*
55554
55555     if test $gl_have_mmap_anonymous != yes; then
55556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55557 /* end confdefs.h.  */
55558
55559 #include <sys/mman.h>
55560 #ifdef MAP_ANON
55561     I cannot identify this map
55562 #endif
55563
55564 _ACEOF
55565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55566   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55567
55568 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55569
55570          gl_have_mmap_anonymous=yes
55571 fi
55572 rm -f conftest*
55573
55574     fi
55575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55576 $as_echo "$gl_have_mmap_anonymous" >&6; }
55577     if test $gl_have_mmap_anonymous = yes; then
55578
55579 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55580
55581     fi
55582   fi
55583
55584
55585
55586
55587
55588
55589   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55590   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55591   # irrelevant for anonymous mappings.
55592   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55593 if test "x$ac_cv_func_mmap" = xyes; then :
55594   gl_have_mmap=yes
55595 else
55596   gl_have_mmap=no
55597 fi
55598
55599
55600   # Try to allow MAP_ANONYMOUS.
55601   gl_have_mmap_anonymous=no
55602   if test $gl_have_mmap = yes; then
55603     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55604 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55605     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55606 /* end confdefs.h.  */
55607
55608 #include <sys/mman.h>
55609 #ifdef MAP_ANONYMOUS
55610     I cannot identify this map
55611 #endif
55612
55613 _ACEOF
55614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55615   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55616   gl_have_mmap_anonymous=yes
55617 fi
55618 rm -f conftest*
55619
55620     if test $gl_have_mmap_anonymous != yes; then
55621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h.  */
55623
55624 #include <sys/mman.h>
55625 #ifdef MAP_ANON
55626     I cannot identify this map
55627 #endif
55628
55629 _ACEOF
55630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55631   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55632
55633 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55634
55635          gl_have_mmap_anonymous=yes
55636 fi
55637 rm -f conftest*
55638
55639     fi
55640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55641 $as_echo "$gl_have_mmap_anonymous" >&6; }
55642     if test $gl_have_mmap_anonymous = yes; then
55643
55644 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55645
55646     fi
55647   fi
55648
55649
55650
55651
55652
55653
55654   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55655   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55656   # irrelevant for anonymous mappings.
55657   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55658 if test "x$ac_cv_func_mmap" = xyes; then :
55659   gl_have_mmap=yes
55660 else
55661   gl_have_mmap=no
55662 fi
55663
55664
55665   # Try to allow MAP_ANONYMOUS.
55666   gl_have_mmap_anonymous=no
55667   if test $gl_have_mmap = yes; then
55668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55669 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55670     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55671 /* end confdefs.h.  */
55672
55673 #include <sys/mman.h>
55674 #ifdef MAP_ANONYMOUS
55675     I cannot identify this map
55676 #endif
55677
55678 _ACEOF
55679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55680   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55681   gl_have_mmap_anonymous=yes
55682 fi
55683 rm -f conftest*
55684
55685     if test $gl_have_mmap_anonymous != yes; then
55686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h.  */
55688
55689 #include <sys/mman.h>
55690 #ifdef MAP_ANON
55691     I cannot identify this map
55692 #endif
55693
55694 _ACEOF
55695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55696   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55697
55698 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55699
55700          gl_have_mmap_anonymous=yes
55701 fi
55702 rm -f conftest*
55703
55704     fi
55705     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55706 $as_echo "$gl_have_mmap_anonymous" >&6; }
55707     if test $gl_have_mmap_anonymous = yes; then
55708
55709 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55710
55711     fi
55712   fi
55713
55714
55715
55716
55717
55718
55719   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
55720   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
55721   # irrelevant for anonymous mappings.
55722   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
55723 if test "x$ac_cv_func_mmap" = xyes; then :
55724   gl_have_mmap=yes
55725 else
55726   gl_have_mmap=no
55727 fi
55728
55729
55730   # Try to allow MAP_ANONYMOUS.
55731   gl_have_mmap_anonymous=no
55732   if test $gl_have_mmap = yes; then
55733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
55734 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
55735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55736 /* end confdefs.h.  */
55737
55738 #include <sys/mman.h>
55739 #ifdef MAP_ANONYMOUS
55740     I cannot identify this map
55741 #endif
55742
55743 _ACEOF
55744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55745   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55746   gl_have_mmap_anonymous=yes
55747 fi
55748 rm -f conftest*
55749
55750     if test $gl_have_mmap_anonymous != yes; then
55751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55752 /* end confdefs.h.  */
55753
55754 #include <sys/mman.h>
55755 #ifdef MAP_ANON
55756     I cannot identify this map
55757 #endif
55758
55759 _ACEOF
55760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
55761   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
55762
55763 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
55764
55765          gl_have_mmap_anonymous=yes
55766 fi
55767 rm -f conftest*
55768
55769     fi
55770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
55771 $as_echo "$gl_have_mmap_anonymous" >&6; }
55772     if test $gl_have_mmap_anonymous = yes; then
55773
55774 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
55775
55776     fi
55777   fi
55778
55779
55780
55781
55782
55783
55784
55785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
55786 $as_echo_n "checking for a traditional french locale... " >&6; }
55787 if ${gt_cv_locale_fr+:} false; then :
55788   $as_echo_n "(cached) " >&6
55789 else
55790
55791     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55792 /* end confdefs.h.  */
55793
55794 #include <locale.h>
55795 #include <time.h>
55796 #if HAVE_LANGINFO_CODESET
55797 # include <langinfo.h>
55798 #endif
55799 #include <stdlib.h>
55800 #include <string.h>
55801 struct tm t;
55802 char buf[16];
55803 int main () {
55804   /* Check whether the given locale name is recognized by the system.  */
55805 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
55806   /* On native Windows, setlocale(category, "") looks at the system settings,
55807      not at the environment variables.  Also, when an encoding suffix such
55808      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
55809      category of the locale to "C".  */
55810   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
55811       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
55812     return 1;
55813 #else
55814   if (setlocale (LC_ALL, "") == NULL) return 1;
55815 #endif
55816   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
55817      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
55818      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
55819      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
55820      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
55821      some unit tests fail.
55822      On MirBSD 10, when an unsupported locale is specified, setlocale()
55823      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
55824 #if HAVE_LANGINFO_CODESET
55825   {
55826     const char *cs = nl_langinfo (CODESET);
55827     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
55828         || strcmp (cs, "UTF-8") == 0)
55829       return 1;
55830   }
55831 #endif
55832 #ifdef __CYGWIN__
55833   /* On Cygwin, avoid locale names without encoding suffix, because the
55834      locale_charset() function relies on the encoding suffix.  Note that
55835      LC_ALL is set on the command line.  */
55836   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
55837 #endif
55838   /* Check whether in the abbreviation of the second month, the second
55839      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
55840      one byte long. This excludes the UTF-8 encoding.  */
55841   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
55842   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
55843 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
55844   /* Check whether the decimal separator is a comma.
55845      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
55846      are nl_langinfo(RADIXCHAR) are both ".".  */
55847   if (localeconv () ->decimal_point[0] != ',') return 1;
55848 #endif
55849   return 0;
55850 }
55851
55852 _ACEOF
55853     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
55854   (eval $ac_link) 2>&5
55855   ac_status=$?
55856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
55857   test $ac_status = 0; } && test -s conftest$ac_exeext; then
55858       case "$host_os" in
55859         # Handle native Windows specially, because there setlocale() interprets
55860         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
55861         # "fr" or "fra" as "French" or "French_France.1252",
55862         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
55863         # "ja" as "Japanese" or "Japanese_Japan.932",
55864         # and similar.
55865         mingw*)
55866           # Test for the native Windows locale name.
55867           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
55868             gt_cv_locale_fr=French_France.1252
55869           else
55870             # None found.
55871             gt_cv_locale_fr=none
55872           fi
55873           ;;
55874         *)
55875           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
55876           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
55877           # configure script would override the LC_ALL setting. Likewise for
55878           # LC_CTYPE, which is also set at the beginning of the configure script.
55879           # Test for the usual locale name.
55880           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
55881             gt_cv_locale_fr=fr_FR
55882           else
55883             # Test for the locale name with explicit encoding suffix.
55884             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
55885               gt_cv_locale_fr=fr_FR.ISO-8859-1
55886             else
55887               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
55888               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
55889                 gt_cv_locale_fr=fr_FR.ISO8859-1
55890               else
55891                 # Test for the HP-UX locale name.
55892                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
55893                   gt_cv_locale_fr=fr_FR.iso88591
55894                 else
55895                   # Test for the Solaris 7 locale name.
55896                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
55897                     gt_cv_locale_fr=fr
55898                   else
55899                     # None found.
55900                     gt_cv_locale_fr=none
55901                   fi
55902                 fi
55903               fi
55904             fi
55905           fi
55906           ;;
55907       esac
55908     fi
55909     rm -fr conftest*
55910
55911 fi
55912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
55913 $as_echo "$gt_cv_locale_fr" >&6; }
55914   LOCALE_FR=$gt_cv_locale_fr
55915
55916
55917
55918
55919
55920   if test $ac_cv_have_decl_unsetenv = no; then
55921     HAVE_DECL_UNSETENV=0
55922   fi
55923   for ac_func in unsetenv
55924 do :
55925   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
55926 if test "x$ac_cv_func_unsetenv" = xyes; then :
55927   cat >>confdefs.h <<_ACEOF
55928 #define HAVE_UNSETENV 1
55929 _ACEOF
55930
55931 fi
55932 done
55933
55934   if test $ac_cv_func_unsetenv = no; then
55935     HAVE_UNSETENV=0
55936   else
55937     HAVE_UNSETENV=1
55938         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
55939 $as_echo_n "checking for unsetenv() return type... " >&6; }
55940 if ${gt_cv_func_unsetenv_ret+:} false; then :
55941   $as_echo_n "(cached) " >&6
55942 else
55943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55944 /* end confdefs.h.  */
55945
55946 #undef _BSD
55947 #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
55948 #include <stdlib.h>
55949 extern
55950 #ifdef __cplusplus
55951 "C"
55952 #endif
55953 int unsetenv (const char *name);
55954
55955 int
55956 main ()
55957 {
55958
55959   ;
55960   return 0;
55961 }
55962 _ACEOF
55963 if ac_fn_c_try_compile "$LINENO"; then :
55964   gt_cv_func_unsetenv_ret='int'
55965 else
55966   gt_cv_func_unsetenv_ret='void'
55967 fi
55968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55969 fi
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5
55971 $as_echo "$gt_cv_func_unsetenv_ret" >&6; }
55972     if test $gt_cv_func_unsetenv_ret = 'void'; then
55973
55974 $as_echo "#define VOID_UNSETENV 1" >>confdefs.h
55975
55976       REPLACE_UNSETENV=1
55977     fi
55978
55979                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
55980 $as_echo_n "checking whether unsetenv obeys POSIX... " >&6; }
55981 if ${gl_cv_func_unsetenv_works+:} false; then :
55982   $as_echo_n "(cached) " >&6
55983 else
55984   if test "$cross_compiling" = yes; then :
55985   case "$host_os" in
55986                  # Guess yes on glibc systems.
55987          *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
55988                  # If we don't know, assume the worst.
55989          *)      gl_cv_func_unsetenv_works="guessing no" ;;
55990        esac
55991
55992 else
55993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h.  */
55995
55996        #include <stdlib.h>
55997        #include <errno.h>
55998        extern char **environ;
55999
56000 int
56001 main ()
56002 {
56003
56004        char entry1[] = "a=1";
56005        char entry2[] = "b=2";
56006        char *env[] = { entry1, entry2, NULL };
56007        if (putenv ((char *) "a=1")) return 1;
56008        if (putenv (entry2)) return 2;
56009        entry2[0] = 'a';
56010        unsetenv ("a");
56011        if (getenv ("a")) return 3;
56012        if (!unsetenv ("") || errno != EINVAL) return 4;
56013        entry2[0] = 'b';
56014        environ = env;
56015        if (!getenv ("a")) return 5;
56016        entry2[0] = 'a';
56017        unsetenv ("a");
56018        if (getenv ("a")) return 6;
56019
56020   ;
56021   return 0;
56022 }
56023 _ACEOF
56024 if ac_fn_c_try_run "$LINENO"; then :
56025   gl_cv_func_unsetenv_works=yes
56026 else
56027   gl_cv_func_unsetenv_works=no
56028 fi
56029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56030   conftest.$ac_objext conftest.beam conftest.$ac_ext
56031 fi
56032
56033 fi
56034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
56035 $as_echo "$gl_cv_func_unsetenv_works" >&6; }
56036     case "$gl_cv_func_unsetenv_works" in
56037       *yes) ;;
56038       *)
56039         REPLACE_UNSETENV=1
56040         ;;
56041     esac
56042   fi
56043
56044   if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
56045
56046
56047
56048
56049
56050
56051
56052
56053   gltests_LIBOBJS="$gltests_LIBOBJS unsetenv.$ac_objext"
56054
56055
56056
56057
56058
56059   fi
56060
56061
56062
56063
56064
56065     if test "$GNULIB_UNSETENV" != 1; then
56066         if test "$GNULIB_UNSETENV" = 0; then
56067       GNULIB_UNSETENV=$gl_module_indicator_condition
56068     else
56069       GNULIB_UNSETENV="($GNULIB_UNSETENV || $gl_module_indicator_condition)"
56070     fi
56071   fi
56072
56073
56074
56075
56076
56077 $as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
56092
56093
56094
56095      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
56096 $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
56097 if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
56098   $as_echo_n "(cached) " >&6
56099 else
56100
56101                   case "$host_os" in
56102                      # Guess no on AIX and OSF/1.
56103         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
56104                      # Guess yes otherwise.
56105         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
56106       esac
56107       if test $LOCALE_JA != none; then
56108         if test "$cross_compiling" = yes; then :
56109   :
56110 else
56111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56112 /* end confdefs.h.  */
56113
56114 #include <locale.h>
56115 #include <string.h>
56116 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
56117    <wchar.h>.
56118    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
56119    included before <wchar.h>.  */
56120 #include <stddef.h>
56121 #include <stdio.h>
56122 #include <time.h>
56123 #include <wchar.h>
56124 int main ()
56125 {
56126   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
56127     {
56128       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
56129       mbstate_t state;
56130       wchar_t wc;
56131
56132       memset (&state, '\0', sizeof (mbstate_t));
56133       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
56134         if (mbsinit (&state))
56135           return 2;
56136     }
56137   return 0;
56138 }
56139 _ACEOF
56140 if ac_fn_c_try_run "$LINENO"; then :
56141   gl_cv_func_mbrtowc_incomplete_state=yes
56142 else
56143   gl_cv_func_mbrtowc_incomplete_state=no
56144 fi
56145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56146   conftest.$ac_objext conftest.beam conftest.$ac_ext
56147 fi
56148
56149       fi
56150
56151 fi
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
56153 $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
56154
56155
56156
56157
56158      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
56159 $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
56160 if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
56161   $as_echo_n "(cached) " >&6
56162 else
56163
56164                   case "$host_os" in
56165                     # Guess no on Solaris 8.
56166         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
56167                     # Guess yes otherwise.
56168         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
56169       esac
56170       if test $LOCALE_ZH_CN != none; then
56171         if test "$cross_compiling" = yes; then :
56172   :
56173 else
56174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56175 /* end confdefs.h.  */
56176
56177 #include <locale.h>
56178 #include <stdlib.h>
56179 #include <string.h>
56180 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
56181    <wchar.h>.
56182    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
56183    included before <wchar.h>.  */
56184 #include <stddef.h>
56185 #include <stdio.h>
56186 #include <time.h>
56187 #include <wchar.h>
56188 int main ()
56189 {
56190   /* This fails on Solaris 8:
56191      mbrtowc returns 2, and sets wc to 0x00F0.
56192      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
56193   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
56194     {
56195       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
56196       mbstate_t state;
56197       wchar_t wc;
56198
56199       memset (&state, '\0', sizeof (mbstate_t));
56200       if (mbrtowc (&wc, input + 3, 6, &state) != 4
56201           && mbtowc (&wc, input + 3, 6) == 4)
56202         return 2;
56203     }
56204   return 0;
56205 }
56206 _ACEOF
56207 if ac_fn_c_try_run "$LINENO"; then :
56208   gl_cv_func_mbrtowc_sanitycheck=yes
56209 else
56210   gl_cv_func_mbrtowc_sanitycheck=no
56211 fi
56212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56213   conftest.$ac_objext conftest.beam conftest.$ac_ext
56214 fi
56215
56216       fi
56217
56218 fi
56219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
56220 $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
56221
56222     REPLACE_MBSTATE_T=0
56223     case "$gl_cv_func_mbrtowc_incomplete_state" in
56224       *yes) ;;
56225       *) REPLACE_MBSTATE_T=1 ;;
56226     esac
56227     case "$gl_cv_func_mbrtowc_sanitycheck" in
56228       *yes) ;;
56229       *) REPLACE_MBSTATE_T=1 ;;
56230     esac
56231   else
56232     REPLACE_MBSTATE_T=1
56233   fi
56234
56235
56236
56237   if test $ac_cv_func_wcrtomb = no; then
56238     HAVE_WCRTOMB=0
56239     ac_fn_c_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" "
56240 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
56241    <wchar.h>.
56242    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
56243    included before <wchar.h>.  */
56244 #include <stddef.h>
56245 #include <stdio.h>
56246 #include <time.h>
56247 #include <wchar.h>
56248
56249 "
56250 if test "x$ac_cv_have_decl_wcrtomb" = xyes; then :
56251   ac_have_decl=1
56252 else
56253   ac_have_decl=0
56254 fi
56255
56256 cat >>confdefs.h <<_ACEOF
56257 #define HAVE_DECL_WCRTOMB $ac_have_decl
56258 _ACEOF
56259
56260     if test $ac_cv_have_decl_wcrtomb = yes; then
56261                         REPLACE_WCRTOMB=1
56262     fi
56263   else
56264     if test $REPLACE_MBSTATE_T = 1; then
56265       REPLACE_WCRTOMB=1
56266     else
56267
56268
56269
56270
56271
56272              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
56273 $as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
56274 if ${gl_cv_func_wcrtomb_retval+:} false; then :
56275   $as_echo_n "(cached) " >&6
56276 else
56277
56278                               case "$host_os" in
56279                                      # Guess no on AIX 4, OSF/1 and Solaris.
56280             aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
56281                                      # Guess yes otherwise.
56282             *)                       gl_cv_func_wcrtomb_retval="guessing yes" ;;
56283           esac
56284           if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
56285             if test "$cross_compiling" = yes; then :
56286   :
56287 else
56288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56289 /* end confdefs.h.  */
56290
56291 #include <locale.h>
56292 #include <string.h>
56293 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
56294    <wchar.h>.
56295    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
56296    included before <wchar.h>.  */
56297 #include <stddef.h>
56298 #include <stdio.h>
56299 #include <time.h>
56300 #include <wchar.h>
56301 int main ()
56302 {
56303   int result = 0;
56304   if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
56305     {
56306       if (wcrtomb (NULL, 0, NULL) != 1)
56307         result |= 1;
56308     }
56309   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
56310     {
56311       if (wcrtomb (NULL, 0, NULL) != 1)
56312         result |= 2;
56313     }
56314   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
56315     {
56316       if (wcrtomb (NULL, 0, NULL) != 1)
56317         result |= 4;
56318     }
56319   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
56320     {
56321       if (wcrtomb (NULL, 0, NULL) != 1)
56322         result |= 8;
56323     }
56324   return result;
56325 }
56326 _ACEOF
56327 if ac_fn_c_try_run "$LINENO"; then :
56328   gl_cv_func_wcrtomb_retval=yes
56329 else
56330   gl_cv_func_wcrtomb_retval=no
56331 fi
56332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56333   conftest.$ac_objext conftest.beam conftest.$ac_ext
56334 fi
56335
56336           fi
56337
56338 fi
56339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5
56340 $as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
56341       case "$gl_cv_func_wcrtomb_retval" in
56342         *yes) ;;
56343         *) REPLACE_WCRTOMB=1 ;;
56344       esac
56345     fi
56346   fi
56347
56348   if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
56349
56350
56351
56352
56353
56354
56355
56356
56357   gltests_LIBOBJS="$gltests_LIBOBJS wcrtomb.$ac_objext"
56358
56359
56360   :
56361
56362   fi
56363
56364
56365
56366
56367
56368     if test "$GNULIB_WCRTOMB" != 1; then
56369         if test "$GNULIB_WCRTOMB" = 0; then
56370       GNULIB_WCRTOMB=$gl_module_indicator_condition
56371     else
56372       GNULIB_WCRTOMB="($GNULIB_WCRTOMB || $gl_module_indicator_condition)"
56373     fi
56374   fi
56375
56376
56377
56378
56379
56380 $as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
56381
56382
56383
56384
56385
56386
56387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
56388 $as_echo_n "checking for a traditional french locale... " >&6; }
56389 if ${gt_cv_locale_fr+:} false; then :
56390   $as_echo_n "(cached) " >&6
56391 else
56392
56393     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56394 /* end confdefs.h.  */
56395
56396 #include <locale.h>
56397 #include <time.h>
56398 #if HAVE_LANGINFO_CODESET
56399 # include <langinfo.h>
56400 #endif
56401 #include <stdlib.h>
56402 #include <string.h>
56403 struct tm t;
56404 char buf[16];
56405 int main () {
56406   /* Check whether the given locale name is recognized by the system.  */
56407 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
56408   /* On native Windows, setlocale(category, "") looks at the system settings,
56409      not at the environment variables.  Also, when an encoding suffix such
56410      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
56411      category of the locale to "C".  */
56412   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
56413       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
56414     return 1;
56415 #else
56416   if (setlocale (LC_ALL, "") == NULL) return 1;
56417 #endif
56418   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
56419      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
56420      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
56421      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
56422      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
56423      some unit tests fail.
56424      On MirBSD 10, when an unsupported locale is specified, setlocale()
56425      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
56426 #if HAVE_LANGINFO_CODESET
56427   {
56428     const char *cs = nl_langinfo (CODESET);
56429     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
56430         || strcmp (cs, "UTF-8") == 0)
56431       return 1;
56432   }
56433 #endif
56434 #ifdef __CYGWIN__
56435   /* On Cygwin, avoid locale names without encoding suffix, because the
56436      locale_charset() function relies on the encoding suffix.  Note that
56437      LC_ALL is set on the command line.  */
56438   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
56439 #endif
56440   /* Check whether in the abbreviation of the second month, the second
56441      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
56442      one byte long. This excludes the UTF-8 encoding.  */
56443   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
56444   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
56445 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
56446   /* Check whether the decimal separator is a comma.
56447      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
56448      are nl_langinfo(RADIXCHAR) are both ".".  */
56449   if (localeconv () ->decimal_point[0] != ',') return 1;
56450 #endif
56451   return 0;
56452 }
56453
56454 _ACEOF
56455     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
56456   (eval $ac_link) 2>&5
56457   ac_status=$?
56458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
56459   test $ac_status = 0; } && test -s conftest$ac_exeext; then
56460       case "$host_os" in
56461         # Handle native Windows specially, because there setlocale() interprets
56462         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
56463         # "fr" or "fra" as "French" or "French_France.1252",
56464         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
56465         # "ja" as "Japanese" or "Japanese_Japan.932",
56466         # and similar.
56467         mingw*)
56468           # Test for the native Windows locale name.
56469           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56470             gt_cv_locale_fr=French_France.1252
56471           else
56472             # None found.
56473             gt_cv_locale_fr=none
56474           fi
56475           ;;
56476         *)
56477           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
56478           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
56479           # configure script would override the LC_ALL setting. Likewise for
56480           # LC_CTYPE, which is also set at the beginning of the configure script.
56481           # Test for the usual locale name.
56482           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56483             gt_cv_locale_fr=fr_FR
56484           else
56485             # Test for the locale name with explicit encoding suffix.
56486             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56487               gt_cv_locale_fr=fr_FR.ISO-8859-1
56488             else
56489               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
56490               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56491                 gt_cv_locale_fr=fr_FR.ISO8859-1
56492               else
56493                 # Test for the HP-UX locale name.
56494                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56495                   gt_cv_locale_fr=fr_FR.iso88591
56496                 else
56497                   # Test for the Solaris 7 locale name.
56498                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56499                     gt_cv_locale_fr=fr
56500                   else
56501                     # None found.
56502                     gt_cv_locale_fr=none
56503                   fi
56504                 fi
56505               fi
56506             fi
56507           fi
56508           ;;
56509       esac
56510     fi
56511     rm -fr conftest*
56512
56513 fi
56514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
56515 $as_echo "$gt_cv_locale_fr" >&6; }
56516   LOCALE_FR=$gt_cv_locale_fr
56517
56518
56519
56520
56521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
56522 $as_echo_n "checking for a french Unicode locale... " >&6; }
56523 if ${gt_cv_locale_fr_utf8+:} false; then :
56524   $as_echo_n "(cached) " >&6
56525 else
56526
56527     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56528 /* end confdefs.h.  */
56529
56530 #include <locale.h>
56531 #include <time.h>
56532 #if HAVE_LANGINFO_CODESET
56533 # include <langinfo.h>
56534 #endif
56535 #include <stdlib.h>
56536 #include <string.h>
56537 struct tm t;
56538 char buf[16];
56539 int main () {
56540   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
56541      imitates locale dependent behaviour by looking at the environment
56542      variables, and all locales use the UTF-8 encoding.  */
56543 #if !(defined __BEOS__ || defined __HAIKU__)
56544   /* Check whether the given locale name is recognized by the system.  */
56545 # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
56546   /* On native Windows, setlocale(category, "") looks at the system settings,
56547      not at the environment variables.  Also, when an encoding suffix such
56548      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
56549      category of the locale to "C".  */
56550   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
56551       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
56552     return 1;
56553 # else
56554   if (setlocale (LC_ALL, "") == NULL) return 1;
56555 # endif
56556   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
56557      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
56558      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
56559      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
56560      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
56561      some unit tests fail.  */
56562 # if HAVE_LANGINFO_CODESET
56563   {
56564     const char *cs = nl_langinfo (CODESET);
56565     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
56566       return 1;
56567   }
56568 # endif
56569 # ifdef __CYGWIN__
56570   /* On Cygwin, avoid locale names without encoding suffix, because the
56571      locale_charset() function relies on the encoding suffix.  Note that
56572      LC_ALL is set on the command line.  */
56573   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
56574 # endif
56575   /* Check whether in the abbreviation of the second month, the second
56576      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
56577      two bytes long, with UTF-8 encoding.  */
56578   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
56579   if (strftime (buf, sizeof (buf), "%b", &t) < 4
56580       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
56581     return 1;
56582 #endif
56583 #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
56584   /* Check whether the decimal separator is a comma.
56585      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
56586      are nl_langinfo(RADIXCHAR) are both ".".  */
56587   if (localeconv () ->decimal_point[0] != ',') return 1;
56588 #endif
56589   return 0;
56590 }
56591
56592 _ACEOF
56593     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
56594   (eval $ac_link) 2>&5
56595   ac_status=$?
56596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
56597   test $ac_status = 0; } && test -s conftest$ac_exeext; then
56598       case "$host_os" in
56599         # Handle native Windows specially, because there setlocale() interprets
56600         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
56601         # "fr" or "fra" as "French" or "French_France.1252",
56602         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
56603         # "ja" as "Japanese" or "Japanese_Japan.932",
56604         # and similar.
56605         mingw*)
56606           # Test for the hypothetical native Windows locale name.
56607           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56608             gt_cv_locale_fr_utf8=French_France.65001
56609           else
56610             # None found.
56611             gt_cv_locale_fr_utf8=none
56612           fi
56613           ;;
56614         *)
56615           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
56616           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
56617           # configure script would override the LC_ALL setting. Likewise for
56618           # LC_CTYPE, which is also set at the beginning of the configure script.
56619           # Test for the usual locale name.
56620           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56621             gt_cv_locale_fr_utf8=fr_FR
56622           else
56623             # Test for the locale name with explicit encoding suffix.
56624             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56625               gt_cv_locale_fr_utf8=fr_FR.UTF-8
56626             else
56627               # Test for the Solaris 7 locale name.
56628               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56629                 gt_cv_locale_fr_utf8=fr.UTF-8
56630               else
56631                 # None found.
56632                 gt_cv_locale_fr_utf8=none
56633               fi
56634             fi
56635           fi
56636           ;;
56637       esac
56638     fi
56639     rm -fr conftest*
56640
56641 fi
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
56643 $as_echo "$gt_cv_locale_fr_utf8" >&6; }
56644   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
56645
56646
56647
56648
56649
56650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
56651 $as_echo_n "checking for a traditional japanese locale... " >&6; }
56652 if ${gt_cv_locale_ja+:} false; then :
56653   $as_echo_n "(cached) " >&6
56654 else
56655
56656     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56657 /* end confdefs.h.  */
56658
56659 #include <locale.h>
56660 #include <time.h>
56661 #if HAVE_LANGINFO_CODESET
56662 # include <langinfo.h>
56663 #endif
56664 #include <stdlib.h>
56665 #include <string.h>
56666 struct tm t;
56667 char buf[16];
56668 int main ()
56669 {
56670   const char *p;
56671   /* Check whether the given locale name is recognized by the system.  */
56672 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
56673   /* On native Windows, setlocale(category, "") looks at the system settings,
56674      not at the environment variables.  Also, when an encoding suffix such
56675      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
56676      category of the locale to "C".  */
56677   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
56678       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
56679     return 1;
56680 #else
56681   if (setlocale (LC_ALL, "") == NULL) return 1;
56682 #endif
56683   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
56684      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
56685      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
56686      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
56687      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
56688      some unit tests fail.
56689      On MirBSD 10, when an unsupported locale is specified, setlocale()
56690      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
56691 #if HAVE_LANGINFO_CODESET
56692   {
56693     const char *cs = nl_langinfo (CODESET);
56694     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
56695         || strcmp (cs, "UTF-8") == 0)
56696       return 1;
56697   }
56698 #endif
56699 #ifdef __CYGWIN__
56700   /* On Cygwin, avoid locale names without encoding suffix, because the
56701      locale_charset() function relies on the encoding suffix.  Note that
56702      LC_ALL is set on the command line.  */
56703   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
56704 #endif
56705   /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
56706      on Cygwin 1.5.x.  */
56707   if (MB_CUR_MAX == 1)
56708     return 1;
56709   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
56710      This excludes the UTF-8 encoding (except on MirBSD).  */
56711   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
56712   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
56713   for (p = buf; *p != '\0'; p++)
56714     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
56715       return 1;
56716   return 0;
56717 }
56718
56719 _ACEOF
56720     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
56721   (eval $ac_link) 2>&5
56722   ac_status=$?
56723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
56724   test $ac_status = 0; } && test -s conftest$ac_exeext; then
56725       case "$host_os" in
56726         # Handle native Windows specially, because there setlocale() interprets
56727         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
56728         # "fr" or "fra" as "French" or "French_France.1252",
56729         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
56730         # "ja" as "Japanese" or "Japanese_Japan.932",
56731         # and similar.
56732         mingw*)
56733           # Note that on native Windows, the Japanese locale is
56734           # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
56735           # cannot use it here.
56736           gt_cv_locale_ja=none
56737           ;;
56738         *)
56739           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
56740           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
56741           # configure script would override the LC_ALL setting. Likewise for
56742           # LC_CTYPE, which is also set at the beginning of the configure script.
56743           # Test for the AIX locale name.
56744           if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56745             gt_cv_locale_ja=ja_JP
56746           else
56747             # Test for the locale name with explicit encoding suffix.
56748             if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56749               gt_cv_locale_ja=ja_JP.EUC-JP
56750             else
56751               # Test for the HP-UX, OSF/1, NetBSD locale name.
56752               if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56753                 gt_cv_locale_ja=ja_JP.eucJP
56754               else
56755                 # Test for the IRIX, FreeBSD locale name.
56756                 if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56757                   gt_cv_locale_ja=ja_JP.EUC
56758                 else
56759                   # Test for the Solaris 7 locale name.
56760                   if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56761                     gt_cv_locale_ja=ja
56762                   else
56763                     # Special test for NetBSD 1.6.
56764                     if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
56765                       gt_cv_locale_ja=ja_JP.eucJP
56766                     else
56767                       # None found.
56768                       gt_cv_locale_ja=none
56769                     fi
56770                   fi
56771                 fi
56772               fi
56773             fi
56774           fi
56775           ;;
56776       esac
56777     fi
56778     rm -fr conftest*
56779
56780 fi
56781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
56782 $as_echo "$gt_cv_locale_ja" >&6; }
56783   LOCALE_JA=$gt_cv_locale_ja
56784
56785
56786
56787
56788
56789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
56790 $as_echo_n "checking for a transitional chinese locale... " >&6; }
56791 if ${gt_cv_locale_zh_CN+:} false; then :
56792   $as_echo_n "(cached) " >&6
56793 else
56794
56795     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56796 /* end confdefs.h.  */
56797
56798 #include <locale.h>
56799 #include <stdlib.h>
56800 #include <time.h>
56801 #if HAVE_LANGINFO_CODESET
56802 # include <langinfo.h>
56803 #endif
56804 #include <stdlib.h>
56805 #include <string.h>
56806 struct tm t;
56807 char buf[16];
56808 int main ()
56809 {
56810   const char *p;
56811   /* Check whether the given locale name is recognized by the system.  */
56812 #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
56813   /* On native Windows, setlocale(category, "") looks at the system settings,
56814      not at the environment variables.  Also, when an encoding suffix such
56815      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
56816      category of the locale to "C".  */
56817   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
56818       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
56819     return 1;
56820 #else
56821   if (setlocale (LC_ALL, "") == NULL) return 1;
56822 #endif
56823   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
56824      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
56825      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
56826      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
56827      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
56828      some unit tests fail.
56829      On MirBSD 10, when an unsupported locale is specified, setlocale()
56830      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
56831 #if HAVE_LANGINFO_CODESET
56832   {
56833     const char *cs = nl_langinfo (CODESET);
56834     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
56835         || strcmp (cs, "UTF-8") == 0)
56836       return 1;
56837   }
56838 #endif
56839 #ifdef __CYGWIN__
56840   /* On Cygwin, avoid locale names without encoding suffix, because the
56841      locale_charset() function relies on the encoding suffix.  Note that
56842      LC_ALL is set on the command line.  */
56843   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
56844 #endif
56845   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
56846      This excludes the UTF-8 encoding (except on MirBSD).  */
56847   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
56848   if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
56849   for (p = buf; *p != '\0'; p++)
56850     if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
56851       return 1;
56852   /* Check whether a typical GB18030 multibyte sequence is recognized as a
56853      single wide character.  This excludes the GB2312 and GBK encodings.  */
56854   if (mblen ("\203\062\332\066", 5) != 4)
56855     return 1;
56856   return 0;
56857 }
56858
56859 _ACEOF
56860     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
56861   (eval $ac_link) 2>&5
56862   ac_status=$?
56863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
56864   test $ac_status = 0; } && test -s conftest$ac_exeext; then
56865       case "$host_os" in
56866         # Handle native Windows specially, because there setlocale() interprets
56867         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
56868         # "fr" or "fra" as "French" or "French_France.1252",
56869         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
56870         # "ja" as "Japanese" or "Japanese_Japan.932",
56871         # and similar.
56872         mingw*)
56873           # Test for the hypothetical native Windows locale name.
56874           if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56875             gt_cv_locale_zh_CN=Chinese_China.54936
56876           else
56877             # None found.
56878             gt_cv_locale_zh_CN=none
56879           fi
56880           ;;
56881         solaris2.8)
56882           # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
56883           # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
56884           # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
56885           gt_cv_locale_zh_CN=none
56886           ;;
56887         *)
56888           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
56889           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
56890           # configure script would override the LC_ALL setting. Likewise for
56891           # LC_CTYPE, which is also set at the beginning of the configure script.
56892           # Test for the locale name without encoding suffix.
56893           if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56894             gt_cv_locale_zh_CN=zh_CN
56895           else
56896             # Test for the locale name with explicit encoding suffix.
56897             if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
56898               gt_cv_locale_zh_CN=zh_CN.GB18030
56899             else
56900               # None found.
56901               gt_cv_locale_zh_CN=none
56902             fi
56903           fi
56904           ;;
56905       esac
56906     else
56907       # If there was a link error, due to mblen(), the system is so old that
56908       # it certainly doesn't have a chinese locale.
56909       gt_cv_locale_zh_CN=none
56910     fi
56911     rm -fr conftest*
56912
56913 fi
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
56915 $as_echo "$gt_cv_locale_zh_CN" >&6; }
56916   LOCALE_ZH_CN=$gt_cv_locale_zh_CN
56917
56918
56919
56920
56921
56922
56923   if test $ac_cv_func_wctob = no; then
56924     HAVE_WCTOB=0
56925     HAVE_DECL_WCTOB=0
56926   else
56927     HAVE_WCTOB=1
56928
56929
56930
56931          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5
56932 $as_echo_n "checking whether wctob works... " >&6; }
56933 if ${gl_cv_func_wctob_works+:} false; then :
56934   $as_echo_n "(cached) " >&6
56935 else
56936
56937                         case "$host_os" in
56938             # Guess no on Solaris <= 9 and Cygwin.
56939           solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
56940             gl_cv_func_wctob_works="guessing no" ;;
56941             # Guess yes otherwise.
56942           *) gl_cv_func_wctob_works="guessing yes" ;;
56943         esac
56944         case "$host_os" in
56945           cygwin*)
56946             if test "$cross_compiling" = yes; then :
56947   :
56948 else
56949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56950 /* end confdefs.h.  */
56951
56952 #include <locale.h>
56953 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
56954    <wchar.h>.
56955    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
56956    included before <wchar.h>.  */
56957 #include <stddef.h>
56958 #include <stdio.h>
56959 #include <time.h>
56960 #include <wchar.h>
56961
56962 register long global __asm__ ("%ebx");
56963
56964 int main ()
56965 {
56966   setlocale (LC_ALL, "en_US.UTF-8");
56967
56968   global = 0x12345678;
56969   if (wctob (0x00FC) != -1)
56970     return 1;
56971   if (global != 0x12345678)
56972     return 2;
56973   return 0;
56974 }
56975 _ACEOF
56976 if ac_fn_c_try_run "$LINENO"; then :
56977   :
56978 else
56979   gl_cv_func_wctob_works=no
56980 fi
56981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56982   conftest.$ac_objext conftest.beam conftest.$ac_ext
56983 fi
56984
56985             ;;
56986         esac
56987         if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
56988           if test "$cross_compiling" = yes; then :
56989   :
56990 else
56991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56992 /* end confdefs.h.  */
56993
56994 #include <locale.h>
56995 #include <string.h>
56996 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
56997    <wchar.h>.
56998    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
56999    included before <wchar.h>.  */
57000 #include <stddef.h>
57001 #include <stdio.h>
57002 #include <time.h>
57003 #include <wchar.h>
57004 int main ()
57005 {
57006   if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
57007     {
57008       wchar_t wc;
57009
57010       if (mbtowc (&wc, "\374", 1) == 1)
57011         if (wctob (wc) != (unsigned char) '\374')
57012           return 1;
57013     }
57014   return 0;
57015 }
57016 _ACEOF
57017 if ac_fn_c_try_run "$LINENO"; then :
57018   gl_cv_func_wctob_works=yes
57019 else
57020   gl_cv_func_wctob_works=no
57021 fi
57022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
57023   conftest.$ac_objext conftest.beam conftest.$ac_ext
57024 fi
57025
57026         fi
57027
57028 fi
57029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5
57030 $as_echo "$gl_cv_func_wctob_works" >&6; }
57031     case "$gl_cv_func_wctob_works" in
57032       *yes) ;;
57033       *) REPLACE_WCTOB=1 ;;
57034     esac
57035     if test $REPLACE_WCTOB = 0; then
57036
57037             ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" "
57038 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
57039    <wchar.h>.
57040    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
57041    before <wchar.h>.  */
57042 #include <stddef.h>
57043 #include <stdio.h>
57044 #include <time.h>
57045 #include <wchar.h>
57046
57047 "
57048 if test "x$ac_cv_have_decl_wctob" = xyes; then :
57049   ac_have_decl=1
57050 else
57051   ac_have_decl=0
57052 fi
57053
57054 cat >>confdefs.h <<_ACEOF
57055 #define HAVE_DECL_WCTOB $ac_have_decl
57056 _ACEOF
57057
57058       if test $ac_cv_have_decl_wctob != yes; then
57059         HAVE_DECL_WCTOB=0
57060       fi
57061     fi
57062   fi
57063
57064   if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
57065
57066
57067
57068
57069
57070
57071
57072
57073   gltests_LIBOBJS="$gltests_LIBOBJS wctob.$ac_objext"
57074
57075
57076   :
57077
57078   fi
57079
57080
57081
57082
57083
57084     if test "$GNULIB_WCTOB" != 1; then
57085         if test "$GNULIB_WCTOB" = 0; then
57086       GNULIB_WCTOB=$gl_module_indicator_condition
57087     else
57088       GNULIB_WCTOB="($GNULIB_WCTOB || $gl_module_indicator_condition)"
57089     fi
57090   fi
57091
57092
57093
57094
57095
57096 $as_echo "#define GNULIB_TEST_WCTOB 1" >>confdefs.h
57097
57098
57099
57100
57101
57102
57103   if false; then
57104     REPLACE_WCTOMB=1
57105   fi
57106
57107   if test $REPLACE_WCTOMB = 1; then
57108
57109
57110
57111
57112
57113
57114
57115
57116   gltests_LIBOBJS="$gltests_LIBOBJS wctomb.$ac_objext"
57117
57118
57119   :
57120
57121   fi
57122
57123
57124
57125
57126
57127     if test "$GNULIB_WCTOMB" != 1; then
57128         if test "$GNULIB_WCTOMB" = 0; then
57129       GNULIB_WCTOMB=$gl_module_indicator_condition
57130     else
57131       GNULIB_WCTOMB="($GNULIB_WCTOMB || $gl_module_indicator_condition)"
57132     fi
57133   fi
57134
57135
57136
57137
57138
57139 $as_echo "#define GNULIB_TEST_WCTOMB 1" >>confdefs.h
57140
57141
57142
57143   :
57144
57145
57146     YIELD_LIB=
57147   if test $gl_threads_api = posix; then
57148         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
57149 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
57150 if ${ac_cv_lib_rt_sched_yield+:} false; then :
57151   $as_echo_n "(cached) " >&6
57152 else
57153   ac_check_lib_save_LIBS=$LIBS
57154 LIBS="-lrt  $LIBS"
57155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57156 /* end confdefs.h.  */
57157
57158 /* Override any GCC internal prototype to avoid an error.
57159    Use char because int might match the return type of a GCC
57160    builtin and then its argument prototype would still apply.  */
57161 #ifdef __cplusplus
57162 extern "C"
57163 #endif
57164 char sched_yield ();
57165 int
57166 main ()
57167 {
57168 return sched_yield ();
57169   ;
57170   return 0;
57171 }
57172 _ACEOF
57173 if ac_fn_c_try_link "$LINENO"; then :
57174   ac_cv_lib_rt_sched_yield=yes
57175 else
57176   ac_cv_lib_rt_sched_yield=no
57177 fi
57178 rm -f core conftest.err conftest.$ac_objext \
57179     conftest$ac_exeext conftest.$ac_ext
57180 LIBS=$ac_check_lib_save_LIBS
57181 fi
57182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
57183 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
57184 if test "x$ac_cv_lib_rt_sched_yield" = xyes; then :
57185   YIELD_LIB=-lrt
57186 else
57187          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
57188 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
57189 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
57190   $as_echo_n "(cached) " >&6
57191 else
57192   ac_check_lib_save_LIBS=$LIBS
57193 LIBS="-lposix4  $LIBS"
57194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57195 /* end confdefs.h.  */
57196
57197 /* Override any GCC internal prototype to avoid an error.
57198    Use char because int might match the return type of a GCC
57199    builtin and then its argument prototype would still apply.  */
57200 #ifdef __cplusplus
57201 extern "C"
57202 #endif
57203 char sched_yield ();
57204 int
57205 main ()
57206 {
57207 return sched_yield ();
57208   ;
57209   return 0;
57210 }
57211 _ACEOF
57212 if ac_fn_c_try_link "$LINENO"; then :
57213   ac_cv_lib_posix4_sched_yield=yes
57214 else
57215   ac_cv_lib_posix4_sched_yield=no
57216 fi
57217 rm -f core conftest.err conftest.$ac_objext \
57218     conftest$ac_exeext conftest.$ac_ext
57219 LIBS=$ac_check_lib_save_LIBS
57220 fi
57221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
57222 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
57223 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
57224   YIELD_LIB=-lposix4
57225 fi
57226
57227 fi
57228
57229   fi
57230
57231
57232
57233
57234
57235
57236
57237
57238
57239
57240
57241
57242   LIBTESTS_LIBDEPS="$gltests_libdeps"
57243
57244
57245
57246 if test "$enable_shared" = yes; then
57247   case "$host_os" in
57248     mingw* | cygwin*) is_woe32dll=yes ;;
57249     *) is_woe32dll=no ;;
57250   esac
57251 else
57252   is_woe32dll=no
57253 fi
57254  if test $is_woe32dll = yes; then
57255   WOE32DLL_TRUE=
57256   WOE32DLL_FALSE='#'
57257 else
57258   WOE32DLL_TRUE='#'
57259   WOE32DLL_FALSE=
57260 fi
57261
57262 if test $is_woe32dll = yes; then
57263   DLL_VARIABLE='__declspec (dllimport)'
57264 else
57265   DLL_VARIABLE=
57266 fi
57267
57268 if test $is_woe32dll = yes; then
57269
57270 $as_echo "#define WOE32DLL 1" >>confdefs.h
57271
57272 fi
57273
57274 # Check whether --enable-namespacing was given.
57275 if test "${enable_namespacing+set}" = set; then :
57276   enableval=$enable_namespacing; :
57277 else
57278   enable_namespacing=yes
57279 fi
57280
57281 if test "$enable_namespacing" != no; then
57282   NAMESPACING=yes
57283 else
57284   NAMESPACING=
57285 fi
57286
57287
57288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
57289 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
57290 if ${lt_cv_path_NM+:} false; then :
57291   $as_echo_n "(cached) " >&6
57292 else
57293   if test -n "$NM"; then
57294   # Let the user override the test.
57295   lt_cv_path_NM="$NM"
57296 else
57297   lt_nm_to_check="${ac_tool_prefix}nm"
57298   if test -n "$ac_tool_prefix" \
57299      && { test "$build" = "$host" \
57300           || { test "$build_os" = cygwin && test "$host_os" = mingw32; }; \
57301         }; then
57302     lt_nm_to_check="$lt_nm_to_check nm"
57303   fi
57304   for lt_tmp_nm in $lt_nm_to_check; do
57305     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
57306     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
57307       IFS="$lt_save_ifs"
57308       test -z "$ac_dir" && ac_dir=.
57309       tmp_nm="$ac_dir/$lt_tmp_nm"
57310       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
57311         # Check to see if the nm accepts a BSD-compat flag.
57312         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
57313         #   nm: unknown option "B" ignored
57314         # Tru64's nm complains that /dev/null is an invalid object file
57315         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
57316         */dev/null* | *'Invalid file or object type'*)
57317           lt_cv_path_NM="$tmp_nm -B"
57318           break
57319           ;;
57320         *)
57321           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
57322           */dev/null*)
57323             lt_cv_path_NM="$tmp_nm -p"
57324             break
57325             ;;
57326           *)
57327             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
57328             continue # so that we can try to find one that supports BSD flags
57329             ;;
57330           esac
57331           ;;
57332         esac
57333       fi
57334     done
57335     IFS="$lt_save_ifs"
57336   done
57337   : ${lt_cv_path_NM=no}
57338 fi
57339 fi
57340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
57341 $as_echo "$lt_cv_path_NM" >&6; }
57342 if test "$lt_cv_path_NM" != "no"; then
57343   NM="$lt_cv_path_NM"
57344 else
57345   # Didn't find any BSD compatible name lister, look for dumpbin.
57346   if test -n "$DUMPBIN"; then :
57347     # Let the user override the test.
57348   else
57349     if test -n "$ac_tool_prefix"; then
57350   for ac_prog in dumpbin "link -dump"
57351   do
57352     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
57353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
57354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57355 $as_echo_n "checking for $ac_word... " >&6; }
57356 if ${ac_cv_prog_DUMPBIN+:} false; then :
57357   $as_echo_n "(cached) " >&6
57358 else
57359   if test -n "$DUMPBIN"; then
57360   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
57361 else
57362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57363 for as_dir in $PATH
57364 do
57365   IFS=$as_save_IFS
57366   test -z "$as_dir" && as_dir=.
57367     for ac_exec_ext in '' $ac_executable_extensions; do
57368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57369     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
57370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57371     break 2
57372   fi
57373 done
57374   done
57375 IFS=$as_save_IFS
57376
57377 fi
57378 fi
57379 DUMPBIN=$ac_cv_prog_DUMPBIN
57380 if test -n "$DUMPBIN"; then
57381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
57382 $as_echo "$DUMPBIN" >&6; }
57383 else
57384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57385 $as_echo "no" >&6; }
57386 fi
57387
57388
57389     test -n "$DUMPBIN" && break
57390   done
57391 fi
57392 if test -z "$DUMPBIN"; then
57393   ac_ct_DUMPBIN=$DUMPBIN
57394   for ac_prog in dumpbin "link -dump"
57395 do
57396   # Extract the first word of "$ac_prog", so it can be a program name with args.
57397 set dummy $ac_prog; ac_word=$2
57398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57399 $as_echo_n "checking for $ac_word... " >&6; }
57400 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
57401   $as_echo_n "(cached) " >&6
57402 else
57403   if test -n "$ac_ct_DUMPBIN"; then
57404   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
57405 else
57406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57407 for as_dir in $PATH
57408 do
57409   IFS=$as_save_IFS
57410   test -z "$as_dir" && as_dir=.
57411     for ac_exec_ext in '' $ac_executable_extensions; do
57412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57413     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
57414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57415     break 2
57416   fi
57417 done
57418   done
57419 IFS=$as_save_IFS
57420
57421 fi
57422 fi
57423 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
57424 if test -n "$ac_ct_DUMPBIN"; then
57425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
57426 $as_echo "$ac_ct_DUMPBIN" >&6; }
57427 else
57428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57429 $as_echo "no" >&6; }
57430 fi
57431
57432
57433   test -n "$ac_ct_DUMPBIN" && break
57434 done
57435
57436   if test "x$ac_ct_DUMPBIN" = x; then
57437     DUMPBIN=":"
57438   else
57439     case $cross_compiling:$ac_tool_warned in
57440 yes:)
57441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
57442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
57443 ac_tool_warned=yes ;;
57444 esac
57445     DUMPBIN=$ac_ct_DUMPBIN
57446   fi
57447 fi
57448
57449     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
57450     *COFF*)
57451       DUMPBIN="$DUMPBIN -symbols"
57452       ;;
57453     *)
57454       DUMPBIN=:
57455       ;;
57456     esac
57457   fi
57458
57459   if test "$DUMPBIN" != ":"; then
57460     NM="$DUMPBIN"
57461   fi
57462 fi
57463 test -z "$NM" && NM=nm
57464
57465
57466
57467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
57468 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
57469 if ${lt_cv_nm_interface+:} false; then :
57470   $as_echo_n "(cached) " >&6
57471 else
57472   lt_cv_nm_interface="BSD nm"
57473   echo "int some_variable = 0;" > conftest.$ac_ext
57474   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
57475   (eval "$ac_compile" 2>conftest.err)
57476   cat conftest.err >&5
57477   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
57478   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
57479   cat conftest.err >&5
57480   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
57481   cat conftest.out >&5
57482   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
57483     lt_cv_nm_interface="MS dumpbin"
57484   fi
57485   rm -f conftest*
57486 fi
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
57488 $as_echo "$lt_cv_nm_interface" >&6; }
57489
57490
57491
57492
57493      GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
57494
57495   if test -n "$GLOBAL_SYMBOL_PIPE"; then
57496     HAVE_GLOBAL_SYMBOL_PIPE=1
57497   else
57498     HAVE_GLOBAL_SYMBOL_PIPE=
57499   fi
57500
57501
57502
57503 for ac_prog in gawk mawk nawk awk
57504 do
57505   # Extract the first word of "$ac_prog", so it can be a program name with args.
57506 set dummy $ac_prog; ac_word=$2
57507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57508 $as_echo_n "checking for $ac_word... " >&6; }
57509 if ${ac_cv_prog_AWK+:} false; then :
57510   $as_echo_n "(cached) " >&6
57511 else
57512   if test -n "$AWK"; then
57513   ac_cv_prog_AWK="$AWK" # Let the user override the test.
57514 else
57515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57516 for as_dir in $PATH
57517 do
57518   IFS=$as_save_IFS
57519   test -z "$as_dir" && as_dir=.
57520     for ac_exec_ext in '' $ac_executable_extensions; do
57521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57522     ac_cv_prog_AWK="$ac_prog"
57523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57524     break 2
57525   fi
57526 done
57527   done
57528 IFS=$as_save_IFS
57529
57530 fi
57531 fi
57532 AWK=$ac_cv_prog_AWK
57533 if test -n "$AWK"; then
57534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
57535 $as_echo "$AWK" >&6; }
57536 else
57537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57538 $as_echo "no" >&6; }
57539 fi
57540
57541
57542   test -n "$AWK" && break
57543 done
57544
57545
57546 sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
57547 i\
57548 0
57549 q
57550 '
57551 sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
57552 i\
57553 0
57554 q
57555 '
57556 sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;}
57557 i\
57558 0
57559 q
57560 '
57561
57562 version_major=`echo "${VERSION}" | sed -n -e "$sed_extract_major"`
57563 version_minor=`echo "${VERSION}" | sed -n -e "$sed_extract_minor"`
57564 version_subminor=`echo "${VERSION}" | sed -n -e "$sed_extract_subminor"`
57565 HEXVERSION=0x`$AWK 'BEGIN { printf("%02X%02X%02X"',"$version_major","$version_minor","$version_subminor"') }'`
57566
57567
57568 ac_aux_dir_abs=`cd $ac_aux_dir && pwd`
57569 # Extract the first word of "texi2dvi", so it can be a program name with args.
57570 set dummy texi2dvi; ac_word=$2
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57572 $as_echo_n "checking for $ac_word... " >&6; }
57573 if ${ac_cv_path_TEXI2DVI+:} false; then :
57574   $as_echo_n "(cached) " >&6
57575 else
57576   case $TEXI2DVI in
57577   [\\/]* | ?:[\\/]*)
57578   ac_cv_path_TEXI2DVI="$TEXI2DVI" # Let the user override the test with a path.
57579   ;;
57580   *)
57581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57582 for as_dir in $PATH
57583 do
57584   IFS=$as_save_IFS
57585   test -z "$as_dir" && as_dir=.
57586     for ac_exec_ext in '' $ac_executable_extensions; do
57587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57588     ac_cv_path_TEXI2DVI="$as_dir/$ac_word$ac_exec_ext"
57589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57590     break 2
57591   fi
57592 done
57593   done
57594 IFS=$as_save_IFS
57595
57596   test -z "$ac_cv_path_TEXI2DVI" && ac_cv_path_TEXI2DVI="$ac_aux_dir_abs/missing texi2dvi"
57597   ;;
57598 esac
57599 fi
57600 TEXI2DVI=$ac_cv_path_TEXI2DVI
57601 if test -n "$TEXI2DVI"; then
57602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2DVI" >&5
57603 $as_echo "$TEXI2DVI" >&6; }
57604 else
57605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57606 $as_echo "no" >&6; }
57607 fi
57608
57609
57610 # Extract the first word of "dvips", so it can be a program name with args.
57611 set dummy dvips; ac_word=$2
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57613 $as_echo_n "checking for $ac_word... " >&6; }
57614 if ${ac_cv_path_DVIPS+:} false; then :
57615   $as_echo_n "(cached) " >&6
57616 else
57617   case $DVIPS in
57618   [\\/]* | ?:[\\/]*)
57619   ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
57620   ;;
57621   *)
57622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57623 for as_dir in $PATH
57624 do
57625   IFS=$as_save_IFS
57626   test -z "$as_dir" && as_dir=.
57627     for ac_exec_ext in '' $ac_executable_extensions; do
57628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57629     ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
57630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57631     break 2
57632   fi
57633 done
57634   done
57635 IFS=$as_save_IFS
57636
57637   test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS="$ac_aux_dir_abs/missing dvips"
57638   ;;
57639 esac
57640 fi
57641 DVIPS=$ac_cv_path_DVIPS
57642 if test -n "$DVIPS"; then
57643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
57644 $as_echo "$DVIPS" >&6; }
57645 else
57646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57647 $as_echo "no" >&6; }
57648 fi
57649
57650
57651 # Extract the first word of "perl", so it can be a program name with args.
57652 set dummy perl; ac_word=$2
57653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57654 $as_echo_n "checking for $ac_word... " >&6; }
57655 if ${ac_cv_path_PERL+:} false; then :
57656   $as_echo_n "(cached) " >&6
57657 else
57658   case $PERL in
57659   [\\/]* | ?:[\\/]*)
57660   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
57661   ;;
57662   *)
57663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57664 for as_dir in $PATH
57665 do
57666   IFS=$as_save_IFS
57667   test -z "$as_dir" && as_dir=.
57668     for ac_exec_ext in '' $ac_executable_extensions; do
57669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57670     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
57671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57672     break 2
57673   fi
57674 done
57675   done
57676 IFS=$as_save_IFS
57677
57678   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="$ac_aux_dir_abs/missing perl"
57679   ;;
57680 esac
57681 fi
57682 PERL=$ac_cv_path_PERL
57683 if test -n "$PERL"; then
57684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
57685 $as_echo "$PERL" >&6; }
57686 else
57687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57688 $as_echo "no" >&6; }
57689 fi
57690
57691
57692
57693 ac_config_files="$ac_config_files Makefile"
57694
57695 ac_config_files="$ac_config_files doc/Makefile"
57696
57697 ac_config_files="$ac_config_files gnulib-local/Makefile"
57698
57699 ac_config_files="$ac_config_files lib/Makefile"
57700
57701 ac_config_files="$ac_config_files lib/exported.sh"
57702
57703 ac_config_files="$ac_config_files lib/unistring/version.h:lib/unistring/version.in.h"
57704
57705 ac_config_files="$ac_config_files lib/unistring/woe32dll.h:lib/unistring/woe32dll.in.h"
57706
57707 ac_config_files="$ac_config_files tests/Makefile"
57708
57709 cat >confcache <<\_ACEOF
57710 # This file is a shell script that caches the results of configure
57711 # tests run on this system so they can be shared between configure
57712 # scripts and configure runs, see configure's option --config-cache.
57713 # It is not useful on other systems.  If it contains results you don't
57714 # want to keep, you may remove or edit it.
57715 #
57716 # config.status only pays attention to the cache file if you give it
57717 # the --recheck option to rerun configure.
57718 #
57719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
57720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57721 # following values.
57722
57723 _ACEOF
57724
57725 # The following way of writing the cache mishandles newlines in values,
57726 # but we know of no workaround that is simple, portable, and efficient.
57727 # So, we kill variables containing newlines.
57728 # Ultrix sh set writes to stderr and can't be redirected directly,
57729 # and sets the high bit in the cache file unless we assign to the vars.
57730 (
57731   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
57732     eval ac_val=\$$ac_var
57733     case $ac_val in #(
57734     *${as_nl}*)
57735       case $ac_var in #(
57736       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
57737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
57738       esac
57739       case $ac_var in #(
57740       _ | IFS | as_nl) ;; #(
57741       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
57742       *) { eval $ac_var=; unset $ac_var;} ;;
57743       esac ;;
57744     esac
57745   done
57746
57747   (set) 2>&1 |
57748     case $as_nl`(ac_space=' '; set) 2>&1` in #(
57749     *${as_nl}ac_space=\ *)
57750       # `set' does not quote correctly, so add quotes: double-quote
57751       # substitution turns \\\\ into \\, and sed turns \\ into \.
57752       sed -n \
57753         "s/'/'\\\\''/g;
57754           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57755       ;; #(
57756     *)
57757       # `set' quotes correctly as required by POSIX, so do not add quotes.
57758       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57759       ;;
57760     esac |
57761     sort
57762 ) |
57763   sed '
57764      /^ac_cv_env_/b end
57765      t clear
57766      :clear
57767      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57768      t end
57769      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57770      :end' >>confcache
57771 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
57772   if test -w "$cache_file"; then
57773     if test "x$cache_file" != "x/dev/null"; then
57774       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
57775 $as_echo "$as_me: updating cache $cache_file" >&6;}
57776       if test ! -f "$cache_file" || test -h "$cache_file"; then
57777         cat confcache >"$cache_file"
57778       else
57779         case $cache_file in #(
57780         */* | ?:*)
57781           mv -f confcache "$cache_file"$$ &&
57782           mv -f "$cache_file"$$ "$cache_file" ;; #(
57783         *)
57784           mv -f confcache "$cache_file" ;;
57785         esac
57786       fi
57787     fi
57788   else
57789     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
57790 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
57791   fi
57792 fi
57793 rm -f confcache
57794
57795 test "x$prefix" = xNONE && prefix=$ac_default_prefix
57796 # Let make expand exec_prefix.
57797 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
57798
57799 DEFS=-DHAVE_CONFIG_H
57800
57801 ac_libobjs=
57802 ac_ltlibobjs=
57803 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
57804   # 1. Remove the extension, and $U if already installed.
57805   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
57806   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
57807   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
57808   #    will be set to the directory where LIBOBJS objects are built.
57809   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
57810   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
57811 done
57812 LIBOBJS=$ac_libobjs
57813
57814 LTLIBOBJS=$ac_ltlibobjs
57815
57816
57817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
57818 $as_echo_n "checking that generated files are newer than configure... " >&6; }
57819    if test -n "$am_sleep_pid"; then
57820      # Hide warnings about reused PIDs.
57821      wait $am_sleep_pid 2>/dev/null
57822    fi
57823    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
57824 $as_echo "done" >&6; }
57825  if test -n "$EXEEXT"; then
57826   am__EXEEXT_TRUE=
57827   am__EXEEXT_FALSE='#'
57828 else
57829   am__EXEEXT_TRUE='#'
57830   am__EXEEXT_FALSE=
57831 fi
57832
57833 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
57834   as_fn_error $? "conditional \"AMDEP\" was never defined.
57835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57836 fi
57837 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
57838   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
57839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57840 fi
57841 if test -z "${WOE32_TRUE}" && test -z "${WOE32_FALSE}"; then
57842   as_fn_error $? "conditional \"WOE32\" was never defined.
57843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57844 fi
57845 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
57846   as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
57847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57848 fi
57849 if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
57850   as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
57851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57852 fi
57853 if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then
57854   as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined.
57855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57856 fi
57857 if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then
57858   as_fn_error $? "conditional \"GL_GENERATE_FLOAT_H\" was never defined.
57859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57860 fi
57861 if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
57862   as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
57863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57864 fi
57865 if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
57866   as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
57867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57868 fi
57869 if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
57870   as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
57871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57872 fi
57873
57874
57875 if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then
57876   as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined.
57877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57878 fi
57879 if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
57880   as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
57881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57882 fi
57883 if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
57884   as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
57885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57886 fi
57887 if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then
57888   as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined.
57889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57890 fi
57891 if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
57892   as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
57893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57894 fi
57895 if test -z "${LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT_FALSE}"; then
57896   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT\" was never defined.
57897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57898 fi
57899 if test -z "${LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT_FALSE}"; then
57900   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT\" was never defined.
57901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57902 fi
57903 if test -z "${LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE_FALSE}"; then
57904   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE\" was never defined.
57905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57906 fi
57907 if test -z "${LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE}"; then
57908   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_TOLOWER\" was never defined.
57909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57910 fi
57911 if test -z "${LIBUNISTRING_COMPILE_UNICASE_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_TOTITLE_FALSE}"; then
57912   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_TOTITLE\" was never defined.
57913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57914 fi
57915 if test -z "${LIBUNISTRING_COMPILE_UNICASE_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_TOUPPER_FALSE}"; then
57916   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_TOUPPER\" was never defined.
57917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57918 fi
57919 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP_FALSE}"; then
57920   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP\" was never defined.
57921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57922 fi
57923 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL_FALSE}"; then
57924   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL\" was never defined.
57925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57926 fi
57927 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD_FALSE}"; then
57928   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD\" was never defined.
57929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57930 fi
57931 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM_FALSE}"; then
57932   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM\" was never defined.
57933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57934 fi
57935 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD_FALSE}"; then
57936   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD\" was never defined.
57937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57938 fi
57939 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER_FALSE}"; then
57940   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER\" was never defined.
57941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57942 fi
57943 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE_FALSE}"; then
57944   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE\" was never defined.
57945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57946 fi
57947 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER_FALSE}"; then
57948   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER\" was never defined.
57949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57950 fi
57951 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED_FALSE}"; then
57952   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED\" was never defined.
57953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57954 fi
57955 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED_FALSE}"; then
57956   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED\" was never defined.
57957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57958 fi
57959 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE_FALSE}"; then
57960   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE\" was never defined.
57961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57962 fi
57963 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_FALSE}"; then
57964   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE\" was never defined.
57965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57966 fi
57967 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_FALSE}"; then
57968   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE\" was never defined.
57969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57970 fi
57971 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_FALSE}"; then
57972   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER\" was never defined.
57973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57974 fi
57975 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_FALSE}"; then
57976   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE\" was never defined.
57977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57978 fi
57979 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER_FALSE}"; then
57980   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER\" was never defined.
57981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57982 fi
57983 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP_FALSE}"; then
57984   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP\" was never defined.
57985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57986 fi
57987 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL_FALSE}"; then
57988   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL\" was never defined.
57989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57990 fi
57991 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD_FALSE}"; then
57992   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD\" was never defined.
57993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57994 fi
57995 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM_FALSE}"; then
57996   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM\" was never defined.
57997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
57998 fi
57999 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD_FALSE}"; then
58000   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD\" was never defined.
58001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58002 fi
58003 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER_FALSE}"; then
58004   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER\" was never defined.
58005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58006 fi
58007 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE_FALSE}"; then
58008   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE\" was never defined.
58009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58010 fi
58011 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER_FALSE}"; then
58012   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER\" was never defined.
58013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58014 fi
58015 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED_FALSE}"; then
58016   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED\" was never defined.
58017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58018 fi
58019 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED_FALSE}"; then
58020   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED\" was never defined.
58021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58022 fi
58023 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE_FALSE}"; then
58024   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE\" was never defined.
58025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58026 fi
58027 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_FALSE}"; then
58028   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE\" was never defined.
58029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58030 fi
58031 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_FALSE}"; then
58032   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE\" was never defined.
58033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58034 fi
58035 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_FALSE}"; then
58036   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER\" was never defined.
58037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58038 fi
58039 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_FALSE}"; then
58040   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE\" was never defined.
58041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58042 fi
58043 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER_FALSE}"; then
58044   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER\" was never defined.
58045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58046 fi
58047 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP_FALSE}"; then
58048   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP\" was never defined.
58049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58050 fi
58051 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL_FALSE}"; then
58052   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL\" was never defined.
58053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58054 fi
58055 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD_FALSE}"; then
58056   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD\" was never defined.
58057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58058 fi
58059 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM_FALSE}"; then
58060   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM\" was never defined.
58061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58062 fi
58063 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD_FALSE}"; then
58064   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD\" was never defined.
58065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58066 fi
58067 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER_FALSE}"; then
58068   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER\" was never defined.
58069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58070 fi
58071 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE_FALSE}"; then
58072   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE\" was never defined.
58073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58074 fi
58075 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER_FALSE}"; then
58076   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER\" was never defined.
58077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58078 fi
58079 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED_FALSE}"; then
58080   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED\" was never defined.
58081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58082 fi
58083 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED_FALSE}"; then
58084   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED\" was never defined.
58085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58086 fi
58087 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE_FALSE}"; then
58088   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE\" was never defined.
58089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58090 fi
58091 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_FALSE}"; then
58092   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE\" was never defined.
58093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58094 fi
58095 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_FALSE}"; then
58096   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE\" was never defined.
58097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58098 fi
58099 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_FALSE}"; then
58100   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER\" was never defined.
58101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58102 fi
58103 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_FALSE}"; then
58104   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE\" was never defined.
58105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58106 fi
58107 if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER_FALSE}"; then
58108   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER\" was never defined.
58109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58110 fi
58111 if test -z "${LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP_FALSE}"; then
58112   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP\" was never defined.
58113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58114 fi
58115 if test -z "${LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL_FALSE}"; then
58116   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL\" was never defined.
58117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58118 fi
58119 if test -z "${LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM_FALSE}"; then
58120   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM\" was never defined.
58121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58122 fi
58123 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC_FALSE}"; then
58124   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC\" was never defined.
58125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58126 fi
58127 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC_FALSE}"; then
58128   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC\" was never defined.
58129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58130 fi
58131 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC_FALSE}"; then
58132   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC\" was never defined.
58133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58134 fi
58135 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE_FALSE}"; then
58136   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE\" was never defined.
58137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58138 fi
58139 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC_FALSE}"; then
58140   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC\" was never defined.
58141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58142 fi
58143 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE_FALSE}"; then
58144   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE\" was never defined.
58145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58146 fi
58147 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC_FALSE}"; then
58148   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC\" was never defined.
58149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58150 fi
58151 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC_FALSE}"; then
58152   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC\" was never defined.
58153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58154 fi
58155 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC_FALSE}"; then
58156   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC\" was never defined.
58157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58158 fi
58159 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE_FALSE}"; then
58160   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE\" was never defined.
58161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58162 fi
58163 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC_FALSE}"; then
58164   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC\" was never defined.
58165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58166 fi
58167 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE_FALSE}"; then
58168   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE\" was never defined.
58169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58170 fi
58171 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC_FALSE}"; then
58172   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC\" was never defined.
58173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58174 fi
58175 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC_FALSE}"; then
58176   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC\" was never defined.
58177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58178 fi
58179 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC_FALSE}"; then
58180   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC\" was never defined.
58181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58182 fi
58183 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE_FALSE}"; then
58184   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE\" was never defined.
58185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58186 fi
58187 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC_FALSE}"; then
58188   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC\" was never defined.
58189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58190 fi
58191 if test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE_FALSE}"; then
58192   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE\" was never defined.
58193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58194 fi
58195 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME_FALSE}"; then
58196   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME\" was never defined.
58197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58198 fi
58199 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME_FALSE}"; then
58200   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME\" was never defined.
58201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58202 fi
58203 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME_FALSE}"; then
58204   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME\" was never defined.
58205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58206 fi
58207 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF_FALSE}"; then
58208   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF\" was never defined.
58209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58210 fi
58211 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST_FALSE}"; then
58212   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST\" was never defined.
58213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58214 fi
58215 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST_FALSE}"; then
58216   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST\" was never defined.
58217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58218 fi
58219 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST_FALSE}"; then
58220   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST\" was never defined.
58221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58222 fi
58223 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C_FALSE}"; then
58224   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C\" was never defined.
58225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58226 fi
58227 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC_FALSE}"; then
58228   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC\" was never defined.
58229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58230 fi
58231 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF_FALSE}"; then
58232   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF\" was never defined.
58233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58234 fi
58235 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN_FALSE}"; then
58236   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN\" was never defined.
58237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58238 fi
58239 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO_FALSE}"; then
58240   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO\" was never defined.
58241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58242 fi
58243 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS_FALSE}"; then
58244   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS\" was never defined.
58245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58246 fi
58247 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L_FALSE}"; then
58248   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L\" was never defined.
58249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58250 fi
58251 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC_FALSE}"; then
58252   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC\" was never defined.
58253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58254 fi
58255 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL_FALSE}"; then
58256   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL\" was never defined.
58257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58258 fi
58259 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM_FALSE}"; then
58260   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM\" was never defined.
58261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58262 fi
58263 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO_FALSE}"; then
58264   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO\" was never defined.
58265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58266 fi
58267 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT_FALSE}"; then
58268   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT\" was never defined.
58269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58270 fi
58271 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU_FALSE}"; then
58272   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU\" was never defined.
58273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58274 fi
58275 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M_FALSE}"; then
58276   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M\" was never defined.
58277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58278 fi
58279 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC_FALSE}"; then
58280   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC\" was never defined.
58281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58282 fi
58283 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME_FALSE}"; then
58284   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME\" was never defined.
58285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58286 fi
58287 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN_FALSE}"; then
58288   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN\" was never defined.
58289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58290 fi
58291 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N_FALSE}"; then
58292   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N\" was never defined.
58293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58294 fi
58295 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND_FALSE}"; then
58296   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND\" was never defined.
58297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58298 fi
58299 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL_FALSE}"; then
58300   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL\" was never defined.
58301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58302 fi
58303 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO_FALSE}"; then
58304   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO\" was never defined.
58305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58306 fi
58307 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P_FALSE}"; then
58308   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P\" was never defined.
58309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58310 fi
58311 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC_FALSE}"; then
58312   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC\" was never defined.
58313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58314 fi
58315 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD_FALSE}"; then
58316   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD\" was never defined.
58317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58318 fi
58319 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE_FALSE}"; then
58320   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE\" was never defined.
58321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58322 fi
58323 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF_FALSE}"; then
58324   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF\" was never defined.
58325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58326 fi
58327 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI_FALSE}"; then
58328   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI\" was never defined.
58329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58330 fi
58331 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO_FALSE}"; then
58332   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO\" was never defined.
58333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58334 fi
58335 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS_FALSE}"; then
58336   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS\" was never defined.
58337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58338 fi
58339 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S_FALSE}"; then
58340   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S\" was never defined.
58341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58342 fi
58343 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC_FALSE}"; then
58344   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC\" was never defined.
58345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58346 fi
58347 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK_FALSE}"; then
58348   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK\" was never defined.
58349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58350 fi
58351 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM_FALSE}"; then
58352   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM\" was never defined.
58353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58354 fi
58355 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO_FALSE}"; then
58356   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO\" was never defined.
58357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58358 fi
58359 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z_FALSE}"; then
58360   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z\" was never defined.
58361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58362 fi
58363 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL_FALSE}"; then
58364   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL\" was never defined.
58365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58366 fi
58367 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP_FALSE}"; then
58368   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP\" was never defined.
58369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58370 fi
58371 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS_FALSE}"; then
58372   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS\" was never defined.
58373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58374 fi
58375 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_FALSE}"; then
58376   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND\" was never defined.
58377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58378 fi
58379 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT_FALSE}"; then
58380   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT\" was never defined.
58381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58382 fi
58383 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME_FALSE}"; then
58384   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME\" was never defined.
58385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58386 fi
58387 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME_FALSE}"; then
58388   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME\" was never defined.
58389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58390 fi
58391 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME_FALSE}"; then
58392   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME\" was never defined.
58393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58394 fi
58395 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_FALSE}"; then
58396   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE\" was never defined.
58397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58398 fi
58399 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF_FALSE}"; then
58400   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF\" was never defined.
58401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58402 fi
58403 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR_FALSE}"; then
58404   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR\" was never defined.
58405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58406 fi
58407 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST_FALSE}"; then
58408   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST\" was never defined.
58409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58410 fi
58411 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_FALSE}"; then
58412   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS\" was never defined.
58413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58414 fi
58415 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME_FALSE}"; then
58416   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME\" was never defined.
58417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58418 fi
58419 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME_FALSE}"; then
58420   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME\" was never defined.
58421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58422 fi
58423 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME_FALSE}"; then
58424   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME\" was never defined.
58425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58426 fi
58427 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE}"; then
58428   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM\" was never defined.
58429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58430 fi
58431 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE}"; then
58432   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA\" was never defined.
58433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58434 fi
58435 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE}"; then
58436   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK\" was never defined.
58437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58438 fi
58439 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE}"; then
58440   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL\" was never defined.
58441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58442 fi
58443 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE}"; then
58444   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT\" was never defined.
58445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58446 fi
58447 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE}"; then
58448   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH\" was never defined.
58449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58450 fi
58451 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE}"; then
58452   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER\" was never defined.
58453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58454 fi
58455 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE}"; then
58456   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT\" was never defined.
58457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58458 fi
58459 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE}"; then
58460   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT\" was never defined.
58461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58462 fi
58463 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE}"; then
58464   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE\" was never defined.
58465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58466 fi
58467 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE}"; then
58468   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER\" was never defined.
58469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58470 fi
58471 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE}"; then
58472   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT\" was never defined.
58473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58474 fi
58475 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT_FALSE}"; then
58476   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT\" was never defined.
58477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58478 fi
58479 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_DIGIT_FALSE}"; then
58480   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_DIGIT\" was never defined.
58481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58482 fi
58483 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME_FALSE}"; then
58484   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME\" was never defined.
58485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58486 fi
58487 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME_FALSE}"; then
58488   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME\" was never defined.
58489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58490 fi
58491 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF_FALSE}"; then
58492   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF\" was never defined.
58493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58494 fi
58495 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME_FALSE}"; then
58496   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME\" was never defined.
58497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58498 fi
58499 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME_FALSE}"; then
58500   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME\" was never defined.
58501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58502 fi
58503 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME_FALSE}"; then
58504   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME\" was never defined.
58505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58506 fi
58507 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF_FALSE}"; then
58508   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF\" was never defined.
58509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58510 fi
58511 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_MIRROR_FALSE}"; then
58512   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_MIRROR\" was never defined.
58513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58514 fi
58515 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC_FALSE}"; then
58516   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC\" was never defined.
58517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58518 fi
58519 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC_FALSE}"; then
58520   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC\" was never defined.
58521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58522 fi
58523 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_FALSE}"; then
58524   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT\" was never defined.
58525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58526 fi
58527 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_FALSE}"; then
58528   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT\" was never defined.
58529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58530 fi
58531 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_FALSE}"; then
58532   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT\" was never defined.
58533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58534 fi
58535 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_FALSE}"; then
58536   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR\" was never defined.
58537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58538 fi
58539 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_FALSE}"; then
58540   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL\" was never defined.
58541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58542 fi
58543 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_FALSE}"; then
58544   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR\" was never defined.
58545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58546 fi
58547 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL_FALSE}"; then
58548   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL\" was never defined.
58549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58550 fi
58551 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_FALSE}"; then
58552   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE\" was never defined.
58553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58554 fi
58555 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_FALSE}"; then
58556   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR\" was never defined.
58557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58558 fi
58559 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_FALSE}"; then
58560   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR\" was never defined.
58561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58562 fi
58563 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_FALSE}"; then
58564   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT\" was never defined.
58565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58566 fi
58567 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_FALSE}"; then
58568   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT\" was never defined.
58569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58570 fi
58571 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_FALSE}"; then
58572   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT\" was never defined.
58573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58574 fi
58575 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_FALSE}"; then
58576   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK\" was never defined.
58577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58578 fi
58579 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_FALSE}"; then
58580   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL\" was never defined.
58581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58582 fi
58583 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF_FALSE}"; then
58584   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF\" was never defined.
58585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58586 fi
58587 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_FALSE}"; then
58588   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR\" was never defined.
58589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58590 fi
58591 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE_FALSE}"; then
58592   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE\" was never defined.
58593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58594 fi
58595 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME_FALSE}"; then
58596   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME\" was never defined.
58597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58598 fi
58599 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE_FALSE}"; then
58600   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE\" was never defined.
58601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58602 fi
58603 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED_FALSE}"; then
58604   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED\" was never defined.
58605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58606 fi
58607 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_FALSE}"; then
58608   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED\" was never defined.
58609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58610 fi
58611 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_FALSE}"; then
58612   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED\" was never defined.
58613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58614 fi
58615 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_FALSE}"; then
58616   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED\" was never defined.
58617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58618 fi
58619 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_FALSE}"; then
58620   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED\" was never defined.
58621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58622 fi
58623 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_FALSE}"; then
58624   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED\" was never defined.
58625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58626 fi
58627 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING_FALSE}"; then
58628   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING\" was never defined.
58629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58630 fi
58631 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE_FALSE}"; then
58632   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE\" was never defined.
58633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58634 fi
58635 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_FALSE}"; then
58636   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL\" was never defined.
58637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58638 fi
58639 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH_FALSE}"; then
58640   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH\" was never defined.
58641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58642 fi
58643 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT_FALSE}"; then
58644   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT\" was never defined.
58645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58646 fi
58647 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_FALSE}"; then
58648   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT\" was never defined.
58649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58650 fi
58651 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED_FALSE}"; then
58652   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED\" was never defined.
58653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58654 fi
58655 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC_FALSE}"; then
58656   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC\" was never defined.
58657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58658 fi
58659 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER_FALSE}"; then
58660   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER\" was never defined.
58661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58662 fi
58663 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL_FALSE}"; then
58664   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL\" was never defined.
58665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58666 fi
58667 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE_FALSE}"; then
58668   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE\" was never defined.
58669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58670 fi
58671 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_FALSE}"; then
58672   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND\" was never defined.
58673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58674 fi
58675 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK_FALSE}"; then
58676   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK\" was never defined.
58677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58678 fi
58679 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT_FALSE}"; then
58680   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT\" was never defined.
58681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58682 fi
58683 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN_FALSE}"; then
58684   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN\" was never defined.
58685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58686 fi
58687 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE_FALSE}"; then
58688   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE\" was never defined.
58689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58690 fi
58691 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START_FALSE}"; then
58692   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START\" was never defined.
58693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58694 fi
58695 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC_FALSE}"; then
58696   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC\" was never defined.
58697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58698 fi
58699 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_FALSE}"; then
58700   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR\" was never defined.
58701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58702 fi
58703 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_FALSE}"; then
58704   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR\" was never defined.
58705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58706 fi
58707 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_FALSE}"; then
58708   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL\" was never defined.
58709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58710 fi
58711 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL_FALSE}"; then
58712   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL\" was never defined.
58713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58714 fi
58715 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL_FALSE}"; then
58716   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL\" was never defined.
58717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58718 fi
58719 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR_FALSE}"; then
58720   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR\" was never defined.
58721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58722 fi
58723 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR_FALSE}"; then
58724   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR\" was never defined.
58725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58726 fi
58727 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_FALSE}"; then
58728   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION\" was never defined.
58729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58730 fi
58731 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_FALSE}"; then
58732   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE\" was never defined.
58733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58734 fi
58735 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_FALSE}"; then
58736   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH\" was never defined.
58737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58738 fi
58739 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_FALSE}"; then
58740   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK\" was never defined.
58741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58742 fi
58743 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_FALSE}"; then
58744   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER\" was never defined.
58745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58746 fi
58747 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC_FALSE}"; then
58748   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC\" was never defined.
58749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58750 fi
58751 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_FALSE}"; then
58752   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC\" was never defined.
58753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58754 fi
58755 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_FALSE}"; then
58756   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT\" was never defined.
58757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58758 fi
58759 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_FALSE}"; then
58760   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND\" was never defined.
58761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58762 fi
58763 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_FALSE}"; then
58764   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE\" was never defined.
58765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58766 fi
58767 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START_FALSE}"; then
58768   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START\" was never defined.
58769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58770 fi
58771 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE_FALSE}"; then
58772   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE\" was never defined.
58773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58774 fi
58775 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH_FALSE}"; then
58776   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH\" was never defined.
58777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58778 fi
58779 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE_FALSE}"; then
58780   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE\" was never defined.
58781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58782 fi
58783 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_FALSE}"; then
58784   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION\" was never defined.
58785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58786 fi
58787 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_FALSE}"; then
58788   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR\" was never defined.
58789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58790 fi
58791 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX_FALSE}"; then
58792   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX\" was never defined.
58793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58794 fi
58795 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_FALSE}"; then
58796   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE\" was never defined.
58797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58798 fi
58799 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE_FALSE}"; then
58800   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE\" was never defined.
58801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58802 fi
58803 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION_FALSE}"; then
58804   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION\" was never defined.
58805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58806 fi
58807 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK_FALSE}"; then
58808   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK\" was never defined.
58809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58810 fi
58811 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL_FALSE}"; then
58812   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL\" was never defined.
58813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58814 fi
58815 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_FALSE}"; then
58816   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL\" was never defined.
58817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58818 fi
58819 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED_FALSE}"; then
58820   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED\" was never defined.
58821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58822 fi
58823 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE_FALSE}"; then
58824   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE\" was never defined.
58825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58826 fi
58827 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_FALSE}"; then
58828   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION\" was never defined.
58829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58830 fi
58831 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST_FALSE}"; then
58832   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST\" was never defined.
58833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58834 fi
58835 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE_FALSE}"; then
58836   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE\" was never defined.
58837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58838 fi
58839 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_FALSE}"; then
58840   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE\" was never defined.
58841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58842 fi
58843 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_FALSE}"; then
58844   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH\" was never defined.
58845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58846 fi
58847 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE_FALSE}"; then
58848   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE\" was never defined.
58849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58850 fi
58851 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR_FALSE}"; then
58852   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR\" was never defined.
58853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58854 fi
58855 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE_FALSE}"; then
58856   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE\" was never defined.
58857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58858 fi
58859 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE_FALSE}"; then
58860   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE\" was never defined.
58861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58862 fi
58863 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START_FALSE}"; then
58864   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START\" was never defined.
58865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58866 fi
58867 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH_FALSE}"; then
58868   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH\" was never defined.
58869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58870 fi
58871 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS_FALSE}"; then
58872   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS\" was never defined.
58873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58874 fi
58875 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT_FALSE}"; then
58876   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT\" was never defined.
58877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58878 fi
58879 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE_FALSE}"; then
58880   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE\" was never defined.
58881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58882 fi
58883 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT_FALSE}"; then
58884   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT\" was never defined.
58885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58886 fi
58887 if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE_FALSE}"; then
58888   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE\" was never defined.
58889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58890 fi
58891 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS_FALSE}"; then
58892   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS\" was never defined.
58893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58894 fi
58895 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT_FALSE}"; then
58896   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT\" was never defined.
58897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58898 fi
58899 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV_FALSE}"; then
58900   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV\" was never defined.
58901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58902 fi
58903 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS_FALSE}"; then
58904   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS\" was never defined.
58905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58906 fi
58907 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT_FALSE}"; then
58908   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT\" was never defined.
58909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58910 fi
58911 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV_FALSE}"; then
58912   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV\" was never defined.
58913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58914 fi
58915 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS_FALSE}"; then
58916   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS\" was never defined.
58917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58918 fi
58919 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT_FALSE}"; then
58920   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT\" was never defined.
58921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58922 fi
58923 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV_FALSE}"; then
58924   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV\" was never defined.
58925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58926 fi
58927 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP_FALSE}"; then
58928   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP\" was never defined.
58929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58930 fi
58931 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK_FALSE}"; then
58932   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK\" was never defined.
58933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58934 fi
58935 if test -z "${LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS_FALSE}"; then
58936   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS\" was never defined.
58937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58938 fi
58939 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS_FALSE}"; then
58940   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS\" was never defined.
58941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58942 fi
58943 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS_FALSE}"; then
58944   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS\" was never defined.
58945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58946 fi
58947 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS_FALSE}"; then
58948   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS\" was never defined.
58949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58950 fi
58951 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS_FALSE}"; then
58952   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS\" was never defined.
58953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58954 fi
58955 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS_FALSE}"; then
58956   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS\" was never defined.
58957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58958 fi
58959 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS_FALSE}"; then
58960   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS\" was never defined.
58961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58962 fi
58963 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS_FALSE}"; then
58964   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS\" was never defined.
58965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58966 fi
58967 if test -z "${LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS_FALSE}"; then
58968   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS\" was never defined.
58969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58970 fi
58971 if test -z "${LIBUNISTRING_COMPILE_UNINAME_UNINAME_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINAME_UNINAME_FALSE}"; then
58972   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINAME_UNINAME\" was never defined.
58973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58974 fi
58975 if test -z "${LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION_FALSE}"; then
58976   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION\" was never defined.
58977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58978 fi
58979 if test -z "${LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_COMPOSITION_FALSE}"; then
58980   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_COMPOSITION\" was never defined.
58981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58982 fi
58983 if test -z "${LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM_FALSE}"; then
58984   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM\" was never defined.
58985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58986 fi
58987 if test -z "${LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION_FALSE}"; then
58988   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION\" was never defined.
58989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58990 fi
58991 if test -z "${LIBUNISTRING_COMPILE_UNINORM_FILTER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_FILTER_FALSE}"; then
58992   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_FILTER\" was never defined.
58993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58994 fi
58995 if test -z "${LIBUNISTRING_COMPILE_UNINORM_NFC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_NFC_FALSE}"; then
58996   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_NFC\" was never defined.
58997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
58998 fi
58999 if test -z "${LIBUNISTRING_COMPILE_UNINORM_NFD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_NFD_FALSE}"; then
59000   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_NFD\" was never defined.
59001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59002 fi
59003 if test -z "${LIBUNISTRING_COMPILE_UNINORM_NFKC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_NFKC_FALSE}"; then
59004   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_NFKC\" was never defined.
59005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59006 fi
59007 if test -z "${LIBUNISTRING_COMPILE_UNINORM_NFKD_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_NFKD_FALSE}"; then
59008   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_NFKD\" was never defined.
59009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59010 fi
59011 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE_FALSE}"; then
59012   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE\" was never defined.
59013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59014 fi
59015 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP_FALSE}"; then
59016   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP\" was never defined.
59017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59018 fi
59019 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL_FALSE}"; then
59020   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL\" was never defined.
59021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59022 fi
59023 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM_FALSE}"; then
59024   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM\" was never defined.
59025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59026 fi
59027 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE_FALSE}"; then
59028   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE\" was never defined.
59029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59030 fi
59031 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP_FALSE}"; then
59032   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP\" was never defined.
59033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59034 fi
59035 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL_FALSE}"; then
59036   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL\" was never defined.
59037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59038 fi
59039 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM_FALSE}"; then
59040   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM\" was never defined.
59041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59042 fi
59043 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE_FALSE}"; then
59044   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE\" was never defined.
59045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59046 fi
59047 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP_FALSE}"; then
59048   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP\" was never defined.
59049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59050 fi
59051 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL_FALSE}"; then
59052   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL\" was never defined.
59053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59054 fi
59055 if test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM_FALSE}"; then
59056   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM\" was never defined.
59057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59058 fi
59059 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF_FALSE}"; then
59060   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF\" was never defined.
59061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59062 fi
59063 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF_FALSE}"; then
59064   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF\" was never defined.
59065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59066 fi
59067 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF_FALSE}"; then
59068   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF\" was never defined.
59069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59070 fi
59071 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF_FALSE}"; then
59072   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF\" was never defined.
59073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59074 fi
59075 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF_FALSE}"; then
59076   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF\" was never defined.
59077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59078 fi
59079 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF_FALSE}"; then
59080   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF\" was never defined.
59081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59082 fi
59083 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF_FALSE}"; then
59084   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF\" was never defined.
59085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59086 fi
59087 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF_FALSE}"; then
59088   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF\" was never defined.
59089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59090 fi
59091 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF_FALSE}"; then
59092   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF\" was never defined.
59093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59094 fi
59095 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF_FALSE}"; then
59096   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF\" was never defined.
59097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59098 fi
59099 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF_FALSE}"; then
59100   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF\" was never defined.
59101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59102 fi
59103 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF_FALSE}"; then
59104   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF\" was never defined.
59105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59106 fi
59107 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF_FALSE}"; then
59108   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF\" was never defined.
59109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59110 fi
59111 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF_FALSE}"; then
59112   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF\" was never defined.
59113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59114 fi
59115 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF_FALSE}"; then
59116   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF\" was never defined.
59117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59118 fi
59119 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF_FALSE}"; then
59120   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF\" was never defined.
59121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59122 fi
59123 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF_FALSE}"; then
59124   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF\" was never defined.
59125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59126 fi
59127 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF_FALSE}"; then
59128   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF\" was never defined.
59129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59130 fi
59131 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF_FALSE}"; then
59132   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF\" was never defined.
59133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59134 fi
59135 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF_FALSE}"; then
59136   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF\" was never defined.
59137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59138 fi
59139 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF_FALSE}"; then
59140   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF\" was never defined.
59141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59142 fi
59143 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF_FALSE}"; then
59144   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF\" was never defined.
59145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59146 fi
59147 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF_FALSE}"; then
59148   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF\" was never defined.
59149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59150 fi
59151 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF_FALSE}"; then
59152   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF\" was never defined.
59153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59154 fi
59155 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF_FALSE}"; then
59156   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF\" was never defined.
59157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59158 fi
59159 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF_FALSE}"; then
59160   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF\" was never defined.
59161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59162 fi
59163 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF_FALSE}"; then
59164   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF\" was never defined.
59165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59166 fi
59167 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF_FALSE}"; then
59168   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF\" was never defined.
59169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59170 fi
59171 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF_FALSE}"; then
59172   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF\" was never defined.
59173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59174 fi
59175 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF_FALSE}"; then
59176   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF\" was never defined.
59177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59178 fi
59179 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF_FALSE}"; then
59180   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF\" was never defined.
59181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59182 fi
59183 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF_FALSE}"; then
59184   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF\" was never defined.
59185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59186 fi
59187 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF_FALSE}"; then
59188   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF\" was never defined.
59189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59190 fi
59191 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF_FALSE}"; then
59192   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF\" was never defined.
59193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59194 fi
59195 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF_FALSE}"; then
59196   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF\" was never defined.
59197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59198 fi
59199 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF_FALSE}"; then
59200   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF\" was never defined.
59201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59202 fi
59203 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF_FALSE}"; then
59204   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF\" was never defined.
59205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59206 fi
59207 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF_FALSE}"; then
59208   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF\" was never defined.
59209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59210 fi
59211 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF_FALSE}"; then
59212   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF\" was never defined.
59213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59214 fi
59215 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF_FALSE}"; then
59216   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF\" was never defined.
59217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59218 fi
59219 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF_FALSE}"; then
59220   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF\" was never defined.
59221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59222 fi
59223 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF_FALSE}"; then
59224   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF\" was never defined.
59225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59226 fi
59227 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF_FALSE}"; then
59228   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF\" was never defined.
59229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59230 fi
59231 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF_FALSE}"; then
59232   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF\" was never defined.
59233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59234 fi
59235 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF_FALSE}"; then
59236   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF\" was never defined.
59237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59238 fi
59239 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF_FALSE}"; then
59240   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF\" was never defined.
59241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59242 fi
59243 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF_FALSE}"; then
59244   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF\" was never defined.
59245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59246 fi
59247 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF_FALSE}"; then
59248   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF\" was never defined.
59249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59250 fi
59251 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF_FALSE}"; then
59252   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF\" was never defined.
59253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59254 fi
59255 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF_FALSE}"; then
59256   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF\" was never defined.
59257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59258 fi
59259 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF_FALSE}"; then
59260   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF\" was never defined.
59261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59262 fi
59263 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF_FALSE}"; then
59264   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF\" was never defined.
59265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59266 fi
59267 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF_FALSE}"; then
59268   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF\" was never defined.
59269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59270 fi
59271 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF_FALSE}"; then
59272   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF\" was never defined.
59273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59274 fi
59275 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF_FALSE}"; then
59276   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF\" was never defined.
59277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59278 fi
59279 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF_FALSE}"; then
59280   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF\" was never defined.
59281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59282 fi
59283 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF_FALSE}"; then
59284   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF\" was never defined.
59285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59286 fi
59287 if test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF_FALSE}"; then
59288   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF\" was never defined.
59289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59290 fi
59291 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CHECK_FALSE}"; then
59292   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_CHECK\" was never defined.
59293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59294 fi
59295 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CHR_FALSE}"; then
59296   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_CHR\" was never defined.
59297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59298 fi
59299 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CMP_FALSE}"; then
59300   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_CMP\" was never defined.
59301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59302 fi
59303 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CMP2_FALSE}"; then
59304   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_CMP2\" was never defined.
59305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59306 fi
59307 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CPY_FALSE}"; then
59308   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_CPY\" was never defined.
59309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59310 fi
59311 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC_FALSE}"; then
59312   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC\" was never defined.
59313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59314 fi
59315 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH_FALSE}"; then
59316   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH\" was never defined.
59317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59318 fi
59319 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN_FALSE}"; then
59320   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN\" was never defined.
59321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59322 fi
59323 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN_FALSE}"; then
59324   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN\" was never defined.
59325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59326 fi
59327 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_FALSE}"; then
59328   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC\" was never defined.
59329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59330 fi
59331 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE_FALSE}"; then
59332   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE\" was never defined.
59333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59334 fi
59335 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR_FALSE}"; then
59336   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR\" was never defined.
59337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59338 fi
59339 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_MOVE_FALSE}"; then
59340   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_MOVE\" was never defined.
59341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59342 fi
59343 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_NEXT_FALSE}"; then
59344   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_NEXT\" was never defined.
59345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59346 fi
59347 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_PREV_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_PREV_FALSE}"; then
59348   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_PREV\" was never defined.
59349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59350 fi
59351 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_SET_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_SET_FALSE}"; then
59352   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_SET\" was never defined.
59353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59354 fi
59355 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH_FALSE}"; then
59356   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH\" was never defined.
59357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59358 fi
59359 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY_FALSE}"; then
59360   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY\" was never defined.
59361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59362 fi
59363 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY_FALSE}"; then
59364   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY\" was never defined.
59365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59366 fi
59367 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT_FALSE}"; then
59368   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT\" was never defined.
59369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59370 fi
59371 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR_FALSE}"; then
59372   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR\" was never defined.
59373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59374 fi
59375 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP_FALSE}"; then
59376   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP\" was never defined.
59377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59378 fi
59379 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL_FALSE}"; then
59380   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL\" was never defined.
59381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59382 fi
59383 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY_FALSE}"; then
59384   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY\" was never defined.
59385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59386 fi
59387 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN_FALSE}"; then
59388   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN\" was never defined.
59389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59390 fi
59391 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP_FALSE}"; then
59392   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP\" was never defined.
59393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59394 fi
59395 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN_FALSE}"; then
59396   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN\" was never defined.
59397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59398 fi
59399 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN_FALSE}"; then
59400   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN\" was never defined.
59401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59402 fi
59403 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC_FALSE}"; then
59404   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC\" was never defined.
59405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59406 fi
59407 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT_FALSE}"; then
59408   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT\" was never defined.
59409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59410 fi
59411 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP_FALSE}"; then
59412   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP\" was never defined.
59413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59414 fi
59415 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY_FALSE}"; then
59416   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY\" was never defined.
59417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59418 fi
59419 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN_FALSE}"; then
59420   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN\" was never defined.
59421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59422 fi
59423 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK_FALSE}"; then
59424   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK\" was never defined.
59425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59426 fi
59427 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR_FALSE}"; then
59428   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR\" was never defined.
59429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59430 fi
59431 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN_FALSE}"; then
59432   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN\" was never defined.
59433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59434 fi
59435 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR_FALSE}"; then
59436   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR\" was never defined.
59437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59438 fi
59439 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK_FALSE}"; then
59440   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK\" was never defined.
59441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59442 fi
59443 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32_FALSE}"; then
59444   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32\" was never defined.
59445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59446 fi
59447 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8_FALSE}"; then
59448   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8\" was never defined.
59449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59450 fi
59451 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB_FALSE}"; then
59452   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB\" was never defined.
59453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59454 fi
59455 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CHECK_FALSE}"; then
59456   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_CHECK\" was never defined.
59457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59458 fi
59459 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CHR_FALSE}"; then
59460   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_CHR\" was never defined.
59461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59462 fi
59463 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CMP_FALSE}"; then
59464   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_CMP\" was never defined.
59465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59466 fi
59467 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CMP2_FALSE}"; then
59468   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_CMP2\" was never defined.
59469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59470 fi
59471 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CPY_FALSE}"; then
59472   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_CPY\" was never defined.
59473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59474 fi
59475 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC_FALSE}"; then
59476   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC\" was never defined.
59477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59478 fi
59479 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH_FALSE}"; then
59480   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH\" was never defined.
59481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59482 fi
59483 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN_FALSE}"; then
59484   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN\" was never defined.
59485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59486 fi
59487 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN_FALSE}"; then
59488   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN\" was never defined.
59489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59490 fi
59491 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_FALSE}"; then
59492   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC\" was never defined.
59493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59494 fi
59495 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE_FALSE}"; then
59496   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE\" was never defined.
59497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59498 fi
59499 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR_FALSE}"; then
59500   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR\" was never defined.
59501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59502 fi
59503 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_MOVE_FALSE}"; then
59504   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_MOVE\" was never defined.
59505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59506 fi
59507 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_NEXT_FALSE}"; then
59508   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_NEXT\" was never defined.
59509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59510 fi
59511 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_PREV_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_PREV_FALSE}"; then
59512   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_PREV\" was never defined.
59513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59514 fi
59515 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_SET_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_SET_FALSE}"; then
59516   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_SET\" was never defined.
59517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59518 fi
59519 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH_FALSE}"; then
59520   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH\" was never defined.
59521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59522 fi
59523 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY_FALSE}"; then
59524   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY\" was never defined.
59525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59526 fi
59527 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY_FALSE}"; then
59528   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY\" was never defined.
59529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59530 fi
59531 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT_FALSE}"; then
59532   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT\" was never defined.
59533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59534 fi
59535 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR_FALSE}"; then
59536   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR\" was never defined.
59537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59538 fi
59539 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP_FALSE}"; then
59540   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP\" was never defined.
59541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59542 fi
59543 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL_FALSE}"; then
59544   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL\" was never defined.
59545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59546 fi
59547 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY_FALSE}"; then
59548   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY\" was never defined.
59549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59550 fi
59551 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN_FALSE}"; then
59552   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN\" was never defined.
59553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59554 fi
59555 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP_FALSE}"; then
59556   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP\" was never defined.
59557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59558 fi
59559 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN_FALSE}"; then
59560   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN\" was never defined.
59561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59562 fi
59563 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN_FALSE}"; then
59564   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN\" was never defined.
59565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59566 fi
59567 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC_FALSE}"; then
59568   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC\" was never defined.
59569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59570 fi
59571 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT_FALSE}"; then
59572   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT\" was never defined.
59573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59574 fi
59575 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP_FALSE}"; then
59576   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP\" was never defined.
59577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59578 fi
59579 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY_FALSE}"; then
59580   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY\" was never defined.
59581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59582 fi
59583 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN_FALSE}"; then
59584   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN\" was never defined.
59585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59586 fi
59587 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK_FALSE}"; then
59588   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK\" was never defined.
59589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59590 fi
59591 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR_FALSE}"; then
59592   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR\" was never defined.
59593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59594 fi
59595 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN_FALSE}"; then
59596   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN\" was never defined.
59597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59598 fi
59599 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR_FALSE}"; then
59600   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR\" was never defined.
59601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59602 fi
59603 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK_FALSE}"; then
59604   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK\" was never defined.
59605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59606 fi
59607 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16_FALSE}"; then
59608   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16\" was never defined.
59609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59610 fi
59611 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8_FALSE}"; then
59612   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8\" was never defined.
59613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59614 fi
59615 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB_FALSE}"; then
59616   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB\" was never defined.
59617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59618 fi
59619 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CHECK_FALSE}"; then
59620   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_CHECK\" was never defined.
59621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59622 fi
59623 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CHR_FALSE}"; then
59624   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_CHR\" was never defined.
59625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59626 fi
59627 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CMP_FALSE}"; then
59628   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_CMP\" was never defined.
59629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59630 fi
59631 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CMP2_FALSE}"; then
59632   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_CMP2\" was never defined.
59633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59634 fi
59635 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CPY_FALSE}"; then
59636   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_CPY\" was never defined.
59637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59638 fi
59639 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC_FALSE}"; then
59640   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC\" was never defined.
59641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59642 fi
59643 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH_FALSE}"; then
59644   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH\" was never defined.
59645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59646 fi
59647 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN_FALSE}"; then
59648   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN\" was never defined.
59649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59650 fi
59651 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN_FALSE}"; then
59652   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN\" was never defined.
59653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59654 fi
59655 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_FALSE}"; then
59656   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC\" was never defined.
59657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59658 fi
59659 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE_FALSE}"; then
59660   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE\" was never defined.
59661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59662 fi
59663 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then
59664   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR\" was never defined.
59665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59666 fi
59667 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MOVE_FALSE}"; then
59668   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MOVE\" was never defined.
59669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59670 fi
59671 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_NEXT_FALSE}"; then
59672   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_NEXT\" was never defined.
59673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59674 fi
59675 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_PREV_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_PREV_FALSE}"; then
59676   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_PREV\" was never defined.
59677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59678 fi
59679 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_SET_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_SET_FALSE}"; then
59680   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_SET\" was never defined.
59681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59682 fi
59683 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH_FALSE}"; then
59684   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH\" was never defined.
59685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59686 fi
59687 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY_FALSE}"; then
59688   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY\" was never defined.
59689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59690 fi
59691 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY_FALSE}"; then
59692   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY\" was never defined.
59693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59694 fi
59695 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT_FALSE}"; then
59696   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT\" was never defined.
59697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59698 fi
59699 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR_FALSE}"; then
59700   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR\" was never defined.
59701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59702 fi
59703 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP_FALSE}"; then
59704   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP\" was never defined.
59705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59706 fi
59707 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL_FALSE}"; then
59708   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL\" was never defined.
59709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59710 fi
59711 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY_FALSE}"; then
59712   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY\" was never defined.
59713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59714 fi
59715 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN_FALSE}"; then
59716   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN\" was never defined.
59717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59718 fi
59719 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP_FALSE}"; then
59720   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP\" was never defined.
59721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59722 fi
59723 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN_FALSE}"; then
59724   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN\" was never defined.
59725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59726 fi
59727 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN_FALSE}"; then
59728   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN\" was never defined.
59729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59730 fi
59731 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC_FALSE}"; then
59732   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC\" was never defined.
59733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59734 fi
59735 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT_FALSE}"; then
59736   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT\" was never defined.
59737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59738 fi
59739 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP_FALSE}"; then
59740   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP\" was never defined.
59741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59742 fi
59743 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY_FALSE}"; then
59744   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY\" was never defined.
59745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59746 fi
59747 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN_FALSE}"; then
59748   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN\" was never defined.
59749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59750 fi
59751 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK_FALSE}"; then
59752   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK\" was never defined.
59753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59754 fi
59755 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR_FALSE}"; then
59756   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR\" was never defined.
59757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59758 fi
59759 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN_FALSE}"; then
59760   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN\" was never defined.
59761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59762 fi
59763 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR_FALSE}"; then
59764   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR\" was never defined.
59765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59766 fi
59767 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK_FALSE}"; then
59768   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK\" was never defined.
59769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59770 fi
59771 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16_FALSE}"; then
59772   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16\" was never defined.
59773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59774 fi
59775 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32_FALSE}"; then
59776   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32\" was never defined.
59777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59778 fi
59779 if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE}"; then
59780   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB\" was never defined.
59781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59782 fi
59783 if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE}"; then
59784   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS\" was never defined.
59785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59786 fi
59787 if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE}"; then
59788   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS\" was never defined.
59789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59790 fi
59791 if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE}"; then
59792   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS\" was never defined.
59793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59794 fi
59795 if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE}"; then
59796   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS\" was never defined.
59797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59798 fi
59799 if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE}"; then
59800   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY\" was never defined.
59801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59802 fi
59803 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE}"; then
59804   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH\" was never defined.
59805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59806 fi
59807 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE}"; then
59808   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH\" was never defined.
59809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59810 fi
59811 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE}"; then
59812   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH\" was never defined.
59813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59814 fi
59815 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE}"; then
59816   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH\" was never defined.
59817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59818 fi
59819 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE}"; then
59820   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH\" was never defined.
59821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59822 fi
59823 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE}"; then
59824   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH\" was never defined.
59825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59826 fi
59827 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then
59828   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined.
59829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59830 fi
59831
59832     gl_libobjs=
59833     gl_ltlibobjs=
59834     if test -n "$gl_LIBOBJS"; then
59835       # Remove the extension.
59836       sed_drop_objext='s/\.o$//;s/\.obj$//'
59837       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
59838         gl_libobjs="$gl_libobjs $i.$ac_objext"
59839         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
59840       done
59841     fi
59842     gl_LIBOBJS=$gl_libobjs
59843
59844     gl_LTLIBOBJS=$gl_ltlibobjs
59845
59846
59847
59848 if test -z "${GL_GENERATE_STDALIGN_H_TRUE}" && test -z "${GL_GENERATE_STDALIGN_H_FALSE}"; then
59849   as_fn_error $? "conditional \"GL_GENERATE_STDALIGN_H\" was never defined.
59850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59851 fi
59852
59853     gltests_libobjs=
59854     gltests_ltlibobjs=
59855     if test -n "$gltests_LIBOBJS"; then
59856       # Remove the extension.
59857       sed_drop_objext='s/\.o$//;s/\.obj$//'
59858       for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
59859         gltests_libobjs="$gltests_libobjs $i.$ac_objext"
59860         gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
59861       done
59862     fi
59863     gltests_LIBOBJS=$gltests_libobjs
59864
59865     gltests_LTLIBOBJS=$gltests_ltlibobjs
59866
59867
59868 if test -z "${WOE32DLL_TRUE}" && test -z "${WOE32DLL_FALSE}"; then
59869   as_fn_error $? "conditional \"WOE32DLL\" was never defined.
59870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59871 fi
59872
59873 : "${CONFIG_STATUS=./config.status}"
59874 ac_write_fail=0
59875 ac_clean_files_save=$ac_clean_files
59876 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59878 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59879 as_write_fail=0
59880 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59881 #! $SHELL
59882 # Generated by $as_me.
59883 # Run this file to recreate the current configuration.
59884 # Compiler output produced by configure, useful for debugging
59885 # configure, is in config.log if it exists.
59886
59887 debug=false
59888 ac_cs_recheck=false
59889 ac_cs_silent=false
59890
59891 SHELL=\${CONFIG_SHELL-$SHELL}
59892 export SHELL
59893 _ASEOF
59894 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59895 ## -------------------- ##
59896 ## M4sh Initialization. ##
59897 ## -------------------- ##
59898
59899 # Be more Bourne compatible
59900 DUALCASE=1; export DUALCASE # for MKS sh
59901 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59902   emulate sh
59903   NULLCMD=:
59904   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59905   # is contrary to our usage.  Disable this feature.
59906   alias -g '${1+"$@"}'='"$@"'
59907   setopt NO_GLOB_SUBST
59908 else
59909   case `(set -o) 2>/dev/null` in #(
59910   *posix*) :
59911     set -o posix ;; #(
59912   *) :
59913      ;;
59914 esac
59915 fi
59916
59917
59918 as_nl='
59919 '
59920 export as_nl
59921 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59922 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59924 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59925 # Prefer a ksh shell builtin over an external printf program on Solaris,
59926 # but without wasting forks for bash or zsh.
59927 if test -z "$BASH_VERSION$ZSH_VERSION" \
59928     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59929   as_echo='print -r --'
59930   as_echo_n='print -rn --'
59931 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59932   as_echo='printf %s\n'
59933   as_echo_n='printf %s'
59934 else
59935   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59936     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59937     as_echo_n='/usr/ucb/echo -n'
59938   else
59939     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59940     as_echo_n_body='eval
59941       arg=$1;
59942       case $arg in #(
59943       *"$as_nl"*)
59944         expr "X$arg" : "X\\(.*\\)$as_nl";
59945         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59946       esac;
59947       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59948     '
59949     export as_echo_n_body
59950     as_echo_n='sh -c $as_echo_n_body as_echo'
59951   fi
59952   export as_echo_body
59953   as_echo='sh -c $as_echo_body as_echo'
59954 fi
59955
59956 # The user is always right.
59957 if test "${PATH_SEPARATOR+set}" != set; then
59958   PATH_SEPARATOR=:
59959   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59960     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59961       PATH_SEPARATOR=';'
59962   }
59963 fi
59964
59965
59966 # IFS
59967 # We need space, tab and new line, in precisely that order.  Quoting is
59968 # there to prevent editors from complaining about space-tab.
59969 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59970 # splitting by setting IFS to empty value.)
59971 IFS=" ""        $as_nl"
59972
59973 # Find who we are.  Look in the path if we contain no directory separator.
59974 as_myself=
59975 case $0 in #((
59976   *[\\/]* ) as_myself=$0 ;;
59977   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59978 for as_dir in $PATH
59979 do
59980   IFS=$as_save_IFS
59981   test -z "$as_dir" && as_dir=.
59982     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59983   done
59984 IFS=$as_save_IFS
59985
59986      ;;
59987 esac
59988 # We did not find ourselves, most probably we were run as `sh COMMAND'
59989 # in which case we are not to be found in the path.
59990 if test "x$as_myself" = x; then
59991   as_myself=$0
59992 fi
59993 if test ! -f "$as_myself"; then
59994   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59995   exit 1
59996 fi
59997
59998 # Unset variables that we do not need and which cause bugs (e.g. in
59999 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
60000 # suppresses any "Segmentation fault" message there.  '((' could
60001 # trigger a bug in pdksh 5.2.14.
60002 for as_var in BASH_ENV ENV MAIL MAILPATH
60003 do eval test x\${$as_var+set} = xset \
60004   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
60005 done
60006 PS1='$ '
60007 PS2='> '
60008 PS4='+ '
60009
60010 # NLS nuisances.
60011 LC_ALL=C
60012 export LC_ALL
60013 LANGUAGE=C
60014 export LANGUAGE
60015
60016 # CDPATH.
60017 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60018
60019
60020 # as_fn_error STATUS ERROR [LINENO LOG_FD]
60021 # ----------------------------------------
60022 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
60023 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
60024 # script with STATUS, using 1 if that was 0.
60025 as_fn_error ()
60026 {
60027   as_status=$1; test $as_status -eq 0 && as_status=1
60028   if test "$4"; then
60029     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
60030     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
60031   fi
60032   $as_echo "$as_me: error: $2" >&2
60033   as_fn_exit $as_status
60034 } # as_fn_error
60035
60036
60037 # as_fn_set_status STATUS
60038 # -----------------------
60039 # Set $? to STATUS, without forking.
60040 as_fn_set_status ()
60041 {
60042   return $1
60043 } # as_fn_set_status
60044
60045 # as_fn_exit STATUS
60046 # -----------------
60047 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
60048 as_fn_exit ()
60049 {
60050   set +e
60051   as_fn_set_status $1
60052   exit $1
60053 } # as_fn_exit
60054
60055 # as_fn_unset VAR
60056 # ---------------
60057 # Portably unset VAR.
60058 as_fn_unset ()
60059 {
60060   { eval $1=; unset $1;}
60061 }
60062 as_unset=as_fn_unset
60063 # as_fn_append VAR VALUE
60064 # ----------------------
60065 # Append the text in VALUE to the end of the definition contained in VAR. Take
60066 # advantage of any shell optimizations that allow amortized linear growth over
60067 # repeated appends, instead of the typical quadratic growth present in naive
60068 # implementations.
60069 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
60070   eval 'as_fn_append ()
60071   {
60072     eval $1+=\$2
60073   }'
60074 else
60075   as_fn_append ()
60076   {
60077     eval $1=\$$1\$2
60078   }
60079 fi # as_fn_append
60080
60081 # as_fn_arith ARG...
60082 # ------------------
60083 # Perform arithmetic evaluation on the ARGs, and store the result in the
60084 # global $as_val. Take advantage of shells that can avoid forks. The arguments
60085 # must be portable across $(()) and expr.
60086 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
60087   eval 'as_fn_arith ()
60088   {
60089     as_val=$(( $* ))
60090   }'
60091 else
60092   as_fn_arith ()
60093   {
60094     as_val=`expr "$@" || test $? -eq 1`
60095   }
60096 fi # as_fn_arith
60097
60098
60099 if expr a : '\(a\)' >/dev/null 2>&1 &&
60100    test "X`expr 00001 : '.*\(...\)'`" = X001; then
60101   as_expr=expr
60102 else
60103   as_expr=false
60104 fi
60105
60106 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
60107   as_basename=basename
60108 else
60109   as_basename=false
60110 fi
60111
60112 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
60113   as_dirname=dirname
60114 else
60115   as_dirname=false
60116 fi
60117
60118 as_me=`$as_basename -- "$0" ||
60119 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
60120          X"$0" : 'X\(//\)$' \| \
60121          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
60122 $as_echo X/"$0" |
60123     sed '/^.*\/\([^/][^/]*\)\/*$/{
60124             s//\1/
60125             q
60126           }
60127           /^X\/\(\/\/\)$/{
60128             s//\1/
60129             q
60130           }
60131           /^X\/\(\/\).*/{
60132             s//\1/
60133             q
60134           }
60135           s/.*/./; q'`
60136
60137 # Avoid depending upon Character Ranges.
60138 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
60139 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
60140 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
60141 as_cr_digits='0123456789'
60142 as_cr_alnum=$as_cr_Letters$as_cr_digits
60143
60144 ECHO_C= ECHO_N= ECHO_T=
60145 case `echo -n x` in #(((((
60146 -n*)
60147   case `echo 'xy\c'` in
60148   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
60149   xy)  ECHO_C='\c';;
60150   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
60151        ECHO_T=' ';;
60152   esac;;
60153 *)
60154   ECHO_N='-n';;
60155 esac
60156
60157 rm -f conf$$ conf$$.exe conf$$.file
60158 if test -d conf$$.dir; then
60159   rm -f conf$$.dir/conf$$.file
60160 else
60161   rm -f conf$$.dir
60162   mkdir conf$$.dir 2>/dev/null
60163 fi
60164 if (echo >conf$$.file) 2>/dev/null; then
60165   if ln -s conf$$.file conf$$ 2>/dev/null; then
60166     as_ln_s='ln -s'
60167     # ... but there are two gotchas:
60168     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
60169     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
60170     # In both cases, we have to default to `cp -pR'.
60171     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
60172       as_ln_s='cp -pR'
60173   elif ln conf$$.file conf$$ 2>/dev/null; then
60174     as_ln_s=ln
60175   else
60176     as_ln_s='cp -pR'
60177   fi
60178 else
60179   as_ln_s='cp -pR'
60180 fi
60181 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
60182 rmdir conf$$.dir 2>/dev/null
60183
60184
60185 # as_fn_mkdir_p
60186 # -------------
60187 # Create "$as_dir" as a directory, including parents if necessary.
60188 as_fn_mkdir_p ()
60189 {
60190
60191   case $as_dir in #(
60192   -*) as_dir=./$as_dir;;
60193   esac
60194   test -d "$as_dir" || eval $as_mkdir_p || {
60195     as_dirs=
60196     while :; do
60197       case $as_dir in #(
60198       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
60199       *) as_qdir=$as_dir;;
60200       esac
60201       as_dirs="'$as_qdir' $as_dirs"
60202       as_dir=`$as_dirname -- "$as_dir" ||
60203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60204          X"$as_dir" : 'X\(//\)[^/]' \| \
60205          X"$as_dir" : 'X\(//\)$' \| \
60206          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
60207 $as_echo X"$as_dir" |
60208     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60209             s//\1/
60210             q
60211           }
60212           /^X\(\/\/\)[^/].*/{
60213             s//\1/
60214             q
60215           }
60216           /^X\(\/\/\)$/{
60217             s//\1/
60218             q
60219           }
60220           /^X\(\/\).*/{
60221             s//\1/
60222             q
60223           }
60224           s/.*/./; q'`
60225       test -d "$as_dir" && break
60226     done
60227     test -z "$as_dirs" || eval "mkdir $as_dirs"
60228   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
60229
60230
60231 } # as_fn_mkdir_p
60232 if mkdir -p . 2>/dev/null; then
60233   as_mkdir_p='mkdir -p "$as_dir"'
60234 else
60235   test -d ./-p && rmdir ./-p
60236   as_mkdir_p=false
60237 fi
60238
60239
60240 # as_fn_executable_p FILE
60241 # -----------------------
60242 # Test if FILE is an executable regular file.
60243 as_fn_executable_p ()
60244 {
60245   test -f "$1" && test -x "$1"
60246 } # as_fn_executable_p
60247 as_test_x='test -x'
60248 as_executable_p=as_fn_executable_p
60249
60250 # Sed expression to map a string onto a valid CPP name.
60251 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
60252
60253 # Sed expression to map a string onto a valid variable name.
60254 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
60255
60256
60257 exec 6>&1
60258 ## ----------------------------------- ##
60259 ## Main body of $CONFIG_STATUS script. ##
60260 ## ----------------------------------- ##
60261 _ASEOF
60262 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
60263
60264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60265 # Save the log message, to keep $0 and so on meaningful, and to
60266 # report actual input values of CONFIG_FILES etc. instead of their
60267 # values after options handling.
60268 ac_log="
60269 This file was extended by $as_me, which was
60270 generated by GNU Autoconf 2.69.  Invocation command line was
60271
60272   CONFIG_FILES    = $CONFIG_FILES
60273   CONFIG_HEADERS  = $CONFIG_HEADERS
60274   CONFIG_LINKS    = $CONFIG_LINKS
60275   CONFIG_COMMANDS = $CONFIG_COMMANDS
60276   $ $0 $@
60277
60278 on `(hostname || uname -n) 2>/dev/null | sed 1q`
60279 "
60280
60281 _ACEOF
60282
60283 case $ac_config_files in *"
60284 "*) set x $ac_config_files; shift; ac_config_files=$*;;
60285 esac
60286
60287 case $ac_config_headers in *"
60288 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
60289 esac
60290
60291
60292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60293 # Files that config.status was made for.
60294 config_files="$ac_config_files"
60295 config_headers="$ac_config_headers"
60296 config_commands="$ac_config_commands"
60297
60298 _ACEOF
60299
60300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60301 ac_cs_usage="\
60302 \`$as_me' instantiates files and other configuration actions
60303 from templates according to the current configuration.  Unless the files
60304 and actions are specified as TAGs, all are instantiated by default.
60305
60306 Usage: $0 [OPTION]... [TAG]...
60307
60308   -h, --help       print this help, then exit
60309   -V, --version    print version number and configuration settings, then exit
60310       --config     print configuration, then exit
60311   -q, --quiet, --silent
60312                    do not print progress messages
60313   -d, --debug      don't remove temporary files
60314       --recheck    update $as_me by reconfiguring in the same conditions
60315       --file=FILE[:TEMPLATE]
60316                    instantiate the configuration file FILE
60317       --header=FILE[:TEMPLATE]
60318                    instantiate the configuration header FILE
60319
60320 Configuration files:
60321 $config_files
60322
60323 Configuration headers:
60324 $config_headers
60325
60326 Configuration commands:
60327 $config_commands
60328
60329 Report bugs to the package provider."
60330
60331 _ACEOF
60332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60333 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
60334 ac_cs_version="\\
60335 config.status
60336 configured by $0, generated by GNU Autoconf 2.69,
60337   with options \\"\$ac_cs_config\\"
60338
60339 Copyright (C) 2012 Free Software Foundation, Inc.
60340 This config.status script is free software; the Free Software Foundation
60341 gives unlimited permission to copy, distribute and modify it."
60342
60343 ac_pwd='$ac_pwd'
60344 srcdir='$srcdir'
60345 INSTALL='$INSTALL'
60346 MKDIR_P='$MKDIR_P'
60347 AWK='$AWK'
60348 test -n "\$AWK" || AWK=awk
60349 _ACEOF
60350
60351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60352 # The default lists apply if the user does not specify any file.
60353 ac_need_defaults=:
60354 while test $# != 0
60355 do
60356   case $1 in
60357   --*=?*)
60358     ac_option=`expr "X$1" : 'X\([^=]*\)='`
60359     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60360     ac_shift=:
60361     ;;
60362   --*=)
60363     ac_option=`expr "X$1" : 'X\([^=]*\)='`
60364     ac_optarg=
60365     ac_shift=:
60366     ;;
60367   *)
60368     ac_option=$1
60369     ac_optarg=$2
60370     ac_shift=shift
60371     ;;
60372   esac
60373
60374   case $ac_option in
60375   # Handling of the options.
60376   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60377     ac_cs_recheck=: ;;
60378   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60379     $as_echo "$ac_cs_version"; exit ;;
60380   --config | --confi | --conf | --con | --co | --c )
60381     $as_echo "$ac_cs_config"; exit ;;
60382   --debug | --debu | --deb | --de | --d | -d )
60383     debug=: ;;
60384   --file | --fil | --fi | --f )
60385     $ac_shift
60386     case $ac_optarg in
60387     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60388     '') as_fn_error $? "missing file argument" ;;
60389     esac
60390     as_fn_append CONFIG_FILES " '$ac_optarg'"
60391     ac_need_defaults=false;;
60392   --header | --heade | --head | --hea )
60393     $ac_shift
60394     case $ac_optarg in
60395     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60396     esac
60397     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60398     ac_need_defaults=false;;
60399   --he | --h)
60400     # Conflict between --help and --header
60401     as_fn_error $? "ambiguous option: \`$1'
60402 Try \`$0 --help' for more information.";;
60403   --help | --hel | -h )
60404     $as_echo "$ac_cs_usage"; exit ;;
60405   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60406   | -silent | --silent | --silen | --sile | --sil | --si | --s)
60407     ac_cs_silent=: ;;
60408
60409   # This is an error.
60410   -*) as_fn_error $? "unrecognized option: \`$1'
60411 Try \`$0 --help' for more information." ;;
60412
60413   *) as_fn_append ac_config_targets " $1"
60414      ac_need_defaults=false ;;
60415
60416   esac
60417   shift
60418 done
60419
60420 ac_configure_extra_args=
60421
60422 if $ac_cs_silent; then
60423   exec 6>/dev/null
60424   ac_configure_extra_args="$ac_configure_extra_args --silent"
60425 fi
60426
60427 _ACEOF
60428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60429 if \$ac_cs_recheck; then
60430   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60431   shift
60432   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60433   CONFIG_SHELL='$SHELL'
60434   export CONFIG_SHELL
60435   exec "\$@"
60436 fi
60437
60438 _ACEOF
60439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60440 exec 5>>config.log
60441 {
60442   echo
60443   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60444 ## Running $as_me. ##
60445 _ASBOX
60446   $as_echo "$ac_log"
60447 } >&5
60448
60449 _ACEOF
60450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60451 #
60452 # INIT-COMMANDS
60453 #
60454 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
60455
60456
60457 # The HP-UX ksh and POSIX shell print the target directory to stdout
60458 # if CDPATH is set.
60459 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60460
60461 sed_quote_subst='$sed_quote_subst'
60462 double_quote_subst='$double_quote_subst'
60463 delay_variable_subst='$delay_variable_subst'
60464 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60465 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60466 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
60467 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
60468 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60469 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60470 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60471 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60472 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60473 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60474 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60475 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
60476 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60477 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60478 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60479 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60480 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60481 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60482 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60483 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60484 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60485 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60486 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60487 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60488 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60489 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60490 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60491 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60492 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60493 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60494 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60495 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60496 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
60497 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
60498 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60499 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60500 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60501 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60502 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
60503 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
60504 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
60505 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60506 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60507 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
60508 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60509 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60510 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60511 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60512 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60513 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60514 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60515 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60516 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60517 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60518 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60519 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60520 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60521 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"`'
60522 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
60523 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
60524 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60525 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60526 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60527 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60528 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60529 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60530 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60531 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60532 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
60533 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60534 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60535 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60536 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60537 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60538 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60539 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60540 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60541 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60542 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60543 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60544 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60545 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60546 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60547 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60548 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60549 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60550 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60551 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60552 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60553 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60554 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60555 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60556 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60557 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60558 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60559 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60560 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60561 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60562 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60563 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60564 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60565 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60566 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60567 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60568 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60569 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
60570 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60571 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60572 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60573 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60574 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60575 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60576 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60577 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60578 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60579 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60580 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60581 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60582 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60583 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60584 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60585 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60586 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60587 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60588 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60589 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60590 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60591 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60592 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60593 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60594 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60595 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
60596 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
60597 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
60598 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
60599 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
60600 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
60601 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
60602 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
60603 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
60604 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
60605 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
60606 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
60607 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
60608 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
60609 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
60610 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
60611 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
60612 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
60613 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
60614 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
60615 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
60616 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
60617 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
60618 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
60619 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
60620 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
60621 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
60622 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
60623 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
60624 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
60625 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
60626 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
60627 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
60628 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
60629 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
60630 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
60631 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
60632 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
60633 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
60634 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
60635 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
60636 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
60637
60638 LTCC='$LTCC'
60639 LTCFLAGS='$LTCFLAGS'
60640 compiler='$compiler_DEFAULT'
60641
60642 # A function that is used when there is no print builtin or printf.
60643 func_fallback_echo ()
60644 {
60645   eval 'cat <<_LTECHO_EOF
60646 \$1
60647 _LTECHO_EOF'
60648 }
60649
60650 # Quote evaled strings.
60651 for var in AS \
60652 DLLTOOL \
60653 OBJDUMP \
60654 SHELL \
60655 ECHO \
60656 PATH_SEPARATOR \
60657 SED \
60658 GREP \
60659 EGREP \
60660 FGREP \
60661 LD \
60662 NM \
60663 LN_S \
60664 lt_SP2NL \
60665 lt_NL2SP \
60666 reload_flag \
60667 deplibs_check_method \
60668 file_magic_cmd \
60669 file_magic_glob \
60670 want_nocaseglob \
60671 sharedlib_from_linklib_cmd \
60672 AR \
60673 AR_FLAGS \
60674 archiver_list_spec \
60675 STRIP \
60676 RANLIB \
60677 CC \
60678 CFLAGS \
60679 compiler \
60680 lt_cv_sys_global_symbol_pipe \
60681 lt_cv_sys_global_symbol_to_cdecl \
60682 lt_cv_sys_global_symbol_to_c_name_address \
60683 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60684 nm_file_list_spec \
60685 lt_prog_compiler_no_builtin_flag \
60686 lt_prog_compiler_pic \
60687 lt_prog_compiler_wl \
60688 lt_prog_compiler_static \
60689 lt_cv_prog_compiler_c_o \
60690 need_locks \
60691 MANIFEST_TOOL \
60692 DSYMUTIL \
60693 NMEDIT \
60694 LIPO \
60695 OTOOL \
60696 OTOOL64 \
60697 shrext_cmds \
60698 export_dynamic_flag_spec \
60699 whole_archive_flag_spec \
60700 compiler_needs_object \
60701 with_gnu_ld \
60702 allow_undefined_flag \
60703 no_undefined_flag \
60704 hardcode_libdir_flag_spec \
60705 hardcode_libdir_separator \
60706 exclude_expsyms \
60707 include_expsyms \
60708 file_list_spec \
60709 variables_saved_for_relink \
60710 libname_spec \
60711 library_names_spec \
60712 soname_spec \
60713 install_override_mode \
60714 finish_eval \
60715 old_striplib \
60716 striplib \
60717 LD_RC \
60718 reload_flag_RC \
60719 compiler_RC \
60720 lt_prog_compiler_no_builtin_flag_RC \
60721 lt_prog_compiler_pic_RC \
60722 lt_prog_compiler_wl_RC \
60723 lt_prog_compiler_static_RC \
60724 lt_cv_prog_compiler_c_o_RC \
60725 export_dynamic_flag_spec_RC \
60726 whole_archive_flag_spec_RC \
60727 compiler_needs_object_RC \
60728 with_gnu_ld_RC \
60729 allow_undefined_flag_RC \
60730 no_undefined_flag_RC \
60731 hardcode_libdir_flag_spec_RC \
60732 hardcode_libdir_separator_RC \
60733 exclude_expsyms_RC \
60734 include_expsyms_RC \
60735 file_list_spec_RC; do
60736     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60737     *[\\\\\\\`\\"\\\$]*)
60738       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60739       ;;
60740     *)
60741       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60742       ;;
60743     esac
60744 done
60745
60746 # Double-quote double-evaled strings.
60747 for var in reload_cmds \
60748 old_postinstall_cmds \
60749 old_postuninstall_cmds \
60750 old_archive_cmds \
60751 extract_expsyms_cmds \
60752 old_archive_from_new_cmds \
60753 old_archive_from_expsyms_cmds \
60754 archive_cmds \
60755 archive_expsym_cmds \
60756 module_cmds \
60757 module_expsym_cmds \
60758 export_symbols_cmds \
60759 prelink_cmds \
60760 postlink_cmds \
60761 postinstall_cmds \
60762 postuninstall_cmds \
60763 finish_cmds \
60764 sys_lib_search_path_spec \
60765 sys_lib_dlsearch_path_spec \
60766 reload_cmds_RC \
60767 old_archive_cmds_RC \
60768 old_archive_from_new_cmds_RC \
60769 old_archive_from_expsyms_cmds_RC \
60770 archive_cmds_RC \
60771 archive_expsym_cmds_RC \
60772 module_cmds_RC \
60773 module_expsym_cmds_RC \
60774 export_symbols_cmds_RC \
60775 prelink_cmds_RC \
60776 postlink_cmds_RC; do
60777     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60778     *[\\\\\\\`\\"\\\$]*)
60779       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60780       ;;
60781     *)
60782       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60783       ;;
60784     esac
60785 done
60786
60787 ac_aux_dir='$ac_aux_dir'
60788 xsi_shell='$xsi_shell'
60789 lt_shell_append='$lt_shell_append'
60790
60791 # See if we are running on zsh, and set the options which allow our
60792 # commands through without removal of \ escapes INIT.
60793 if test -n "\${ZSH_VERSION+set}" ; then
60794    setopt NO_GLOB_SUBST
60795 fi
60796
60797
60798     PACKAGE='$PACKAGE'
60799     VERSION='$VERSION'
60800     TIMESTAMP='$TIMESTAMP'
60801     RM='$RM'
60802     ofile='$ofile'
60803
60804
60805
60806
60807
60808
60809 _ACEOF
60810
60811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60812
60813 # Handling of arguments.
60814 for ac_config_target in $ac_config_targets
60815 do
60816   case $ac_config_target in
60817     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60818     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
60819     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60820     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60821     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60822     "gnulib-local/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib-local/Makefile" ;;
60823     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
60824     "lib/exported.sh") CONFIG_FILES="$CONFIG_FILES lib/exported.sh" ;;
60825     "lib/unistring/version.h") CONFIG_FILES="$CONFIG_FILES lib/unistring/version.h:lib/unistring/version.in.h" ;;
60826     "lib/unistring/woe32dll.h") CONFIG_FILES="$CONFIG_FILES lib/unistring/woe32dll.h:lib/unistring/woe32dll.in.h" ;;
60827     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
60828
60829   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60830   esac
60831 done
60832
60833
60834 # If the user did not use the arguments to specify the items to instantiate,
60835 # then the envvar interface is used.  Set only those that are not.
60836 # We use the long form for the default assignment because of an extremely
60837 # bizarre bug on SunOS 4.1.3.
60838 if $ac_need_defaults; then
60839   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60840   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60841   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60842 fi
60843
60844 # Have a temporary directory for convenience.  Make it in the build tree
60845 # simply because there is no reason against having it here, and in addition,
60846 # creating and moving files from /tmp can sometimes cause problems.
60847 # Hook for its removal unless debugging.
60848 # Note that there is a small window in which the directory will not be cleaned:
60849 # after its creation but before its name has been assigned to `$tmp'.
60850 $debug ||
60851 {
60852   tmp= ac_tmp=
60853   trap 'exit_status=$?
60854   : "${ac_tmp:=$tmp}"
60855   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
60856 ' 0
60857   trap 'as_fn_exit 1' 1 2 13 15
60858 }
60859 # Create a (secure) tmp directory for tmp files.
60860
60861 {
60862   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60863   test -d "$tmp"
60864 }  ||
60865 {
60866   tmp=./conf$$-$RANDOM
60867   (umask 077 && mkdir "$tmp")
60868 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
60869 ac_tmp=$tmp
60870
60871 # Set up the scripts for CONFIG_FILES section.
60872 # No need to generate them if there are no CONFIG_FILES.
60873 # This happens for instance with `./config.status config.h'.
60874 if test -n "$CONFIG_FILES"; then
60875
60876
60877 ac_cr=`echo X | tr X '\015'`
60878 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60879 # But we know of no other shell where ac_cr would be empty at this
60880 # point, so we can use a bashism as a fallback.
60881 if test "x$ac_cr" = x; then
60882   eval ac_cr=\$\'\\r\'
60883 fi
60884 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60885 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60886   ac_cs_awk_cr='\\r'
60887 else
60888   ac_cs_awk_cr=$ac_cr
60889 fi
60890
60891 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
60892 _ACEOF
60893
60894
60895 {
60896   echo "cat >conf$$subs.awk <<_ACEOF" &&
60897   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60898   echo "_ACEOF"
60899 } >conf$$subs.sh ||
60900   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
60901 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
60902 ac_delim='%!_!# '
60903 for ac_last_try in false false false false false :; do
60904   . ./conf$$subs.sh ||
60905     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
60906
60907   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60908   if test $ac_delim_n = $ac_delim_num; then
60909     break
60910   elif $ac_last_try; then
60911     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
60912   else
60913     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60914   fi
60915 done
60916 rm -f conf$$subs.sh
60917
60918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60919 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
60920 _ACEOF
60921 sed -n '
60922 h
60923 s/^/S["/; s/!.*/"]=/
60924 p
60925 g
60926 s/^[^!]*!//
60927 :repl
60928 t repl
60929 s/'"$ac_delim"'$//
60930 t delim
60931 :nl
60932 h
60933 s/\(.\{148\}\)..*/\1/
60934 t more1
60935 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60936 p
60937 n
60938 b repl
60939 :more1
60940 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60941 p
60942 g
60943 s/.\{148\}//
60944 t nl
60945 :delim
60946 h
60947 s/\(.\{148\}\)..*/\1/
60948 t more2
60949 s/["\\]/\\&/g; s/^/"/; s/$/"/
60950 p
60951 b
60952 :more2
60953 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60954 p
60955 g
60956 s/.\{148\}//
60957 t delim
60958 ' <conf$$subs.awk | sed '
60959 /^[^""]/{
60960   N
60961   s/\n//
60962 }
60963 ' >>$CONFIG_STATUS || ac_write_fail=1
60964 rm -f conf$$subs.awk
60965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60966 _ACAWK
60967 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
60968   for (key in S) S_is_set[key] = 1
60969   FS = "\a"
60970
60971 }
60972 {
60973   line = $ 0
60974   nfields = split(line, field, "@")
60975   substed = 0
60976   len = length(field[1])
60977   for (i = 2; i < nfields; i++) {
60978     key = field[i]
60979     keylen = length(key)
60980     if (S_is_set[key]) {
60981       value = S[key]
60982       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60983       len += length(value) + length(field[++i])
60984       substed = 1
60985     } else
60986       len += 1 + keylen
60987   }
60988
60989   print line
60990 }
60991
60992 _ACAWK
60993 _ACEOF
60994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60995 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60996   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60997 else
60998   cat
60999 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
61000   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
61001 _ACEOF
61002
61003 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
61004 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
61005 # trailing colons and then remove the whole line if VPATH becomes empty
61006 # (actually we leave an empty line to preserve line numbers).
61007 if test "x$srcdir" = x.; then
61008   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
61009 h
61010 s///
61011 s/^/:/
61012 s/[      ]*$/:/
61013 s/:\$(srcdir):/:/g
61014 s/:\${srcdir}:/:/g
61015 s/:@srcdir@:/:/g
61016 s/^:*//
61017 s/:*$//
61018 x
61019 s/\(=[   ]*\).*/\1/
61020 G
61021 s/\n//
61022 s/^[^=]*=[       ]*$//
61023 }'
61024 fi
61025
61026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61027 fi # test -n "$CONFIG_FILES"
61028
61029 # Set up the scripts for CONFIG_HEADERS section.
61030 # No need to generate them if there are no CONFIG_HEADERS.
61031 # This happens for instance with `./config.status Makefile'.
61032 if test -n "$CONFIG_HEADERS"; then
61033 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
61034 BEGIN {
61035 _ACEOF
61036
61037 # Transform confdefs.h into an awk script `defines.awk', embedded as
61038 # here-document in config.status, that substitutes the proper values into
61039 # config.h.in to produce config.h.
61040
61041 # Create a delimiter string that does not exist in confdefs.h, to ease
61042 # handling of long lines.
61043 ac_delim='%!_!# '
61044 for ac_last_try in false false :; do
61045   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
61046   if test -z "$ac_tt"; then
61047     break
61048   elif $ac_last_try; then
61049     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
61050   else
61051     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
61052   fi
61053 done
61054
61055 # For the awk script, D is an array of macro values keyed by name,
61056 # likewise P contains macro parameters if any.  Preserve backslash
61057 # newline sequences.
61058
61059 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
61060 sed -n '
61061 s/.\{148\}/&'"$ac_delim"'/g
61062 t rset
61063 :rset
61064 s/^[     ]*#[    ]*define[       ][      ]*/ /
61065 t def
61066 d
61067 :def
61068 s/\\$//
61069 t bsnl
61070 s/["\\]/\\&/g
61071 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
61072 D["\1"]=" \3"/p
61073 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
61074 d
61075 :bsnl
61076 s/["\\]/\\&/g
61077 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
61078 D["\1"]=" \3\\\\\\n"\\/p
61079 t cont
61080 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
61081 t cont
61082 d
61083 :cont
61084 n
61085 s/.\{148\}/&'"$ac_delim"'/g
61086 t clear
61087 :clear
61088 s/\\$//
61089 t bsnlc
61090 s/["\\]/\\&/g; s/^/"/; s/$/"/p
61091 d
61092 :bsnlc
61093 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
61094 b cont
61095 ' <confdefs.h | sed '
61096 s/'"$ac_delim"'/"\\\
61097 "/g' >>$CONFIG_STATUS || ac_write_fail=1
61098
61099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61100   for (key in D) D_is_set[key] = 1
61101   FS = "\a"
61102 }
61103 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
61104   line = \$ 0
61105   split(line, arg, " ")
61106   if (arg[1] == "#") {
61107     defundef = arg[2]
61108     mac1 = arg[3]
61109   } else {
61110     defundef = substr(arg[1], 2)
61111     mac1 = arg[2]
61112   }
61113   split(mac1, mac2, "(") #)
61114   macro = mac2[1]
61115   prefix = substr(line, 1, index(line, defundef) - 1)
61116   if (D_is_set[macro]) {
61117     # Preserve the white space surrounding the "#".
61118     print prefix "define", macro P[macro] D[macro]
61119     next
61120   } else {
61121     # Replace #undef with comments.  This is necessary, for example,
61122     # in the case of _POSIX_SOURCE, which is predefined and required
61123     # on some systems where configure will not decide to define it.
61124     if (defundef == "undef") {
61125       print "/*", prefix defundef, macro, "*/"
61126       next
61127     }
61128   }
61129 }
61130 { print }
61131 _ACAWK
61132 _ACEOF
61133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61134   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
61135 fi # test -n "$CONFIG_HEADERS"
61136
61137
61138 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
61139 shift
61140 for ac_tag
61141 do
61142   case $ac_tag in
61143   :[FHLC]) ac_mode=$ac_tag; continue;;
61144   esac
61145   case $ac_mode$ac_tag in
61146   :[FHL]*:*);;
61147   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
61148   :[FH]-) ac_tag=-:-;;
61149   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
61150   esac
61151   ac_save_IFS=$IFS
61152   IFS=:
61153   set x $ac_tag
61154   IFS=$ac_save_IFS
61155   shift
61156   ac_file=$1
61157   shift
61158
61159   case $ac_mode in
61160   :L) ac_source=$1;;
61161   :[FH])
61162     ac_file_inputs=
61163     for ac_f
61164     do
61165       case $ac_f in
61166       -) ac_f="$ac_tmp/stdin";;
61167       *) # Look for the file first in the build tree, then in the source tree
61168          # (if the path is not absolute).  The absolute path cannot be DOS-style,
61169          # because $ac_f cannot contain `:'.
61170          test -f "$ac_f" ||
61171            case $ac_f in
61172            [\\/$]*) false;;
61173            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
61174            esac ||
61175            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
61176       esac
61177       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
61178       as_fn_append ac_file_inputs " '$ac_f'"
61179     done
61180
61181     # Let's still pretend it is `configure' which instantiates (i.e., don't
61182     # use $as_me), people would be surprised to read:
61183     #    /* config.h.  Generated by config.status.  */
61184     configure_input='Generated from '`
61185           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
61186         `' by configure.'
61187     if test x"$ac_file" != x-; then
61188       configure_input="$ac_file.  $configure_input"
61189       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
61190 $as_echo "$as_me: creating $ac_file" >&6;}
61191     fi
61192     # Neutralize special characters interpreted by sed in replacement strings.
61193     case $configure_input in #(
61194     *\&* | *\|* | *\\* )
61195        ac_sed_conf_input=`$as_echo "$configure_input" |
61196        sed 's/[\\\\&|]/\\\\&/g'`;; #(
61197     *) ac_sed_conf_input=$configure_input;;
61198     esac
61199
61200     case $ac_tag in
61201     *:-:* | *:-) cat >"$ac_tmp/stdin" \
61202       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
61203     esac
61204     ;;
61205   esac
61206
61207   ac_dir=`$as_dirname -- "$ac_file" ||
61208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61209          X"$ac_file" : 'X\(//\)[^/]' \| \
61210          X"$ac_file" : 'X\(//\)$' \| \
61211          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
61212 $as_echo X"$ac_file" |
61213     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61214             s//\1/
61215             q
61216           }
61217           /^X\(\/\/\)[^/].*/{
61218             s//\1/
61219             q
61220           }
61221           /^X\(\/\/\)$/{
61222             s//\1/
61223             q
61224           }
61225           /^X\(\/\).*/{
61226             s//\1/
61227             q
61228           }
61229           s/.*/./; q'`
61230   as_dir="$ac_dir"; as_fn_mkdir_p
61231   ac_builddir=.
61232
61233 case "$ac_dir" in
61234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
61235 *)
61236   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
61237   # A ".." for each directory in $ac_dir_suffix.
61238   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
61239   case $ac_top_builddir_sub in
61240   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
61241   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
61242   esac ;;
61243 esac
61244 ac_abs_top_builddir=$ac_pwd
61245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
61246 # for backward compatibility:
61247 ac_top_builddir=$ac_top_build_prefix
61248
61249 case $srcdir in
61250   .)  # We are building in place.
61251     ac_srcdir=.
61252     ac_top_srcdir=$ac_top_builddir_sub
61253     ac_abs_top_srcdir=$ac_pwd ;;
61254   [\\/]* | ?:[\\/]* )  # Absolute name.
61255     ac_srcdir=$srcdir$ac_dir_suffix;
61256     ac_top_srcdir=$srcdir
61257     ac_abs_top_srcdir=$srcdir ;;
61258   *) # Relative name.
61259     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
61260     ac_top_srcdir=$ac_top_build_prefix$srcdir
61261     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
61262 esac
61263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
61264
61265
61266   case $ac_mode in
61267   :F)
61268   #
61269   # CONFIG_FILE
61270   #
61271
61272   case $INSTALL in
61273   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
61274   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
61275   esac
61276   ac_MKDIR_P=$MKDIR_P
61277   case $MKDIR_P in
61278   [\\/$]* | ?:[\\/]* ) ;;
61279   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
61280   esac
61281 _ACEOF
61282
61283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61284 # If the template does not know about datarootdir, expand it.
61285 # FIXME: This hack should be removed a few years after 2.60.
61286 ac_datarootdir_hack=; ac_datarootdir_seen=
61287 ac_sed_dataroot='
61288 /datarootdir/ {
61289   p
61290   q
61291 }
61292 /@datadir@/p
61293 /@docdir@/p
61294 /@infodir@/p
61295 /@localedir@/p
61296 /@mandir@/p'
61297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
61298 *datarootdir*) ac_datarootdir_seen=yes;;
61299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
61300   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
61301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
61302 _ACEOF
61303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61304   ac_datarootdir_hack='
61305   s&@datadir@&$datadir&g
61306   s&@docdir@&$docdir&g
61307   s&@infodir@&$infodir&g
61308   s&@localedir@&$localedir&g
61309   s&@mandir@&$mandir&g
61310   s&\\\${datarootdir}&$datarootdir&g' ;;
61311 esac
61312 _ACEOF
61313
61314 # Neutralize VPATH when `$srcdir' = `.'.
61315 # Shell code in configure.ac might set extrasub.
61316 # FIXME: do we really want to maintain this feature?
61317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61318 ac_sed_extra="$ac_vpsub
61319 $extrasub
61320 _ACEOF
61321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61322 :t
61323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
61324 s|@configure_input@|$ac_sed_conf_input|;t t
61325 s&@top_builddir@&$ac_top_builddir_sub&;t t
61326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
61327 s&@srcdir@&$ac_srcdir&;t t
61328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
61329 s&@top_srcdir@&$ac_top_srcdir&;t t
61330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
61331 s&@builddir@&$ac_builddir&;t t
61332 s&@abs_builddir@&$ac_abs_builddir&;t t
61333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
61334 s&@INSTALL@&$ac_INSTALL&;t t
61335 s&@MKDIR_P@&$ac_MKDIR_P&;t t
61336 $ac_datarootdir_hack
61337 "
61338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
61339   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61340
61341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61342   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
61343   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
61344       "$ac_tmp/out"`; test -z "$ac_out"; } &&
61345   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61346 which seems to be undefined.  Please make sure it is defined" >&5
61347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61348 which seems to be undefined.  Please make sure it is defined" >&2;}
61349
61350   rm -f "$ac_tmp/stdin"
61351   case $ac_file in
61352   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
61353   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
61354   esac \
61355   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61356  ;;
61357   :H)
61358   #
61359   # CONFIG_HEADER
61360   #
61361   if test x"$ac_file" != x-; then
61362     {
61363       $as_echo "/* $configure_input  */" \
61364       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
61365     } >"$ac_tmp/config.h" \
61366       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61367     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
61368       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61369 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61370     else
61371       rm -f "$ac_file"
61372       mv "$ac_tmp/config.h" "$ac_file" \
61373         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61374     fi
61375   else
61376     $as_echo "/* $configure_input  */" \
61377       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
61378       || as_fn_error $? "could not create -" "$LINENO" 5
61379   fi
61380 # Compute "$ac_file"'s index in $config_headers.
61381 _am_arg="$ac_file"
61382 _am_stamp_count=1
61383 for _am_header in $config_headers :; do
61384   case $_am_header in
61385     $_am_arg | $_am_arg:* )
61386       break ;;
61387     * )
61388       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61389   esac
61390 done
61391 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61392 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61393          X"$_am_arg" : 'X\(//\)[^/]' \| \
61394          X"$_am_arg" : 'X\(//\)$' \| \
61395          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61396 $as_echo X"$_am_arg" |
61397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61398             s//\1/
61399             q
61400           }
61401           /^X\(\/\/\)[^/].*/{
61402             s//\1/
61403             q
61404           }
61405           /^X\(\/\/\)$/{
61406             s//\1/
61407             q
61408           }
61409           /^X\(\/\).*/{
61410             s//\1/
61411             q
61412           }
61413           s/.*/./; q'`/stamp-h$_am_stamp_count
61414  ;;
61415
61416   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61417 $as_echo "$as_me: executing $ac_file commands" >&6;}
61418  ;;
61419   esac
61420
61421
61422   case $ac_file$ac_mode in
61423     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
61424   # Older Autoconf quotes --file arguments for eval, but not when files
61425   # are listed without --file.  Let's play safe and only enable the eval
61426   # if we detect the quoting.
61427   case $CONFIG_FILES in
61428   *\'*) eval set x "$CONFIG_FILES" ;;
61429   *)   set x $CONFIG_FILES ;;
61430   esac
61431   shift
61432   for mf
61433   do
61434     # Strip MF so we end up with the name of the file.
61435     mf=`echo "$mf" | sed -e 's/:.*$//'`
61436     # Check whether this is an Automake generated Makefile or not.
61437     # We used to match only the files named 'Makefile.in', but
61438     # some people rename them; so instead we look at the file content.
61439     # Grep'ing the first line is not enough: some people post-process
61440     # each Makefile.in and add a new line on top of each file to say so.
61441     # Grep'ing the whole file is not good either: AIX grep has a line
61442     # limit of 2048, but all sed's we know have understand at least 4000.
61443     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
61444       dirpart=`$as_dirname -- "$mf" ||
61445 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61446          X"$mf" : 'X\(//\)[^/]' \| \
61447          X"$mf" : 'X\(//\)$' \| \
61448          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
61449 $as_echo X"$mf" |
61450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61451             s//\1/
61452             q
61453           }
61454           /^X\(\/\/\)[^/].*/{
61455             s//\1/
61456             q
61457           }
61458           /^X\(\/\/\)$/{
61459             s//\1/
61460             q
61461           }
61462           /^X\(\/\).*/{
61463             s//\1/
61464             q
61465           }
61466           s/.*/./; q'`
61467     else
61468       continue
61469     fi
61470     # Extract the definition of DEPDIR, am__include, and am__quote
61471     # from the Makefile without running 'make'.
61472     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
61473     test -z "$DEPDIR" && continue
61474     am__include=`sed -n 's/^am__include = //p' < "$mf"`
61475     test -z "$am__include" && continue
61476     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
61477     # Find all dependency output files, they are included files with
61478     # $(DEPDIR) in their names.  We invoke sed twice because it is the
61479     # simplest approach to changing $(DEPDIR) to its actual value in the
61480     # expansion.
61481     for file in `sed -n "
61482       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
61483          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
61484       # Make sure the directory exists.
61485       test -f "$dirpart/$file" && continue
61486       fdir=`$as_dirname -- "$file" ||
61487 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61488          X"$file" : 'X\(//\)[^/]' \| \
61489          X"$file" : 'X\(//\)$' \| \
61490          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
61491 $as_echo X"$file" |
61492     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61493             s//\1/
61494             q
61495           }
61496           /^X\(\/\/\)[^/].*/{
61497             s//\1/
61498             q
61499           }
61500           /^X\(\/\/\)$/{
61501             s//\1/
61502             q
61503           }
61504           /^X\(\/\).*/{
61505             s//\1/
61506             q
61507           }
61508           s/.*/./; q'`
61509       as_dir=$dirpart/$fdir; as_fn_mkdir_p
61510       # echo "creating $dirpart/$file"
61511       echo '# dummy' > "$dirpart/$file"
61512     done
61513   done
61514 }
61515  ;;
61516     "libtool":C)
61517
61518     # See if we are running on zsh, and set the options which allow our
61519     # commands through without removal of \ escapes.
61520     if test -n "${ZSH_VERSION+set}" ; then
61521       setopt NO_GLOB_SUBST
61522     fi
61523
61524     cfgfile="${ofile}T"
61525     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61526     $RM "$cfgfile"
61527
61528     cat <<_LT_EOF >> "$cfgfile"
61529 #! $SHELL
61530
61531 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61532 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61533 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61534 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61535 #
61536 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61537 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
61538 #                 Foundation, Inc.
61539 #   Written by Gordon Matzigkeit, 1996
61540 #
61541 #   This file is part of GNU Libtool.
61542 #
61543 # GNU Libtool is free software; you can redistribute it and/or
61544 # modify it under the terms of the GNU General Public License as
61545 # published by the Free Software Foundation; either version 2 of
61546 # the License, or (at your option) any later version.
61547 #
61548 # As a special exception to the GNU General Public License,
61549 # if you distribute this file as part of a program or library that
61550 # is built using GNU Libtool, you may include this file under the
61551 # same distribution terms that you use for the rest of that program.
61552 #
61553 # GNU Libtool is distributed in the hope that it will be useful,
61554 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61555 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
61556 # GNU General Public License for more details.
61557 #
61558 # You should have received a copy of the GNU General Public License
61559 # along with GNU Libtool; see the file COPYING.  If not, a copy
61560 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61561 # obtained by writing to the Free Software Foundation, Inc.,
61562 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61563
61564
61565 # The names of the tagged configurations supported by this script.
61566 available_tags="RC "
61567
61568 # ### BEGIN LIBTOOL CONFIG
61569
61570 # Which release of libtool.m4 was used?
61571 macro_version=$macro_version
61572 macro_revision=$macro_revision
61573
61574 # Assembler program.
61575 AS=$lt_AS
61576
61577 # DLL creation program.
61578 DLLTOOL=$lt_DLLTOOL
61579
61580 # Object dumper program.
61581 OBJDUMP=$lt_OBJDUMP
61582
61583 # Whether or not to build shared libraries.
61584 build_libtool_libs=$enable_shared
61585
61586 # Whether or not to build static libraries.
61587 build_old_libs=$enable_static
61588
61589 # What type of objects to build.
61590 pic_mode=$pic_mode
61591
61592 # Whether or not to optimize for fast installation.
61593 fast_install=$enable_fast_install
61594
61595 # Shell to use when invoking shell scripts.
61596 SHELL=$lt_SHELL
61597
61598 # An echo program that protects backslashes.
61599 ECHO=$lt_ECHO
61600
61601 # The PATH separator for the build system.
61602 PATH_SEPARATOR=$lt_PATH_SEPARATOR
61603
61604 # The host system.
61605 host_alias=$host_alias
61606 host=$host
61607 host_os=$host_os
61608
61609 # The build system.
61610 build_alias=$build_alias
61611 build=$build
61612 build_os=$build_os
61613
61614 # A sed program that does not truncate output.
61615 SED=$lt_SED
61616
61617 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61618 Xsed="\$SED -e 1s/^X//"
61619
61620 # A grep program that handles long lines.
61621 GREP=$lt_GREP
61622
61623 # An ERE matcher.
61624 EGREP=$lt_EGREP
61625
61626 # A literal string matcher.
61627 FGREP=$lt_FGREP
61628
61629 # A BSD- or MS-compatible name lister.
61630 NM=$lt_NM
61631
61632 # Whether we need soft or hard links.
61633 LN_S=$lt_LN_S
61634
61635 # What is the maximum length of a command?
61636 max_cmd_len=$max_cmd_len
61637
61638 # Object file suffix (normally "o").
61639 objext=$ac_objext
61640
61641 # Executable file suffix (normally "").
61642 exeext=$exeext
61643
61644 # whether the shell understands "unset".
61645 lt_unset=$lt_unset
61646
61647 # turn spaces into newlines.
61648 SP2NL=$lt_lt_SP2NL
61649
61650 # turn newlines into spaces.
61651 NL2SP=$lt_lt_NL2SP
61652
61653 # convert \$build file names to \$host format.
61654 to_host_file_cmd=$lt_cv_to_host_file_cmd
61655
61656 # convert \$build files to toolchain format.
61657 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
61658
61659 # Method to check whether dependent libraries are shared objects.
61660 deplibs_check_method=$lt_deplibs_check_method
61661
61662 # Command to use when deplibs_check_method = "file_magic".
61663 file_magic_cmd=$lt_file_magic_cmd
61664
61665 # How to find potential files when deplibs_check_method = "file_magic".
61666 file_magic_glob=$lt_file_magic_glob
61667
61668 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
61669 want_nocaseglob=$lt_want_nocaseglob
61670
61671 # Command to associate shared and link libraries.
61672 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
61673
61674 # The archiver.
61675 AR=$lt_AR
61676
61677 # Flags to create an archive.
61678 AR_FLAGS=$lt_AR_FLAGS
61679
61680 # How to feed a file listing to the archiver.
61681 archiver_list_spec=$lt_archiver_list_spec
61682
61683 # A symbol stripping program.
61684 STRIP=$lt_STRIP
61685
61686 # Commands used to install an old-style archive.
61687 RANLIB=$lt_RANLIB
61688 old_postinstall_cmds=$lt_old_postinstall_cmds
61689 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61690
61691 # Whether to use a lock for old archive extraction.
61692 lock_old_archive_extraction=$lock_old_archive_extraction
61693
61694 # A C compiler.
61695 LTCC=$lt_CC
61696
61697 # LTCC compiler flags.
61698 LTCFLAGS=$lt_CFLAGS
61699
61700 # Take the output of nm and produce a listing of raw symbols and C names.
61701 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61702
61703 # Transform the output of nm in a proper C declaration.
61704 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61705
61706 # Transform the output of nm in a C name address pair.
61707 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61708
61709 # Transform the output of nm in a C name address pair when lib prefix is needed.
61710 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61711
61712 # Specify filename containing input files for \$NM.
61713 nm_file_list_spec=$lt_nm_file_list_spec
61714
61715 # The root where to search for dependent libraries,and in which our libraries should be installed.
61716 lt_sysroot=$lt_sysroot
61717
61718 # The name of the directory that contains temporary libtool files.
61719 objdir=$objdir
61720
61721 # Used to examine libraries when file_magic_cmd begins with "file".
61722 MAGIC_CMD=$MAGIC_CMD
61723
61724 # Must we lock files when doing compilation?
61725 need_locks=$lt_need_locks
61726
61727 # Manifest tool.
61728 MANIFEST_TOOL=$lt_MANIFEST_TOOL
61729
61730 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61731 DSYMUTIL=$lt_DSYMUTIL
61732
61733 # Tool to change global to local symbols on Mac OS X.
61734 NMEDIT=$lt_NMEDIT
61735
61736 # Tool to manipulate fat objects and archives on Mac OS X.
61737 LIPO=$lt_LIPO
61738
61739 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61740 OTOOL=$lt_OTOOL
61741
61742 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61743 OTOOL64=$lt_OTOOL64
61744
61745 # Old archive suffix (normally "a").
61746 libext=$libext
61747
61748 # Shared library suffix (normally ".so").
61749 shrext_cmds=$lt_shrext_cmds
61750
61751 # The commands to extract the exported symbol list from a shared archive.
61752 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61753
61754 # Variables whose values should be saved in libtool wrapper scripts and
61755 # restored at link time.
61756 variables_saved_for_relink=$lt_variables_saved_for_relink
61757
61758 # Do we need the "lib" prefix for modules?
61759 need_lib_prefix=$need_lib_prefix
61760
61761 # Do we need a version for libraries?
61762 need_version=$need_version
61763
61764 # Library versioning type.
61765 version_type=$version_type
61766
61767 # Shared library runtime path variable.
61768 runpath_var=$runpath_var
61769
61770 # Shared library path variable.
61771 shlibpath_var=$shlibpath_var
61772
61773 # Is shlibpath searched before the hard-coded library search path?
61774 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61775
61776 # Format of library name prefix.
61777 libname_spec=$lt_libname_spec
61778
61779 # List of archive names.  First name is the real one, the rest are links.
61780 # The last name is the one that the linker finds with -lNAME
61781 library_names_spec=$lt_library_names_spec
61782
61783 # The coded name of the library, if different from the real name.
61784 soname_spec=$lt_soname_spec
61785
61786 # Permission mode override for installation of shared libraries.
61787 install_override_mode=$lt_install_override_mode
61788
61789 # Command to use after installation of a shared archive.
61790 postinstall_cmds=$lt_postinstall_cmds
61791
61792 # Command to use after uninstallation of a shared archive.
61793 postuninstall_cmds=$lt_postuninstall_cmds
61794
61795 # Commands used to finish a libtool library installation in a directory.
61796 finish_cmds=$lt_finish_cmds
61797
61798 # As "finish_cmds", except a single script fragment to be evaled but
61799 # not shown.
61800 finish_eval=$lt_finish_eval
61801
61802 # Whether we should hardcode library paths into libraries.
61803 hardcode_into_libs=$hardcode_into_libs
61804
61805 # Compile-time system search path for libraries.
61806 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61807
61808 # Run-time system search path for libraries.
61809 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61810
61811 # Whether dlopen is supported.
61812 dlopen_support=$enable_dlopen
61813
61814 # Whether dlopen of programs is supported.
61815 dlopen_self=$enable_dlopen_self
61816
61817 # Whether dlopen of statically linked programs is supported.
61818 dlopen_self_static=$enable_dlopen_self_static
61819
61820 # Commands to strip libraries.
61821 old_striplib=$lt_old_striplib
61822 striplib=$lt_striplib
61823
61824
61825 # The linker used to build libraries.
61826 LD=$lt_LD
61827
61828 # How to create reloadable object files.
61829 reload_flag=$lt_reload_flag
61830 reload_cmds=$lt_reload_cmds
61831
61832 # Commands used to build an old-style archive.
61833 old_archive_cmds=$lt_old_archive_cmds
61834
61835 # A language specific compiler.
61836 CC=$lt_compiler
61837
61838 # Is the compiler the GNU compiler?
61839 with_gcc=$GCC
61840
61841 # Compiler flag to turn off builtin functions.
61842 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61843
61844 # Additional compiler flags for building library objects.
61845 pic_flag=$lt_lt_prog_compiler_pic
61846
61847 # How to pass a linker flag through the compiler.
61848 wl=$lt_lt_prog_compiler_wl
61849
61850 # Compiler flag to prevent dynamic linking.
61851 link_static_flag=$lt_lt_prog_compiler_static
61852
61853 # Does compiler simultaneously support -c and -o options?
61854 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61855
61856 # Whether or not to add -lc for building shared libraries.
61857 build_libtool_need_lc=$archive_cmds_need_lc
61858
61859 # Whether or not to disallow shared libs when runtime libs are static.
61860 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61861
61862 # Compiler flag to allow reflexive dlopens.
61863 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61864
61865 # Compiler flag to generate shared objects directly from archives.
61866 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61867
61868 # Whether the compiler copes with passing no objects directly.
61869 compiler_needs_object=$lt_compiler_needs_object
61870
61871 # Create an old-style archive from a shared archive.
61872 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61873
61874 # Create a temporary old-style archive to link instead of a shared archive.
61875 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61876
61877 # Commands used to build a shared archive.
61878 archive_cmds=$lt_archive_cmds
61879 archive_expsym_cmds=$lt_archive_expsym_cmds
61880
61881 # Commands used to build a loadable module if different from building
61882 # a shared archive.
61883 module_cmds=$lt_module_cmds
61884 module_expsym_cmds=$lt_module_expsym_cmds
61885
61886 # Whether we are building with GNU ld or not.
61887 with_gnu_ld=$lt_with_gnu_ld
61888
61889 # Flag that allows shared libraries with undefined symbols to be built.
61890 allow_undefined_flag=$lt_allow_undefined_flag
61891
61892 # Flag that enforces no undefined symbols.
61893 no_undefined_flag=$lt_no_undefined_flag
61894
61895 # Flag to hardcode \$libdir into a binary during linking.
61896 # This must work even if \$libdir does not exist
61897 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61898
61899 # Whether we need a single "-rpath" flag with a separated argument.
61900 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61901
61902 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61903 # DIR into the resulting binary.
61904 hardcode_direct=$hardcode_direct
61905
61906 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61907 # DIR into the resulting binary and the resulting library dependency is
61908 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61909 # library is relocated.
61910 hardcode_direct_absolute=$hardcode_direct_absolute
61911
61912 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61913 # into the resulting binary.
61914 hardcode_minus_L=$hardcode_minus_L
61915
61916 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61917 # into the resulting binary.
61918 hardcode_shlibpath_var=$hardcode_shlibpath_var
61919
61920 # Set to "yes" if building a shared library automatically hardcodes DIR
61921 # into the library and all subsequent libraries and executables linked
61922 # against it.
61923 hardcode_automatic=$hardcode_automatic
61924
61925 # Set to yes if linker adds runtime paths of dependent libraries
61926 # to runtime path list.
61927 inherit_rpath=$inherit_rpath
61928
61929 # Whether libtool must link a program against all its dependency libraries.
61930 link_all_deplibs=$link_all_deplibs
61931
61932 # Set to "yes" if exported symbols are required.
61933 always_export_symbols=$always_export_symbols
61934
61935 # The commands to list exported symbols.
61936 export_symbols_cmds=$lt_export_symbols_cmds
61937
61938 # Symbols that should not be listed in the preloaded symbols.
61939 exclude_expsyms=$lt_exclude_expsyms
61940
61941 # Symbols that must always be exported.
61942 include_expsyms=$lt_include_expsyms
61943
61944 # Commands necessary for linking programs (against libraries) with templates.
61945 prelink_cmds=$lt_prelink_cmds
61946
61947 # Commands necessary for finishing linking programs.
61948 postlink_cmds=$lt_postlink_cmds
61949
61950 # Specify filename containing input files.
61951 file_list_spec=$lt_file_list_spec
61952
61953 # How to hardcode a shared library path into an executable.
61954 hardcode_action=$hardcode_action
61955
61956 # ### END LIBTOOL CONFIG
61957
61958 _LT_EOF
61959
61960   case $host_os in
61961   aix3*)
61962     cat <<\_LT_EOF >> "$cfgfile"
61963 # AIX sometimes has problems with the GCC collect2 program.  For some
61964 # reason, if we set the COLLECT_NAMES environment variable, the problems
61965 # vanish in a puff of smoke.
61966 if test "X${COLLECT_NAMES+set}" != Xset; then
61967   COLLECT_NAMES=
61968   export COLLECT_NAMES
61969 fi
61970 _LT_EOF
61971     ;;
61972   esac
61973
61974
61975 ltmain="$ac_aux_dir/ltmain.sh"
61976
61977
61978   # We use sed instead of cat because bash on DJGPP gets confused if
61979   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61980   # text mode, it properly converts lines to CR/LF.  This bash problem
61981   # is reportedly fixed, but why not run on old versions too?
61982   sed '$q' "$ltmain" >> "$cfgfile" \
61983      || (rm -f "$cfgfile"; exit 1)
61984
61985   if test x"$xsi_shell" = xyes; then
61986   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
61987 func_dirname ()\
61988 {\
61989 \    case ${1} in\
61990 \      */*) func_dirname_result="${1%/*}${2}" ;;\
61991 \      *  ) func_dirname_result="${3}" ;;\
61992 \    esac\
61993 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
61994   && mv -f "$cfgfile.tmp" "$cfgfile" \
61995     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
61996 test 0 -eq $? || _lt_function_replace_fail=:
61997
61998
61999   sed -e '/^func_basename ()$/,/^} # func_basename /c\
62000 func_basename ()\
62001 {\
62002 \    func_basename_result="${1##*/}"\
62003 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
62004   && mv -f "$cfgfile.tmp" "$cfgfile" \
62005     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62006 test 0 -eq $? || _lt_function_replace_fail=:
62007
62008
62009   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
62010 func_dirname_and_basename ()\
62011 {\
62012 \    case ${1} in\
62013 \      */*) func_dirname_result="${1%/*}${2}" ;;\
62014 \      *  ) func_dirname_result="${3}" ;;\
62015 \    esac\
62016 \    func_basename_result="${1##*/}"\
62017 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
62018   && mv -f "$cfgfile.tmp" "$cfgfile" \
62019     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62020 test 0 -eq $? || _lt_function_replace_fail=:
62021
62022
62023   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
62024 func_stripname ()\
62025 {\
62026 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
62027 \    # positional parameters, so assign one to ordinary parameter first.\
62028 \    func_stripname_result=${3}\
62029 \    func_stripname_result=${func_stripname_result#"${1}"}\
62030 \    func_stripname_result=${func_stripname_result%"${2}"}\
62031 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
62032   && mv -f "$cfgfile.tmp" "$cfgfile" \
62033     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62034 test 0 -eq $? || _lt_function_replace_fail=:
62035
62036
62037   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
62038 func_split_long_opt ()\
62039 {\
62040 \    func_split_long_opt_name=${1%%=*}\
62041 \    func_split_long_opt_arg=${1#*=}\
62042 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
62043   && mv -f "$cfgfile.tmp" "$cfgfile" \
62044     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62045 test 0 -eq $? || _lt_function_replace_fail=:
62046
62047
62048   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
62049 func_split_short_opt ()\
62050 {\
62051 \    func_split_short_opt_arg=${1#??}\
62052 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
62053 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
62054   && mv -f "$cfgfile.tmp" "$cfgfile" \
62055     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62056 test 0 -eq $? || _lt_function_replace_fail=:
62057
62058
62059   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
62060 func_lo2o ()\
62061 {\
62062 \    case ${1} in\
62063 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
62064 \      *)    func_lo2o_result=${1} ;;\
62065 \    esac\
62066 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
62067   && mv -f "$cfgfile.tmp" "$cfgfile" \
62068     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62069 test 0 -eq $? || _lt_function_replace_fail=:
62070
62071
62072   sed -e '/^func_xform ()$/,/^} # func_xform /c\
62073 func_xform ()\
62074 {\
62075     func_xform_result=${1%.*}.lo\
62076 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
62077   && mv -f "$cfgfile.tmp" "$cfgfile" \
62078     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62079 test 0 -eq $? || _lt_function_replace_fail=:
62080
62081
62082   sed -e '/^func_arith ()$/,/^} # func_arith /c\
62083 func_arith ()\
62084 {\
62085     func_arith_result=$(( $* ))\
62086 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
62087   && mv -f "$cfgfile.tmp" "$cfgfile" \
62088     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62089 test 0 -eq $? || _lt_function_replace_fail=:
62090
62091
62092   sed -e '/^func_len ()$/,/^} # func_len /c\
62093 func_len ()\
62094 {\
62095     func_len_result=${#1}\
62096 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
62097   && mv -f "$cfgfile.tmp" "$cfgfile" \
62098     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62099 test 0 -eq $? || _lt_function_replace_fail=:
62100
62101 fi
62102
62103 if test x"$lt_shell_append" = xyes; then
62104   sed -e '/^func_append ()$/,/^} # func_append /c\
62105 func_append ()\
62106 {\
62107     eval "${1}+=\\${2}"\
62108 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
62109   && mv -f "$cfgfile.tmp" "$cfgfile" \
62110     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62111 test 0 -eq $? || _lt_function_replace_fail=:
62112
62113
62114   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
62115 func_append_quoted ()\
62116 {\
62117 \    func_quote_for_eval "${2}"\
62118 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
62119 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
62120   && mv -f "$cfgfile.tmp" "$cfgfile" \
62121     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62122 test 0 -eq $? || _lt_function_replace_fail=:
62123
62124
62125   # Save a `func_append' function call where possible by direct use of '+='
62126   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
62127     && mv -f "$cfgfile.tmp" "$cfgfile" \
62128       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62129   test 0 -eq $? || _lt_function_replace_fail=:
62130 else
62131   # Save a `func_append' function call even when '+=' is not available
62132   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
62133     && mv -f "$cfgfile.tmp" "$cfgfile" \
62134       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
62135   test 0 -eq $? || _lt_function_replace_fail=:
62136 fi
62137
62138 if test x"$_lt_function_replace_fail" = x":"; then
62139   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
62140 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
62141 fi
62142
62143
62144    mv -f "$cfgfile" "$ofile" ||
62145     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
62146   chmod +x "$ofile"
62147
62148
62149     cat <<_LT_EOF >> "$ofile"
62150
62151 # ### BEGIN LIBTOOL TAG CONFIG: RC
62152
62153 # The linker used to build libraries.
62154 LD=$lt_LD_RC
62155
62156 # How to create reloadable object files.
62157 reload_flag=$lt_reload_flag_RC
62158 reload_cmds=$lt_reload_cmds_RC
62159
62160 # Commands used to build an old-style archive.
62161 old_archive_cmds=$lt_old_archive_cmds_RC
62162
62163 # A language specific compiler.
62164 CC=$lt_compiler_RC
62165
62166 # Is the compiler the GNU compiler?
62167 with_gcc=$GCC_RC
62168
62169 # Compiler flag to turn off builtin functions.
62170 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
62171
62172 # Additional compiler flags for building library objects.
62173 pic_flag=$lt_lt_prog_compiler_pic_RC
62174
62175 # How to pass a linker flag through the compiler.
62176 wl=$lt_lt_prog_compiler_wl_RC
62177
62178 # Compiler flag to prevent dynamic linking.
62179 link_static_flag=$lt_lt_prog_compiler_static_RC
62180
62181 # Does compiler simultaneously support -c and -o options?
62182 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
62183
62184 # Whether or not to add -lc for building shared libraries.
62185 build_libtool_need_lc=$archive_cmds_need_lc_RC
62186
62187 # Whether or not to disallow shared libs when runtime libs are static.
62188 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
62189
62190 # Compiler flag to allow reflexive dlopens.
62191 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
62192
62193 # Compiler flag to generate shared objects directly from archives.
62194 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
62195
62196 # Whether the compiler copes with passing no objects directly.
62197 compiler_needs_object=$lt_compiler_needs_object_RC
62198
62199 # Create an old-style archive from a shared archive.
62200 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
62201
62202 # Create a temporary old-style archive to link instead of a shared archive.
62203 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
62204
62205 # Commands used to build a shared archive.
62206 archive_cmds=$lt_archive_cmds_RC
62207 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
62208
62209 # Commands used to build a loadable module if different from building
62210 # a shared archive.
62211 module_cmds=$lt_module_cmds_RC
62212 module_expsym_cmds=$lt_module_expsym_cmds_RC
62213
62214 # Whether we are building with GNU ld or not.
62215 with_gnu_ld=$lt_with_gnu_ld_RC
62216
62217 # Flag that allows shared libraries with undefined symbols to be built.
62218 allow_undefined_flag=$lt_allow_undefined_flag_RC
62219
62220 # Flag that enforces no undefined symbols.
62221 no_undefined_flag=$lt_no_undefined_flag_RC
62222
62223 # Flag to hardcode \$libdir into a binary during linking.
62224 # This must work even if \$libdir does not exist
62225 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
62226
62227 # Whether we need a single "-rpath" flag with a separated argument.
62228 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
62229
62230 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
62231 # DIR into the resulting binary.
62232 hardcode_direct=$hardcode_direct_RC
62233
62234 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
62235 # DIR into the resulting binary and the resulting library dependency is
62236 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
62237 # library is relocated.
62238 hardcode_direct_absolute=$hardcode_direct_absolute_RC
62239
62240 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
62241 # into the resulting binary.
62242 hardcode_minus_L=$hardcode_minus_L_RC
62243
62244 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
62245 # into the resulting binary.
62246 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
62247
62248 # Set to "yes" if building a shared library automatically hardcodes DIR
62249 # into the library and all subsequent libraries and executables linked
62250 # against it.
62251 hardcode_automatic=$hardcode_automatic_RC
62252
62253 # Set to yes if linker adds runtime paths of dependent libraries
62254 # to runtime path list.
62255 inherit_rpath=$inherit_rpath_RC
62256
62257 # Whether libtool must link a program against all its dependency libraries.
62258 link_all_deplibs=$link_all_deplibs_RC
62259
62260 # Set to "yes" if exported symbols are required.
62261 always_export_symbols=$always_export_symbols_RC
62262
62263 # The commands to list exported symbols.
62264 export_symbols_cmds=$lt_export_symbols_cmds_RC
62265
62266 # Symbols that should not be listed in the preloaded symbols.
62267 exclude_expsyms=$lt_exclude_expsyms_RC
62268
62269 # Symbols that must always be exported.
62270 include_expsyms=$lt_include_expsyms_RC
62271
62272 # Commands necessary for linking programs (against libraries) with templates.
62273 prelink_cmds=$lt_prelink_cmds_RC
62274
62275 # Commands necessary for finishing linking programs.
62276 postlink_cmds=$lt_postlink_cmds_RC
62277
62278 # Specify filename containing input files.
62279 file_list_spec=$lt_file_list_spec_RC
62280
62281 # How to hardcode a shared library path into an executable.
62282 hardcode_action=$hardcode_action_RC
62283
62284 # ### END LIBTOOL TAG CONFIG: RC
62285 _LT_EOF
62286
62287  ;;
62288
62289   esac
62290 done # for ac_tag
62291
62292
62293 as_fn_exit 0
62294 _ACEOF
62295 ac_clean_files=$ac_clean_files_save
62296
62297 test $ac_write_fail = 0 ||
62298   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
62299
62300
62301 # configure is writing to config.log, and then calls config.status.
62302 # config.status does its own redirection, appending to config.log.
62303 # Unfortunately, on DOS this fails, as config.log is still kept open
62304 # by configure, so config.status won't be able to write to it; its
62305 # output is simply discarded.  So we exec the FD to /dev/null,
62306 # effectively closing config.log, so it can be properly (re)opened and
62307 # appended to by config.status.  When coming back to configure, we
62308 # need to make the FD available again.
62309 if test "$no_create" != yes; then
62310   ac_cs_success=:
62311   ac_config_status_args=
62312   test "$silent" = yes &&
62313     ac_config_status_args="$ac_config_status_args --quiet"
62314   exec 5>/dev/null
62315   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62316   exec 5>>config.log
62317   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62318   # would make configure fail if this is the last instruction.
62319   $ac_cs_success || as_fn_exit 1
62320 fi
62321 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62322   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62323 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62324 fi
62325